fxDreema

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

    Handling Buy and Sell errors?

    Questions & Answers
    2
    2
    704
    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.
    • R
      richard96816 last edited by

      Buy and Sell blocks have success and error outputs. How do you use the error outputs?
      How does the EA figure out what the error was.
      Are there error handling blocks somewhere?

      Does anyone have examples of using the error outputs from Buy and Sell?

      Thanks!

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

        it's somewhere in the code. I don't remember all the cases where the error outputs are called, but in fatal error - when it is not possible to try again. If it is possible to try again, I think that 10 attempts are made. Find that function CheckForTradingError() in the code, hopefully you will understand something from it.

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

        Online Users

        B
        A
        J
        D
        E

        19
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors