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 CarlTrading, 03-31-2026, 09:41 PM
1 response
47 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by CarlTrading, 04-01-2026, 02:41 AM
0 responses
23 views
0 likes
Last Post CarlTrading  
Started by CaptainJack, 03-31-2026, 11:44 PM
0 responses
33 views
1 like
Last Post CaptainJack  
Started by CarlTrading, 03-30-2026, 11:51 AM
0 responses
51 views
0 likes
Last Post CarlTrading  
Started by CarlTrading, 03-30-2026, 11:48 AM
0 responses
42 views
0 likes
Last Post CarlTrading  
Working...
X