fxDreema

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

    TP/SL by Highest+Lowest candles Period average

    Questions & Answers
    3
    17
    1369
    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.
    • U
      Uriel 0 last edited by

      Hello, I'm trying to do this function, but, looks that there are something wrong; there are any way to do this in an optimal way?

      Basically, the formula is to get TP (based on H/L pips average from last 3 candles. How get them? subtracting [ (C1 H - C1 L) + (C2 H - C2 L) + (C3 H - C3 L) / 3 ] *10000 (5 digit)
      0_1642542812764_07341b8c-3af8-4911-87f7-635836f6ffc7-image.png

      I let to you the project, because there are some inconsistencies and I consider that the logic is right to me, but actually on Backtest work wrong . Thanks:)

      1 Reply Last reply Reply Quote 0
      • U
        Uriel 0 last edited by

        https://fxdreema.com/shared/UllQObCCc

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

          @uriel-0 You could do it this way: https://fxdreema.com/shared/ugWWCHz6 You could also add if statements to reduce the blocks more, I haven't tested but should work

          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! 😊

          U 2 Replies Last reply Reply Quote 1
          • U
            Uriel 0 @jstap last edited by

            @jstap Sorry, I updated https://fxdreema.com/shared/TYNmO0vQd

            I'll check your suggestion

            1 Reply Last reply Reply Quote 0
            • U
              Uriel 0 @jstap last edited by

              @jstap Thank you!!

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

                @uriel-0 This will likely do all in 1 block:

                https://fxdreema.com/shared/c58NW1fbe

                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! 😊

                U 2 Replies Last reply Reply Quote 1
                • U
                  Uriel 0 @jstap last edited by

                  @jstap Oh, really thank you!

                  1 Reply Last reply Reply Quote 0
                  • U
                    Uriel 0 @jstap last edited by

                    @jstap This MQL code, could be used on MT5, right?

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

                      @uriel-0 Yes most works on both.

                      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! 😊

                      U 2 Replies Last reply Reply Quote 0
                      • U
                        Uriel 0 @jstap last edited by

                        @jstap Thank you again

                        1 Reply Last reply Reply Quote 0
                        • U
                          Uriel 0 @jstap last edited by

                          @jstap Hi, I tried to compile, and there are something wrong, do you know what is it?
                          MQL4:
                          0_1642638681203_b615327e-e119-4004-a418-3e60879b9356-image.png

                          MQL5:

                          0_1642638701593_3f6a364a-2e0f-4657-8147-239bdd432934-image.png

                          Y jstap 2 Replies Last reply Reply Quote 0
                          • Y
                            Youngtreptrader @Uriel 0 last edited by

                            @uriel-0 bro u are over complicating ur strategy. what is the basic concept of entry and exit and wat time frame and i can show an easier way to get same result?

                            U 1 Reply Last reply Reply Quote 0
                            • U
                              Uriel 0 @Youngtreptrader last edited by

                              @youngtreptrader hi, just get the take profit, getting it with the pips average from the last 3 candles. I know that is not the best idea... I know

                              Y 1 Reply Last reply Reply Quote 0
                              • Y
                                Youngtreptrader @Uriel 0 last edited by

                                @uriel-0 explain your strategy. theres better ways to take profit. imma be honest wat ur doing seems like a stupid way to take profit. maybe screenshot some charts of wat and entry and exit would be

                                U 1 Reply Last reply Reply Quote 0
                                • U
                                  Uriel 0 @Youngtreptrader last edited by

                                  @youngtreptrader I know that it is, please, if you won't help, skip this. Thanks:)

                                  1 Reply Last reply Reply Quote 0
                                  • Y
                                    Youngtreptrader last edited by

                                    what time frame are u using?

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

                                      @uriel-0 I am unsure why this doesn't work for mt5.

                                      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
                                      • 1 / 1
                                      • First post
                                        Last post

                                      Online Users

                                      H
                                      A
                                      S
                                      M
                                      A
                                      L
                                      G

                                      17
                                      Online

                                      146.7k
                                      Users

                                      22.4k
                                      Topics

                                      122.6k
                                      Posts

                                      Powered by NodeBB Forums | Contributors