Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy disappearing after manual exit

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

    Strategy disappearing after manual exit

    Hi

    I have a question regarding a custom strategy I have applied to my chart. Whenever I manually close an open position, the strategy disappears from the screen and I have to reload it. How can I avoid that? (I'd like the strategy to stay on the chart during the whole session regardless of how often I manually enter or exit a position).

    Background information: The Log tab doesn't display any error message. The Chart Trader isn't enabled.The strategy basically is a "grey box", ie it doesn't place any trades, it just reads a series of custom indicators, compares them to a set of predefined values and sends an alert if the conditions are verified. The order placement is done manually.

    Thanks

    #2
    laocoon, please close the manual position or ATM strategy with a middle mouse click on the 'Close' button, then the applied NinjaScript strategy would continue working after this manual exit.

    Comment


      #3
      Thanks for your quick reply. I understand what you're saying, however I already use the left mouse button to close my position but the strategy is still automatically removed after that.

      Thanks

      Comment


        #4
        Please close your manual position / ATM strategy with the middle mouse button - then the NinjaScript strategy should continue working and not be stopped.

        Comment


          #5
          I tried the middle mouse button as you suggested, but I get the following message: please select a strategy to close. (I don't want to close a strategy, just a position).

          What's more, when I mouse over the Close button in the DOM, a small window appears with the following text: "Closes a position (left click) or strategy (middle click).

          It appears that the left click should be appropriate for what I want to achieve (closing a position but NOT a strategy), but it doesn't work.

          Thanks

          Comment


            #6
            I see, this is because you're working without an attached ATM to your position - pressing the 'close' button would close the position and cancel any working orders including applied strategies. Thus as a workaround I would suggest just issuing a normal market / limit order to get you flat.

            Comment


              #7
              In fact, I am working with an attached ATM to my position, it's just that sometimes I don't wait for the Stops to be hit and exit manually.

              From a logic perspective, I understand that hitting the close button affects all working orders, but as I said before my strategy does not send any orders, it just sends alerts. To me it appears a bit strange that hitting the close button terminates a running strategy, even though there are no orders associated with it.

              When I choose to exit a position manually, I definitely need to do it as fast as possible, which is why I use the close button. Now, how can I use the close button without terminating my running strategy?

              Thanks again.

              Comment


                #8
                Hmm, just tried to reproduce on my end here using latest 6.5.1000.13 - the strategy stays applied and working when I 'middle click close' my running ATM to take manual profit not wanting to wait on profit target or stop to be hit. Can you please recheck and then contact me with your logs and trace at support at ninjatrader dot com Attn Bertrand? Thanks

                Comment


                  #9
                  Guys, could you please post the resolution to this problem? I experience it exactly at laocoon does. Can the problem be resolved by something other than a middle click of the "Close" button? And will this problem continue in NT7?

                  Thank your for your help,

                  Light

                  Comment


                    #10
                    Light,

                    Unfortunately I am not entirely sure how this ticket panned out via emails. Bertrand will not be in till Monday to clarify. Can you please describe your exact scenario since it may not have transpired completely as laocoon's did at the end of the day when they took it to email. Thank you.
                    Josh P.NinjaTrader Customer Service

                    Comment


                      #11
                      Thanks Josh. As laocoon described, if I am running a strategy and my account is in a position, and I click "Close" on the Basic Entry window (just above "Buy"), not only does this close my position, but it removes the strategy from my chart. If I click Buy or Sell, the strategy is unaffected. Only if I click Close is it removed. (The same behavior happens with my trading partners also using NT6.5.)

                      The behavior is easily duplicated. Put NT's SampleMACrossOver strategy on chart. Place an order with that chart's instrument, and after being filled, click the Close button on the Basic Entry window. That will not only flatten the position but will remove the SampleMACrossOver strategy from the chart. (At least that's what it does on my and my partner's charts.)

                      I can understand the need for a "stop strategy" button on the order entry window. But it shouldn't be the same as the "Close" button. (Perhaps this has already been addressed in NT7.)

                      Thank you for your help!

                      Best wishes,

                      Light

                      Comment


                        #12
                        Light, to clarify - have you pressed the 'close' button with the middle mouse button to stop the running strategy?

                        Comment


                          #13
                          Hello all,

                          Excuse me, I am also interested to know the resolution to this.
                          I am running a strategy on one chart and have another chart with same setting with the chart trader.
                          My strategy does not call ATM, when I click CLOSE with middle button, a Warning dialog box appears saying "Please select a strategy to close".

                          Left click on Close will remove my strategy.

                          Thanks.

                          Regards.

                          Edward K.

                          Comment


                            #14
                            Edward, on the chart where you attempt to close the strategy - is the active ATM in the dropdown selected?

                            Comment


                              #15
                              Hello Bertrand,

                              No. It is at <None>.

                              Thanks.
                              Regards.

                              Edward K.

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                              0 responses
                              648 views
                              0 likes
                              Last Post Geovanny Suaza  
                              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                              0 responses
                              369 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by Mindset, 02-09-2026, 11:44 AM
                              0 responses
                              108 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                              0 responses
                              572 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by RFrosty, 01-28-2026, 06:49 PM
                              0 responses
                              573 views
                              1 like
                              Last Post RFrosty
                              by RFrosty
                               
                              Working...
                              X