Day Of Week, Week Of Year and other marks in Data Window and on chart – indicator MetaTrader 5

Day Of Week, Week Of Year and other marks in Data Window and on chart - indicator for MetaTrader 5
The indicator WeekDays displays Day Of Week, Week Of Year, Day Of Year or Bar Index in the Data Window, and optionally in labels on the chart. As usual, the information in the Data Window is updated dynamically according to mouse movements: the name of the day is always promptly updated in the left column, … Read more

Detect Friday of The First Week of The Month – To Detect NFP Day – EA MetaTrader 4

Detect Friday of The First Week of The Month - To Detect NFP Day - expert for MetaTrader 4
//+——————————————————————+ //|                                                  FirstFriday.mq4 | //|                                  Copyright 2023, MetaQuotes Ltd. | //|                                             | //+——————————————————————+ #property copyright “Copyright 2023, MetaQuotes Ltd.” #property link      “” #property version   “1.00” #property strict datetime lastTime = 0; // Variable to store the time of the last detected candle //+——————————————————————+ //| Expert initialization function                                   | //+——————————————————————+ int OnInit()       lastTime = iTime(Symbol(),PERIOD_D1,0);    return(INIT_SUCCEEDED); … Read more

High, Low and Close of the previous day, week or month – indicator MetaTrader 4

High, Low and Close of the previous day, week or month - indicator for MetaTrader 4
Optimized versions available for free:Metatrader 4: Metatrader 5: Follow on instagram: The indicator shows the High, Close and Low of the previous day, week or month. These levels are very commonly used as support and resistance among traders, so the indicator will draw them and leave a gap between periods to make it easy to … Read more

Days of the week – indicator MetaTrader 5

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 … Read more

Days of the week color – indicator MetaTrader 5

Days of the week color - indicator for MetaTrader 5
A modification of Days of the week – now every day of the week is marked with a separate color: The DRAW_COLOR_HISTOGRAM style requires two buffers (a buffer of values HistogramBuffer and a color buffer HistogramColors): //+——————————————————————+ //|                                       Days of the week color.mq5 | //|                              Copyright © 2018, Vladimir Karputov | //|                                           | //+——————————————————————+ #property copyright … Read more