fxDreema

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

    pending order count/ delete pending order

    Questions & Answers
    2
    5
    1988
    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
      sli1 0 last edited by

      Could someone have a look at this EA. I can't see why my count (block 110) and expiry blocks (113-116)are not working.

      https://fxdreema.com/shared/9V5IV6Bgb

      0_1571049488588_34c5cdd3-a094-4d38-876b-8e3068e19c0f-image.png

      much appreciated.

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

        @sli1-0

        Expiry: you can't use the blue block, that deletes all orders. Try using the pink "close" block instead of it.

        Count:
        What are you trying to do here? Currently the logic is as follows:
        If there are 2 or more orders -> activate ORANGE
        If there are 0 or 1 orders -> activate YELLOW

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

          thanks for the prompt reply. I tried what you said and got the same result

          https://fxdreema.com/shared/mcZo0enN

          With the pending orders I was just trying to set it to place 2 pending orders until they expired or played out.

          With the pending orders just want it to expire after 15 min. I see there were some posts on broker having min times, but don't understand why I can set a min time to expire.

          Thanks in advance

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

            @sli1-0 Here's one problem:
            0_1571055559895_f32b2afb-0f9b-40d6-9219-d7fea5d4abd7-image.png

            This adds a whole number - in case of EURUSD, that means something like price 2.10305
            Try using "+1 pips" in the adjust. Maybe that breaks the system

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

              pips and pip give the same result

              0_1571116442755_db403d63-1711-4255-a3cf-3d6b7dff09fb-image.png

              0_1571116379145_ebe6c951-13ef-4b19-b856-5ddaca6e37f5-image.png

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

              Online Users

              E
              F
              M
              F
              J
              F
              M
              N
              H
              K
              W

              20
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors