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

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

author EAcpu | 5 reads | 0 comments |

Dserg-PPZ - indicator for MetaTrader 5

Real author:

The indicator searches for 4 fractals located on one of the horizontal lines. The four closest (horizontally) positioned fractals output as horizontal. Nbars Window of bars used for calculation. The initial offset of the window is set by the input parameters of the Nfirst indicator. You can set the minimum distance between levels or fractals.

Input parameters:

 //+------------------------------------------------------------------------+
//|Input parameters of the indicator|
//+------------------------------------------------------------------------+
Input integer Nbars_= 150 ; //The width of the search level window
Enter the integer first = 0 ; //Movement of the right column of the window
Minimum difference of input double = 300.0 ; // Minimum distance between levels in points
Enter integer minimum number of bars = 5 ; //minimum distance between fractals in bars

If the number of bars in the calculation window exceeds 200, the calculation of the indicator may take up to half a minute! But despite the sluggishness of this indicator, it is quite promising and successful in its work.

The indicator was first implemented in MQL4 and published in the code base of mql4.com on February 23, 2010.

Links to similar topics https://www.mql5.com/ru/forum/124080

Dserg-PPZ - indicator for MetaTrader 5

Figure 1 Dserg-PPZ indicator


Attachment download

📎 dserg-ppz.mq5 (24.45 KB)

Source: MQL5 #1476

Verification code Refresh