Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Demo_FileReadDatetime - MetaTrader 5 Script - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

The indicator reads buy and sell signals from files in a subdirectory of the local terminal folder and then displays these signals in the form of up and down arrows. To get the file with the signal, you need to initially run the DEMO_FileWriting script. The following command can be called to obtain the terminal local folder location terminal information string () function.

 Printing format ( "Path of terminal local folder: %s\\Files\\" , terminal information string ( terminal data path ));
In addition to getting data using the FileReadDateTime () function, the indicator also uses the FileReadNumber () and FileReadBoolean () functions.

Code:


Attachment download

📎 demo_filereaddatetime.mq5 (4.63 KB)

Source: MQL5 #1627

Verification code Refresh