Read if textfile exists (from another application)
-
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.
-
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:
