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

Rejection - MetaTrader 5 Script - MQL5 #20449 | Trading Script Download - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

Repulse - indicator for MetaTrader 5

The "Repulsion" oscillator can find possible levels of price rebound or pullback from strong levels.

It has two parameters:

 Repulse1[i] = Pos_EMA1[i]-Neg_EMA1[i],
Repulse2[i] = Pos_EMA2[i]-Neg_EMA2[i]

Where

 Pos_EMA1, Neg_EMA1 - EMA(PosSt1), EMA(NegSt1), the period is 5*Period1),
Pos_EMA2, Neg_EMA2 - EMA(PosSt2), EMA(NegSt2), the period is (5*Period2),
PosSt1[i] = 100*(3*Close[i] - 2*MinPrice1 - Open[i])/Close[i],
NegSt1[i] = 100*(Open position[i] + 2*MaxPrice1 - 3*Close position[i])/Close position[i],
PosSt2[i] = 100*(3*closing price[i] - 2*MinPrice2 - opening price[i-Period2])/closing price[i],
NegSt2[i] = 100*(opening price[i-Period2] + 2*MaxPrice2 - 3*closing price[i])/closing price[i],
MinPrice1, MaxPrice1 - the highest and lowest prices in the range from (i-Period1+1) to i,
MinPrice2, MaxPrice2 - the highest and lowest price in the range from (i-Period2+1) to i 

Repulse - indicator for MetaTrader 5


Attachment download

📎 repulse.mq5 (14.2 KB)

Source: MQL5 #20449

Verification code Refresh