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 NullPointStrategies, Today, 05:17 AM
      0 responses
      50 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      126 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      69 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      42 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      46 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X