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 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
      59 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