Add(new Plot(new Pen(Color.Transparent, 1), PlotStyle.Line, "AdxDirection"));
In the properties section I added:
[Browsable(false)]
[XmlIgnore()]
public DataSeries AdxDirection
{
get { return Values[6]; }
}
Everything works fine. I just don't want the value of AdxDirection to display in the Plots section of the indicator. I want it to be 'invisible' to everyone except the program. I tried just making AdxDirection a variable as follows:
public DataSeries AdxDirection;
...and that worked fine except I get a sereailization error when I try to save the workspace. Any ideas?
Comment