Nov
30
What Kind of Moving Average, from Victor Niederhoffer
November 30, 2015 |
What kind of moving average of the last x days is the best predictor of current and future happiness, and how does this relate to markets?
Anatoly Veltman writes:
The widespread misuse of MAs concept is what gives it bad name. 90% of testers and users look at crossovers, and the remaining 10% look at break of MA from above or below. All wrong
The only proven way to apply MAs from trend-follower stand point is to look at nothing else but SLOPE. (Trading Days) Is 14-day MA sloping upward? If so, then is 30-day sloping upward? If so, then is 50-day sloping upward? If so: then Shorting is forbidden! Mirror test may save you from disastrous bottom-picking.
Bill Rafter writes:
I beg to differ. There is no way the "average of the last x days is best predictor…" It by definition is at least a coincident indicator and more likely a lagging indicator. BTW the same can be said of the SLOPE of the last x days.
However, you can construct a leading indicator by comparison (difference or ratio) of the coincident to lagging indicators. For this newly created leading indicator, there tends to be a lot of false signals, due to random market action. To guard against that you need to have very smooth coincident and lagging inputs. Making them smooth also makes them more lagged, but that will not hurt you as you are not going to look at them outside of a difference or ratio, which will be quite forward-looking.
The real problem is that investors want to identify a static x. In doing so they are insisting that the market be modeled by x periods. Well, the market doesn't always feel like cooperating. At times the market may be properly modeled by x periods, and at other times by x+N, in which N can assume a wide range of positive and negative values. The solution is to first identify the exact period over which the market should be modeled for the coincident valuation. And then go on from there. Rinse, repeat.
Russ Sears writes:
This would be a good question to ask the trading expert psychologist Dr. Brett.
It seems that with the same brain imagery he uses is being used in the study of the science of happiness.
While I am no expert I have read Rick Hanson, PhD book "Hardwiring Happiness"/ It has been awhile since I enjoyed this book, my summary of it is "focus on the life/good in the present. Placing things in context to how it has brought you to this moment, then enjoy the moment is enjoying life."
Presence seems to be the buzz-word in studies of contentment and psychology of success. Being aware of all your inputs, your feelings and recognizing them as part of life, then celebrate living. Presence gives you the fulfillment in your life needed to be loyal and disciplined enough for what is working well in your life. Thanksgiving is a day built on this idea, But presence also gives you the courage to turn things around, admit things are not as you want, and gives you Hope for the future. Happiness is more about living your life, being in control, then it is circumstances. Some of my happiest times have been after running hard for over 2 hours exhausted after 26.2 miles, cold and totally and dangerously spent but knowing I gave it my all.
So I would suggest that MA, trend following, momentum, acceleration, nor death spirals nor reversion to the mean, value investing should not ever be the "key to Rebecca", rather judge them in the context of everything else. Some days "the trend your friend" other days "the sun will come out tomorrow".
Brett Steenbarger writes:
It's a really interesting area of recent research. It turns out that happiness is only one component of overall well-being. What brings us positive feelings is not necessarily what leads to the greatest life satisfaction, fulfillment, and meaning. I suspect the market strategies that maximize short-term positive emotion have negative expected return, as in the case of those who jump aboard trends to reduce the fear of missing a market move.
Ralph Vince writes:
Too many times in life I've found myself in darkened parking lots with a small gang of characters who intend me harm, and saw how the pieces would play out enough in advance enough to get out of it, or at least to realize there was only one, very unpalatable way out of it.
Shields up.
Too many times in life, I've had an angel whisper in my ear with only a few hours or seconds to spare to keep from being robbed blind by people I made the mistake of trusting.
Too many times in life I've paced in some anonymous hotel room, wondering "How the hell am I going to do this once the day comes?"
Too many margin calls have had to be met.
Far more times than I would care to, I've found myself confronted with the proposition of having to throw boxcars to survive, and I find myself, yet again, with that very proposition in a life and death context.
Only someone who really loves the rush of the markets, could enjoy wanting a given market to move in a specific direction. I've come to the conclusion it's far better for me to set up to profit from whatever direction things move in on a given day. Those that dont move in a manner so as to profit from this day, will tomorrow, or the next day, or the day after that… I need to just show up on time with my shoes on, collect on that which comes in today, sow the seeds today for taking profits on something at some future date. It's not difficult, and a lot more satisfying.
There's enough episodes in life we need boxcars to show up, and yeah, "Baby needs a new pair o'shoes."
Victor Niederhoffer writes:
I like all these untested ideas about moving averages but my query was of a more general nature. What kind of moving average, perhaps its top onion skin an exponential average, is the best predictor of human happiness. I.e. if you are happy yesterday and unhappy the day before, are you happier or sadder. I mean vis a vis the pursuit of happiness, not markets, although the two are related I think.
Alexander Good writes:
My answer would be a medium term moving average works best - about 6 months. We're naturally geared to notice acceleration not speed. After accelerating happiness, it's virtually certain to decelerate which we would have a heightened awareness of. Thus a 5 day moving average would have too much embedded acceleration and deceleration to yield a good outcome.
I would also say 6 months is a good number because there's a fear of 'topping out'. I.e. if you're at the peak happiness of the past 5 years you might get afraid of a larger mean reverting move. 6 months is short term enough not to be victim to noticeable accel/decel, but not too long to be subject to such existential thoughts that lead to unhappiness. 2 quarters is also a good timeframe for evaluation of back to back 3 month periods which seems like a relevant timeframe to most people professionally.
My meta question would be: does measuring one's happiness with a moving average make one more or less happy?
Theo Brossard writes:
I would pose that happiness would exhibit similar behavior with market volatility. Short-term clustering (which makes exponential average a good choice, if you are happy today chances are you will be happy tomorrow) and longer-term mean reversion (there must be some thresholds defined by values and time–you can't be very happy or unhappy for prolonged periods of time).
Jim Sogi writes:
A good way to study this is to rate and record your happiness each day. Also record your acts: exercise, diet, work, family, vacation, tv, meditation, etc. Over time you can correlate the things you do that make you happy. You could correlate day to day swings as Chair queries in a univariate time series.
Comments
8 Comments so far
Archives
- January 2026
- December 2025
- November 2025
- October 2025
- September 2025
- August 2025
- July 2025
- June 2025
- May 2025
- April 2025
- March 2025
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023
- May 2023
- April 2023
- March 2023
- February 2023
- January 2023
- December 2022
- November 2022
- October 2022
- September 2022
- August 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- October 2019
- September 2019
- August 2019
- July 2019
- June 2019
- May 2019
- April 2019
- March 2019
- February 2019
- January 2019
- December 2018
- November 2018
- October 2018
- September 2018
- August 2018
- July 2018
- June 2018
- May 2018
- April 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- October 2017
- September 2017
- August 2017
- July 2017
- June 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- December 2016
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- Older Archives
Resources & Links
- The Letters Prize
- Pre-2007 Victor Niederhoffer Posts
- Vic’s NYC Junto
- Reading List
- Programming in 60 Seconds
- The Objectivist Center
- Foundation for Economic Education
- Tigerchess
- Dick Sears' G.T. Index
- Pre-2007 Daily Speculations
- Laurel & Vics' Worldly Investor Articles
IF it is slope then over what period. In my view u don’t need an average. Magnitude and + or 1 for one period is enough with careful attention paid to survivorship bias on reversals from low periods.
The Dominating influence in MA trading idea is underlying mean of a particular instrument. The returns will hover around what ever mean that instrument has exhibited in historical data. Assuming the large amount of data is selected (5 years?) for relatively stable mean, the interval selection should have trade off between number of opportunities vs whips (and pray that law of large number will hep). If instrument stays near MA dividing line, too many whips (Shorter Duration) and if it stays far away too often (200 day MA) less entry point.
Alternatively a “correcter” % can be applied that can possibly minimize false positives (for any preferred MA interval) however this will change the format of trading to Long-Stop and Short-Stop mode
To Average or Not To Average… That is the question
A selection from wiki…
“In colloquial language, an average is the sum of a list of numbers divided by the number of numbers in the list. In mathematics and statistics, this would be called the arithmetic mean. However, the word “average” may also refer to the median, mode, or other central or typical value. In statistics, these are all known as measures of central tendency.
Signal averaging is a signal processing technique applied in the time domain, intended to increase the strength of a signal relative to noise that is obscuring it. By averaging a set of replicate measurements, the signal-to-noise ratio, S/N, will be increased, ideally in proportion to the square root of the number of measurements.
In telecommunication, the term frequency averaging has the following meanings:
The process by which the relative phases of precision clocks are compared for the purpose of defining a single time standard.
A process in which network synchronization is achieved by use, at all nodes, of oscillators that adjust their frequencies to the average frequency of the digital bit streams received from connected nodes.
In frequency averaging, all oscillators are assigned equal weight in determining the ultimate network frequency.
In machine learning, particularly in the creation of artificial neural networks, ensemble averaging is the process of creating multiple models and combining them to produce a desired output, as opposed to creating just one model. Frequently an ensemble of models performs better than any individual model, because the various errors of the models “average out.”
My research in the study of quantitative relativity indicates that averaging as a stochastic indicator is not relevant (to the physics of electronic exchange) because of predictive outcomes in (non)correlation to random variable(s). Granted, many if not most mathematical operatives within a given program trading system include some form of averaging… Hence Victor’s query.
Nevertheless, an electronic exchange market so operates (and is subject to manipulation) by being deterministic. That fact appears to allow technical impressionists and algo-quant theorists to claim that central tendencies found during a given exchange may constitute predictive trends. Either possible or probably, no doubt about it… they do.
A moving average does just so… quantify central tendencies displayed during an exchange of a given time period. Thus, to ask — what kind of moving average — is less so determined by variable denomination (x, for instance) than the underlying assumption (or rule) governing the average output. As a result, the exercise itself (ie., averaging) is nondeterministic… more so the random walk.
Only when such a form of quantification determines the convergence/divergence of an outcome (or price) for entry/exit, does one say, ah-ha, herewith the output is a state relative to a system of coordinates; therefore, buy/sell.
The rub? That said determination of price is or was relative to a period of an exchange process, but it DOES NOT constitute a trend, average or otherwise. It merely represents sequencing that is or is not directional indicative.
What factor decides?
That is the point here… The process of averaging is determinant not the input per se.
To that end a la V’s question, my suggestion would be signal averaging… “By averaging a set of replicate measurements, the signal-to-noise ratio, S/N, will be increased, ideally in proportion to the square root of the number of measurements.”
c^2, for example.
dr
What kind of moving average of the last x days is the best predictor of current and future happiness?
There cannot be a quantitative or objective measure for something that is qualitative and subjective.
The literal answer to your query would be, “it all depends.”
What kind of moving average could be able to predict our chaotic behavior?
One very sad day changes a person. You can have a happy day again but it is never the same - at times better it is better, many times it is worse.
Victor,
The best predictor of my happiness is the moving average of the last x days of your happiness.
Unfortunately, the majority just talk and talk of their own exponential average pursuits.
And maybe this why I feel so up and down as I hear the limiting notes echo from their jazz flutes.
I overcome this with my pursuit of happiness to learn about each and everything, everyone, someone and something.
This gives me greater reference and clarity. The perception of my own change. Not just another flutist reacting to some odd or boring thing.
**Please post this version for my response**
Victor,
The best predictor of my happiness is the moving average of the last x days of your happiness.
Unfortunately, the majority just talk and talk of their own exponential average pursuits.
And maybe this why I feel so up and down as I hear the limiting notes echo from their jazz flutes.
I overcome this with my pursuit of happiness to keep learning about each and everything, everyone, someone and something.
This gives me greater reference and clarity. It is my moving average of x days that provides the perception of my own change.