the winning edge system is one of the best intraday methods to the trade the S&P.
From looking at the tradestation code, its looks quite promising (few trades).
Any anyone convert it to Ninjatrader formate (xaverage seams to be an EMA, but what does mean length1 and length2 on the price input?
Inputs: Price((C+H+L)/3),Length1(9),Length2(27); {Cycle Inputs}
Inputs: Slow(3), Fast(8); {Intraday Inputs}
Inputs: Offset(0.2); {for plotting}
vars: WE_IO(0), WE_Osc(0), IOplot(0), OSCplot(0) ;
WE_Osc=XAverage(Price -XAverage(Price,Length2),Length1); {Cycle Oscillator - Yellow}
WE_IO=Average(High, Slow) - Average(Low, Fast); {Intraday Oscillator - Blue}
IF WE_IO>WE_IO[1] then IOplot=1.0 {turns up}
ELSE IF WE_IO<WE_IO[1] then IOplot=-1.0+Offset; {turns down}
IF WE_Osc>WE_Osc[1] then OSCplot=1.0-Offset {turns up}
ELSE IF WE_Osc<WE_Osc[1] then OSCplot=-1.0; {turns down}
Plot1(IOplot, "IOplot");
Plot2(OSCplot, "OSCplot");
cheers
tradereight
Comment