Variables:
GMA =Generic Moving Average (selectable among SMA, EXP, ADXVMA, WMA, …. Any other types of most common moving averages)
SGMA = Slope of GMA
ZONE = Ichimoku Cloud, support zone, resistance zone, envelope internal zone, Bollinger internal zone, ect… any type of zone defined/contained between an upper line/plot and a lower line/plot
GO = Generic Oscillator
THRS_1 = Threshold 1
THRS_2 = Threshold 2
….
THRS_n = Threshold n
Enter LONGS:
When GMA crosses above ZONE with SGMA > THRS_1
And
GO crosses above THRS_2 while SGMA > THRS_3
Enter SHORTS:
When GMA crosses below ZONE with SGMA < THRS_1
And
GO crosses below THRS_2 while SGMA < THRS_3
Alternatively, could programmers at Ninjatrader perhaps develop themselves such generic script and include it in the next beta release of NT8 as an additional sample strategy.
Currently there are just four sample strategies included in the platform: Sample ATM strategy, Sample MA crossover, Sample multi-instrument, Sample multi-timeframe.
I would find very useful having more sample strategies to look at / learn from.
Thanks. Guidoisot.
Comment