Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Want main condition to wait on second condition before trade

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

    Want main condition to wait on second condition before trade

    Basically I have a main condition that is checked for, but I want it so that once that condition is spotted. It has to wait for a second condition before actually entering into a trade.

    For example:

    When indicator 1 crossover happens - main condition
    then wait til indicator 2 crossover, and trade

    I tried using a MRO condition for this but it doesn't seem to be working

    #2
    Hello,

    Thank you for your inquiry.

    You could use a bool. Set the bool to true when the first condition occurs. In addition to your second condition, require the bool to be true before entering. Set the bool back to false after entering a trade.

    Please let us know if you have any further questions.

    Comment


      #3
      Originally posted by NinjaTrader_Gaby View Post
      Hello,

      Thank you for your inquiry.

      You could use a bool. Set the bool to true when the first condition occurs. In addition to your second condition, require the bool to be true before entering. Set the bool back to false after entering a trade.

      Please let us know if you have any further questions.
      Yeah, I should've narrowed it down further before posting. I guess the issue was with the second condition itself, rather than trying to use an MRO.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      87 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      128 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      65 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      117 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      67 views
      0 likes
      Last Post PaulMohn  
      Working...
      X