fxDreema

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

    Need help to build simple EA

    General Discussions
    5
    20
    5665
    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.
    • R
      Remzeal @fxDreema last edited by

      @fxdreema How many ea can i build in a day? my first ea was working then i did some modifications. Now it's not working again......
      also, how do i create eas having different Magic?

      Remedy

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

        Hi everybody,

        I am working on an EA. My EA should work like this :

        Buy now and sell now at the start of EA. It then opens Sell and Buy pending orders with selectable lot sizes, offset from current price, with or without TP and/or SL. The most important thing is that when any TP is hit the EA should close all positions including all pending orders. It then start the process all over again. Can anybody help me. I have ensembled few blocks but so far never work as inspired.

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

          You can check the number of trades / orders under "on Tick" and close everything ( Close trades, Delete pending orders) when that numbers is less that what is needed. Or under "on Trade" you can detect the event when some trade is closed and react on that moment.

          R 1 Reply Last reply Reply Quote 0
          • D
            dbadri54 last edited by

            __You can check the number of trades / orders under "on Tick" and close everything ( Close trades, Delete pending orders) when that numbers is less that what is needed. Or under "on Trade" you can detect the event when some trade is closed and react on that moment.[/quote:pzb98497]
            I have tried and still can't make it. Appreciate if you can help me to add blocks needed for the said functions based on my blocks below. Thanks Admin. 🙂

            https://fxdreema.com/shared/kqtghXD0b

            Thanks

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

              Now what you have is as direct as it looks like - in one shot you are creating 2 trades and 6 pending orders. Then depending on the price another trades are created ot of the pending orders, but when no trade left - another shot of 2 trades and 6 pending orders is created.

              Please, take a look at some examples here: https://fxdreema.com/examples/

              This is how to close everything when one trade closes: http://prntscr.com/9jhpxx

              1 Reply Last reply Reply Quote 0
              • D
                dbadri54 last edited by

                __Now what you have is as direct as it looks like - in one shot you are creating 2 trades and 6 pending orders. Then depending on the price another trades are created ot of the pending orders, but when no trade left - another shot of 2 trades and 6 pending orders is created.

                Please, take a look at some examples here: https://fxdreema.com/examples/

                This is how to close everything when one trade closes: http://prntscr.com/9jhpxx[/quote:2tnlwq1h]

                I have incorporated blocks you have suggested. Total blocks is now 10, the limit that we can have on this free version. Unfortunately, after compilation and installed, it does not fire. What can be wrong here? Do you have any idea why. In this limited version, they don't allow me to create anymore links and cutting/pasting using Lightshot is also not available. Otherwise, I can show you what I have done. Tq

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

                  It works for me: http://prntscr.com/9k477a
                  http://i.imgur.com/tvOgVfE.png

                  I can see your projects. I don't know what is wrong for you, do you have error messages or something?
                  But what is wrong with Lightshot, this is fantastic soft and as you can see I am giving screenshot made with it. I also use it to show everything to my friends 🙂

                  1 Reply Last reply Reply Quote 0
                  • D
                    dbadri54 last edited by

                    __It works for me: http://prntscr.com/9k477a
                    http://i.imgur.com/tvOgVfE.png

                    I can see your projects. I don't know what is wrong for you, do you have error messages or something?
                    But what is wrong with Lightshot, this is fantastic soft and as you can see I am giving screenshot made with it. I also use it to show everything to my friends :)[/quote:1git9iv8]

                    Thanks. I got it now running as you did. For more aggressive EA, I need to subscribe and pay. Lightshot also working as usual. Thanks to you. TQ

                    1 Reply Last reply Reply Quote 0
                    • D
                      dbadri54 last edited by

                      __It works for me: http://prntscr.com/9k477a
                      http://i.imgur.com/tvOgVfE.png

                      I can see your projects. I don't know what is wrong for you, do you have error messages or something?
                      But what is wrong with Lightshot, this is fantastic soft and as you can see I am giving screenshot made with it. I also use it to show everything to my friends :)[/quote:1fuhawdj]

                      Hi fxDreema Admin,

                      Now, if I want to modify my EA in such a way that it will replace with the same order/trade once its TP is hit. What bock should I use? It's not obvious for me. Thanks again.

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

                        Now when TP is hit everything is closed and then new set of 2 trades + 6 pending orders is created. You want to add one more trade with that? If this is the case, maybe something like this: http://prntscr.com/9koj5u
                        http://i.imgur.com/Q9SljU2.png

                        1 Reply Last reply Reply Quote 0
                        • D
                          dbadri54 last edited by

                          __Now when TP is hit everything is closed and then new set of 2 trades + 6 pending orders is created. You want to add one more trade with that? If this is the case, maybe something like this: http://prntscr.com/9koj5u
                          http://i.imgur.com/Q9SljU2.png[/quote:2jcy2cvs]

                          Thanks for the suggestion, but what I need this time is that when any of the trade hits its TP, it will be automatically replaced with the same one and other positions should not be closed as before. This should happen for all positions - pending or otherwise. Thanks again Admin

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

                            I don't know, try something, you saw some examples. I obviously don't get the idea 🙂

                            1 Reply Last reply Reply Quote 0
                            • K
                              kusilie last edited by

                              My EA wont delete the remaining pending order when reach the targeted TP and start the whole process again.Please advise

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

                                kusilie, I have no idea how your EA looks like

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

                                  @remzeal Are you a free user maybe?

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

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    Remzeal last edited by

                                    No, i subscribed recently

                                    Remedy

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

                                      @remzeal Can you please create a new thread woth your EA requirements? I promise I will take a look at it.

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

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        Remzeal last edited by

                                        Here ia the link; shared/m2NfwcwBb

                                        Remedy

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          Remzeal last edited by

                                          2021.01.06 10:09:04.430 GBPUSD,M15: 10461468 tick events (16284 bars, 10461568 bar states) processed in 0:01:36.253 (total time 0:02:03.927)
                                          2021.01.06 10:09:04.430 2020.12.31 20:59:48 Mzx GBPUSD,M15: Expert Advisor self terminated
                                          2021.01.06 10:09:04.430 2020.12.31 20:59:48 Mzx GBPUSD,M15: Average ticks per second: 109
                                          2021.01.06 10:09:04.430 2020.12.31 20:59:48 Mzx GBPUSD,M15: Backtested in 96.11 seconds
                                          2021.01.06 10:07:28.171 2019.08.12 00:00:00 Mzx inputs: MagicStart=2569; inp7_VolumeSize=0.1; inp7_StopLossPips=0; inp7_TakeProfitPips=50; inp8_VolumeSize=0.1; inp8_StopLossPips=0; inp8_TakeProfitPips=50;
                                          2021.01.06 10:07:07.593 TestGenerator: unmatched data error (high value 1.27452 at 2020.07.23 18:00 is not reached from the least timeframe, high price 1.27397 mismatches)

                                          Remedy

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

                                            @remzeal Please create a new thread with your request. I will not answer any more posts here.

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

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

                                            Online Users

                                            K
                                            B
                                            U
                                            R

                                            13
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors