fxDreema

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

    New to fxdreema and would like some advice please

    Questions & Answers
    4
    14
    1878
    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.
    • A
      Alphaandy last edited by

      Hi Everyone,
      I've recently started with fxdreema and have been trying to create an EA with the following criteria.
      The Ea should open one trade, either a sell or buy on the daily chart and only close the trade when a single condition is met.

      1. How do I tell the EA that it should only open one trade in one direction?

      There are four conditions that need to be met and are opposite for either a buy or sell ie
      Buy Conditions
      Condition 1 = MACD 12,26,1 > value 0.00
      Condition 2 = MACD 5,15,1 > value 0.00
      Condition 3 = Accelerator Oscillator > value 0.00
      Condition 4 = MA 9 > MA 25
      2. Either one of these conditions could pass the rule at anytime and in any order so therefore I need to set these so that they are not reliant on the order that the condition is met but when all of them are met - any help please.

      1. How do I connect these conditions in the correct order.
        The attached shows how I have this set at the moment but it's not trading as I expect 0_1568114410702_EA setup.PNG
      roar 1 Reply Last reply Reply Quote 0
      • roar
        roar @Alphaandy last edited by

        @alphaandy
        The logic flow in the picture is correct, nothing wrong there.

        See the Close trades -blocks, have you filtered them to work on only buys / only sells?

        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

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

          Roar is right. We should take a look within the blocks to find the reason why it doesn't work. Could you please share your project?

          (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.

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

            @roar Yes I have -

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

              @l-andorrà - How do I share ?

              T 1 Reply Last reply Reply Quote 0
              • T
                trader.philipps @Alphaandy last edited by

                @alphaandy In builder, left top corner Projects menu last option. Post the link here.

                I like to share my knowledge, but expect the others to contribute as well.

                A 1 Reply Last reply Reply Quote 0
                • A
                  Alphaandy last edited by

                  Hi Guy's,

                  Think this is what you want.0_1568141600247_Double MACD + MA Cross  EUR_GBP.mq4

                  1 Reply Last reply Reply Quote 0
                  • A
                    Alphaandy @trader.philipps last edited by

                    @trader-philipps shared/yz8CSbRNd

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

                      @alphaandy Technically it's fully working EA. If you chain the conditions like that, the order doesn't matter. The EA checks the conditions on each new tick.

                      Do you want all the conditions to be true simultaneously, or can there be time difference? Like, today the accelerator condition is ok, tomorrow the rest of conditions are ok but accelerator is not -> open trade?

                      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

                      A 2 Replies Last reply Reply Quote 0
                      • A
                        Alphaandy @roar last edited by

                        @roar There can be time differences between the conditions being true ie the 2MA's may have moved above or below 2 days before so stay true until all of the other 3 conditions are met. At that point the EA should place the trade. The same goes for the MACD's and the Oscillator.Hope that helps

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

                          @alphaandy Ok, this complicates the build a bit.. You see, normally the EA works tick-by-tick, everything that happened last tick will be totally forgotten when a new tick happens.

                          To "remember", we have to use 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
                          • A
                            Alphaandy @roar last edited by

                            @roar Hi, The attached shows how I trade manually at the moment (no charge (-:) as you are kind enough to help me solve this problem.
                            My idea is to create the same manual trading strategy in the EA and test so that I can remove any emotion from my trading (sometimes my gut tells me to ignore my own system ie similar pairs etc) and want to test this on a demo account for a few months so that I can access the best pairs to trade. 0_1568283193644_Manual Trade Setup.png

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

                              @alphaandy Ah, ok, so all the conditions will be simultaneously true, even though the exact crossing points aren't.
                              The EA you built should work as expected.

                              Do you want to check conditions on closed candles, not active candle? In that case, use candle ID 1 in these settings:
                              0_1568284146898_9bb52a7f-5cc0-4dc3-b01d-cdb9252065c5-image.png
                              By default, its empty, that means candle 0, the current candle.

                              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

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

                                @roar - Thank you - I'll give that a try.

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

                                Online Users

                                D
                                E
                                T
                                E

                                12
                                Online

                                146.9k
                                Users

                                22.4k
                                Topics

                                122.6k
                                Posts

                                Powered by NodeBB Forums | Contributors