Forex Megatrend Range Trading System
Forex Megatrend Range Trading System — a MetaTrader 4 indicator kept in the Old Kings collection. Its source code uses moving averages. It has 16 settings, for example KLPeriod (default 14), Len (default 14) and Upper Level (default 70). Attach it to a chart to see what it draws, then compare it with price on a few timeframes. Inside: 3 indicator files 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 Forex Megatrend Range Trading System
Forex Megatrend Range Trading System is an indicator for MetaTrader 4 based on Moving Average. It has 16 settings, such as Kl period, Len and Upper level. MQL source code included.
Files in the download: installation manual.txt, #FPL-SR.mq4, 3c_Turbo_JRSX_wAppliedPrice.mq4, Mega trend.mq4, megatrend system.tpl.
Settings
| Setting | Default | What it does |
|---|---|---|
| Kl period | 14 | Period or timeframe used by the calculation |
| Len | 14 | ---- buffers |
| Upper level | 70 | |
| Lower level | 30 | |
| P | --Applied Price Types-- | |
| P0 | 0 = close | |
| P1 | 1 = open | |
| P2 | 2 = high | |
| P3 | 3 = low | |
| P4 | 4 = median(high+low)/2 | |
| P5 | 5 = typical(high+low+close)/3 | |
| P6 | 6 = weighted(high+low+close+close)/4 | |
| Price mode | 5 | |
| Period | 144 | Period or timeframe used by the calculation |
| Method | 3 | MODE_SMA |
| Price | 0 | PRICE_CLOSE |
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: Moving Average · MT4 Indicator · MQL4 Source Code