Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Condition...If market position=2 longs

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

    Condition...If market position=2 longs

    I have a strategy where I enter market with 2 contracts- I have done this by naming both individually as my first condition... that happens when price closes above a certain MA.
    Now I want to set it up whereby if price retraces and close back below that ma I can exit both contracts.
    If someone could help me with the wizard choices that would be great.
    My intention then is to take this knowledge and apply it to the next part of the strategy which is IF price closes below a swing low, 1 contract will be taken out.
    The remaining contract will stay in the market till it eventually closes below the same MA.

    Once I have that I will replicate it all for the shorts!
    Can anyone help me?
    Thanks
    raycam

    #2
    raycam, I believe you refer to you entering with 2 entry orders (individual named) - then you could exit both contracts in for example Set2 as the CrossBelow occurs, just don't enter a specific signal name to exit from, just issue an ExitLong with a empty 'FromSignalName' filed and it would exit both contracts.

    Comment


      #3
      Thanks- That will do it nicely.
      raycam

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      61 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      149 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      162 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      99 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      286 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X