fxDreema

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

    BREAK AND RETEST OF MA

    Questions & Answers
    2
    5
    230
    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.
    • H
      Humble_Fx last edited by

      Please, I want to create a robot that would take a trade when price breaks and retest of moving averages.

      for instances, if price breaks moving average 50, let the bot take trade only when the price retests the broken moving average.

      Something like this is what i want.

      Thanks

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

        set conditions and flags in separate trees,
        no buy trade - candle 0 close x> MA - set a flag true
        check flag true - candle 0 close x< - place buy - set flag back to false
        no sell trade create another 2 opposite trees for sell
        This will give you a good start to work with

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

        H 2 Replies Last reply Reply Quote 0
        • H
          Humble_Fx @jstap last edited by

          @jstap please can you give me and example using a shared link

          thanks

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

            @jstap is it something like this?

            https://fxdreema.com/shared/jRi1jSmUb

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

              Yes, for testing I would set timeframes to current

              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

              R
              S
              D
              V
              O

              12
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors