I have created 12 plots on an indicator.
I am trying to affect each of them a value in a loop but the following instruction is generating an error message at compiling
Values[n+m][0].set(Values[n+m][1]+ L_Pas[n]);
CS1061 'type' does not contain a definition for 'member' and no extension method 'name' accepting a first argument of type 'type' could be found (are you missing a using directive or an assembly reference?).
I understand that where is nothing like a set method for the collection Values
The reason for the loop is that I don't want to duplicate the code 12 times juste because the name of the final plot is different
Can anyone see any workaround ?
Lionel
Comment