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 | Market Watch AUTO-CSV

Written in this code you can find a loop on your MarketWatch. It can be used to do a multi-market algorithm, like an EA which works on all the selected markets. Back to our script main function, in the code, obviously, you can find how to open and write on a csv file. It's really important to close your file before saving it using FileClose() function.

Here below you can find the final result:

MetaTrader Experts, Indicators, Scripts and Libraries

22326