protectedoverridevoid Initialize()
{
CalculateOnBarClose = true;
Overlay = true;
PriceTypeSupported = true;
Add(new Plot(Color.Orange, "TEST"));
}
protectedoverridevoid OnBarUpdate()
{
Value.Set(High[0] - Low[0]);
}
#region Properties
[Browsable(false)]
[XmlIgnore()]
public DataSeries Test
{
get { return Values[0]; }
}
#endregion
}
I was also trying to create a dataseries using the Help Docs, and could not figure out how to pass a Parameter to the data box.
Thanks
Comment