fxDreema

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

    Read content of Expert -Tab Log entries

    General Discussions
    2
    7
    1653
    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
      hilavoku last edited by

      Hi.

      I have running an EA which outputs some information in the Experts-Tab Log on the MT4 screen.

      I want to write an indicator which can read those entries and write them to a csv file.
      I can't find a fxDreema command for reading those outputs.

      Can somebody point me into the right direction?

      Thanks in advance!
      hila

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

        write to file block can help with that.

        not sure if you can access the log with EA's.
        what data do you want to save into the file?

        1 Reply Last reply Reply Quote 0
        • H
          hilavoku last edited by

          Thanks Spuzy for the reply.

          There is a EA running which writes some info data which you can see in the 'Experts' Tab in MT4. The problem is that MT4 won't flush the Log data directly from memory to disk. Then it won't be a problem for my external program to get the log data.

          I know the 'Write to file' block but it can't get the data from that tab. So I'am stuck at the moment.

          1 Reply Last reply Reply Quote 0
          • H
            hilavoku last edited by hilavoku

            Experts Tab

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

              AppData\Roaming\MetaQuotes\Terminal*number of your terminal*\MQL4\Logs

              H 1 Reply Last reply Reply Quote 0
              • H
                hilavoku @Spuzy last edited by

                @spuzy 🙂
                I know where the log files are but MT4 doesn't write the log files to disk when they change in MT4.
                MT4 does create the log file when you open the log folder within MT4 for example. You can open the log folder with teh windows explorer and you won't see a log file from the current day.
                When you now right click into the history log in MT4 and select 'Open', MT$ will immediately create the log file.
                There also seems to be no way to force MT4 to write the log to disk when you need it.
                Thats the problem...

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

                  that's a bummer 😞 I do not think you can access the journal/expert tabs from with experts unfortunately

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

                  Online Users

                  C
                  H

                  6
                  Online

                  146.8k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors