Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

"Wait Until Flat" Question

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

    "Wait Until Flat" Question

    Hello,

    Please forgive if this is a stupid question, I'm a NT newbie.

    I have a strategy that is always in either a long or short position depending on whether a fast moving average crosses below or above a slow moving average. So, basically, when the strategy is in a long position and the indicator says to go short, it will close its long position and immediately place an order to go short.

    My question is, I want to set the option in my "strategy" tab to be "Wait Until Flat"...but if I'm immediately going from a long position to a short position (and vice versa) at the same time, will it still register as having "been flat?" My fear is that right now my strategy position is long and my actual position is flat, but when the indicator says to go short, that the short order still won't go through to my broker because since the long exit and short entry orders are happening concurrently I never really will be "flat".

    Thanks for any light anybody can shed on this.

    Edwin

    #2
    Edwin, welcome to our forums - yes 'WaitUntilFlat' would still work in this case of a 'always in' strategy, as there's a brief flat state registered when the strategy reverses the position...

    Comment


      #3
      Perfect! Many thanks for the quick response!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      67 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      36 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      60 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      62 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      53 views
      0 likes
      Last Post CarlTrading  
      Working...
      X