fxDreema

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

    I need help with my divergence based EA

    Questions & Answers
    2
    9
    459
    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.
    • R
      ralph1 last edited by

      I want the EA to get the high of the market within a certain number of candles for sell positions and the low of the market depending on the number of candles specified for buy positions.
      After the highs and lows are detected, then the divergence block follows.

      This is the link to the project https://fxdreema.com/shared/M1PgAfTuc
      Thanks in advance.

      Ralph

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

        @ralph1 In this picture you'll see how you can do this in a standard condition block.

        0_1630516646662_ae6cd116-01df-4f49-bcdb-cf40db528161-image.png link url)

        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
        • R
          ralph1 last edited by

          Thanks bro, let me give it a try🤝

          Ralph

          1 Reply Last reply Reply Quote 0
          • R
            ralph1 last edited by

            @jstap I've tried it but no positions were taken during the backtest

            Ralph

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

              @ralph1 Add your latest project on here as a shared link and Ill take a look. I will also add this, you have a once per bar block, so you are expecting your conditions to happen at that specific time every time, quite unlikely, if you move that under your conditions then it will only be activated after conditions are true.

              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
              • R
                ralph1 last edited by

                https://fxdreema.com/shared/PsiufImHc

                Ralph

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

                  @ralph1
                  link I moved once per bar below and it now places trades, I would probable remove the once per bar and place the no trade block above, this will ensure only one trade at a time.

                  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
                  • R
                    ralph1 last edited by

                    It works now, I really appreciate the help

                    Ralph

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

                      @ralph1 Your welcome

                      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

                      F
                      E
                      H
                      S
                      A
                      E
                      P
                      B
                      N
                      E
                      M
                      J

                      22
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors