Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

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

author EAcpu | 4 reads | 0 comments |

Divergence - indicator for MetaTrader 4

Divergence - indicator for MetaTrader 4

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

Divergence - indicator for MetaTrader 4

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

Verification code Refresh