fxDreema

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

    EA using conditions based on different time scales

    Questions & Answers
    3
    10
    1250
    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.
    • PapaSkindog
      PapaSkindog last edited by

      Hello to everyone at FXDREEMA. I love the program but I am having a bit of trouble with my EA. I would like the EA to check the current Bull candle on a 15M chart is bigger than the ATR(4) of the previous candle of the 1H chart. Also to pass only once per bar. The EA I produced doesnt seem to reference the 1H chart. Could anybody please help me fine tune this?

      Many thanks in advance

      https://fxdreema.com/shared/822pdC82d

      l'andorrà 1 Reply Last reply Reply Quote 0
      • l'andorrà
        l'andorrà @PapaSkindog last edited by

        @papaskindog The logic is correct. However, I would remove the '*10000' part in the 'adjust' box.I guess the ATR value doesn't need any modification.

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

        PapaSkindog 1 Reply Last reply Reply Quote 0
        • PapaSkindog
          PapaSkindog @l'andorrà last edited by

          @l-andorrà Thanks for your input. It does seem the logic is correct, however in the MT4 strategy tester it doesn't seem to behave in the correct way because it doesn't reference the hourly chart. The *10000 is required to scale the ATR correctly

          l'andorrà 1 Reply Last reply Reply Quote 0
          • l'andorrà
            l'andorrà @PapaSkindog last edited by

            @papaskindog Are you sure of that? I've created many EAs with different timeframe references and they always worked fine. Is that project the whole project or just a part?

            (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

            (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

            (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

            PapaSkindog 1 Reply Last reply Reply Quote 0
            • PapaSkindog
              PapaSkindog @l'andorrà last edited by

              @l-andorrà just part of a larger project, but cant move forward until this is working. I was hoping for a whole lot of responses and help on how to get it working but that doesnt seem to be the case

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

                @papaskindog it seems to work just fine
                0_1594945330618_ee7274e4-569b-4f6c-a2e7-dbf4eadb6ef1-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
                • roar
                  roar last edited by

                  To check if your EA takes the right H1 ATR value, you can use "comment" block or "log message" to write the ATR values and see for yourself.

                  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

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

                    @roar Many thanks for you input. It does look like it is working correctly on your chart above, but if you check the ATR(4) on the hourly chart on 2nd Jan at 0800 the ATR is 15.5 pips, so therefore the trade should not have been taken unless the 15 min candle is at least 62 pips, as it needs to be 4 * the hourly ATR(4). That is what I want to achieve. Any more suggestions or help would be greatly appreciated

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

                      @papaskindog maybe its a timezone thing, but my ATR shows 0.00063 there:
                      0_1595030238209_d8dbc81b-a19a-468c-be41-d4db32275df8-image.png
                      Also bear in mind that you have selected candle ID 1. This means trades entered in 0800 hour will check the ATR from 0700 hour.

                      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

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

                        @roar Could well be a timezone thing....... I will check it out. Thanks again

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

                        Online Users

                        E
                        J
                        T
                        J

                        16
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors