Australian (ASX) Stock Market Forum

Index mean reversion system - any tips?

Joined
30 June 2007
Posts
7,200
Reactions
1,226
Would be nice to have a system for trading an index long and short, (EOD) say the SPY.

I'm thinking along the following lines:

SPY downtrending
buy when the gap between the close and the MA of the close is greater than x.
sell when the gap contracts.

SPY uptrending
short when gap between the close and the MA of the close is greater than x.
cover when the gap contracts.

SO far my tests aren't yielding anything.

Any suggestions please?
 
Would be nice to have a system for trading an index long and short, (EOD) say the SPY.

I'm thinking along the following lines:

SPY downtrending
buy when the gap between the close and the MA of the close is greater than x.
sell when the gap contracts.

SPY uptrending
short when gap between the close and the MA of the close is greater than x.
cover when the gap contracts.

SO far my tests aren't yielding anything.

Any suggestions please?

Double 7s http://www.thepatternsite.com/Double7sSetup.html (Bulkowski more like 2/11)
2 days up in chop http://quantifiableedges.blogspot.com.au/2009/10/whats-happened-to-2-days-up-in-chop.html
DV2 http://cssanalytics.wordpress.com/2010/11/22/dv2-performance-in-review/ (DVO is the best oscillator for adaptiveness)
RSI2 (can combine with ADX, or or whatever)
5 sto http://newsletter.neoticker.com/2005/11/13/stock-trading-using-stochastics-end-of-day/
vol pivots http://www.verticalsolutions.com/notes/simple_pivot_system.html
Daily mean reversion (autocorrelation)

There are heaps of such systems. Adaptiveness is key.

http://quantumfinancier.wordpress.com/2010/05/14/using-probability-density-as-an-adaptive-mechanism/
 
A few others from my own notes

Long RSI2<30 when TVA > 1 and position size = TVA.
S/R pivots - limit long at the avg 2-3day low shifted back 1, limit short at inverse.
Mean reversion based off breadth (similar to 5sto)
Trade ROC1 when Raff channel <> 1stddev
 
I just downloaded SPY from a free source. As EOD data it looks quite clean. What other instrument would you suggest using (other than futs contracts)?

I don't get why you would EOD?

And why not use something in our time zone. Why would you set yourself up for working night shift.
 
I don't get why you would EOD?

And why not use something in our time zone. Why would you set yourself up for working night shift.

Our time zone would be better. EOD = easier if I'm at work I can't always monitor open trades. My main interest is finding some system that can be traded when the Aus stock market is dead, like at the mo. What would you suggest?
 
My main interest is finding some system that can be traded when the Aus stock market is dead, like at the mo. What would you suggest?

Our time zone = K200 is a ripper but not sure if there is a CFd, HSI, HHI, STW (Taiwan) Nikkei,

Euro Time zones = DAX is an absolute ripper at the mo. Z (ftse).

All these can be traded with CFDs if you don't want to go to the large tick sizes of futs.

Then of course there is FX?
 
Our time zone would be better. EOD = easier if I'm at work I can't always monitor open trades. My main interest is finding some system that can be traded when the Aus stock market is dead, like at the mo. What would you suggest?

consider any instrument that is highly liquid and know when most likely to be at highest liquidity, like gold or silver where you can get inter market ideas too and you can break down size (cfd allows you to get away from 25/tick deal)

not sure any cfd does kospi....
 
Our time zone = K200 is a ripper but not sure if there is a CFd, HSI, HHI, STW (Taiwan) Nikkei,

Euro Time zones = DAX is an absolute ripper at the mo. Z (ftse).

All these can be traded with CFDs if you don't want to go to the large tick sizes of futs.

Then of course there is FX?

Agree on the K200 - very mean reverting intra-day, counter trend.

CanOz
 
Anyone know where to find the source code for DVB? [Amibroker]

EDIT:

Just in case anyone else interested: $695

http://dvindicators.cssanalytics.com/product/oscillators-and-mean-reversion-indicators/

Yeah the basic code has been public forever, what you buy is his 'model', i.e. what any good trader should be developing themselves.

Selection_011.png
(from the MRSwing NAAIM paper by Abrams & Walker)

I posted the blog link to 'differential DV2' in the pairs trading thread, which shows how to calculate the DV2 for a single instrument (as a component of the differential).
 
mean reversion systems.......hmmmmmm

all good so long as there's vol, vol is the highly (relatively anyway) predictable mean reverting component of price. Differentiate between different 'regimes' in the market, as they call it in the MRSwing paper, and adapt to them.
 
all good so long as there's vol, vol is the highly (relatively anyway) predictable mean reverting component of price. Differentiate between different 'regimes' in the market, as they call it in the MRSwing paper, and adapt to them.

price can move back through territory regardless of volume because the volume is relative to the time and participants that moved it previously and not necessarily in the present which is where you're transacting.......what the auction at that time is establishing determins pricing.......if volume is always balanced every sell is met by equal buys then volume itself is not determinant of anything whereas the participants are.......that sounds obvious i know, which is why people think that more volume means more people (not true) and more volume means more price discovery (also not necessarily true) but the TRADERS at the TIME determin HOW much price territory is used not how much price discovery is sought.........imho

oh dear.......coffee
 
price can move back through territory regardless of volume because the volume is relative to the time and participants that moved it previously and not necessarily in the present which is where you're transacting.......what the auction at that time is establishing determins pricing.......if volume is always balanced every sell is met by equal buys then volume itself is not determinant of anything whereas the participants are.......that sounds obvious i know, which is why people think that more volume means more people (not true) and more volume means more price discovery (also not necessarily true) but the TRADERS at the TIME determin HOW much price territory is used not how much price discovery is sought.........imho

oh dear.......coffee

hehe sorry Joules, I meant vol as in volatility, high vol increases mean reversion and negative autocorrelation tendencies in the time-series because vol itself is 'predictably' mean reverting.
 
Thanks for everyone's input.

sinner, have you used any of the DV indicator models? Worth $695? There's no way I could translate that equation into anything useful - beyond me.
 
Thanks for everyone's input.

sinner, have you used any of the DV indicator models? Worth $695? There's no way I could translate that equation into anything useful - beyond me.

GB, it's a very simple calculation. I was hoping you'd make the effort to try at least! I never bought anything off the CSS Analytics website, all coded myself from the algorithms provided by David Varadi on his blog. If you don't understand the underlying what is the point of paying for the model.

Michael from marketsci has done the work for you in excel

http://marketsci.wordpress.com/2009/07/22/roundup-dv2/

The DVO is definitely "worth it", because it has so many options for adaptivity. You don't have to use the DV2 on everything, and I don't. There are 'optimal' settings/weights depending on the security in question and the regime it's in. If you can build some adaptivity into your trading rules you can trade 'around' (not chase) the most optimal settings. Check out the quantumfinancier blog post above for a basic example using RSI2 (although I would caution against trading the 'top' returning score, rather an aggregate score for the top N%). Also check out the very interesting recent post by DV on his blog titled "Derivative Optimization", introduces some interesting ideas about MVP and Risk-Parity on indicators.
 
Top