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 | Closing Prices to CSV file

MetaTrader Experts, Indicators, Scripts and Libraries

The script gets all the symbols available on your platform and writes their closing prices for a specific bar to a csv file.

You can choose which bar to write closing prices and file name you want to export.

Drag and drop the script to a chart. It uses the time frame of the chart and look to the bar you specify on the inputs part with the index. 0 is the current bar, and bar index gets bigger as you move backwards.

12023

Best MetaTrader Indicators + Profitable Expert Advisors