fxDreema

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

    Anyone know which one is more effective way to run the condition? 3 ways

    Questions & Answers
    3
    5
    259
    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.
    • S
      Steven_ last edited by Steven_

      https://fxdreema.com/shared/YgmeRZNbc
      i now still dont know which method is more effective to run the condition, the link shown is 12 line of conditions, what if i run it more than 100 line then which method is much suitable and effective?
      First method is directly link 7940cb75-7f72-4453-b208-d95d82d0e34b-image.png

      Method 2:
      got connection of using if else
      577369b3-f623-44ca-8b4b-9b70baccead0-image.png

      Method 3:
      is using 1 set of general condition(1 line), then using "Run Block" reuse it
      08ad5590-43eb-4aa1-b8a1-68eb7d80e2ff-image.png

      i need to know which one more effective and less CPU usage, because when it comes to thousand line instead of 12, then it may cause problem.

      or may be using MQL code, but i am not programmer

      1 Reply Last reply Reply Quote 0
      • l'andorrà
        l'andorrà last edited by

        The second is clearly more efficient than the first one just because not all options are checked as soon as the right one is identified. However, I have no idea how that can be compared to the third one. I'm not a programmer either.

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

        1 Reply Last reply Reply Quote 0
        • S
          Steven_ last edited by Steven_

          @l-andorrà how about this one, dont know whether this better than the second that u said is more efficient than first
          image.png
          this 1 block can replace 12 conditions blocks

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

            I would say as l'andorrà has said the second is more effective, and I would say it is more effective than the 3rd, this is because it works on a if true do this, if not do, this, if not do this, until it is true. Turning blocks off can be very efficient if all blocks (or a tree) are switched off before they are used. As a general rule, set your EA up to activate as few blocks as possible for every tick.

            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
            • S
              Steven_ last edited by

              thank you all guys answer

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post

              Online Users

              D
              F
              K
              C
              E
              M
              F
              T

              17
              Online

              146.6k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors