fxDreema

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

    Problem in open position.

    Bug Reports
    2
    3
    782
    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.
    • tcanuto
      tcanuto last edited by

      Hello fxDreema. All right? How long do not write here!

      I'm having trouble not to open positions, do not know why.
      In short, appeared to me the following message:

      log daily:
      EG 0 18:00:20.040 Trades '559799': market sell 0.01 EURUSD
      PM 2 18:00:28.578 Trades '559799': failed market sell 0.01 EURUSD [Market closed]
      https://mega.co.nz/#!eZoDkBqQ!1aIr12aoI ... qQ6x38gqt0

      log experts
      JQ 0 18:00:19.456 pz-turtle-trading-mt5 (EURUSD,D1) PZ Turtle Trading (My Alert Name) __ Sell (S1)
      HN 0 18:00:28.578 TCF Trend MT RJ v2.0 (EURUSD,D1) 26
      https://mega.co.nz/#!TUBX2JaC!KN47GcTIm ... NaD15nMpgI

      I added the link to the EA files and the indicator for you to analyze what happened to me yesterday.

      Indicator: turtle trading.ex5 24 KB
      https://mega.co.nz/#!iI5hSRTT

      EA: TCF Trend MT RJ v2.0.mq5 200 KB
      https://mega.co.nz/#!TdASXIyJ

      Note. Could not attach the file, so this the link. Key to open the indicator and MQL5 EA sent by private message.

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

        It says Market Closed here and there, but this row is interesting:

        Heiken_Ashi (EURSGD,W1) array out of range in 'Heiken_Ashi.mq5' (71,32)

        It seems that something is wrong in this indicator and maybe because of that it does not load. Check if everything ok with input parameters for this indicator.
        The other indicators are probably fine.

        By the way, I'm really starting to dislike MetaTrader 5. I had conversation about some problems with another guy, from Brazil. The problem was that in some situation when the EA tries to close the position, opposite position with huge load is opened. And unfortunately I can't easily fix this issue, because MT5 is... stupid. It does not wait for it's own database to be updated before going to do something else, or something like that. And this is when OrderSend() is used, not OrderSendAsync(). You can also get a response from the server that is specific for OrderSendAsync() when using OrderSend().
        So, if you can choose between MT4 and MT5, pick MT4!

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

          I'm using the MT5 for being better and more practical optimization, test forward, etc.

          Also the site is in portuguese, making it too easy for us. This at the time here, and is being used in some brokers for trading stocks.

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

          Online Users

          E

          10
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors