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:	225
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 NullPointStrategies, Today, 05:17 AM
    0 responses
    44 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    126 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    65 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X