fxDreema

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

    Delete Opposite Orders IN MT5

    Questions & Answers
    2
    4
    217
    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.
    • H
      Hiten7405 last edited by

      @fx-dreema
      Hello,
      I have created an ea for mt4 and mt5 in fxdreema. both EA are same. The MT4 EA works fine. But in mt5 found the some errors.
      The EA's work is on buy stops and sell stops. If a buy position is created, delete the sell stop. If a sell position is created, delete buy stop. But it doesn't work.
      Often even trailing stops don't work.

      cae2399f-9c8f-4a78-ba62-739153cf74a0-image.png

      https://www.mql5.com/en/users/8541393/seller

      A 1 Reply Last reply Reply Quote 0
      • A
        ambrogio @Hiten7405 last edited by

        @Hiten7405 the trailing stop should be in "on tick" table (i don't know the purpose of formula block, maybe it cause some misfunctioning)

        Just a guess for delete P.O. , try to move the boolean this way:
        29-28-30 (instead of 28-29-30)

        H 1 Reply Last reply Reply Quote 0
        • H
          Hiten7405 @ambrogio last edited by

          @ambrogio Thanks for reply

          https://www.mql5.com/en/users/8541393/seller

          A 1 Reply Last reply Reply Quote 0
          • A
            ambrogio @Hiten7405 last edited by

            @Hiten7405 let me know 👍

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

            Online Users

            K
            Y
            R
            Y
            O

            16
            Online

            146.8k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors