Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2014.11.27 13:21
Indicators

Indicator Data to CSV file - indicator for MetaTrader 4

| English Español Português 日本語 Deutsch

Published by:
Mustafa Doruk Basar
Views:
10712
Rating:
votes: 6
Indi2csv.mq4 (2.63 KB)view

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.

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 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.

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

Example of MACD Automated Example of MACD Automated

Code example of MACD automated with advanced money management function.

Pivot Star Pivot Star

Pivot indicator. Standard, Fibonacci, Camarilla, Woody's, Demark. Calculates pivot points from previous bar of chosen period (M5 - MN).