fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Break even line on mutiple trades

    Questions & Answers
    break even multiple trades
    4
    10
    5608
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      peringvar last edited by

      Hi I see there has been som previous question of this topic but I didn't manage to fine a clear solution.

      What I want is to draw a break even line on my chart when I have several trades, both buys an sells with different lot.

      I only find the average open as an option but that is not the same as break even with different lots.
      Does anyone have the break even formula as an written formula so maybe I can puzzle with my brain a a start?
      And of course it would be nice to have this in a block.

      1 Reply Last reply Reply Quote 0
      • M
        miro1360 last edited by

        0_1515969165308_miro1360_GravityBE_1.0.mq4

        not sure if this helps you, I created it in past and now I dont remember exactly how it is working, but you can find it in code 🙂 ... it is probably not working in tester because it calculates in on Timer function ...

        Between trading and gambling is a very small gap, be careful.

        H 1 Reply Last reply Reply Quote 0
        • P
          peringvar last edited by

          Thank again miro, i will study it 🙂 You are great

          D 1 Reply Last reply Reply Quote 0
          • D
            Dieter @peringvar last edited by Dieter

            @peringvar my ea uses for that the block "Trailing Stop (groupe of trades) or you can check bukkets of trades.

            P 1 Reply Last reply Reply Quote 0
            • P
              peringvar @Dieter last edited by

              @dieter I have tried to fiddle around with bucket of trades but havent find a solution yet. So far I can se the average open

              D 1 Reply Last reply Reply Quote 0
              • D
                Dieter @peringvar last edited by

                @peringvar With several trades I like to work with the following block. You can hire him for buy and sell trades at the same time. look in the information.

                0_1516726545076_8fee3051-0099-4e9b-8c32-d51abd2fbded-grafik.png

                0_1516726454562_845ed532-4ed4-4795-9c47-75eb4126c80f-grafik.png

                1 Reply Last reply Reply Quote 0
                • P
                  peringvar last edited by

                  Yes I see. My problem is to calculate breakeven before it happens with diiferent lot size and combinations of sell and buys.

                  1 Reply Last reply Reply Quote 0
                  • H
                    Hadees @miro1360 last edited by

                    Hi Miro thanks for this little gem of an indicator. I am trying to integrate it into my project and have added to my indicators. I am trying to test this in the tester with my project but cant get the line to show. Will it not show because it works on timer function like you have said above or by importing it to my indicators should it work ?
                    0_1547313211245_23eb73f8-80f9-445e-9e40-7f24cf42a187-image.png

                    1 Reply Last reply Reply Quote 0
                    • M
                      miro1360 last edited by

                      It was long ago 😄 ... Do not import it into My Indicators. Place it on the chart as indicator together with EA, it should plot the line automatically and you can read the line with EA (I do not remember its name but you can find it by listing chart objects).

                      Between trading and gambling is a very small gap, be careful.

                      1 Reply Last reply Reply Quote 0
                      • M
                        miro1360 last edited by miro1360

                        you can easily avoid onTimer function,
                        this is without onTimer (not tested 😄 )

                        0_1547316058979_miro1360_GravityBE_1.0_noTimer.mq4

                        edit: seems be not working in tester 😄

                        Between trading and gambling is a very small gap, be careful.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post

                        Online Users

                        B
                        A
                        J
                        D
                        E

                        18
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors