I have a multi timeframe indicator, the Bars are 5m, 30m, 60m.
Most of the calculation is done on the 5m.
I have a custom DataSeries synced to the 5m (BarsArray[0]).
If I set a value into the DataSeries (for a signal for example) in BarsInProgress==0, it is remembered just fine UNLESS this bar's timestamp coincides with a bar in another timeframe. So on the half hour and on the hour, the DataSeries forgets its value.
I programmed a variable to remember the value and set it again from the higher timeframes, (which are executed after BarsArray[0]) however DataSeries.Set(value) doesn't seem to work from a timeframe other than the one the DataSeries is synced to.
So I currently have no workaround for this problem.
Suggestions please?
Thanks,
saltminer

Comment