Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

AutoBreakEvenBuilder

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

    AutoBreakEvenBuilder

    Hello, I downloaded the AutoBreakEvenBuilder from this forum and it worked very well.

    This example was only for long trades and I need also a short trade version too.

    I tried to edit it that short trades can work but I cant find what I did wrong. Can anyone fix it?

    Thank you!
    Attached Files

    #2
    Hello Uregon,

    Thank you for your post.

    Here's a more fleshed out example that demonstrates this with both long and short orders - it does get rather complicated as you have to have separate variables for shorts.

    Please let us know if we may be of further assistance to you.
    Attached Files

    Comment


      #3
      NinjaTrader_Kate

      Thank you Kate.

      How can I setup, that the StopLoss will be not putted exactly on breakeven but a few pips in profit instead?

      Comment


        #4
        Hello Uregon,

        Thank you for your reply.

        You could modify sets 6 and 7 - those set the StopPrice to the Position.AveragePrice. You can offset that price plus or minus a few ticks or pips if you like. Here's a video demonstrating how to offset that breakeven price:

        World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.


        Please let us know if we may be of further assistance to you.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        89 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        135 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        68 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        119 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        69 views
        0 likes
        Last Post PaulMohn  
        Working...
        X