fxDreema

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

    The difference between "For each Trade" and "If trade"

    Questions & Answers
    2
    4
    212
    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.
    • AlirezaTrade
      AlirezaTrade last edited by

      Hello,
      What is the difference between these two blocks?
      When should each be used?
      Which block is faster to process?
      For the picture below, I want to use one of these two blocks, I don't know which one is better.

      2023-06-26 17_38_20-Test_EA 1.png

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

        Dark pink goes above light, the pink blocks are 2 sections of the same code. For each looks at trade details, if trade just checks if there is a trade running.

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

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

          @jstap Thank you so much. Now, which one should I use for the above photo, which is for trailing stop?

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

            Blue....

            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

            M
            M

            18
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors