I'm quite new at programming in NinjaScript, but I'd like to develop an indicator based on the ATR value of a higher time frame. In particular, I'd like to use the ATR value of the prior day in an intraday chart. I trade only the CAC40 on Euronext and the DAX on Eurex, so I do not have overnight sessions. Say I have a tick chart. In order to plot my indicator, I need to know the Initial Balance of the current day and the value of the ATR for the previous day, either defined as a proper day unit or as day made of 1440 minutes.
Would you please suggest me how to do that? I would much appreciate your help!
Comment