fxDreema

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

    Convergence of multiple conditions in single indicator

    Questions & Answers
    2
    20
    1945
    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.
    • Alex81
      Alex81 last edited by

      Hi dears, I found an interesting MTF HA indicator
      0_1633787790709_4 TF Heiken Ashi Arrows.mq4

      As you can see in image below, it draws arrows on the first time all 4 timeframes became red or green:
      0_1633787868864_immagine_2021-10-09_155748.png

      Unfortunately the indicators draws arrows as objects on chart, and I couldn't get to get them in am EA.
      I understand I have to use variables to get the signal, but I failed so long.
      Anyone can help?
      Thanks

      The only edge on the market is to lose less than you win...

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

        @alex81 Check your mt4 object list, this will give you the names you are trying to reference as objects.

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

          Ok, and how can I use it as an entry condition?

          The only edge on the market is to lose less than you win...

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

            @alex81 This indicator has 7 buffers, in HERE you can see what I did to check, buffer 0 or 1 is sell arrow, 6 or 7 is buy arrow, with the indicator appear block you can make EA buy/sell, you only need to use 1, something like buffer 1 for sells and buffer 7 for buy, what is in the link should show you enough to create an EA.

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

              Sorry but I don't think it is what I have in mind...
              I need that buffer 1, 3, 5, and 7 are visible but only first time they are together visible, i.e. it's like 3 are visible and the last one became visible.
              How could you use 8 variables to create an entry condition?

              The only edge on the market is to lose less than you win...

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

                @alex81 All is in the link, you can use any combination of buffers to suit your needs.

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

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

                  @jstap Please can explain better?
                  How would you pick 4 buffer to select a buy?

                  The only edge on the market is to lose less than you win...

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

                    @alex81 You have to place in a tree in the logical way you want the trade placed, for example no trade, buffer 1, buffer 3, place trade, if you want something that has already happened to allow a trade to open, you will have to use variables or flags, then reset when condition is no longer valid.

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

                      Something like this is correct?

                      0_1633800169129_9bed0e43-3167-4b02-9ca8-1c0020817f25-image.png

                      Buy on the left, sell on the right

                      The only edge on the market is to lose less than you win...

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

                        @alex81 Yes that will set buy variable to true when 4 buffers are visible (change) at the same time, you don't need pass above throe's blocks, but you do others.

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

                          I think I worked out an effective solution.
                          It could be used with two or more indicators, and the graphical tracing can be used to track if it is working correctly.

                          https://fxdreema.com/shared/3WMVuDZze

                          Now it comes the issue: I am not able to use it as a signal.
                          I'd need a block to evaluate variable at candle 2 and candle 1 or something similar as for indicators.

                          @jstap any ideas?

                          The only edge on the market is to lose less than you win...

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

                            @alex81 What do you mean by use as a signal? If you mean MA-MACD-CCI all happening at the same tine, tee off your original tree, or create new, put whatever block to create the signal you want.

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

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

                              @jstap try to use my project in visual tester: you'll se coloured trendlines whenever each tree is active. I need the beginning of each condition, so when variable "zone" from 0 became 1 or -1. How to do it?

                              The only edge on the market is to lose less than you win...

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

                                Here:
                                0_1640353314000_08091a82-dff3-40bd-a818-bc54a3d85467-image.png

                                see the blue and red arrows? I need to catch that signal, the first time the convergence of 3 indis appears.

                                The only edge on the market is to lose less than you win...

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

                                  If I put this block there is no buy:
                                  0_1640353966003_7d3a60c0-ce98-497c-b7e3-2f0f3695151c-image.png

                                  If I put this 0_1640353990629_847e4a87-3db3-46fc-979f-a317040dbdbf-image.png

                                  I get a trade on every bar...
                                  I don't know how to define zone[1]>0 and zone[2]=0

                                  The only edge on the market is to lose less than you win...

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

                                    @alex81Try using the indicator appear block, this should generate a signal every time the variable changes. If this doesn't work you have the option to use counters and a bool variable, so if variable changes from 0 to 1 it sets a bool to true and another to false, sets the counter above to off and the other tree counter to on, when this tree fires it sets the 1st counter to off, changes the variables to false and true. Am sure the indicator visible will work though.

                                    0_1640354425131_e9ba5836-3db3-441a-b397-6aee73b03848-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! 😊

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

                                      @jstap nope,
                                      If I do the "appear" 0_1640355569672_35cb44f5-9e27-48d6-a239-14488cf390a0-image.png

                                      I get this error:
                                      0_1640355600116_7516474b-ee84-4445-b49b-24d2fc57530d-image.png

                                      The only edge on the market is to lose less than you win...

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

                                        @alex81 I am unsure how you got these errors but indicator appears is not the block to achieve this, in this link you can see how to.

                                        https://fxdreema.com/shared/vqoTaFT5

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

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

                                          @jstap wonderful my friend, I admit I would never got this by myself!

                                          The only edge on the market is to lose less than you win...

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

                                            @alex81Your welcome

                                            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

                                            E
                                            R
                                            S
                                            A
                                            B
                                            N
                                            M
                                            A
                                            T
                                            V
                                            M
                                            A

                                            27
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors