I have a multi frame strategy. I set a variable in the first data series onbarupdate. how can i access that variable in the second data series onbarupdate.
For example i have a variable named MaxVal.
in onbarupdate event, if barsinprogress == 1 i set the MaxVal to 3.78.
i want to read MaxVal in onbarupdate if barsinprogress == 2
Comment