Thanks!
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
At what times, if ever, does a chart based strategy auto-reload itself?
Collapse
X
-
At what times, if ever, does a chart based strategy auto-reload itself?
Hi, I know that pressing F5 for a chart will reload a strategy, but are there circumstances that a chart/strategy will auto-reload a strategy by itself? I ask because I've been living fast-and-loose in terms of my development workflow (developing/changing the strategy on one chart, while keeping the same un-updated strategy performing live/real trades on another chart). I've gotten away with this so far by simply not manually updating the strategy on the live-trading chart, but I would like to be aware of the circumstance that the strategy would update itself if such possibilities exist.
Thanks!Tags: None
-
Hello Calebg,
For a strategy, this should only occur when you request a change which requires a reload such as F5 or disconnecting/reconnecting. This can also happen if you lose connection and have the strategies connection loss settings set to recalculate. Other changes such as compiles should not affect a running instance, however, it can be good practice to do a test compile while running the script on Sim101. This just confirms that no errors happen and it stays running, this is mainly only important if you are doing very advanced coding such as using custom objects or custom inheritance.
If you want to be certain that you don't affect your running script in any way, I would suggest making a duplicate and then running that. This simply prevents any possibility for you to create problems with the running script and its file. For example, you could do a Save As at the beginning of the day and give the strategy the unique name for that day then run that instance while editing the original file. This also gives you a sort of checkpoint system to revert back to in case some changes were made and you can't remember specifically what you did.
I look forward to being of further assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, 03-13-2026, 05:17 AM
|
0 responses
86 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
151 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
79 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
53 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
61 views
0 likes
|
Last Post
|

Comment