I'm having an Error message "A hosted indicator tried to load additional data" when I add OrderFlowCumulativeDelta Indicator to strategy; How do I fix it?
The code is as follows:
if (State == State.DataLoaded) { AddChartIndicator(OrderFlowCumulativeDelta(CumulativeDeltaType.BidAsk,CumulativeDeltaPeriod.Session,0)); }
protected override void OnBarUpdate() { if(CurrentBar <= 100) return; }
Thanks in advance.
Comment