public Indicator(string indicatorName) { this.indicatorName = indicatorName; parameters = new IndicatorParameterList(); // Every Indicator will have a "Color" parameter. parameters.Add(new IndicatorParameter <Color>("Color", "Color of the indicator.", Color.Blue)); // Every Indicator will have a "Line Style" parameter. parameters.Add(new IndicatorParameter <zChartLineStyle>("Line Style", "Line style of indicator (solid, dash, dot, etc).", zChartLineStyle.Solid)); }
public void AddParameter(IIndicatorParameter parameter) { parameters.Add(parameter); }