Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2013.01.25 15:26

Dserg-PPZ - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

votes: 16
dserg-ppz.mq5 (24.45 KB)view

The real author:


The indicator searches for 4 fractals located on one of the horizontal lines. Four most closely (horizontally) located fractals output as levels. The window of Nbars bars is used for calculation. The initial shift of the window is set by the input parameter of the Nfirst indicator. The minimum distance between the levels or fractals can be set.

Input parameters:

//| Input parameters of the indicator            |
input int Nbars_=150; //The width of the window on which the levels are searched
input int Nfirst=0; //Shift of the right bar for the window
input double minDiff=300.0; //The minimum distance between levels in points 
input int minBars=5; //The minimum distance between fractals in bars 

Calculation of the indicator can take up to half a minute with a number of bars more than 200 in the calculation window! But despite the slowness of the indicator, it is quite promising and successful at work.

This indicator was first implemented in MQL4 and published in Code Base at on 23.02.2010. 

Links to the similar subjects

Fig.1 The Dserg-PPZ indicator

Fig.1 The Dserg-PPZ indicator

Translated from Russian by MetaQuotes Software Corp.
Original code:

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

Yen Trader Yen Trader

Expert Advisor to trade Yen Crosses based on Major Pairs and USDJPY divergence/convergence.

Example of MACD Automated Example of MACD Automated

Code example of MACD automated with advanced money management function.