fxDreema

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

    Consecutive loss

    Questions & Answers
    2
    4
    284
    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.
    • QuantalphaAlgorithms
      QuantalphaAlgorithms last edited by

      Hello!
      How to count the number of consecutive loss? I want my EA to pause for a while and continue trading the next day if it encounters 3 or more consecutive loss. How can I do it?

      All about Algorithmic Trading here: https://www.quantalphaalgorithms.com/

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

        Set up a test project, the best way to do this is to add 1 to a variable for every loss, if there's a win set it back to 0, in a condition above placing a trade check if <3, once per daily bar reset back to 0

        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! 😊

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

          @jstap Hello! i have used the "check consecutive losses" block followed by the "skip ticks" block. Will it just have the same output as your suggestion?

          by the way, I brought your book from the amazon both in kindle and paperback! it was a nice read! 🤗

          All about Algorithmic Trading here: https://www.quantalphaalgorithms.com/

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

            Show in a shared link: project screen - projects - create a shared link - open in web - copy address bar and past here

            skipping ticks will stop the blocks below from working for x ticks

            Glad you enjoyed my book

            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
            • 1 / 1
            • First post
              Last post

            Online Users

            V
            O
            J
            B

            13
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors