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

Indicator Data to CSV file - indicator for MetaTrader 4

author EAcpu | 2 reads | 0 comments |

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 simplified the code just to collect data. I don't own the code.

For reference visit Heaton Research’s project page.

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 the chart. When the indicator window loads, delete indicator window.

As soon as you delete the indicator window, it fetches the data and exports it to a csv file. You can specify a name in the input section. As usual, you can find the file in the following location : MT4\MQL4\files.


Attachment download

📎 indi2csv.mq4 (2.63 KB)

Source: MQL5 #12015

Verification code Refresh