SystemTrading
12-29-2008, 12:09 PM
I am using the following code to add a plot. The plot is set numerous times while the code is running, but I don't see anything on the chart. Am I missing something?
Initilize....
Add(new Plot(Color.Red,PlotStyle.Line,"Support"));
Add(new Plot(Color.Red,PlotStyle.Line,"Resistance"));
OnBarUpdate()....
Support.Set(myvalue);
Resistance.Set(myvalue);
Properties...
#region Properties
[Browsable(false)]
[XmlIgnore]
public DataSeries Support
{
get {return Values[0]; }
}
[Browsable(false)]
[XmlIgnore]
public DataSeries Resistance
{
get {return Values[1]; }
}
#endregion
Initilize....
Add(new Plot(Color.Red,PlotStyle.Line,"Support"));
Add(new Plot(Color.Red,PlotStyle.Line,"Resistance"));
OnBarUpdate()....
Support.Set(myvalue);
Resistance.Set(myvalue);
Properties...
#region Properties
[Browsable(false)]
[XmlIgnore]
public DataSeries Support
{
get {return Values[0]; }
}
[Browsable(false)]
[XmlIgnore]
public DataSeries Resistance
{
get {return Values[1]; }
}
#endregion