Join our fan page
awo Holidays - expert for MetaTrader 4
- Views:
- 21961
- Rating:
- Published:
- 2016.03.25 14:12
- 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.
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 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
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 filesThe hst2csv script is used for converting *.hst files to *.csv files, that can be imported into the MetaTrader 4 client terminal with no errors.
The indicator shows direction of movement and rollbacks.
Dealers Trade v 7.51 RIVOTThe 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.