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

votes: 16
2015.12.04 10:15
2016.11.22 07:32
wpr.mq5 (7.19 KB)view

Real author:

Dark Han

A usual WPR (Williams’ Percent Range) with the option of selecting Close, High, Low price type for calculation.

Originally this indicator has been written in MQL4 and was first published in the Code Base at on 5.12.2011.

Fig.1. The WPR indicator

Fig.1. The WPR indicator

Translated from Russian by MetaQuotes Software Corp.
Original code:

Background_JMACandle_HTF Background_JMACandle_HTF

The indicator draws JMACandle indicator candlesticks of a higher timeframe as color filled rectangles using DRAW_FILLING buffers.


The JMA adaptive moving average with additional trend strength indication using colored dots based on the standard deviation algorithm.


Three WPR (Williams’ Percent Range) osicllators from the same timeframe, based on Close, High and Low in a single window.

WPRCandle WPRCandle

The WPR (Williams’ Percent Range) indicator implemented as a sequence of candlesticks. Candlesticks appear as a result of relevant price timeseries processed by the WPR algorithm.