Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to add to existing trade but retain original profit target & stop loss

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

    How to add to existing trade but retain original profit target & stop loss

    Hello,

    I want to modify my strategy so that I can add to an existing trade if a set of conditions are achieved. I'd also like to retain the same profit target and stop loss targets (tick based, not currency).

    So in effect, I go long 1x contract and set a profit target of 100 ticks and a stop loss of 100 ticks. When the conditions are right, I go long an additional contract and the trade is closed (2x contracts) when the original 100 tick profit target or stop loss is hit.

    I've tried to implement this in NinjaScript and I can tie the trades to the same PT & SL if I use a currency based SetStopLoss() and SetProfitTarget() but they don't seem to work if I use ticks.

    Do you have any examples or any guidance you can share?

    Thanks,

    Neil
    Last edited by burtoninlondon; 05-01-2024, 10:31 AM.

    #2
    Thanks NinjaTrader_BrandonH, that's helped me resolve my query.

    Neil

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    116 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    61 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    40 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    44 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    82 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X