I am trying to build a strategy which takes a pre-defined indicator as input. The strategy should be able to choose from all the indicators in NT.
I know about the "ENUM" but it isn't what I am looking for.
Otherwise, Is it possible to input a indicator name in strategy properties and later on call the indicator by it's name in strategy to calculate signals ?
I am not sure but maybe something like this :
private IndicatorBase inputIndicator1;
..
[XmlIgnore()]
[Description("Indicator 1 input data")]
[Category("Parameters")] [Gui.Design.DisplayName("Indicator 1")]
public NinjaTrader.Indicator.IndicatorBase InputIndicator1
{ get { return inputIndicator1; }
set { inputIndicator1 = value; } }

Comment