Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Published by:
- Vladimir
- Views:
- 11103
- Rating:
- Published:
- 2010.06.09 10:23
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The indicator shows moving average, calculated using the digital filter. In this example the Hann Window is used.
You can use the other filter coefficients, just modify them in OnInit():
for(int k=0;k<Per;k++) { w[k]=0.5-0.5*MathCos(2.*pi*(k+1)/(Per+1)); wsum+=w[k]; }
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/120

The script purpose is to export historical rates data to format, convenient for analysis in external programs.

This is a simple Expert Advisor, that uses a specified custom RKD indicator.