fxDreema

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

    Delete Pending Order After One Other Pending Order Has Been Triggered

    Questions & Answers
    2
    4
    325
    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
      Michael Alex last edited by

      I am creating an EA that will create both buy and sell pending orders. The challenge is that I want a condition where if one of the pending orders is triggered, the second will be deleted automatically. Kindly help @miro1360 @fxDreema @roar @l-andorrĂ 

      7b0e35d0-5cc5-47b5-af62-3403b288f3fd-image.png

      roar 1 Reply Last reply Reply Quote 0
      • roar
        roar @Michael Alex last edited by

        @Michael-Alex try these 2 blocks:
        If trade -> Delete pending orders

        Need small help? Tag me in your post
        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

        1 Reply Last reply Reply Quote 0
        • M
          Michael Alex last edited by

          Thanks @roar ... However am I to use your suggestion on "on Tick" or "on Trade" ?

          1 Reply Last reply Reply Quote 0
          • M
            Michael Alex last edited by

            @roar ... It worked with "on Tick". Thank you so much

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

            Online Users

            T
            S
            A
            I
            A
            E
            S
            E

            23
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors