fxDreema

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

    how to pause(sleep) a script?

    Questions & Answers
    4
    10
    544
    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.
    • bk7
      bk7 last edited by

      hey guys,

      has anyone already paused a script with dreema, so the script just needs to be added once to the chart, and works lets say once a bar and then sleeps till a new bar comes and runs again ?
      any help on this is appreciated, thanks!

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

        You don't need a script to do that. You can create a structure in your Ea doing exactly that. Why using a script and an EA when the EA can do it all?

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

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

          @l-andorrà
          because an ea runs already on the chart and i cant run 2 on the same chart and i need data from the chart, which the script should collect.

          So i need to add a script and pause/sleep or i need to make a custom indicator, since i didnt work much with indicators yet i prefer the script 🙂

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

            Create buttons instead. You can pause an EA at will just by clicking them whenever needed.

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

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

              @l-andorrà
              to clarify, the ea which runs on the chart isnt mine, so i dont have the code or can change any bit of it.

              the task is:
              an ea already runs on a chart and cant be changed
              add a script that is just added once and will run oo, which means it pauses right before its terminated and restarts on a certain contain....

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

                Turn auto trading off via blocks, then back on. This will disable all EAs but is the only way I know to stop EA without the code

                Learn fxDreema Without the Wait!

                My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                Don’t miss out

                Click here➡️ https://mybook.to/fxDreema to get your copy today!

                Enjoy! 😊

                bk7 1 Reply Last reply Reply Quote 0
                • bk7
                  bk7 @jstap last edited by

                  @jstap

                  but this only turns off the ea not the script, since with the end of the script it is terminated

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

                    I don't use scripts, I don't see the point in them unless you want to get some information. Generally switching blooks/trees on/off will achieve everything that's needed. Scripts work when selected, so just don't select. If EA needs a script, recreate it.

                    Learn fxDreema Without the Wait!

                    My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                    The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                    Don’t miss out

                    Click here➡️ https://mybook.to/fxDreema to get your copy today!

                    Enjoy! 😊

                    1 Reply Last reply Reply Quote 0
                    • B
                      biztet last edited by biztet

                      Hi @bk7. Are you trying to prevent the ea from opening trades like during news hour? I think maybe you can't control the ea because it's not yours. But maybe you could make the ea instantly close the trade every time it opens during that period. You might lose some, but not much i think.

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

                        @jstap and i only want to get the information the ea shows, and export it, so i need either a custom indicator that does the job or a script.
                        @biztet the ea doesnt trade at all, its just showing information, so the script is needed to export the information the ea produces.

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

                        Online Users

                        J
                        B
                        M

                        15
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors