Mostafa Ghanbari / Profil
- Informations
|
Aucun
expérience
|
14
produits
|
1
versions de démo
|
|
0
offres d’emploi
|
0
signaux
|
0
les abonnés
|
✅ Ingénieur logiciel | Développeur d'indicateurs personnalisés et d'Expert Advisors (EA)
✅ Auteur publié sur MQL5.com
Bonjour ! Je m'appelle Mostafa, un ingénieur logiciel passionné par la transformation de stratégies de trading complexes en outils fiables et performants. Fort d'une solide formation académique en génie logiciel et de plusieurs années d'expérience en programmation professionnelle, je fais le lien entre une architecture logicielle rigoureuse et le monde dynamique du trading algorithmique.
🛠 Expertise technique :
Langages : maîtrise de MQL4/MQL5, C++, Python et des frameworks de développement modernes.
Conception d'algorithmes : création d'indicateurs personnalisés robustes, d'Expert Advisors (EA) et d'outils utilitaires automatisés.
Systèmes multi-temporels : développement d'outils avancés de tendance, d'analyse des vagues et de confirmation, fonctionnant sur plusieurs unités de temps dans une seule fenêtre.
Optimisation des systèmes : accent sur l'exécution à faible latence, la gestion de la mémoire et un code propre et maintenable.
Gestion des risques : intégration d'une logique solide de gestion du capital pour aider à le protéger.
🎯 Mon approche :
Issu d'un milieu d'ingénierie professionnelle, je ne me contente pas « d'écrire du code » : je construis des solutions de trading évolutives et fiables. Qu'il s'agisse d'un indicateur personnalisé, d'un Expert Advisor suiveur de tendance ou d'un outil d'analyse multi-temporelle, je privilégie la précision des calculs, la rapidité d'exécution et la stabilité logique. Chaque produit que je publie est conçu selon les mêmes normes que celles que j'exigerais de mes propres outils de trading.
📍 Localisation et disponibilité :
Actuellement basé à Hamilton, Ontario, je travaille avec des clients du monde entier pour automatiser et affiner leurs idées de trading.
Je m'engage à une communication claire, à la transparence et à la livraison de projets répondant à des normes professionnelles élevées.
Je suis disponible pour une consultation afin de discuter de la logique de votre stratégie avant de commencer le processus de développement — aussi bien pour les indicateurs personnalisés que pour les Expert Advisors.
Transformons votre vision du trading en une réalité algorithmique précise.
⚜️ Suivez-moi sur ma chaîne MQL5 : https://www.mql5.com/en/channels/mghfx
This version takes full advantage of MT5's wider timeframe range and adds a new TimeFrame Type setting:
🔹 Auto — automatically builds a 4×–6× adjacent-timeframe series for you
🔹 From Inputs — assign an independent timeframe to each of the 6 lines (L1–L6)
✨ Core features:
• Up to 6 timeframes in one window
• Per-line conditional alerts (Same / Opposite / OFF)
• Signal candle selection (0 or 1) for speed vs. lower repaint
• Wave-projection workflow for mapping future moves
• Popup, sound, email & push notifications
🎁 Free demo available — try it before you buy.
Thank you to everyone testing and sharing feedback. More updates coming. 🙏
MGH-MultiStoch — Multi-Timeframe Trend Detection and Wave Analysis (MT5) MGH-MultiStoch is a multi-timeframe trend indicator that displays up to 6 timeframes simultaneously in one window. It helps traders confirm trend direction across timeframes, count market waves visually, and build forward-looking wave scenarios based on higher-timeframe crosses. This is the MetaTrader 5 version. Because MT5 supports a wider range of timeframes, this version adds full per-line timeframe selection, so you
MGH-MultiStoch — Multi-Timeframe Trend Detection and Wave Analysis MGH-MultiStoch is a multi-timeframe trend indicator that displays up to 6 timeframes simultaneously in one window. It helps traders confirm trend direction across timeframes, count market waves visually, and build forward-looking wave scenarios based on higher-timeframe crosses. The indicator uses a custom multi-timeframe calculation method developed specifically for this product. It is available for both MetaTrader 4 and
*The trend continuation signal most traders never see — now detected automatically across 6 timeframes.*
---
## Overview
Regular divergence tells you when a trend may be reversing. **Hidden divergence tells you when it is about to continue** — and it is the signal that professional trend-following traders rely on most. The problem is that hidden divergence is significantly harder to spot than regular divergence, and virtually no indicator on MQL5 Market detects it accurately across multiple timeframes simultaneously.
**MGH-MultiMACD-HD** changes that entirely. Built on the same proprietary multi-timeframe engine as MGH-MultiMACD-RD, this indicator is dedicated exclusively to hidden divergence detection — monitoring up to 6 timeframes at once, drawing precise divergence lines on both the price chart and the MACD window, and alerting you the moment a confirmed setup forms. All without repainting.
---
## What Is Hidden Divergence — And Why Does It Matter?
Most traders learn regular divergence early in their education. Fewer learn hidden divergence. And almost none have a tool that detects it reliably.
**Hidden bullish divergence** occurs when price makes a higher low while MACD makes a lower low. It signals that the underlying bullish momentum is intact despite a surface-level pullback — and that the trend is likely to resume upward.
**Hidden bearish divergence** occurs when price makes a lower high while MACD makes a higher high. It signals that selling pressure remains dominant beneath a brief corrective bounce — and that the downtrend is likely to continue.
These are not reversal signals. They are **trend continuation signals** — among the highest-probability setups available to technical traders, appearing consistently across all instruments and all timeframes. The challenge has always been detecting them accurately and in real time. MGH-MultiMACD-HD solves that challenge completely.
---
## Why Most Hidden Divergence Tools Fail
The reason hidden divergence detection is rarely implemented well comes down to three core problems that most indicators never address:
- **Single-timeframe blindness** — they show you hidden divergence on the current chart only, missing the structural context available from higher timeframes.
- **Repaint** — signals that appeared on forming candles disappear when the candle closes, making historical performance appear better than it actually is.
- **Imprecise swing detection** — incorrect identification of the pivot points that define hidden divergence, leading to false signals and missed setups.
MGH-MultiMACD-HD was built specifically to solve all three. The swing detection algorithm is precise. The signal confirmation is repaint-free when set to candle 1. And the multi-timeframe engine makes it the only hidden divergence tool on the market that watches six timeframes simultaneously.
---
## Key Features
### Multi-Timeframe Hidden Divergence — The Complete View
Monitor the current timeframe plus up to 5 higher timeframes at once. Each timeframe's MACD is displayed in its own distinct color, and every hidden divergence detected — on any active timeframe — is marked immediately on the chart. The color of each divergence line on the price chart matches the corresponding MACD line in the indicator window, so the relationship between chart signal and oscillator context is always clear.
Toggle any timeframe on or off instantly using the on-chart buttons (1–6) or from the Inputs panel — no need to re-open settings to switch your active timeframe combination.
### Zero Repaint — Trade With Confidence
Signal Candle Shift gives you full control: set it to **1** for confirmed, closed-candle signals that will never be redrawn, or **0** for real-time signals on the forming candle if you prefer faster entry. When set to 1, every signal you see is final — the indicator cannot and will not alter historical output.
### Precision Swing Detection
The core algorithm identifies the precise swing highs and lows that define valid hidden divergence — not approximations, not lookahead bias, not cosmetic lines drawn after the fact. The divergence lines connect the exact pivot points where price and MACD disagree, giving you a clear, accurate picture of the structural relationship between price action and momentum.
### Extended Divergence Range
The **Increase Divergence Range** parameter extends the lookback window, allowing detection of hidden divergences formed between swing points that are far apart in time. Standard indicators miss these entirely. MGH-MultiMACD-HD finds them.
### Display Flexibility
Choose to display divergence lines on the **price chart only**, the **indicator window only**, or **both simultaneously**. The "Only Price" mode produces the cleanest chart layout — divergence structure is visible directly on price without any indicator clutter below.
### Full Alert System
- **Divergence alert** — fires the moment a hidden divergence is confirmed on any active timeframe
- **Phase change alert** — fires when MACD crosses the zero line
- **Histogram/Signal cross alert** — fires on momentum crossovers
- Delivery via popup, sound (.wav), email, and push notification — all independently configurable
---
## Hidden Divergence Across Timeframes — The Confluence Advantage
A hidden divergence on a single timeframe is already a meaningful signal. When the same directional bias appears as hidden divergence simultaneously on two or three timeframes — for example, on M15, H1, and H4 at the same time — the probability of trend continuation increases substantially.
MGH-MultiMACD-HD makes these confluence zones visible and alerts you when they form. This multi-timeframe alignment is one of the highest-conviction setups in technical analysis, and it is something no single-timeframe indicator can ever show you.
As a practical framework: **use single-timeframe hidden divergences as trend-continuation confirmation** within your existing strategy. Use multi-timeframe confluence zones — where two or more timeframes show hidden divergence simultaneously in the same price area — as standalone, high-probability trend-continuation entries.
---
## Practical Use Cases
**Intraday trend trading** — Trading M5 or M15 in a clear trend and unsure whether a pullback is a reversal or a continuation opportunity? Enable H1 or H4 as a second layer. When M15 price makes a higher low and H1 MACD also shows hidden bullish divergence, the pullback is almost certainly a continuation setup.
**Daily timeframe trend following** — Enable the Daily and Weekly layers to catch hidden divergences on major structural levels. These signals appear infrequently but consistently precede significant trend continuation moves.
**Scalping with higher-TF context** — Run M1 or M5 as Layer 1 and H1 as Layer 2. When the higher timeframe confirms the trend direction via hidden divergence, scalp entries in that direction carry a structural edge.
**Filtering out reversal traps** — Hidden divergence in the direction of the prevailing trend is a direct confirmation that the trend is intact. Use it to avoid counter-trend trades and stay on the right side of momentum.
---
## Interpolation Mode
Enable **Interpolate in MTF Mode** to smooth the MACD lines from higher timeframes into clean, continuous curves rather than step-function plots. This is a visual preference — the underlying signal logic is identical — but it produces significantly cleaner chart output when multiple timeframes are displayed simultaneously.
---
## Settings Reference
| Parameter | Description |
|---|---|
| Indicator Name | Label shown in the indicator sub-window header |
| Number of Candles | Lookback period (0 = full history) |
| MACD Fast / Slow / Signal | Standard MACD parameters — defaults are 12, 26, 9 |
| Interpolate in MTF Mode | Smooth higher-TF MACD lines for cleaner visual output |
| L1 – L6 Enable | Independently enable or disable each timeframe layer |
| Divergence Check | Master on/off switch for hidden divergence detection |
| Increase Divergence Range | Extends lookback for detecting wide-range hidden divergences |
| Display Lines | Price chart only / indicator window only / both |
| L1 – L6 Divergence Color | Individual divergence line color per active timeframe |
| Lines Style / Width | Visual style and thickness of all divergence lines |
| Alert On Phase Change | Alert when MACD crosses the zero line |
| Alert On Lines Cross | Alert on histogram / signal line crossover |
| Alert On Divergence | Alert on confirmed hidden divergence detection |
| Signal Candle Shift (0 or 1) | 0 = real-time; 1 = confirmed, no-repaint |
| Show Window | Toggle the indicator sub-window on or off |
| Sound Alert / Email / Notification | Alert delivery method(s) |
| Sound File Name | Custom .wav file path for sound alerts |
| Display Button | Show or hide on-chart timeframe toggle buttons |
| X / Y Position | Position of the on-chart button panel |
---
## The MGH MultiMACD Ecosystem
MGH-MultiMACD-HD is part of a two-indicator system designed to give traders complete divergence coverage:
| Indicator | Type | Purpose |
|---|---|---|
| MGH-MultiMACD-RD | Regular Divergence | Identifies potential trend reversals |
| MGH-MultiMACD-HD | Hidden Divergence | Confirms trend continuation setups |
Used together, these two indicators provide a complete picture of MACD divergence across all timeframes — reversal signals when the trend is ending, continuation signals when it is resuming. No other indicator combination on MQL5 Market offers this level of multi-timeframe divergence coverage in a unified, color-coded visual system.
---
## Technical Specifications
- **Platform:** MetaTrader 4
- **Indicator Type:** MACD-based hidden divergence, multi-timeframe
- **Repaint:** No (when Signal Candle Shift = 1)
- **Alerts:** Sound, Email, Push Notification, Popup
- **Default MACD Settings:** 12 / 26 / 9
- **Timeframes Supported:** Current TF + 5 higher TFs simultaneously
---
## Try It Free
A demo version is available for download directly from MQL5 Market. Attach it to any chart, enable two or three timeframes, and watch how many hidden divergences — trend continuation signals your current tools have been missing — appear across your active pairs. The difference is visible within minutes of loading the indicator.
**If you trade with the trend, this is the indicator that keeps you in it.**
---
MT4 : https://www.mql5.com/en/market/product/179159
MT5 : https://www.mql5.com/en/market/product/179985
*Never miss a divergence again — across 6 timeframes, all at once.*
---
## Overview
Most MACD divergence indicators on the market are either inaccurate, overly simplistic, or plagued with repaint issues. **MGH-MultiMACD-RD** was built to solve all of that — and go much further.
This is not just another MACD indicator. It is a **multi-timeframe divergence engine** that simultaneously monitors up to 6 timeframes on a single chart, detects every divergence with precision, and delivers alerts the moment they form — without repainting.
Designed by a professional trader and developer, the algorithm behind this tool is one of the most unique approaches to MACD divergence detection ever built for MetaTrader.
---
## Why Most MACD Divergence Indicators Fail
- They only analyze the current timeframe — missing the bigger picture.- They repaint signals, making backtesting unreliable and live trading dangerous.- They draw divergence lines inconsistently or miss valid setups entirely.- They offer no alert system for when you're away from the screen.
**MGH-MultiMACD-RD was built specifically to eliminate every one of these problems.**
---
## Key Features
### Multi-Timeframe Analysis — See the Full PictureMonitor the **current timeframe plus up to 5 higher timeframes simultaneously** — all from a single chart window. Each timeframe's MACD is displayed with a distinct color, so you can instantly understand which timeframe is generating a signal. You can enable or disable any timeframe directly from the settings or with the **on-chart buttons (1–6)**.
### Zero Repaint — Reliable Signals You Can TrustYou choose whether signals trigger on **candle 0** (faster, real-time) or **candle 1** (confirmed, no repaint). When set to candle 1, you can be **100% confident** that no signal will ever be redrawn or disappear after the fact.
### Comprehensive Divergence DetectionThe indicator finds **every valid divergence** — regular and hidden — across all active timeframes. A dedicated **"Increase Divergence Range"** parameter allows you to extend the lookback and catch divergences between distant swing points that most other tools would miss entirely.
### Multi-Divergence Confluence — The Power SignalWhen **two or more divergences from different timeframes occur in the same price zone simultaneously**, the signal strength increases dramatically. These multi-timeframe confluence zones are where the most powerful reversals and trend changes happen. This alone can serve as a **complete standalone trading strategy**.
### Smart Alert SystemNever sit glued to your screen again. Choose from:- **Phase change alerts** — when MACD crosses zero- **Histogram/Signal line cross alerts** — real-time momentum shifts- **Divergence alerts** — the moment a divergence is confirmed- Sound alerts with custom `.wav` file support- Email and push notification support
### Interpolation ModeEnable the **Interpolate** option for visually smooth, curved MACD lines across all higher timeframes — cleaner charts, easier reading.
### Full Visual Customization- Each timeframe has its own divergence line color (matching the MACD line color for instant association)- Choose to display divergence lines on the **price chart, the indicator window, or both**- Full control over line style, thickness, and color for each level- Logo and branding display toggleable from settings
---
## How to Use It
1. **Attach the indicator** to any chart and timeframe.2. **Enable the timeframes** you want to watch using buttons 1–6 or from the Inputs tab.3. **Set your alert preferences** — divergence, phase change, or histogram cross.4. **Choose candle 0 or 1** depending on whether you prefer speed or confirmation.5. **Wait for the alert** — the indicator does the watching for you.
> **Pro Tip:** Use single-timeframe divergences as **confirmation** for your existing strategies. When multiple timeframes show divergence simultaneously in the same zone, consider it a **high-probability reversal signal**.
---
## Settings Reference
| Parameter | Description ||---|---|| Indicator Name | Label shown in the chart window || Number of Candles | Lookback period (0 = all history) || MACD Fast / Slow / Signal | Standard MACD parameters (default 12/26/9) || Interpolate in MTF Mode | Smooth higher-TF MACD lines || L1–L6 Enable | Enable/disable each timeframe layer || Divergence Check | Enable divergence detection || Increase Divergence Range | Extend lookback for distant divergences || Display Lines | Show on chart, indicator window, or both || L1–L6 Divergence Color | Per-timeframe divergence line color || Lines Style / Width | Visual styling of divergence lines || Alert On Phase Change | Alert when MACD crosses zero || Alert On Lines Cross | Alert on histogram/signal cross || Alert On Divergence | Alert on divergence detection || Signal Candle Shift (0 or 1) | 0 = real-time, 1 = confirmed (no repaint) || Show Window | Display indicator sub-window || Sound / Email / Notification | Alert delivery method || Sound File Name | Custom `.wav` sound file || Display Button | Show/hide on-chart buttons || X / Y Position | Button position on chart |
---
## What Makes This Different
> *"The most effective divergences, in my view as the developer, are those where the new MACD peak/trough has retraced more than 50% of the previous one and is approaching the zero line. This combination — multi-timeframe, near-zero, deep retracement — produces the strongest reversal signals."*
This is the philosophy embedded in the algorithm. No other indicator on MQL5 applies this multi-dimensional approach to divergence detection with this level of control and reliability.
---
## Technical Specifications
- **Platform:** MetaTrader 4 / MetaTrader 5- **Indicator Type:** MACD-based divergence, multi-timeframe- **Repaint:** No (when Signal Candle Shift = 1)- **Alerts:** Sound, Email, Push Notification- **Default MACD Settings:** 12 / 26 / 9- **Timeframes Supported:** Current TF + 5 higher TFs simultaneously---
## Try It — Then Decide
A demo version is available. Load it on any chart, enable multiple timeframes, and watch how many divergences your current indicator has been missing. The difference is immediately visible.
**If you trade divergences, this is the only indicator you will ever need.**
MT4 : https://www.mql5.com/en/market/product/179049
MT5 : https://www.mql5.com/en/market/product/179975
Multi-Timeframe MACD Hidden Divergence Detector The trend continuation signal most traders never see — now detected automatically across 6 timeframes. Overview Regular divergence tells you when a trend may be reversing. Hidden divergence tells you when it is about to continue — and it is the signal that professional trend-following traders rely on most. The problem is that hidden divergence is significantly harder to spot than regular divergence, and virtually no indicator on MQL5
Overview MGH-MultiMACD-RD is a multi-timeframe MACD divergence indicator for MetaTrader 5. It monitors up to 6 timeframes simultaneously on a single chart, detects both regular and hidden divergences, and delivers alerts when a divergence is confirmed. The indicator was developed to address three common limitations found in standard MACD divergence tools: single-timeframe analysis, signal repainting, and inconsistent divergence line drawing. Key Features Multi-Timeframe Analysis The indicator
Multi-Timeframe MACD Hidden Divergence Detector The trend continuation signal most traders never see — now detected automatically across 6 timeframes. Overview Regular divergence tells you when a trend may be reversing. Hidden divergence tells you when it is about to continue — and it is the signal that professional trend-following traders rely on most. The problem is that hidden divergence is significantly harder to spot than regular divergence, and virtually no indicator on MQL5 Market
Overview MGH-MultiMACD-RD is a multi-timeframe MACD divergence indicator for MetaTrader 5. It monitors up to 6 timeframes simultaneously on a single chart, detects both regular and hidden divergences, and delivers alerts when a divergence is confirmed. The indicator was developed to address three common limitations found in standard MACD divergence tools: single-timeframe analysis, signal repainting, and inconsistent divergence line drawing. Key Features Multi-Timeframe Analysis The indicator
Overview MGH-CrossAlert Histogram is a sub-window histogram indicator for MetaTrader 5. It displays the relationship between any two configurable lines as a color-coded histogram bar by bar, showing which line is dominant, how large the gap between them is, and when a crossover occurs. The histogram runs in a separate sub-window, keeping the price chart uncluttered. How It Works Each bar on the histogram reflects the live relationship between the two selected lines: Green — Line 1 is above Line
Overview MGH-CrossAlert Histogram is a sub-window histogram indicator for MetaTrader 5. It displays the relationship between any two configurable lines as a color-coded histogram bar by bar, showing which line is dominant, how large the gap between them is, and when a crossover occurs. The histogram runs in a separate sub-window, keeping the price chart uncluttered. How It Works Each bar on the histogram reflects the live relationship between the two selected lines: Green — Line 1 is above Line
MGH-CrossAlert — Multi-Line, Multi-Timeframe Crossover Alert Indicator MGH-CrossAlert is a crossover detection indicator for MetaTrader 5 that monitors two user-selected lines and generates alerts when they cross or reach equality. Unlike standard moving average crossover tools, this indicator supports a wide range of line types and allows each line to be drawn from an independent timeframe. Supported Line Types Each of the two monitored lines can be configured independently as one of the
MGH-CrossAlert — Multi-Line, Multi-Timeframe Crossover Alert Indicator MGH-CrossAlert is a crossover detection indicator for MetaTrader 5 that monitors two user-selected lines and generates alerts when they cross or reach equality. Unlike standard moving average crossover tools, this indicator supports a wide range of line types and allows each line to be drawn from an independent timeframe. Supported Line Types Each of the two monitored lines can be configured independently as one of the
Persian Ichimoku Pro: The Fibonacci Evolution for MT5 Why settle for 1930s formulas when you can trade with 21st-century precision? Most traders fail with Ichimoku because they use static, outdated settings. Persian Ichimoku Pro breaks these limits by integrating Advanced Fibonacci Mathematics and the exclusive Future Quality Line —a combination never seen before in standard indicators. ### THE "UNFAIR ADVANTAGE": WHAT’S INSIDE? 1. The Quality Line (Your Trend Sentinel) This is the "Secret
Persian Ichimoku Pro: The Fibonacci Evolution for MT4 Why settle for 1930s formulas when you can trade with 21st-century precision? Most traders fail with Ichimoku because they use static, outdated settings. Persian Ichimoku Pro breaks these limits by integrating Advanced Fibonacci Mathematics and the exclusive Future Quality Line —a combination never seen before in standard indicators. ### THE "UNFAIR ADVANTAGE": WHAT’S INSIDE? 1. The Quality Line (Your Trend
The article presents an MQL5 method for detecting psychological round numbers by converting prices to strings and counting trailing zeros (ZeroSize). It outlines the theory of institutional liquidity at integers, explains the GetZeroCount logic with tick-size normalization to avoid floating‑point errors, and details hierarchical visualization. Case studies across forex, metals, and crypto, plus timeframe filters and inputs, show how to use confluence and basic risk controls in practice.
Elevate your trading with the precision of "Big Figures." Financial markets are not driven by random numbers; they are driven by institutional liquidity. Central banks, hedge funds, and major commercial traders consolidate their orders at whole integer levels (e.g., 1.1000, 2000.00, 150.00). These are the "Psychological Magnets" where the real price action happens. RoundLevel Pro for MetaTrader 5 is a high-performance tool designed to visualize this invisible grid of institutional interest with
Unlock the power of "Psychological Numbers" with RoundLevel . Large financial institutions, banks, and hedge funds don't place orders at random prices; they prefer round numbers (e.g., 1.1000, 105.00, 2000). These levels act as invisible magnets for price action, serving as high-probability support and resistance zones. Key Features: Universal Compatibility: Works perfectly on Forex, Gold (XAUUSD), Indices, and Stocks. Clean Visualization: Automatically draws horizontal levels without cluttering
Gold has reached a significant milestone at FE 261.8.
Based on my MGH Indicator, I'm expecting a healthy correction toward the identified daily demand zones before the next bullish rally toward FE 361.8.
Precise levels for precise trading.
What is your strategy for Gold this week?
#XAUUSD
#GoldAnalysis
#MQL5
#MGH_FX
#Fibonacci
#AlgorithmicTrading
Price is hitting a major supply zone identified by my MGH Indicator.
Patience is key for the next big move.
What are your thoughts on JPY pairs this month?
#USDJPY
#TradingAnalysis













