Divergence - MetaTrader 4 Script - MQL5 #8705 | Forex Indicator Download - MT4/MT5 Resources


If the blue bar points upward, the price will also increase. Down - same.
Points represent identified peaks (fractals) of a specified metric.
The red bar is the maximum peak (a weak signal that price will "roll back" and move slightly counter-trend)
i-Divergency.mq4 - stochastic based divergence
i-DivMACD.mq4 - Divergence based on MACD
If you want to analyze any other metric - replace this line
stochastic[current buffer] = stochastic ( void , 0 , 5 , 3 , 3 , pattern_EMA , 0 , pattern_main , current candle);
with the required one
There may also be false signals. It wouldn't work without them.
Attachment download
📎 i-Divergency.mq4 (11.13 KB)
📎 i-DivMACD.mq4 (11.21 KB)
Source: MQL5 #8705
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •