private Series<double> myP1TSeries;
in State.DataLoaded:
myP1TSeries = new Series<double>(this);
In OnBarUpdate:
myP1TSeries[0] = High[0] - High[1];
[Browsable(false)]
[XmlIgnore]
public Series<double> MyP1TSeries
{
get { return myP1TSeries; }
}
I know the data is stored in this Series in Indicator #1 as I can print out any of the index values.
When I try and code to get the [0] value from MyP1TSeries into Indicator #2 I am getting compile errors. From previous searches through the forum in appears I should be using:
StepValue [0] = myPSV1TSeries.MyP1TSeries ;
but I am getting a CS1061 error.
Would someone be able to help me with the correct syntax please??
Thank you.
Comment