It uses the enum IndicatorMethod to define a list of indicators to pick from like so,
#region Variables
private IndicatorMethod method;
#endregion
protected override void Initialize()
switch (Method)
{
case IndicatorMethod.RSI:
InitRSI(); //This Method adds Plots & Lines(not shown)
Indicator = RSI(Period, 1);
break;
case IndicatorMethod.MACD:
InitMACD(); //This Method adds Plots & Lines(not shown)
Indicator = MACD(Fast, Slow, Smooth);
break;
}
#region Properties
[Category("Parameters"), Description("Indicator Method")]
public IndicatorMethod Method
{ get {return method; }
set {method = value; }
}
#endregion
No method within D3Spotter defines IndicatorMethod, so I'm guessing that IndicatorMethod is a undocumented enum of Ninja.
If it is undocument, where can I find the method that defines it
Thanks
Comment