fxDreema

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

    MT5 not partially closing trades when LIVE trading

    Questions & Answers
    3
    3
    388
    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
      Mooglit last edited by

      Hi all,

      I am having an issue where MT5 does not partially close the position and move SL to break even on LIVE trading. I get the following error when an open trade should have partially closed and SL moved:

      0_1628001388809_Screenshot_1.png

      This issue does not occur during MT5 strategy testing. I suspect the issue to have something to do with the "Slippage" option of the "Close Partially" block.

      0_1628001668692_Screenshot_4.png

      I would like for my EA to execute the partial close order and move SL to break-even regardless of any slippage. What would be the best way to do this?

      Shared Project: https://fxdreema.com/shared/QfB0cqqGd

      l'andorrà 1 Reply Last reply Reply Quote 0
      • TipsyWisdom
        TipsyWisdom last edited by

        why did you manually set the slippage to 10?

        Slippage means you are willing to accept up to a 10 pip slip in price when closing or opening a trade with your broker.

        For each trade, thats spread + slippage + fees + connection latency
        = min profit target.

        1 Reply Last reply Reply Quote 0
        • l'andorrà
          l'andorrà @Mooglit last edited by

          @mooglit Just curious. Whay do you need that 'once per tick' block? Those blocks are on the 'on tick' tab so they will always be executed once per tick.

          (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

          (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

          (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

          Online Users

          S
          E
          O
          J
          F

          21
          Online

          146.9k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors