fxDreema

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

    Easylanguage code

    Questions & Answers
    4
    9
    629
    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.
    • T
      Thbarny last edited by

      Hello, I would like to know if this easylanguage formula can be translated into fxdreema

      Highest(Low-Low[1],ExitLngLen)

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

        You can just use this code in custom code, this is ChatGPT's definition:
        The code Highest(Low - Low[1], ExitLngLen) is a function call in MQL4, commonly used in Expert Advisor (EA) coding. Let's break it down:

        Highest: This is a built-in function in MQL4 used to find the highest value of a given expression over a specified number of bars.

        Low - Low[1]: This expression calculates the difference between the current low price (Low) and the low price of the previous bar (Low[1]), essentially computing the price change from the previous bar to the current bar.

        ExitLngLen: This is a variable representing the number of bars over which to calculate the highest value of the expression Low - Low[1]. It determines the lookback period for finding the highest value.

        So, in summary, the code Highest(Low - Low[1], ExitLngLen) finds the highest price change (in terms of the difference between consecutive low prices) over the specified number of bars (ExitLngLen). This might be used in an EA to determine certain trading conditions or thresholds based on recent price action.

        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
        • T
          Thbarny last edited by

          I know that, but I am asking how it is used in fxdreema, what is the structure?

          1 Reply Last reply Reply Quote 0
          • T
            Thbarny last edited by

            It is an easylanguage code. Please any expert can help me

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

              in the custom code block!

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

                image.png

                1 Reply Last reply Reply Quote 0
                • T
                  Thbarny last edited by

                  Compilation erros
                  image.png

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

                    Low is an array so would be Low[0], I don't have time at the minute but when I do I'll look at this. In the meantime maybe someone else like @roar will know how to use.

                    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
                    • roar
                      roar last edited by roar

                      I can't help much without seeing your code, but mql5 does have a similar Highest function.

                      Important to note this function does not return the price value, it returns the candle ID, so you need to finally call iHigh() after getting the ID.

                      https://www.mql5.com/en/docs/series/ihighest

                      And since we are on Fxdreema, there's a dropdown menu option as well:

                      cedb801c-1de4-487b-a939-ba0dc5fb9896-image.png

                      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

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

                      Online Users

                      N
                      O
                      M
                      D
                      A

                      12
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors