Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Vues:
4801
Note:
(14)
Publié:
2017.01.18 09:55
Delta_WPR.mq5 (15.46 KB) afficher
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur 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

Fig1. Full histogram of the Delta_WPR indicator

Fig.2. Shortened histogram of the Delta_WPR indicator

Fig.2. Shortened histogram of the Delta_WPR indicator

Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/16499

YMA YMA

Moving average for prices (O+C+H+L)/4.

Exp_Delta_RSI Exp_Delta_RSI

The Exp_Delta_RSI Expert Advisor is based on the Delta_RSI indicator color change.

Delta_MFI_HTF Delta_MFI_HTF

The Delta_MFI indicator with the timeframe selection option available in the input parameters.

Exp_Delta_MFI Exp_Delta_MFI

The Exp_Delta_MFI Expert Advisor is based on the Delta_MFI indicator color change.