Support Board
Date/Time: Mon, 13 May 2024 19:39:51 +0000
Post From: ACSIL: Looping backwards to change subgraphs values.
[2020-02-14 14:24:26] |
User735587 - Posts: 21 |
Why does looping backwards from the current Index to rewrite the previous subgraphs values doesnt work properly on live mode and only on the historical loaded chart? Indeed on the historical loaded chart the subgraphs plots a rectangle over the looped area, on live mode instead steps. for (int i = 0; i < countup; i++) { maxup = max(CumMove[sc.Index], maxup); Boxestop[sc.Index - i] = maxup; } |