Custom Session Range Indicator
- Indicatori
- Denis Kislicyn
- Versione: 1.0
SessionRange-MT5-Ind is an indicator for MetaTrader 5 that builds a High/Low/Middle channel based on the given trading session.
Indicator:
- Defines the session range - builds a channel based on a given high/low window
- Draws three lines:
- SessionTop (blue) — maximum session
- SessionMiddle (grey) — channel center
- SessionBottom (orange) — minumum session
- Session mode (Mode):
- `Previous Day` — for classical PDH/PDL (previous day range)
- `Current Day` — to display the current day’s sessions
- Supports night sessions - correctly handles transition through midnight
- Caching calculations - optimized performance
Inputs
- `StartHour`: Session start time [0-23]
- Default: `9`
- `StartMin`: Minute of session start [0-59]
- Default: `0`
- `EndHour`: Session end time [0-23]
- Default: `18`
- `EndMin`: Minute at the end of the session [0-59]
- Default: `0`
- `Mode`: Session mode
- `Current Day`
- `Previous Day`
- Default: `Current Day`
