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

2017.01.18 09:55
Indicators

Delta_WPR - indicator for MetaTrader 5

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

Views:
445
Rating:
votes: 10
Delta_WPR.mq5 (15.46 KB)view

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

Translated from Russian by MetaQuotes Software Corp.
Original code: 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.