i have a strategy that will calculate on bar close only.
i want to compare the close from the closed bar with the bollinger values of that closed bar. is this then bollinger[1] < close[1] or is it bollinger[1] < close[0] because the current bar does not have a close ? i suppose that if my strategy starts calculating the new bar is alreadu created with an open etc and i need to do everything on the [1] bar or is [0] the bar that is closed ?
little confused !
Comment