fxDreema

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

    MOVING AVERAGE CROSS 2ND TIME

    General Discussions
    3
    5
    366
    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
      karthiiy last edited by

      Hi friends,

      My EA wants to place the order when the moving averages (FMA & SMA) cross happens for the SECOND time. Please advise which block would be ideal to form this.? Below is the screenshot of the EA.

      MA CROSSOVER.JPG

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

        You will likely need a variable to add up the crosses, then if variable = 1 we take trade and reset variable.

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

        S 2 Replies Last reply Reply Quote 0
        • S
          sybra @jstap last edited by

          @jstap Can you explain it please because I created a robot that trade when the moving averages cross, but the robot automatically begins to trade when I open Mt4, I would like it to wait until the next cross please

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

            @jstap Btw I am a complete beginner

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

              Set up a small test project, just doing the first cross and adding into a variable, display this in a comment. once working, adjust to reset to 0 when the cross = 2, this way you can watch on back test and vissualy check it's what you want.

              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

              H
              H
              M
              S
              S

              11
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors