But I need the indicator run OnEachTick, and in this case, there are situations where signals of secondary series are duplicated, they appear in the bar where conditions are met and also in the next one.
I suppose the problem is that primary bars have started and there is not a first tick in secondary yet, so the code takes last close bar data
What would be a good approach to wait that secondary bar starts?
Thanks a lot

Comment