I want to use heikinAshiSmooth indicator on feedDescriptor (in strategy).
And I see in documentation that one way is to use:
IIndicatorCalculator<Double,double[]> heikinAshiSmooth(IFeedDescriptor feedDescriptor, IIndicators.AppliedPrice appliedPrice, OfferSide side, int timePeriod, IIndicators.MaType maType, int smoothingTimePeriod, IIndicators.MaType smoothingMAType)
But why the IIndicatorCalculator has <Double,double[]> instead of
<double[],double[][]> ?
If I use calculate(shift) method on this IIndicatorCalculator, then I receive only one value insted of 4 values (OPEN CLOSE, HIGH, LOW).
When I use heikinAshiSmooth indicator on selected instrument and period I receive double[] or double[][].
e.g.:
double[][] heikinAshiSmooth(Instrument instrument, Period period, OfferSide side, int timePeriod, IIndicators.MaType maType, int smoothingTimePeriod, IIndicators.MaType smoothingMAType, Filter filter, int numberOfCandlesBefore, long time, int numberOfCandlesAfter)
Plese tell me how to receive full heikinAshiSmooth data calculated on any feedDescriptor?