I have written an indicator that references another indicator. This second indicator has to be calculated for each tick while the first indicator only would have to be Calculated On Bar Close. I intend to run my strategy with COBC = false, so I would prefer to only call the second indicator on FirstTickOfBar. I suppose that this means that the first indicator also only would be called on FirstTickOfBar. Is there a way to run the first indicator on each tick while I only call the second indicator on each bar? Would this be the case if I put the line "Add(FirstIndicator) in the Initialize method of the strategy?
/Best Regards
Comment