fxDreema

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

    Doubt "check how it was closed" usage in trade sequence

    Questions & Answers
    2
    4
    349
    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.
    • M
      maledetu last edited by

      Hey guys,

      I need to open trades based on the last trade result (tp or sl).
      Im trying to achieve it with "check how it was closed", but the EA just open a lot of trades (1st ones) non stop, how can i
      wait to the 1st trade to close, than check if it was SL or TP than go to the next etc.

      Thanks

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

        @maledetu You'll see in this picture how to do it, make sure you do it on the on trade tab, you can use any combination you like.

        0_1630536458022_0432154c-03e9-4e66-bcb7-a9fe5a8e8077-image.png

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

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

          @jstap Nice, thanks!

          I think i can make it work with Position Closed blocks.
          How can i stop the EA from opening new "First trades" after its closed?

          I mean, OnTick the Ea opens first trade of the sequence, and after that i use Position Closed parameters to make a sequence, but right now the Ea will open the first trade again together with the next one.

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

            @maledetu I would use a true/false flag, place check flag before buy/sell, place set flag false below buy/sell, have a condition somewhere with set flag true, whenever you want this tree to buy/sell.

            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

            C
            D
            M
            A
            H
            G

            12
            Online

            146.8k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors