Flat Trend V31
From the Old Kings archive: Flat Trend V31, an indicator for MetaTrader 4. Its name points to following the trend. The file name marks it as version 31. In the code it works with ADX. It has 3 settings, for example Minutes (default 5), period (default 30) and price (default 6). Attach it to a chart to see what it draws, then compare it with price on a few timeframes. 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 · v31 · Free
About Flat Trend V31
Flat Trend V31 is an indicator for MetaTrader 4 based on ADX. It has 3 settings, such as Minutes, Period and Price. MQL source code included.
Files in the download: FlatTrend V31.mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Minutes | 5 | |
| Period | 30 | Period or timeframe used by the calculation |
| Price | 6 | 0 or other = (H+L)/2 |
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 · ADX · MT4 Indicator · MQL4 Source Code