I'm not sure if the Close is the last trading price while current bar is updating, or the price awaiting current bar is closed.
I'm using additional data series in my strategy. Let's say if I have some conditions that need 1) the last trading on 5-min chart is above MA. and 2) the close price on 1-min chart is above MA when the 1-min bar is completely closed. I'm not sure how to correct code this when I refer price in my method.
In another word, what does "Close" refer to on current bar? Is it the last trading price or the close price awating the bar is closed? How do I distinguish them when coding?
Thank you very much!

Comment