fxDreema

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

    Distant Between Band

    Questions & Answers
    3
    16
    780
    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.
    • B
      biztet last edited by biztet

      chart-01-01.jpg

      Hi, need help with this one. How can i tell the EA to check if the distant of the 2 bands if it's increasing @ decreasing? Thanks.

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

        Check distance over candle id's, for e.g if id4is<if3&id3<id2&ifid2<id1 then gap is increasing.

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

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

          @jstap so I'll need to use lots of block?
          What i understand your example is only for single band? I'm trying to get distant between 2 band in candle id3<id2<id1.

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

            Yes multiple blocks, as many as you need, but when upper band is increasing, the tower is too.

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

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

              @jstap I'm sorry, what i mean is the distance, gap between the 2 bands. Upper1&Upper2, Lower1&Lower2.

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

                On you're picture you have an upper and lower band, they both move in conjunction.

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

                  https://fxdreema.com/shared/jWeTdUXTd its good ?

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

                    Not sure what you are doing with your formula, this is an idea of how to do it, you will need as many blocks as candles:
                    image.png

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

                      it is however simple, the upper limit returns a price the lower limit also returns a price, I subtract the 2 with a formula block to measure the distance in price

                      if you want to measure the evolution you do the same on x previous candle with a condition block which checks the evolution of the varialbe

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

                        Ok but the lines are never = so you need to set a distance value to know if lines are widening.

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

                          Thanks @jstap @biez6900.

                          I'm thinking like this, but don't know how to do it.
                          For Upper bands

                          value@price (above-below(id3)) < (above-below(id2)) < (above-below(id1)) = expanding

                          value@price (above-below(id3)) > (above-below(id2)) > (above-below(id1)) = shrinking

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

                            @biztet You can do it like this: https://fxdreema.com/shared/GFLkPs3xb

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

                              image.png yes jstep you are right about the answer you gave me, doing as would even be better

                              1 Reply Last reply Reply Quote 0
                              • B
                                biztet last edited by

                                Thanks guys. Appreciate it. I'll try this. Thanks again.

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

                                  Don't think you need the +2? As was, it was was comparing candle to the one before, as is now you are messing with the the distance of a candle, but you change this on different blocks..

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

                                    here we do not count the lower limit to the lower limit +1 but the difference between the deviation terminal 4 to the deviation terminal 2 and we look for a positive evolution, and by taking a step we avoid too weak evolution

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

                                    Online Users

                                    A
                                    A
                                    E
                                    B
                                    M
                                    J
                                    B
                                    E
                                    R

                                    22
                                    Online

                                    146.7k
                                    Users

                                    22.4k
                                    Topics

                                    122.6k
                                    Posts

                                    Powered by NodeBB Forums | Contributors