fxDreema

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

    HIGH OF THE DAY, LOW OF THE DAY

    Questions & Answers
    6
    7
    1769
    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.
    • ItuInvests
      ItuInvests last edited by

      I don't even know if what i'm asking for can be programmed; I want my EA to execute trades only AFTER the high/low of the ASIAN session is broken and price creates a new high/low on the LONDON session. Which function do i need to take a close look at to achieve this?

      Money.

      roar 1 Reply Last reply Reply Quote 0
      • roar
        roar @ItuInvests last edited by roar

        @ituinvests You need to create 2 variables to track the high and low.
        Here's how to update the high, for example:
        condition: current candle high > variablehigh
        -> modify variablehigh to current candle high.

        Use a hours filter to limit the opportunities to update that variable only on Asian session. Then use another hours filter (for london hours) when the EA can check if current close > variablehigh.

        Lastly, you'll have to reset your variablehigh and variablelow variables for the next asian session: when the asian session begins, set both variables to current price, so any price movements will get updated to the variables and the seeking for new asian highs/lows can begin again.

        Need small help? Tag me in your post
        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

        ItuInvests T G F 4 Replies Last reply Reply Quote 0
        • ItuInvests
          ItuInvests @roar last edited by

          @roar God bless you, you've been very helpful thanks alot !!!

          Money.

          1 Reply Last reply Reply Quote 0
          • T
            TraderEA6 @roar last edited by TraderEA6

            Deleted....

            1 Reply Last reply Reply Quote 0
            • G
              Gol D Hendry @roar last edited by

              @roar can you give one example? I try this, but going in wrong way. thank for helping

              1 Reply Last reply Reply Quote 0
              • F
                foxbat @roar last edited by

                @roar what if i want to calculate the midpoint of that range to use as a variable

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

                  @foxbat Roar isn't here much any more, high point price - low point price will give you the mid point price.

                  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

                  M
                  J
                  X
                  K
                  E
                  D
                  E
                  M
                  H
                  C
                  I

                  22
                  Online

                  146.6k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors