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 Mindset, 04-21-2026, 06:46 AM
|
0 responses
89 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
135 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
68 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
119 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
69 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment