fxDreema

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

    Price equal to MA doesn't render an arrow

    Questions & Answers
    0
    5
    236
    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.
    • K
      kk 6 last edited by

      I am making an EA to draw an arrow if either bid or ask price is equal to specific MA. I am using double equal for both of them, somehow it doesn't render even when a condition is met. What did I do wrong?

      https://fxdreema.com/shared/Hdb3KjEUd

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

        @kk-6 The problem is with using == is a tick has to happen at that split second, sometimes this happens sometimes not, use something like X>.

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

        K 2 Replies Last reply Reply Quote 0
        • K
          kk 6 @jstap last edited by

          @jstap Thank you so much for answering. I will do X> then.

          1 Reply Last reply Reply Quote 0
          • K
            kk 6 @jstap last edited by

            @jstap But sometimes the price doesn't cross above or below, how do I tackle this? I see an option to adjust but I don't know how to input the number. I want both higher and lower like +1/-1.

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

              @kk-6 So X> on 0 is as it happens even if it reverses, on 1 is when cross is confirmed by candle close.

              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

              B
              H
              S
              D
              M
              C
              M

              11
              Online

              146.8k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors