// All rights reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR
// FITNESS FOR A PARTICULAR PURPOSE.
public abstract class Indicator
{
// Methods
public Indicator(string name);
public abstract double Calculate(int index, Quotes quotes);
public abstract double Calculate(int index, Series series);
public static string[] GetIndicatorParameterNames(Indicator indicator);
public static string[] GetIndicatorValueNames(Indicator indicator);
public object GetProperty(string property);
public void SetProperty(string property, string v);
// Properties
public SerializableColor DefaultColor { get; set; }
public abstract double Maximum { get; set; }
public abstract double Minimum { get; set; }
public abstract string Name { get; }
public abstract bool NeedQuotes { get; set; }
[XmlIgnore]
public string Parameters { get; }
public abstract ChartPosition Position { get; set; }
}