Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Optimization locking
Collapse
X
-
Hello Zinger357,
Thank you for your post.
Computer memory is important for long resource-intensive tests that generate a large number of trades without your machine stalling. Computer processor speed is important to get optimization iterations done quickly and the number of CPU cores allows for more iterations to run simultaneously.
We should consider the following for memory consumption:
Data * Strategy resources * Number of backtest/optimization iterations * Number of trades * Keep best # of results (when optimizing).
With more complex code can come heavier calculations which may require more processing. This is further impacted by the amount of data being processed, the number of iterations in the optimization, and amount of new objects being created in each iteration.
It is important to note that the Tick Replay property implies that more PC resources are used to calculate your indicators and strategies also and as a result will lead to a performance impact. This is noted on the Tick Replay and Performance Tips help guide pages below.
Tick Replay:https://ninjatrader.com/support/help...ick_replay.htm
Performance Tips:https://ninjatrader.com/support/help...ance_tips2.htm
To improve backtests/optimization, you could reduce the amount of days being tested over to reduce the data being processed. You could also reduce the number of iterations by reducing the range of optimized parameters when running an optimization.
Further, when running an optimization use IsInstantiatedOnEachOptimizationIteration set to false and reset all objects that can be reset or instantiate all objects in State.DataLoaded. By doing so this will re-use memory locations instead of reserving new memory locations.
Optimization Tips —https://ninjatrader.com/support/help...ionPerformance
Please let us know if you need further assistance.
-
How much RAM do you have? I found 32gb on my pro dedicated server to be the best balance of value and strategy analyzer performanceOriginally posted by Zinger357 View PostWhen I run strategy analyzer my computer freezes and I have to restart every time. Backtest will work but ultimately it will lock the computer also. If it has very few parameters then it will almost work but still ends up locking up.
Comment
-
It's only at 16gb but not a problem to update thanks for advice. The smaller number of iterations the better it performs. The machine is 2 years old and I'll look at updating ram that's easy. I purchased a high end gaming machine for Ninja Trader but it is 2 years old like I said.
Comment
-
If you have the additional slots on your mobo, upgrade to as much RAM as possible and you should see a nice boostOriginally posted by Zinger357 View PostIt's only at 16gb but not a problem to update thanks for advice. The smaller number of iterations the better it performs. The machine is 2 years old and I'll look at updating ram that's easy. I purchased a high end gaming machine for Ninja Trader but it is 2 years old like I said.
- Likes 1
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
61 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
39 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
21 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
23 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
51 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment