Recently I have seen that most of the OrderFlow indicators source code has been available to use (previously the class was hidden).
I am getting an error basically saying I cannot convert the OrderFlowCumulativeDelta to an Indicator Class below
Argument 1: cannot convert from 'NinjaTrader.NinjaScript.Indicators.OrderFlowCumul ativeDelta' to 'NinjaTrader.NinjaScript.Indicators.Indicator'
if (State == State.DataLoaded) { orderFlowCumDelta = OrderFlowCumulativeDelta(CumulativeDeltaType.BidAsk, CumulativeDeltaPeriod.Bar, 0); AddChartIndicator(orderFlowCumDelta);​ List<Indicator> indicator = new List<indicator>(); indicator.Add(orderFlowCumDelta);
​
Comment