I need the Input data series specified by the user. This could be Median, Open, Typical, or other input series. BUT the indicator also needs access to the Open, High, Low, and Close series.
So I thought I'd see if I could serialize the input series, something like this:
private IndicatorBase inputSeries = IndicatorBase.Close; // default setting for InputSeries [XmlIgnore()] [Description("Input data series")] [Category("Parameters")] [Gui.Design.DisplayName("InputSeries")] public IndicatorBase InputSeries { get { return inputSeries; } set { inputSeries = value; } } [Browsable(false)] public string InputSeriesSerialize { get { return Gui.Design.Serializable____.ToString(inputSeries); } set { return Gui.Design.Serializable____.FromString(inputSeries); } }
-Alex
Comment