fxDreema

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

    Close EA after trade

    Questions & Answers
    3
    13
    2203
    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.
    • M
      Mannybear1 last edited by

      Basically I am trying to create an EA that buys/sells(depending on what i pick) at a specific time during the day. Once the time comes and the trade is initiated the EA should close or at the very least not take any trade till I activate it. The problem I am running into is that it will eventually open trades as time goes on. I left the AE on overnight and it opened more than 1000 trades. Need some help or advice.

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

        Could you please share your current project to take a look on 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.

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

          @mannybear1 Should it open only at a specific time each day automatically or do you pick by yourself which trade to take and let it manage your trade (fully automated vs semi-automated).
          If it should run fully automated, you can use time filters
          0_1568506793603_Auswahl_536.png
          and in addition maybe the turn ON/OFF blocks or a combination of both.
          0_1568506864222_Auswahl_537.png

          If you want a semi-automated you may prompt for useraction before opening a trade or have a button on the chart to open an order.

          As @l-andorrà said, it may be helpful if you'd have a concrete project to share and to discuss about.

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

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

            0_1568561733937_Order Buy.PNG

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

              @trader-philipps I'm trying to make it automatic except fpr TP and SL. I've done the time filter and the block commends but doesn't seem to work fully.

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

                @mannybear1 If you might share the project I may have a closer look. But from principle fxdreema works from lowest to highest ID. In your exapmle you switch off Some block (can't see) and switch some block on on the next tick.

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

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

                  @Mannybear1 , I'd start something like this ...0_1568564221572_Auswahl_539.png

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

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    Mannybear1 @trader.philipps last edited by

                    @trader-philipps 0_1568862050620_Capture example.PNG

                    this is a complete setting for my project. And really appreciate the help and feedback

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

                      Your 'Modify variables' block is empty. You need a variable to be modified there. Now nothing happens and that stops the EA right there.

                      (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
                      • T
                        trader.philipps @Mannybear1 last edited by

                        @mannybear1 What is not working?
                        @l-andorrà I think the empty variable block shouldn't stop the EA there. I'd rather guess not specifying a lot size (How much ... in Buy now) at least will make the buy orders not happen.
                        @Mannybear1 Do you see any errors when you let the EA run in the logs?

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

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          Mannybear1 @trader.philipps last edited by

                          @trader-philipps what doesnt seem to work is when i put the block orders. I thought that at the end as soon as the trade is executed the block is supposed to turn off. But even if the trade is active it would still open a couple more. I tested your EA and it works perfectly actually. What does PASS do

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

                            Could you please share the link instead of just a screenshot?

                            (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
                            • T
                              trader.philipps @Mannybear1 last edited by

                              @mannybear1 PASS is like a sub-routine. I use it as a starting point. Depending on the block number it will be executed befor or after other starting or solo blocks. It helps to do certain calculations or condition checks that other blocks may use.
                              For instance I made 1 block for controling the trading time. This blocks activates the "order open block" If condition is met.

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

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

                              Online Users

                              B
                              A
                              T
                              R
                              T
                              N

                              15
                              Online

                              146.7k
                              Users

                              22.4k
                              Topics

                              122.6k
                              Posts

                              Powered by NodeBB Forums | Contributors