Range 2
This Old Kings indicator for MetaTrader 4 and 5 is called Range 2. It has 24 settings, for example Range Mode (default VP_RANGE_MODE_BETWEEN_LI), Range Minutes (default 1440) and Mode Step (default 100). Load it on a demo chart and check whether its signals repaint before trusting them. Inside: 6 indicator files with source code (.mq4/.mq5) you can open and edit in MetaEditor. Old Kings are classic community tools shared as-is. Not tested by PolyMaria. Try it on a demo account first. Are you the author of this tool? Message us on Telegram (@abumarket_support) and we will credit you or take it down.
Indicator · MT4 & MT5 · v1.0 · Free
About Range 2
Range 2 is an indicator for MetaTrader 4 and MetaTrader 5. It has 24 settings, such as Range mode, Range minutes and Mode step. MQL source code included.
Files in the download: VP-Range-v6.ex4, VP-Range-v6.mq4, VP-Range-v6.mq5, VP-v6.ex4, VP-v6.mq4, VP-v6.mq5.
Settings
| Setting | Default | What it does |
|---|---|---|
| Range mode | VP_RANGE_MODE_BETWEEN_LINES | Range mode |
| Range minutes | 1440 | Range minutes |
| Mode step | 100 | Mode step (points) |
| Hg point scale | POINT_SCALE_10 | Point scale |
| Volume type | VOLUME_TICK | Volume type |
| Data source | VP_SOURCE_M1 | Data source |
| Hg bar style | VP_BAR_STYLE_LINE | Bar style |
| Hg position | VP_HG_POSITION_WINDOW_RIGHT | Histogram position |
| Hg color | C'128,160,128' | Color 1 |
| Hg color2 | C'128,160,128' | Color 2 |
| Hg line width | 1 | Line width |
| Mode color | clrBlue | Mode color |
| Max color | clrNONE | Maximum color |
| Median color | clrNONE | Median color |
| Vwap color | clrNONE | VWAP color |
| Mode line width | 1 | Mode line width |
| Stat line style | STYLE_DOT | Median & VWAP line style |
| Mode level color | Green | Mode level line color (None=disable) |
| Mode level style | STYLE_SOLID | Mode level line style |
| Id | +vpr | Identifier |
| Range period | PERIOD_D1 | Range period |
| Range count | 20 | Range count |
| Time shift | TIME_SHIFT_0 | Time shift |
| Draw direction | HG_DIRECTION_RIGHT | Draw direction |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Indicators.
- Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
- Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the indicator from the Navigator onto a chart and adjust the settings.
Tags: MT4 Indicator · MT5 Indicator · MQL4 Source Code · MQL5 Source Code