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:	237
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 CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    61 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    34 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    198 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    364 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    283 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X