Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

can't remove custom strategy

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    can't remove custom strategy

    UPDATE: Resolved. I found that I had accidentally pasted my strat code into the NinjaScript editor pane for one of my custom indicators! 100% user error.

    About an hour ago, I compiled my updated strategy code, and got tons of errors saying I already had the same class elsewhere; the names of everything were ambiguous and everything was duplicate, etc.

    I checked my code and did not contain anything duplicate.

    I deleted the strategy from Ninjatrader via the editor UI, compiled, then created a new strategy file and pasted my code in, and tried to compile. But I still got the errors as if the original strategy still existed!

    So, I deleted all custom strategy files from Ninjatrader 8/bin/Custom/Strategies restarted Ninjatrader and opened the editor and compiled.
    My strategy was not listed there, but when I open strategies window on my chart, the old strategy is still listed there.

    I tried clearing cache, even renamed my db file, then recompiling.
    I tried running repair install.

    Nothing is getting rid of that old strategy code that isn't even listed in Strategies in NT anymore.... It's like it's now baked into NT core code.

    What is going on??
    Last edited by iantriestrading; 09-03-2024, 12:30 PM.

Latest Posts

Collapse

Topics Statistics Last Post
Started by NullPointStrategies, Today, 05:17 AM
0 responses
52 views
0 likes
Last Post NullPointStrategies  
Started by argusthome, 03-08-2026, 10:06 AM
0 responses
130 views
0 likes
Last Post argusthome  
Started by NabilKhattabi, 03-06-2026, 11:18 AM
0 responses
70 views
0 likes
Last Post NabilKhattabi  
Started by Deep42, 03-06-2026, 12:28 AM
0 responses
44 views
0 likes
Last Post Deep42
by Deep42
 
Started by TheRealMorford, 03-05-2026, 06:15 PM
0 responses
49 views
0 likes
Last Post TheRealMorford  
Working...
X