fxDreema

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

    Trade continue to open after closing 50% profit

    Questions & Answers
    2
    2
    397
    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.
    • T
      TraderEA6 last edited by TraderEA6

      Hi,

      I am using the example here: https://fxdreema.com/shared/q1mwIcAQc
      and it is working fine closing 50% of the trade after price move 50 pips from opening. However, it will immediately open up new trade to fill in the 50% that i close.

      Example

      • EA open a trade EUD/USD with 0.1 lot
      • Price move 50 pips from opening & 50% are closed
      • Immediately another trade are opened with 0.05 lots
      • Now i have 1 trade that is 0.05 lots (1 trade) & another 1 trade 0.05 lot (2nd trade)
      • the 2nd trade that was opened will again immediately close at 0.03 lot (50%) buy at 0.02 lot, close at 0.01 lot, buy at 0.01 lot and close at 0.01 lot (See pic attached)

      0_1585707990587_Screenshot 2020-04-01 at 10.26.05.png

      I have "Check No Position" as the beginning of my EA.

      Update: I believe it how the system handle partial closing. Please see attached. if i am wrong, please correct me.

      0_1585724626642_Screenshot 2020-04-01 at 15.02.20.png

      1 Reply Last reply Reply Quote 0
      • J
        josecortesllobat last edited by

        Yes, it's like that in MT4.

        The behavior is different in MT5.

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

        Online Users

        D
        A
        M
        K
        M
        B
        A

        17
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors