fxDreema

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

    Error code=4806

    Bug Reports
    3
    3
    1294
    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.
    • D
      Didble trader last edited by

      I built an EA, during backtestings it works fine - but when I put it live it appear this error: Error code=4806

      1 Reply Last reply Reply Quote 0
      • M
        miro1360 last edited by

        @didble-trader said in Error code=4806:

        Error code=4806

        is not that something related to custom indicator?

        Between trading and gambling is a very small gap, be careful.

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

          We discussed this and it appears that the problem is that because he loads the same indicator with different settings like in something like 100 blocks, this takes long time. For some reason MQL5 loads indicators slowly. And in the EAs I programmed MQL5 to load them on demand, which is not the official way of doing that. So I have a "while" loop that waits for indicator to load for 500 ms and then throw that error. So I changed that time to 5 seconds. Unfortunately I still don't know how to make MQL5 to load indicators more quickly.

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

          Online Users

          A
          H
          H
          G

          9
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors