fxDreema

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

    stop after a condition and some buys and then reactivate when the condition occurs again.

    Questions & Answers
    2
    5
    455
    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
      alfi last edited by

      Hello friends. I have not been able to make my EA stop after a condition occurs and make a defined number of buys and then reactivate when the condition occurs again.
      I appreciate your help.
      Regards

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

        @alfi said in stop after a condition and some buys and then reactivate when the condition occurs again.:

        EA stop after a condition occurs and make a defined number of buys

        How can your EA make buys when stopped? You mean manual trades?

        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
          alfi last edited by

          @roar said in stop after a condition and some buys and then reactivate when the condition occurs again.:

          How can your EA make buys when stopped? You mean manual trades?

          It is true Roar, I don't want the EA to stop, I want that after making, for example, 5 buys, wait until the condition of averages crossing occurs again and repeat the 5 buys.

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

            @alfi ok, so a condition allows 5 buys

            Use a counter variable, something like this
            https://fxdreema.com/shared/HeO2bziK

            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
              alfi last edited by

              Roar, thank you very much i will try it.

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

              Online Users

              J
              S
              W
              A
              H
              H

              16
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors