Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stop updating

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

    Stop updating

    Click image for larger version

Name:	Untitled.png
Views:	233
Size:	122.3 KB
ID:	1178021
    How do you update your stop once price has gone a little into profit?
    I think my action order is lacking.

    It should be like:
    On entering long:
    Stop_Trigger = (Close[0] + (Trail_Trigger * TickSize)) ;

    On market data update:
    Stop_Price = (marketDataUpdate.Price - (Trail_Size * TickSize)) ;
    SetStopLoss("", CalculationMode.Price, Stop_Price, false);
    but is there any way to do it in the strategy builder? without having to unlock and code it? Thanks

    #2
    Hello ezrollin,

    Thanks for your post.

    Yes, you can do this in the Strategy builder but you cannot use the Set methods as they are fixed at the time the strategy is applied (meaning they cannot be set dynamically). You would have to use Stop and Limit type orders for the stoploss and profit target.

    Please see this example of a trailing stop by my colleague Chelsea: https://ninjatrader.com/support/foru...der#post806596

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    93 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    138 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    123 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    73 views
    0 likes
    Last Post PaulMohn  
    Working...
    X