Indicator shows user defined ranges in MetaTrader 5.
- Open data folder in MetaTrader from menu
File -> Open Data Folder
. - Copy TimeRangeBox.mq5 file to
<METATRADER_DATA_DIR>\MQL5\Indicators
folder. - Update the list of indicators on Navigator panel.
- Drag
TimeRangeBox
indicator on the chart.
Available settings of the indicator:
Time ranges must be defined in format:
[HOUR:MIN]_[HOUR:MIN]_[COLOR],[HOUR:MIN]_[HOUR:MIN]_[COLOR]
Each range is separated by comma (,
). There are no limit on count of ranges.
For example:
23:00_08:00_clrLightGray,07:00_16:00_clrLightGreen
Color names can be found on official MQL5 documentation page.
Make a trade decision using the indicator:
Feel free to create an issue or a pull request if any ideas.
The source code of this repository is provided AS-IS and WITH NO WARRANTY of any kind. Author and/or contributor are NOT responsible for any type of losses as a result of using source code, compiled binaries or other outcomes related to this repository.