fxDreema

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

    How to recognize a candle

    Questions & Answers
    3
    10
    291
    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.
    • F
      FPorelli last edited by

      Hi everyone!
      I have already setup my EA with the first block of trades working perfectly (timeframe 1H). Now, my problem is that I would like to make him understand, with a second block of instructions, that if - after the opening of the trade - the first candle on the 1 minute timeframe is a bull candle, he must close the current trade and open a new one. other. This obviously has to happen at the end of the candle.
      Thanks everyone for the help!

      1 Reply Last reply Reply Quote 0
      • Z
        ZakTrading last edited by

        image.png

        https://fxdreema.com/shared/DOFrj35Qc

        1 Reply Last reply Reply Quote 0
        • Z
          ZakTrading last edited by

          im relatively still a learner, but this question seemed simple. if an experienced user finds an incoherency in my approach please comment

          1 Reply Last reply Reply Quote 0
          • F
            FPorelli last edited by

            Thanks ZakTrading,
            I already tried your solution in the past and it doesn't work..... i thought it was simple too, but it's not.

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

              @FPorelli like this: https://fxdreema.com/shared/oMA9J5TZb

              @ZakTrading before using pink blocks, you should always select your trade with the purple loop block. Sometimes a trade might be already selected and the pink block works alone, but it will cause bugs if the last selected trade is not what you wanted

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

                @roar thanks for trying to help me. I tried what you sent me, but I think I have a problem with "id" between variables.
                What should I do? What value should I give to "id" among the variables?

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

                  @FPorelli the id variable gets its value here, no need for anything else
                  a3ded912-ac61-4b6a-a1fd-df5bb7453335-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
                  • F
                    FPorelli last edited by

                    @roar ok, but where it says "select variable (right-click), it means that I have to assign a value to "id" because when I did the ex4 it tells me that the value assigned to "id" is missing. I hope that I was able to explain.

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

                      So you need to add this "id" variable to your variables list?

                      https://fxdreema.com/tutorial/builder/constants-and-variables

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

                        I tried, but it doesn't work. Any other ideas?

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

                        Online Users

                        H
                        N
                        J
                        A
                        Z

                        16
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors