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 helpwanted, Today, 03:06 AM
            1 response
            12 views
            0 likes
            Last Post sarafuenonly123  
            Started by Brevo, Today, 01:45 AM
            0 responses
            9 views
            0 likes
            Last Post Brevo
            by Brevo
             
            Started by aussugardefender, Today, 01:07 AM
            0 responses
            5 views
            0 likes
            Last Post aussugardefender  
            Started by pvincent, 06-23-2022, 12:53 PM
            14 responses
            242 views
            0 likes
            Last Post Nyman
            by Nyman
             
            Started by TraderG23, 12-08-2023, 07:56 AM
            9 responses
            387 views
            1 like
            Last Post Gavini
            by Gavini
             
            Working...
            X