I have a ninjatrader indicator, acquired recently... now I want to code an strategy so I need to first instantiate the indicator on my code to be able to EnterLong or Short based on indicator values.
I have tried to... declare at class level the indicator I already have imported...
private indicatorName indicatorHandler;
To then, instantiate within State.DataLoaded
indicatorHandler = indicatorName(param1, param2, param3, param4);
and finally I need to obtain the internal values of the indicator, how can I get access to the internal buffers? for example this indicator has two EMA's one slow and one fast?

Comment