Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | Days of the week

The indicator shows the current day of the week as a histogram. The histogram rule matches the numbering of days in the MqlDateTime structure:

struct MqlDateTime     {      int year;           // year      int mon;            // month     int day;            // day     int hour;           // hour     int min;            // minutes     int sec;            // seconds     int day_of_week;    // day of the week (0-Sunday, 1-Monday, ... ,6-Saturday)     int day_of_year;    // number of a day in the year (1st of January has number 0)    };  

The "Days of the week" indicator can be applied on the D1 timeframe together with "Volumes" indicator for a visual search of dependencies between days of the week and volumes:

MetaTrader Experts, Indicators, Scripts and Libraries

Fig. 1. An example of a combination of "Days of the week" and "Volumes"

20191

Best MetaTrader Indicators + Profitable Expert Advisors