Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Auto Breakeven

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

    Auto Breakeven

    Hello,

    I would like to implement an auto breakeven into my current strategy. I would like it to automatically set a total stop loss at breakeven after moving up 10 points.

    How would I do this?

    Thank you.

    #2
    ChelsieB. with NinjaTrader Customer Service ​ has created a very helpful Strategy example, named:

    BreakEvenBuilderExample_NT8.zip (you can Search for it, here in the Forum)

    This example has been created using Strategy Builder and has both a practical and an educational value !
    Last edited by KonstantinosNT; 01-12-2023, 02:52 AM.

    Comment


      #3
      Hello, thanks for writing in. The examples in the strategy builder for break even and a trailing stop can be found here:



      Kind regards,

      -ChrisL

      Comment


        #4
        Hello Chris,

        Thank you for the info, I have followed the steps in Chelsea's tutorial but still cannot seem to figure out why it is not working. I have set my trade entry conditions to trigger state 1 and followed the rest of the example strategy but the breakeven still does not set.

        Comment


          #5
          Hello, thanks for the follow up. The examples I sent in my last reply work. Please import those and test them out to see how the logic works. Unfortunately, the support team will not be able to assist in debugging custom scripts. This is so we can provide help to all requests in a timely matter.

          Comment


            #6
            That is okay, quick question about the triggers. Is it okay to have more than 1 "trigger 1" i.e. wiil have 2 "trigger 1"s, one for short and one for long? Is this possible or should unique triggers be used?

            Comment


              #7
              Hello, thanks for the follow up To have long and short orders you would need to just duplicate the logic within the example I sent, one set for long and another set for short orders.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by NullPointStrategies, Yesterday, 05:17 AM
              0 responses
              54 views
              0 likes
              Last Post NullPointStrategies  
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              131 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              73 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              44 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              49 views
              0 likes
              Last Post TheRealMorford  
              Working...
              X