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

PGC - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources - MetaTrader 5 Resources

author EAcpu | 3 reads | 0 comments |

PGC - indicator for MetaTrader 5

PGC - indicator for MetaTrader 5

An oscillator that indicates cyclical changes in the market.

It has seven tunable parameters:

 if AvgDec != 0
RS = average increase/average decrease otherwise RS = 0
AvgDec = EMA(Dec, RSI period)
AvgInc = EMA(Inc, RSI period)
if Z3 > previous Z3
Inc = Z3 - PrevZ3, Dec = 0
if Z3 < previous Z3
Dec = PrevZ3 - Z3, Inc = 0
Z3 = 2.0 * Average MA3 - Average 2MA3
 Avg2MA3 = EMA(AvgMA3, smoothing period)
AvgMA3 = EMA((Z1 - Z2), smoothing period)
Z2 = 2.0 * MA2 - average MA2
Z1 = 2.0 * MA1 - average MA1
AvgMA2 = EMA(MA2, first MA period)
AvgMA1 = EMA(MA1, first MA period)
MA2 = EMA (applied price, second MA period)
MA1 = EMA(applied price, first MA period) 

PGC - indicator for MetaTrader 5

PGC - indicator for MetaTrader 5


Attachment download

📎 pgc.mq5 (16.89 KB)

Source: MQL5 #21047

Verification code Refresh