Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OCO to Trailing stop - How to?

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

    OCO to Trailing stop - How to?

    Hi,
    I enter 4 contracts with EnterLong/Short etc. Following that I set up an OCO pair with 4 contracts StopLoss, and 2 contracts target. Then as the first target gets filled, i set the second single contract target, and finally the third one. All works fine. Sometimes however, I'd like to trail the last single contract (depending on strategy outlook). I thought that if I just don't submit the final target's order, and keep adjusting the the existing stop loss it will work fine, but somehow it doesn't.
    I can adjust the stop loss while the orders are in pair (take profit is on the market with stop loss), but if I don't submit the final take profit order, stop loss does not want to adjust.
    Could you please let me know what is the best way to work with this scenario? Do I need to cancel the existing stoploss and setup another? or is there some other way?

    Cheers,

    Roman

    #2
    Hi again...

    I've worked it out, and also had a tiny bug ">" facing the wrong way...

    Now, all is working fine, but is there a smart/quick way of doing it?

    Thanks in advance


    Roman

    Comment


      #3
      Roman,

      Glad you got it worked out. Unfortunately there is no quick way to do this. To scale-out you will need to scale-in.
      Josh P.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      264 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      168 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      171 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      257 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      209 views
      0 likes
      Last Post CarlTrading  
      Working...
      X