fxDreema

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

    Is it possible to create an ea that deactivates "auto trading" per day?

    Questions & Answers
    3
    7
    1260
    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.
    • L
      lnx28 last edited by

      I am new and I don't know the platform. I need help, I'm desperate, I want to create an EA that disables autotrading on Friday and activates it on Monday.

      help please 😞

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

        I don't know how to do that, but I can show you how to program a stop in the EA activity forthat period instead. Would it be valid for you?

        (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
        • L
          lnx28 last edited by

          @l-andorrà said in Is it possible to create an ea that deactivates "auto trading" per day?:

          I don't know how to do that, but I can show you how to program a stop in the EA activity forthat period instead. Would it be valid for you?

          let me see

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

            @lnx28 Are you sure you want to disable auto-trading completely? That means no EA can manage any open positions anymore! What one usually wants to achieve that there are no new trades are opened during that time.

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

            l'andorrà 1 Reply Last reply Reply Quote 0
            • l'andorrà
              l'andorrà @trader.philipps last edited by

              @trader-philipps said in Is it possible to create an ea that deactivates "auto trading" per day?:

              @lnx28 Are you sure you want to disable auto-trading completely? That means no EA can manage any open positions anymore! What one usually wants to achieve that there are no new trades are opened during that time.

              Is that possible trader.philipps? If so, that would better than my solution.

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

              T 1 Reply Last reply Reply Quote 0
              • T
                trader.philipps @l'andorrà last edited by

                @l-andorrà Well, there is a long and a short answer.

                Short answer: It's not possible with mql to activate/deactivate Auto-Trading programatically like if one would press the button in ther Terminal.

                Long answer: If using an external api (dll) there may be a way. As an example icefx newinfo indicator has an option to disable auto-trading before some news occurs.
                So in general there is a way, even if I have no clue how they do so.
                As a workaround and if no 3rd party EA are involved, one might use a global variable (fxdreema slang: terminal variable) that might control if an fxdreema built EA is allowed to open new trades. Of course that logic have to be implemented on all EAs (and their instances in MT4).

                From general perspective I would not recommand disableing autotrading if there are open positions in place (such as icefx newsinfo would do). In case auto-trading is disabled, there is no control over the open position at all. The only "saftey" there'll be is if set SL and TP which are stored on broker side. Hence I'd prefer my EAs built in fxdreema to limit "trading hours" for the means of "allowed to open new positions hours". If there are any open positions in place and the "trading hours" limit is reached, my EA would still manage the trade in order to do things like trailing. Hope that makes sense.

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

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

                  I see. Certainly complicated. 😞

                  (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

                  J
                  L
                  S
                  E

                  11
                  Online

                  146.8k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors