MTF Moving Average 2
From the Old Kings archive: MTF Moving Average 2, an indicator for MetaTrader 4. Judging by its name, it is built around moving averages and several timeframes at once. In the code it works with moving averages. It can read another timeframe. It has 5 settings, for example Time Frame (default 0), MAPeriod (default 13) and ma shift (default 0). 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 · v1.0 · Free
About MTF Moving Average 2
MTF Moving Average 2 is an indicator for MetaTrader 4 based on Moving Average. It can show data from another timeframe (MTF). It has 5 settings, such as Time frame, Ma period and Ma shift. MQL source code included.
Files in the download: _MTF_MovingAverage.mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Time frame | 0 | Period or timeframe used by the calculation |
| Ma period | 13 | Period or timeframe used by the calculation |
| Ma shift | 0 | Bar shift (0 = current bar) |
| Ma method | MODE_SMA | |
| Applied price | 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 · Multi-Timeframe (MTF) · MT4 Indicator · MQL4 Source Code