fxDreema

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

    delete pending order after particular distance

    Questions & Answers
    1
    2
    143
    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
      moodsid last edited by

      Hello everyone
      I have a simple question I am making an EA by sending pending orders, but I have a problem deleting them after the price went far from them.
      I use "check distance block" but it still provides no output or not working correctly.

      d08af7b5-a2d2-4cdd-bc33-f5b9fe405f62-image.png

      I used a "draw line block" to create a line at the same price as the pending order and check the distance between the current price and the object line. unfortunately, it didn't work, the ea deletes the pending order directly after it is placed and the distance is less than the input.
      I also used the open price option to compare between the pending order price and the current price but still not working, pls help.

      1 Reply Last reply Reply Quote 0
      • M
        moodsid last edited by

        Use "pip away from open price block"

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

        Online Users

        M
        A
        L
        X
        A

        21
        Online

        147.1k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors