private static int varx;
to
private int varx;
but only if the same indicator is used in another chart.
varx seems to pick up the values of varx in any other chart having that indicator after a while, even if I reset varx to 0 on FirstTickOfBar in each instance.
Is the static area shared between multiple instances of the same indicator in different charts?
I know that this might still be my bug in other ways, but the issue is very repeatable and can be made to show up in the output window.
I do not actually need the "static" property one way or the other for the code to otherwise work. It was an artifact of earlier design.
I am using version 6.5.15 but has happened in earlier versions.
Comment