Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 4 Script | Basic file handling in MQL

MetaTrader Experts, Indicators, Scripts and Libraries

This code will basically write some value of prices in a file. 

This is usually helpful when you want to create a local trade copier using file based approach.

It can also be used to save some values in a file temporarily and read it later across login sessions.

It can also be used to save custom logs in a file.

37533