A lightweight MetaTrader 5 chart utility for dividing a manually selected price range into equal horizontal sections.
MT5 Range Divider is a simple and practical chart tool designed for traders who need to quickly divide a price range into 2 or 4 equal sections.
Select two price levels directly on the chart, choose the desired number of sections, and the tool automatically creates the corresponding horizontal levels.
- 📏 Select two price levels directly from the chart
- 2-section mode
- 4-section mode
- 📐 Automatic calculation of equal price intervals
- ➖ Uses native MetaTrader 5 horizontal lines
- 🔢 Supports multiple independent ranges on the same chart
- 🎯 Price-based selection — chart time is irrelevant
- 🖱️ Draggable control panel
▶️ Enable / Disable selection mode- 🧹 Clear only the objects created by this tool
- 💾 Ranges remain available when changing timeframes
- 🛡️ Handles symbol tick size and price precision
- ⚡ Lightweight with no external dependencies
Select two price levels:
Upper Price
──────────────
50%
──────────────
Lower Price
The tool creates:
- 2 boundary levels
- 1 middle divider
Select two price levels:
Upper Price
──────────────
75%
──────────────
50%
──────────────
25%
──────────────
Lower Price
The tool creates:
- 2 boundary levels
- 3 equally spaced dividers
Click:
ENABLE
The tool is now waiting for your first price selection.
Click anywhere on the chart at your desired price level.
Click a second price level.
The two selected prices define your range.
Select either:
2 Sections
or
4 Sections
Click:
CREATE
The tool will create the horizontal levels automatically.
You can create multiple independent ranges on the same chart.
For example:
Range #3
──────────────
│
──────────────
│
──────────────
Range #2
──────────────
│
──────────────
│
──────────────
Range #1
──────────────
│
──────────────
Existing ranges are not modified when a new range is created.
The Clear All button removes only the chart objects created by MT5 Range Divider.
Other objects and drawings on your chart remain untouched.
- MetaTrader 5
- Windows
- No external libraries or dependencies
- Download the latest
.ex5file from the repository's Releases section. - Open MetaTrader 5.
- Go to:
File → Open Data Folder
- Navigate to:
MQL5 → Indicators
- Copy:
MT5RangeDivider.ex5
into the Indicators folder.
- Restart MetaTrader 5 or refresh the Navigator.
- Open:
Navigator → Indicators
- Attach MT5 Range Divider to your chart.
MT5 Range Divider is intentionally designed to remain:
- Simple
- Fast
- Non-invasive
- Trader-controlled
The tool does not analyze the market, generate signals, or modify trading positions.
It simply helps traders convert a manually selected price range into precise horizontal levels.
The compiled .ex5 file is provided for end users.
The original MQL5 source code (.mq5) is not included in the public distribution.
mt5-range-divider/
│
├── MT5RangeDivider.ex5
├── README.md
├── LICENSE
MT5 Range Divider can be useful for:
- Price-range analysis
- Intraday market mapping
- Support & resistance planning
- Session range analysis
- Manual trade preparation
- Measuring equal price intervals
- Creating structured chart levels
This project is licensed under the MIT License.
See the LICENSE file for details.
If you find MT5 Range Divider useful, consider giving the repository a ⭐ on GitHub.
Issues, suggestions, and feature requests are welcome.