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 Indicator | Indicator Data to CSV file

MetaTrader Experts, Indicators, Scripts and Libraries

Real author:

I got the real code from Heaton Research's Encog project.

Their code first gathers data, prints them on a csv file then process it real time after optimization.

I simplify the code in order to gather data only. I do not hold the ownership of the code.

Add indicators you want to export their values to the csv to the section that starts at Line 84. Update Line 31 accordingly.

Run the indicator on a chart. When the indicator window loads, delete indicator window.

As soon as you delete the indicator window it gets the data and export in to the csv file. You can specify the name on the inputs part. As usual you find the file at MT4\MQL4\Files.

12015

Best MetaTrader Indicators + Profitable Expert Advisors