Ninja complains that BarsArray cannot be used in the Initilise section.
I want to add an indicator to my chart using market data from another timeframe for that indicator.
I was trying the following:
HTFA = VarianceImbalance3(BarsArray[1]);
Add(HTFA);
However ninja script don't like it. Any work around ideas?
Comment