Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
    JesseNinjaTrader Customer Service

    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.
        JesseNinjaTrader Customer Service

        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 rocketman7, Today, 02:12 AM
          7 responses
          31 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by guillembm, Yesterday, 11:25 AM
          3 responses
          16 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by junkone, 04-21-2024, 07:17 AM
          10 responses
          149 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Started by tsantospinto, 04-12-2024, 07:04 PM
          6 responses
          101 views
          0 likes
          Last Post tsantospinto  
          Started by trilliantrader, 04-18-2024, 08:16 AM
          7 responses
          28 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Working...
          X