Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How To Ignore Previous Signals When Enabling Auto Strategy

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

    How To Ignore Previous Signals When Enabling Auto Strategy

    Hi NinjaTrader/All

    When using strategy builder and having it take entries on signals, how do I get the strategy to ignore previous signals before going flat?

    So whats happening is, if I enable the strategy or disable it and then re-enable it, it waits for the previous signal to hit either its profit target or stop if there was a previous signal (before turning green from yellow in the control panel) and then looks for the next signal.

    So if im waiting for a setup, I see one, enable the strategy, if the previous signal hasnt gone flat it doesnt take the new signal and entry that I was waiting for.

    So in a nut shell, what can I use within strategy builder to ignore all previous signals when I enable the strategy?

    Please note that im not a coder and am only using strategy builder.

    Thank you

    #2
    Hello Trader5012,

    From the description it sounds like you are asking to exclude historical trades. You can do that by adding a state check to your conditions. In the builder you can do that by making the following condition:

    Left: Misc -> Current State
    Center: Equals
    Right: Misc -> State -> Realtime

    Comment


      #3
      SuperStar! Thank you Jesse!!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      47 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      23 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      33 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      50 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      42 views
      0 likes
      Last Post CarlTrading  
      Working...
      X