fxDreema

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

    Need Help Pending Order

    Questions & Answers
    2
    2
    1330
    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.
    • K
      kingvu last edited by

      Hello all!

      I have a problem with pending order, i want to create an EA with my strategy

      http://i.imgur.com/vAxiEeh.png

      • When buy take TP, how to delete sell pending - order?
      • If buy can't tp, sell stop order is active. when satisfy condition. i want cut sell order, take a buy order and place sell stop below second buy order. If all buy order gain profit target, close all.... What can i do?

      Sorry for my english 😞

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

        By looking at this, I think you need to look at this example: https://fxdreema.com/demo/mt4-wrong-closing-rule

        How to detect if a trade is closed by TP? Depends. Under "on Tick" you can check if there are no trades, then to check if the latest closed trade was profitable. Or under "on Trade" you can detect the moment when a trade is closed. But better look at some examples in the Examples page 🙂

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

        Online Users

        R
        A
        E

        15
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors