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.

    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.

        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.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by janio973, Today, 07:24 PM
            0 responses
            3 views
            0 likes
            Last Post janio973  
            Started by aligator, 01-06-2022, 12:14 PM
            4 responses
            238 views
            0 likes
            Last Post john_44573  
            Started by reynoldsn, Today, 05:56 PM
            0 responses
            12 views
            0 likes
            Last Post reynoldsn  
            Started by bortz, 11-06-2023, 08:04 AM
            51 responses
            1,990 views
            0 likes
            Last Post aligator  
            Started by dmking, 11-12-2019, 12:31 PM
            4 responses
            4,155 views
            0 likes
            Last Post jasonw
            by jasonw
             
            Working...
            X