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

2016.03.25 14:12
awo Holidays

awo Holidays - expert for MetaTrader 4

| English Español Русский 中文 Deutsch 日本語 Português

Views:
6648
Rating:
votes: 4
awoholidays.zip (2.15 KB)

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 Software Corp.
Original code: https://www.mql5.com/ru/code/7094

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.

LinesProfitLoss LinesProfitLoss

Calculates profit (loss) of the current orders on the symbol.

FFC - Forex Factory Calendar FFC - Forex Factory Calendar

Modified version of FF Calendar Indicator with new features.