Attached pics help explain the problem.
In Multi-TimeFrame I want to update 30Min(Array[1]) blue & yellow lines only on the half hour – they are updating on the Primary 500 Tick bars. For Array1 data, when I call for: if(BarsInProgress == 1) { and calc the lines }, I get no data. When I call for: if(BarsInProgress == 0) { and calc the lines }, the data is generated but the update time frame is wrong. All the other indicator information is correct and calculated on the Primary Array.
After reading the forum for hours, I’ve tried various FirstTickOfBar commands without success, what I would need is “FirstTickOfBar[1]” but that doesn’t fly.
If I press update, the Array1 data is corrected.
Suggestions? Thanks!
Comment