Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Disable strategy

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

    Disable strategy

    Hello,

    I couldn´t find in the video library how to disable a strategy with closing of positions (or maybe with entering a position). The sense would be that the strategy does open and close positions only one time to avoid problems when forgetting about strategy enabled.

    Thanks
    Tony

    #2
    Hello,

    Thanks for the note.

    First are you talking NinjaScript strategy or ATM Strategey?

    So you want when you disable the strategy for the strategy to terminate any position the strategy may have open correct? Or do I not understand you fully?

    I look forward to assisting you further.
    BrettNinjaTrader Product Management

    Comment


      #3
      Hello,

      thanks for your reply. No, I want the opposite - when positions are closed I want the NinjaScript strategy disabled for NO NEW entry.

      Best
      Tony

      Comment


        #4
        Hello,

        Thanks for that information.

        You may wany to use this sample to help you with this. You can adapt this to be instead of losers to be just one trade win or lose.



        Let me know if I can be of further assistance.
        BrettNinjaTrader Product Management

        Comment


          #5
          Hi Brett,

          your support is great - you don´t send me to a partner;-)

          So let me do another question - in the backtesting with strategy analyzer I have the colored dashed lines for winning and losing trades. But in realtime trading with the strategy I don´t have the dashed lines but only triangles. Where can I set this for having the dashed lines also in the live trading with strategy.

          Thanks
          Tony

          Originally posted by NinjaTrader_Brett View Post
          Hello,

          Thanks for that information.

          You may wany to use this sample to help you with this. You can adapt this to be instead of losers to be just one trade win or lose.



          Let me know if I can be of further assistance.

          Comment


            #6
            Hello,

            Glad to help.

            Unfortunately this is a limitation and is the difference between the strategy analyzer and live.

            I can send this into development as a suggestion however.
            BrettNinjaTrader Product Management

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            85 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            47 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            29 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            32 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            67 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X