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

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

author EAcpu | 2 reads | 0 comments |

DZP_Trend - indicator for MetaTrader 5

DZP_Trend - indicator for MetaTrader 5

The DZP Trend Indicator displays the state of the market as a detrended oscillator, which removes the trend component from the price, thereby displaying price action more clearly.

There are four input parameters:

 DZP = 100*(AB)

Where:

 A = (price - price(shift)) / price(shift)
B = (MA - MA(Shift)) / MA(Shift)
Price - SMA (Apply Price, 1)
Price (Movement) - SMA (Price Applied, 1) Moving Bars Backward MA - EMA (Price Applied, Period)
MA(Shift) - EMA(Apply Price, Period) moves the bar backwards
This indicator has the following specific characteristics: A reversal of the indicator line forming its local extrema usually occurs slightly before the price moves toward that reversal. This allows placing pending orders in the desired direction in advance.

DZP_Trend - indicator for MetaTrader 5

Figure 1. Displayed as a line

DZP_Trend - indicator for MetaTrader 5

Figure 2. Displayed as a histogram


Attachment download

📎dzp_trend.mq5 (11.58 KB)

Source: MQL5 #21643

Verification code Refresh