here is my sample code which calls this function
Code: Select all
myFunc( N, outputValue ) ; //outputValue is a numericRef datatype
how can i do this?
i'm using something like
Code: Select all
for i = 0 to 3
outputValue[i] = highOf3Bar; //highOf3Bar is the high in the last 3 bars
Cannot be assigned to the previous value.
so how to achieve this in multicharts? is there a way we can pass back a reference or edit the reference passed into the function?