fxDreema

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

    How to check if pending order opened?

    Questions & Answers
    2
    2
    744
    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
      MetaTrader last edited by

      I want to trigger some tasks when a pending order is opened, I emntion when it changes from pending order to trade.
      The onTrade Event is not helpful because it triggers also on placing the pending order.

      What is the right block to filter for only running trades instead of running and pending?

      Thanks a lot for any advise

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

        I guess I have to make filter block such as "Pending order triggered" or add some option in "Trade created". But if you are using "Trade created", it should not pass if pending order is created. I just tested it and it works as I expected 😮

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

        Online Users

        B
        G
        J
        F
        G
        O
        Z
        M
        W

        18
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors