fxDreema

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

    two blocks with in same module

    Questions & Answers
    2
    2
    146
    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
      haikel last edited by haikel

      is this possible to add two blocks with in same module to execute the same action like if one block conditions are not met then combination of other block sequence with in same module execute the same task..
      like if 20 ema croses above 40 ema in one block to execute the buy order and if same ema does not crosses 40 ema but is able to cross 30 or 50 ema in 2nd block then that order missed before should now be executed by 2nd block....and if both block conditions are met then no duplicate orders are created by same module

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

        @haikel Use a bool variable to set to true when 1st condition happens, trade open on 2nd condition, reset the variable to false when the condition is no longer valid.

        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
        F
        E
        T
        M
        P
        S
        A

        19
        Online

        146.6k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors