fxDreema

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

    How to get a value from the last fractals?

    Questions & Answers
    3
    4
    890
    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.
    • K
      kerdos last edited by

      Hallo Radoslav,
      I need some help from you again. I need to extract the HIGH & LOW values for the candle that formed the last DOWN FRACTAL and the same (HIGH & LOW values) for the candle that formed the last UP FRACTAL. I would like also to be able to pick the number of bars since the UP FACTAL (and the DOWN FRACTAL) formed. I used to do that kind of loops easily in amibroker with the use of barssince & valuewhen functions but i have no idea how to do that in mql4. Can you help me please and give me the setup of blocks for getting these values? Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • K
        kerdos last edited by

        Ok ... found how to do it.

        1 Reply Last reply Reply Quote 0
        • S
          SWG123 last edited by

          I'm trying to do the same thing - how did you manage it?

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

            For Fractals set Candle ID to at least 2... if I am not wrong. This indicator gives us nothing in the current candle and as I remember - in the previous candle as well.

            How to get the latest positive value. Well, hardly possible with the built-in indicator. But for the "My indicators" option in "Condition" I have added extra options, check them.

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

            Online Users

            G
            E
            P
            G
            R
            N
            S
            E
            E
            M
            O
            B
            M
            Z
            S

            26
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors