The indicator displaying the level of opening day at any timeframe (less than two hours) with the ability to perform the shift of day start time and consider the presence of Sundays in the chart. Some brokers’ trading week starts on Sunday exactly taking into account the fact that input parameter SundayTab is added into the indicator. This parameter performs the ability of choosing three variants of consideration of Sundays.
Input parameters for the indicator:
//+-----------------------------------+ //| INDICATOR INPUT PARAMETERS | //+-----------------------------------+ input HOUR_SHIFT HourShift=H0;Â Â Â Â // shift of day start time input DAY_MODE SundayTab=Sunday;Â Â // consideration of Sundays input int Shift=0;Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â // horizontal shift of the indicator in barsÂ
Fig.1 The ShowOpenDayLevel indicator
Â