I'm using a 1-min stock chart. In my script I have added a second time-frame, namely the daily. I would like to see the ATR of the daily-timeframe on the 1min chart. Is this possible?
I have added this in the Initialize():
Add(PeriodType.Day, 1);
Add(ATR(Closes[1],5));
ATR(Closes[1],5).Plots[0].Pen.Color = Color.Black;
ATR(Closes[1],5).Plots[0].Pen.Width = 1;
So I would think the Closes[1] would mean I'm talking to the first added timeframe, namely the daily. But it still shows the 1min values.
Any help is appreciated.
Comment