Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Splitting Profit Targets

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

    Splitting Profit Targets

    I've recently discovered ninjatrader, and I'm trying to create a strategy which mimics the way I manually trade. I've managed to get the entries working, but can't figure out the exit. What I want to do is have a fixed profit target where half the position will be closed, and a trailing stop which will either close the entire position (if the fixed target isn't met) or close the second half of the position.

    Any ideas? I've only just started learning C#, so please be gentle!

    #2
    Welcome to NinjaTrader!

    Your requirement is actually the basis for a reference sample that I wanted to provide to the community. Please bear with me as I will have a reference sample demonstrating how to accomplish this on the site in this section by early next week.
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

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