Join our fan page
- Views:
- 5617
- Rating:
- Published:
- 2012.12.21 11:45
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
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
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/1280

The breakthrough system using the XMA_Range_Bands indicator.

Volatility channel is a very interesting alternative to Bollinger Bands.

The Expert Advisor is a profit calculator on the opening position for price movement to a price level fixed in the chart

Financial asset oscillation spectrum normalized by values of a simple Moving Average