My primary series is 5min data, and my second series is daily.
1) Suppose I'm calculating OnBarClose. Am I correct that if I reference Closes[1][0], it will always be the Close from the previous day (because the current day bar hasn't finished calculating yet)?
2) Suppose now I'm calculating OnPriceChange. Will Closes[1][0] now equal Closes[0][0] or does it still refer to the prior day close?
3) Is there a way to have the daily bar recalculate only when the primary bar recalculates? It seems to me it will be computationally inefficient to calculate on each price change or each tick when I really only want to return a value on an indicator on the daily series corresponding to the latest value on the primary.
4) In particular, if I'm running an RSI on the daily bar, if I set calculation to OnPriceChange, will that RSI incorporate the current (intraday) price for the last point in the series, or will it only calculate based on the previous days' closing prices?
Sorry, lots of questions there but I hope they make sense.

Comment