I have downloaded the Demo Version (love it) and would like to convert a code I developed in Metastock into a NinjaTrader indicator so I can overlay on a chart.
I've spent 3 days trying to figure it out and have given up in frustration.
I would appreciate it if anyone can convert the following;
I'll explain the code in simple terms:
If CLOSE - OPEN > 0 then OPEN - LOW > 2*(HIGH-LOW)/3.8
else CLOSE-LOW > 2*(HIGH-LOW)/3.25)
AND the current 55 weighted moving average is greater than the 55 WMA of 5 bars ago.
AND the Low of the current bar is lower than the lowest low of the last 7 bars.
AND the current bar Close < the highest high value close of 5 bars ago
AND Close < the highest high close of 30 bars ago MINUS -1.5*ATR(15 periods)
AND the ATR(1 period) > ATR(3 period) or this can be substitued as the current bar range is greater than the average of the past 3 bars range.
Hope this isn't too difficult.
Thanks in advance.
Once I get the hang of NinjaTrader I'll be purchasing it outright to trade FX linked with IB.
Cheers
Comment