Login Page - Create Account

Support Board


Date/Time: Sun, 28 Apr 2024 10:00:58 +0000



[Programming Help] - ACSIL: Looping backwards to change subgraphs values.

View Count: 548

[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;
    }

[2020-02-18 06:57:58]
User735587 - Posts: 21
I can only assume that there must be a problem on the subgraphs if the assignment of new values through looping does not take fully place.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account