rottentrade
Member
How would I code such that the most recent bar's price is using the "close" but all the previous bars are using the "open"? For example, applying to a moving average, it would show the latest bar calculated from the closing price the previous bars are from the open price.
Last edited: