Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom Strategy still listed in the Strategies List

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

    Custom Strategy still listed in the Strategies List

    Hello

    I have removed the .CS code of a strategy from the Custom folder.

    But the strategy is still listed in the list of strategies when I right click on a chart then click on Strategies.

    I think that a custom dll of my strategy has been deployed somewhere and that I should delete it but I can't find where this file might be...

    What would be the procedure to completely remove a custom strategy from NT7 ?

    Thanks

    #2
    Hello,

    Thank you for the question.

    First I want to check, what specific folder was the .cs file located? Was this in the Strategies subfolder, or was this in the Custom folder specifically?

    If this was in the Strategies folder, you may just need to compile at this point to have it removed, have you compiled at this point? If not, please go to Tools -> Edit NinjaScript -> Indicator -> ADL and then open it. Right-click and choose Compile in the new window.

    I look forward to being of further assistance.

    Comment


      #3
      The .CS file was in the following folder :
      C:\Users\User001\Documents\NinjaTrader 7\bin\Custom\Strategy

      Comment


        #4
        Hello,

        Thank you for confirming that.

        Yes, in this case, this should be source code so completing a compile should correct the item being listed. Could you try the steps to compile I had previously provided?

        If compiling does not correct the problem, that may indicate that you have a duplicate script in the Custom folder or one of the subfolders with the same name. It is possible to have two separate .cs files with separate names but they include a same-named strategy. The Name is delegated by the Name property in the strategies code.

        I look forward to being of further assistance.

        Comment


          #5
          Hello

          I have been able to delete the custom strategy by clicking on File/Utilities/Remove NinjaScript Assembly, then by restarting NT7.

          Thanks !
          Last edited by investdatasystems; 03-29-2018, 01:00 AM.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          633 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          364 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          105 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          567 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          568 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X