Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Breakeven in sample monitor stop profit

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

    Breakeven in sample monitor stop profit

    Hi, is it possible to add breakeven besides the profit and stop targets to the array list in the attachment strategy.

    Thanks
    Attached Files

    #2
    Hello Dragan,

    Thanks for your post.

    For the managed approach there is no built in breakeven method. You can accomplish a breakeven by dynamically (in code) modifying the SetStopLoss.

    Here is a link on how to do that from another reference sample: http://www.ninjatrader.com/support/f...ead.php?t=3222 The reference sample demonstrates the following key concepts:
    Submitting a stop loss and profit target order using default values offset from your entry order average fill price.
    Modification of the stop loss order to a break even price once a desired level of profit has been reached.

    Please let me know if I can be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    51 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    142 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
    275 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X