fxDreema

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

    I need help

    Questions & Answers
    3
    15
    2729
    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.
    • J
      Jek_So last edited by

      Hi
      I want to do this ea :
      every new bar
      check last bars (50 for examples)
      if find a condition is true (indicator appear)
      buy..

      my problem is when I put "indicator appear" it need to set an ID Candle so what I have to set?!
      because I don't know ID Candle it maybe 40 or 35 or 20 or...

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

        you have to set the ID as some variable, and then use loop to check every id.
        loop1: id1 -> check condition ->
        loop2: id (1+1) -> check condition ->
        loop3: id (1+1+1) -> check condition ....

        its pretty complicated shet if you're inexperienced

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

          Can u give me an example? I'm looking for it in fxdreema examples but I didn't find any thing yet.

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

            https://fxdreema.com/shared/bhDHS63Qc

            Here's the principle

            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 1
            • J
              Jek_So last edited by

              Thank u, now I understood how to do this in fx Deema, good luck.

              1 Reply Last reply Reply Quote 0
              • J
                Jek_So last edited by Jek_So

                Now, I found a problem, when the ea in loop for looking a signal (true condition) it can found 2 or 3 signals in the range of loop,
                how I can make ea choose the last signal? (I can't minimize the range I want another way)
                thank you

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

                  So the signals happen at different price?
                  You need another variable, and store the price to that variable.
                  After the looping process, that variable should contain the last signal and you can continue with that

                  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 1
                  • J
                    Jek_So last edited by

                    It's working thank you, sir 🙂

                    1 Reply Last reply Reply Quote 1
                    • J
                      Jek_So last edited by

                      Sorry for the inconvenience
                      can you give me an example of how I can know if the last bottom of zigzag indicator is after last top of it or the opposite
                      I need to know if the last swing of zigzag indicator is up or down.

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

                        Sorry, I don't know much about zigzag

                        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 1
                        • J
                          Jek_So last edited by

                          ok thank you 🙂
                          I'm waiting someone know about zigzag.

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

                            For the first question I can suggest this block "Indicator moves within limits". This block is a little bit scary, but it's a block who can actually iterate through candles and check values for each candle. Or, in "Condition" when you are using custom indicators there are few extra options available... for example you can find the candle number at which the indicator is "visible" (meaning, its value is different than EMPTY_VALUE)

                            Zig Zag, I hate this indicator 🙂 Whatever I did for this indicator, I don't want to touch it anymore. I don't even know how this shit can be used, but anyway. In the indicators list you can find it, I have added few extra options on top of the original custom indicator that comes with MetaTrader. You can also import it as a custom indicator (in My Indicators) and use it like this... if you know how, because I really don't know 🙂

                            1 Reply Last reply Reply Quote 2
                            • J
                              Jek_So last edited by

                              Hhhh yes its
                              however, I will try with it.
                              thank you fxDreema 🙂

                              1 Reply Last reply Reply Quote 0
                              • J
                                Jek_So last edited by

                                Can you give me an example for "Indicator moves within limits" how to I find the candle number at which the indicator is "visible"?

                                1 Reply Last reply Reply Quote 0
                                • J
                                  Jek_So last edited by

                                  I found how to use "Indicator moves within limits" like what I want, so thank you mr fxDreema 🙂
                                  It's a super block,

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

                                  Online Users

                                  F
                                  W
                                  C

                                  13
                                  Online

                                  146.8k
                                  Users

                                  22.4k
                                  Topics

                                  122.6k
                                  Posts

                                  Powered by NodeBB Forums | Contributors