fxDreema

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

    How to make EA open trade only when two conditions are met.

    Questions & Answers
    2
    7
    314
    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 created this bot. this is what I want to set;
      after the the two conditions are met, from the last condition that was met, count from 1 to 30 candles, and in between this counts, if price crosses the ema from below, a buy order should be opened. If price didn't cross the ema after 30 candles, it should start checking for all the conditions again starting from the first one

      link to the bot https://fxdreema.com/shared/P9Zw0clEb

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

        All blocks need connected and in a row to buy/sell block

        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 1 Reply Last reply Reply Quote 0
        • O
          Obis @jstap last edited by

          @jstap how do I count the 30 candles from the last condition that was met?

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

            When the condition is met set variable to 0, then once per bar add 1, and check this in a condition

            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 1 Reply Last reply Reply Quote 0
            • O
              Obis @jstap last edited by

              @jstap sorry sir, I still don’t get it. Can you help by showing how it’s done in the builder? Maybe providing a link to any project showing what you just explained

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

                Like this: https://fxdreema.com/shared/A1HLYP5Dd

                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 1 Reply Last reply Reply Quote 0
                • O
                  Obis @jstap last edited by

                  @jstap 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
                  • 1 / 1
                  • First post
                    Last post

                  Online Users

                  E
                  R
                  S
                  A
                  B
                  N
                  M
                  A
                  T
                  V
                  M
                  A

                  22
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors