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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    80 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    63 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X