fxDreema

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

    EA ignores other conditions

    Questions & Answers
    2
    5
    210
    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.
    • O
      Obis last edited by

      I made this ea base on macd divergence and the divergence btw two candles. But when i test the EA it only opens a position when the macd condition is met. It totally ignores the conditions for the divergence in candles ( fractal candles buy and sell area)

      please help. Here's the link https://fxdreema.com/shared/3xBdm4tjd

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

        It can't because a condition only passes if the condition is true, test 1 condition at a time then you can see the problem and, fix any issues

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

        O 2 Replies Last reply Reply Quote 0
        • O
          Obis @jstap last edited by

          @jstap I did test it, all the conditions played out well, but when combined, only the macd works

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

            @jstap Can you explain how I can use flag to achieve this?
            After the macd divergence, the EA should save it that first condition is met, then checks for second condition. This second condition can happen anywhere, even inside the macd divergence or even 10-20 candles after the divergence

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

              I don't think I can't help with this, anything I have tested, if it works singularly, it works together. Maybe try putting the divergence blocks at the bottom, just above buy/sell

              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

              A
              G
              Q
              C
              T
              S
              A
              M
              R
              G

              17
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors