SC MTF Didi MT4
- Indicators
-
Krisztian Kenedi
MQL4 / MQL5 Developer | TrueTL Project Founder (since 2011)
I have been developing professional trading tools and custom algorithms since 2011. - Version: 5.15
- Updated: 17 February 2026
Freelance programming services, updates, and other TrueTL products are available on my MQL5 profile.
Feedback and reviews are highly appreciated!
What is DIDI?
DIDI is a ratio indicator that displays the relationship between three Moving Averages (MA) with different periods: Curta (short), Media (middle), and Longa (long). The indicator calculates two ratio lines by dividing Curta and Longa MAs by the Media MA, which serves as the reference level at 1.0.
DIDI helps identify trend strength and potential reversal points by showing how fast and slow moving averages relate to the middle period average. Values above 1.0 indicate the MA is above the reference (bullish), values below 1.0 indicate the MA is below the reference (bearish). Crossovers between Curta and Longa lines, as well as level crossovers at 1.0, are commonly used as trading signals.
Features:
- Dual-line ratio indicator: Curta (short/middle ratio) and Longa (long/middle ratio)
- Visual signal markers with arrows and vertical lines
- Three independent signal buffers with configurable triggers
- Two-line signal detection options: direction change, line cross, level cross, peak/valley
- Configurable alert functions for each signal (email, push, sound, popup)
- Multi-timeframe (MTF) capability with interpolation methods
- Multiple color modes for two-line indicators
- Custom indicator call (iCustom) buffer access for Expert Advisor (EA) integration
Input Parameters:
- Basic Settings:
- Curta period / Media period / Longa period: Configure MA periods (default: 3, 8, 20).
- MA calculation method: Select MA type (Simple Moving Average, Exponential Moving Average, Smoothed Moving Average, Linear Weighted Moving Average).
- Applied price: Select price type for MA calculation.
- DIDI timeframe: Choose timeframe for MTF display.
- MTF Interpolation mode: Select smoothing method (Off, Linear, Smooth, Weighted, Simple Moving Average).
- Levels Settings:
- Show level: Toggle level line visibility.
- Adjust level value: Set custom level position (default: 1.0).
- Level appearance: Customize color, style, and width.
- Signal Settings:
- Signal 1/2/3 trigger: Configure detection type (direction change, line cross, level cross, peak/valley for Main/Signal/Both lines).
- Visual markers: Enable arrows and vertical lines with customizable size, style, and position.
- Arrow customization: Set Wingdings codes and colors for up/down signals.
- Alert Settings:
- Alert timing: Choose when alerts trigger (Off, After close, Before close, Both).
- Alert interval limit: Set minimum minutes between repeated alerts.
- Time range filter: Restrict alerts to specific hours.
- Delivery methods: Enable email, push, popup, and sound notifications.
- Color and Style Settings:
- Color mode: Select from multiple modes (simple, cross detection, direction-based, level-based, MTF-precise).
- Histogram mode: Display lines as histogram bars.
- Line appearance: Customize colors (4 per line), style, and width for Curta and Longa lines.
