Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Days of the Week - MetaTrader 5 Script | Forex Indicator Downloads - MT4/MT5 Resources - MetaTrader 5 Resources

author EAcpu | 2 reads | 0 comments |

Days of the week - indicator for MetaTrader 5

Days of the week - indicator for MetaTrader 5

This indicator displays the current day of the week in the form of a histogram. Histogram rule matching days in Mql datetime structure:

 Structure Mql date time { 
Integer number of years; // Year as integer number of Monday; // Month as integer number of days; // Day as integer number of hours ; // Hour as integer number of minutes; // Minutes as integer number of seconds; // Seconds
Integer day of the week; // Day of the week (0-Sunday, 1-Monday, ..., 6-Saturday) Integer day of the year; // Number of days of the year (the number for January 1st is 0) };


The Day of Week indicator can be applied to the D1 timeframe together with the Volume indicator to visually search for dependencies between day of week and volume:

Days of the week - indicator for MetaTrader 5

Figure 1. Example of “day of week” and “volume” combinations


Attachment download

📎 days_of_the_week.mq5 (5.94 KB)

Source: MQL5 #20191

Verification code Refresh