Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
21646
Rating:
(10)
Published:
2016.03.25 14:12
awoholidays.zip (2.15 KB)
Need a robot or indicator based on this code? Order it on Freelance Go to 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.

Translated from Russian by MetaQuotes Ltd.
Original code: 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.