I have a custom indicator and I would like to know how can I programmatically return the high and low of the indicator for the current session.
I am calculating the spread between two instruments as follows which works great;
protected override void OnBarUpdate()
{
// Calculate the spread between instruments
myDataSeries.Set(Closes[1][0] - Closes[2][0]);
}
Regards,
suprsnipes


Comment