fxDreema

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

    Using For each Closed Trade with Write to file?

    Questions & Answers
    2
    5
    1506
    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

      Anyone successfully used For each Closed Trade with Write to file?

      Examples would be most appreciated. Haven't been able to find any.

      Do they actually work?

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

        this should working:

        0_1535320733905_49270ceb-95e0-4bef-95a9-8621b0787854-image.png

        Condition should be something which is not triggered each tick, rather once per some time period or based on other events (you can place that into on Trade section and when trade is closed write that into file)

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

        1 Reply Last reply Reply Quote 0
        • R
          richard96816 last edited by

          Thanks for your help.

          Sadly, doesn't work on MT5. No errors. Quietly does nothing after log says the EA is running.
          😞
          Doesn't work in a script either.

          https://fxdreema.com/shared/uLr74JeJ

          Thanks.

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

            give file name without path:
            0_1535465115337_d486ddeb-5344-41c2-8590-6d7d243cb0e0-image.png

            your file is located in Files folder (in MQL5 data folder)
            0_1535465201863_55aa41e3-298a-419f-a1f9-30651f2dcb21-image.png

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

            1 Reply Last reply Reply Quote 0
            • R
              richard96816 last edited by

              Thanks. I tried that, but will try again.

              I've been searching the whole system for the file without luck. No new files on the system after running it. No error messages. 😞

              Thanks.

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

              Online Users

              E
              H
              R

              14
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors