I am sure that all data is in the local PC. Could this affect the optimizer results?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Error "tried to load additional data". when optimizing s strategy
Collapse
X
-
Error "tried to load additional data". when optimizing s strategy
I am receiving the error message: "'MyOptimizer' tried to load additional data. All data must first be loaded by the hosting NinjaScript in its configure state."
I am sure that all data is in the local PC. Could this affect the optimizer results?Tags: None
-
Hello guillembm,
The error means a called hosted indicator is using AddDataSeries() to add a data series. This AddDataSeries() call must also be added to the host strategy.
From the help guide:
"Should your script be the host for other scripts that are creating indicators and series dependent resources in State.DataLoaded, please make sure that the host is doing the same AddDataSeries() calls as those hosted scripts would. For further reference, please also review the 2nd example below and the 'Adding additional Bars Objects to NinjaScript' section in Multi-Time Frame & Instruments"
Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
84 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
46 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
66 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
69 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
58 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment