fxDreema

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

    Getting MAE MFE for Each Trade

    Questions & Answers
    3
    11
    552
    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.
    • S
      s00071609 last edited by

      I was wondering if anyone has been able to get the MAE MFE values for each trades once they are close. MAE- Highest price (or profit) after trade opened. MFE, lowest price (or profit) after trade opened.

      If it is possible to get the highest price from Trade Open Time to Trade Close Time, calculating MAE MFE is possible using Open Price.

      Using highest price (time based) and lowest price (time based) might work on onTrade tab after position closes. Does anyone have any better idea? I am not even sure about the accuracy of highest lowest block (time period). can anyone verify how these blocks work and any solution to get these values.

      1 Reply Last reply Reply Quote 0
      • jstap
        jstap last edited by

        I don't think you can, but as it's running you could save the value to a variable as it changes

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

        S 1 Reply Last reply Reply Quote 0
        • S
          s00071609 @jstap last edited by

          @jstap I thought about saving the values into variable as higher prices were reached. But, if you have multiple positions it won't work unless you use arrays to store ticket id and highest price and retrieve those at position exit. No idea how array works.

          Simpler concept would be to use the timestamp from Opening Time and Closing Time in OnTrade tab under Positon Closed block and get the highest and lowest price From Opening TIme to Closing Time. This concept will work.

          Problem is the block highest/lowest price (time period) seem to have bug or I am doing something wrong. The block below is supposed to give the highest and lowest price between the time specified. Looks like it is giving highest and lowest price of the candle. If you set the timeframe to H4, it will give high and low of H4 candle which is weird. I wonder if anyone has been using this block or have some workaround.

          9c114ff3-888d-46cd-a9f0-b3abe6bb5d5b-image.png.

          1 Reply Last reply Reply Quote 0
          • jstap
            jstap last edited by

            The market properties high/low are just for what the market has done not the trade.

            Learn fxDreema Without the Wait!

            My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

            The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

            Don’t miss out

            Click here➡️ https://mybook.to/fxDreema to get your copy today!

            Enjoy! 😊

            S 1 Reply Last reply Reply Quote 0
            • S
              s00071609 @jstap last edited by

              @jstap I am not talking about trade. Above block is simply a test block and has no relationship with any trade block. Shouldnt this block be giving high low during particular time period? It appears that this block does not work as it gives high low of candle, not high low of specified period. Otherwise this block could be quite useful in many scenarios. So i was checking if anyone has used this block successfully

              1 Reply Last reply Reply Quote 0
              • jstap
                jstap last edited by

                I have thought about how you can achieve this, this link should work https://fxdreema.com/shared/uHhUtl2Oc, I haven't tested but all have been used before. Add to your project, put in a comment, and on backtest you should get the correct value.

                Learn fxDreema Without the Wait!

                My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                Don’t miss out

                Click here➡️ https://mybook.to/fxDreema to get your copy today!

                Enjoy! 😊

                S 1 Reply Last reply Reply Quote 0
                • S
                  s00071609 @jstap last edited by

                  @jstap
                  Thanks for the advice. I tried to use the block you sent me. It still gives high and low of the current candle in any timeframe. I use MT5, this block has bug imo. It totally ignores the Start hour and End hour.

                  530331c9-c052-48b9-ae88-c134a8623fe2-image.png
                  fca35bca-de57-433e-87cb-0b67f638a7c7-image.png

                  1 Reply Last reply Reply Quote 0
                  • jstap
                    jstap last edited by

                    Add a share link to look at

                    Learn fxDreema Without the Wait!

                    My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                    The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                    Don’t miss out

                    Click here➡️ https://mybook.to/fxDreema to get your copy today!

                    Enjoy! 😊

                    1 Reply Last reply Reply Quote 0
                    • jstap
                      jstap last edited by

                      You will have to go to the main page and ask admin, I have never noticed it doing this before: https://fxdreema.com/shared/92nwIRzuc

                      Learn fxDreema Without the Wait!

                      My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                      The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                      Don’t miss out

                      Click here➡️ https://mybook.to/fxDreema to get your copy today!

                      Enjoy! 😊

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        s00071609 @jstap last edited by

                        @jstap I will try that but fxdreema admin tend to ignore support emails even when there are bugs in their code. Not sure this should be the case in paid products. The way I guess it might work in this current situation is to do this:

                        Close Time Var - Open Time Var = Unix Time Difference/60 = Minutes between order open and closed.

                        Then use the Highest and Lowest (candle period) to get the highest and lowest prices in that candle period. I havent tested it properly as the market is closed but so far it appear to be working fine. Number of minutes bar calculated works correctly.

                        What do you think, could this work without issue.

                        l'andorrà 1 Reply Last reply Reply Quote 0
                        • l'andorrà
                          l'andorrà @s00071609 last edited by

                          @s00071609 The admis definitely replies if you paid a full subscription. Sadly he can take up to 3 weeks to do it. 😞

                          (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                          (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                          (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

                          Online Users

                          D
                          V
                          O
                          J
                          B

                          12
                          Online

                          146.7k
                          Users

                          22.4k
                          Topics

                          122.6k
                          Posts

                          Powered by NodeBB Forums | Contributors