I'm using the orderflow in order to see the total buying volume and the total selling volume, Right now I have the Calculate= calculate.OnBarUpdate, but of course even using the 1 second time frame with the indicator,I'm getting the data every one second. thus, I'm getting the data not of the actual candle, but of the previous one, and I was wondering how can I get the data of the current candle?
I'm using something like :......volumetrics[CurrentBar], but it's not the current it's the previous. Changing with calculate.OnEachTick it doesn't change anything, maybe because I added the data series volumetric 1 second. How can I manage to have the Real time?Do i have to write currentbar-1?
Thank you!
Comment