Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Archiving Old Strategies
Collapse
X
-
Hello Trader146,
Thanks for your post.
If you removed strategy files from the Documents\NinjaTrader 8\bin\Custom\Strategies folder, you would need to run a compile in the NinjaScript Editor window for those changes to take effect.
Once you have removed the script from the folder and then run a compile, the strategies will no longer appear.
Further, if you want you can simply exclude the scripts from compilation in the NinjaScript Editor (open New > NinjaScript Editor window, open Strategies folder, right-click on strategy, select 'Exclude from compilation'). This would prevent the NinjaScripts from compiling or appearing in the Strategies window when adding a strategy to a chart or to the Strategies tab of the Control Center.
NinjaScript Editor help guide: https://ninjatrader.com/support/help...nt8/editor.htm<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
-
Hello Trader146,
Thanks for your notes.
To clarify, did you exclude the strategies from compilation in the NinjaScript Editor window or did you delete the strategy file from the Documents\NinjaTrader 8\bin\Custom\Strategies folder?
Have you closed the Strategies window and then re-opened the Strategies window to see if the changes have taken effect?
If you restart NinjaTrader, open a New > Chart window, right-click on the chart, and select 'Strategies', do you see the strategies listed?
Do you have multiple NinjaScript strategies with the same name as the ones removed or excluded from compilation?
I look forward to assisting further.
<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
Comment
-
I decided to make a video to show you what is happening. Please take a look. Hopefully you can help me resolve this.
Thanks!
Comment
-
Hello Trader146,
Thanks for that information.
To clarify, are these custom strategies that you created? Or, are they strategies from a third-party developer?
If they are strategies from a third-party developer, did the strategies come as an assembly (.dll)?
Assembly files will not appear in the NinjaScript Editor window since the code is protected but the strategies would appear in the Strategies window.
If these came as an assembly (.dll), if you go to Tools > Remove NinjaScript Assembly, do you see the assemblies listed on the 'Remove NinjaScript Assembly' window?
If so, select the assemblies in the Remove NinjaScript Assembly window and select the 'Remove' button. Then, run a compile in the NinjaScript Editor window and check to see if the behavior persists.
Please move the Archive folder outside of the Documents\NinjaTrader 8 folder. This could be placed in the Documents folder or the Desktop folder on your PC, for example.
After moving the Archive folder outside of the Documents\NinjaTrader 8 folder, restart NinjaTrader, open a New > NinjaScript Editor window, and run a compile.
Then, open a New > Chart window, select the 'Strategies' button, and note if the behavior persists.
I look forward to assisting further.<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
Comment
-
All of the strategies are custom strategies I created myself, not vendor assemblies. BTW, I got instructions elsewhere to delete the cache folder and that didn't help either. I also temporarily renamed the strategyanalyzerlogs folder as it contained copies of the .cs files, but that had no affect either. This is such a strange problem. Please help!
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
57 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
133 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
73 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
50 views
0 likes
|
Last Post
|

Comment