Trend Range
Trend Range — a MetaTrader 4 indicator kept in the Old Kings collection. Judging by its name, it is built around following the trend. Its source code uses CCI and ADX. It has 11 settings, for example Spread Threshold (default 6), ADX Settings (default === ADX Settings ===) and ADX trend level (default 25). Try it on a demo chart first and note how its lines or arrows react to new bars. Inside: 1 indicator file with source code (.mq4) 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 · v1.0 · Free
About Trend Range
Trend Range is an indicator for MetaTrader 4 based on CCI and ADX. It has 11 settings, such as Spread threshold, Adx settings and Adx trend level. MQL source code included.
Files in the download: Trend {} Range.mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Spread threshold | 6 | Maximum spread allowed to trade |
| Adx settings | === ADX Settings === | |
| Adx trend level | 25 | |
| Adx trend strong | 30 | |
| Cci settings | === CCI Settings === | |
| M1 entry cci period | 14 | Period or timeframe used by the calculation |
| M1 trend cci period | 50 | Period or timeframe used by the calculation |
| M5 entry cci period | 14 | Period or timeframe used by the calculation |
| M5 trend cci period | 34 | Period or timeframe used by the calculation |
| M15 entry cci period | 6 | Period or timeframe used by the calculation |
| M15 trend cci period | 14 | Period or timeframe used by the calculation |
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: Trend · CCI · ADX · MT4 Indicator · MQL4 Source Code