Didi Index MTF
This Old Kings indicator for MetaTrader 4 is called Didi Index MTF. As the name suggests, the idea behind it is several timeframes at once. In the code it works with moving averages. It can send alerts and can read another timeframe. It has 18 settings, for example Time Frame (default Current time frame), Curta Length (default 3) and Media Length (default 8). 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 Didi Index MTF
Didi Index MTF is an indicator for MetaTrader 4 based on Moving Average. It can alert you with a pop-up, sound, email or push message and can show data from another timeframe (MTF). It has 18 settings, such as Time frame, Curta length and Media length. MQL source code included.
Files in the download: DIDI Index MTF.mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Time frame | Current time frame | Period or timeframe used by the calculation |
| Curta length | 3 | |
| Media length | 8 | |
| Longa length | 20 | |
| Method | 1 | 0 - SMA// 1 - EMA// 2 - SMMA// 3 - LWMA |
| Price | 0 | Applied price// 0 - Close// 1 - Open// 2 - High// 3 - Low// 4 - Median// 5 - Typical// 6 - Weighted |
| Alerts on | true | Turn this alert on or off |
| Alerts on current | true | Turn this alert on or off |
| Alerts message | true | Turn this alert on or off |
| Alerts sound | false | Turn this alert on or off |
| Alerts notify | true | Turn this alert on or off |
| Alerts email | true | Turn this alert on or off |
| Sound file | alert2.wav | Turn this alert on or off |
| Show lines | false | |
| Lines identifier | didiLines1 | |
| Lines color for up | LimeGreen | Colour on the chart |
| Lines color for down | Red | Colour on the chart |
| Lines style | STYLE_DOT |
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: Multi-Timeframe (MTF) · Alerts · Moving Average · MT4 Indicator · MQL4 Source Code