Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Experts

awo Holidays - expert pour MetaTrader 4

Vues:
21998
Note:
(10)
Publié:
2016.03.25 14:12
awoholidays.zip (2.15 KB)
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

The awo Holidays EA reports the status of the next day: working day, day off or holiday.

The holidays are read from the file 'holidays.csv' (must be placed to '\expert\files' and '\tester\files' folders) and are filtered by symbol,
for example, in addition to the international holidays, only the British and the Japanese holidays will be displayed for GBP/JPY.

The program informs about coming of the next day by two vertical lines:
    Solid line - start\end of a trading day (swap line)
    Dashed line - start\end of an astronomical day.
        Light blue color - the next calendar day is working day
        Blue color - the next calendar day is Saturday
        Orange color - the next calendar day is a holiday (see the comment)

The comments display the statuses of the previous, current trading days and the next three calendar days.

The EA works on all pairs and periods up to D1.


I have the data only for 2007, the data was taken from here: http://alpari.org/ru/analytics/holidays.html. If anyone has other years in a similar data, please send them to a-wo@mail.ru, thank you in advance.








This figure clearly shows spikes on Friday evening and on Monday morning.

This is a draft for my robot, but I thought it might be useful to someone. There was an idea to write something similar to indicate the economic events and the trading session times.

Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/7094

History analysis on presence of holes and gaps History analysis on presence of holes and gaps

The history_data_analysis_v3 script checks the history for missing bars, determines the size of the holes, gaps and makes a list of them.

Converting hst-files into csv files Converting hst-files into csv files

The hst2csv script is used for converting *.hst files to *.csv files, that can be imported into the MetaTrader 4 client terminal with no errors.

Movment Movment

The indicator shows direction of movement and rollbacks.

Dealers Trade v 7.51 RIVOT Dealers Trade v 7.51 RIVOT

The Dealers Trade v 7.51 RIVOT EA is based on the algorithm of multi-lot scalping. The EA has been repeatedly tested on a live account.