I have been trying to get what I want for weeks now and I really need help on something that seems really simple to me.
I have a main data series that is a 30 Minute chart.
Now I am adding a second Data Series with a different trading hours ( Period Day and a different session name ) to calculate the ATR on that Data Series which I would like to use on my main Data Series.
I have set the ATR as :
atr ATR;
atr = ATR(BarsArray[1], 7);
When I try to use atr[0] on my main Data Series ( 30 Minute bars ) I get nothing.
In reality I need 3 Data Series with different session to calculate different things in order to use it from my main Data series
Thank you
Comment