Add("GBPUSD", PeriodType.Minute, 15);
and then use
if ((Close[0] > SuperTrend(14, 2.618, true).UpTrend[0])
&& (EMA(BarsArray[1], 1)[0]) > SuperTrend(BarsArray[1], 14, 2.618, true).UpTrend[0])
When I try to run the strategy, under the strategies tab where my strategy is listed, it does not turn green (active), nor take any trades.
It worked just fine until I added the BarsArray to the condition? Did I add it incorrectly?
Any ideas? Thanks!

Comment