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 NullPointStrategies, Today, 05:17 AM
|
0 responses
50 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
126 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
69 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment