fxDreema

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

    Read if textfile exists (from another application)

    Questions & Answers
    2
    2
    960
    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.
    • E
      EAbaer last edited by

      Hello!

      I want to use a block that checks if a file (e.g. "trade_EURUSD_long.txt") is in the file-folder. If yes, the EA should open a position.

      How can i do this (with custom code)?

      Thank you very much.

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

        hi, using these functions you can do it:
        https://docs.mql4.com/files
        ...
        look at this function:
        https://docs.mql4.com/files/fileisexist
        it is what you need, it checks existence of specific file
        so take condition block and try this:
        0_1495288391433_upload-42bfc0da-546a-4834-a532-6322c554c7bd

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

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

        Online Users

        H
        E
        A
        G
        Q
        C

        15
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors