Unisciti alla nostra fan page
- Visualizzazioni:
- 4931
- Valutazioni:
- Pubblicato:
- 2017.01.18 09:55
-
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
Real author:
Tor
Trend analyzer based on the difference of two WPR oscillators with different periods.
The indicator will be useful for those who analyze two WPR indicators with different periods (fast and slow), their relative positions, as well as the location of the slow WPR relative to the specified level (for example, 50).
That is, if the slow WPR is greater than 50, and the fast WPR is greater than the slow WPR — paint the histogram in overbought color.
If the slow WPR is less than 50, and the fast WPR is less than the slow WPR — paint the histogram in oversold color.
Al settings can be customized: colors, signal level (-50), periods of the slow and fast WPR, histogram display type.
//+----------------------------------------------+ //| Indicator input parameters | //+----------------------------------------------+ input TypeGraph TypeGr=Histogram; // Type graph input uint WPRPeriod1=14; // Fast WPR Period input uint WPRPeriod2=30; // Slow WPR Period input int Level=-50; // Signal Level input int Shift=0; // Horizontal indicator shift in bars
The indicator has 5 buffers that can be used at your discretion.
- 0 — Indicator buffer;
- 1 — color indicator buffer with three color states;
- 2 — WPR fast;
- 3 — WPR slow;
- 4 — Difference between two WPR (MACDWPR).
Fig1. Full histogram of the Delta_WPR indicator
Fig.2. Shortened histogram of the Delta_WPR indicator
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/16499
![YMA](https://c.mql5.com/i/code/indicator.png)
Moving average for prices (O+C+H+L)/4.
![Exp_Delta_RSI](https://c.mql5.com/i/code/expert.png)
The Exp_Delta_RSI Expert Advisor is based on the Delta_RSI indicator color change.
![Delta_MFI_HTF](https://c.mql5.com/i/code/indicator.png)
The Delta_MFI indicator with the timeframe selection option available in the input parameters.
![Exp_Delta_MFI](https://c.mql5.com/i/code/expert.png)
The Exp_Delta_MFI Expert Advisor is based on the Delta_MFI indicator color change.