I specify that I am a total beginner and that the message is translated by google because I am French and do not speak English, alas...
I try to develop an indicator by calling another indicator but I have the following error message 'TDUBuySellMomentum' tried to load additional data. All data must first be loaded by the hosting NinjaScript in its configure state. Attempted to load ZN JUN23 Globex: 1 Tick
Yet I think I'm doing it right since put the call here: (I thought all the data was loaded )
protected override void OnStateChange() { if (State == State.SetDefaults) { Description ... AddLine(Brushes.DarkTurquoise, 0, "ZeroLine"); } else if (State == State.DataLoaded) { TDUBuySellMomentum1 = TDUBuySellMomentum(Close, NinjaTrader.Data.BarsPeriodType.Second, 15, 15, 2, TDUBuySellMomentumDisplayType.CandleOutline, 10, 60, 400, 4); }
I need your help
thank you
Comment