Join our fan page
Smoothed WPR - indicator for MetaTrader 5
- Views:
- 9483
- Rating:
- Published:
- 2019.01.18 20:39
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Theory :
Williams %R, or just %R, is a technical analysis oscillator showing the current closing price in relation to the high and low of the past N days (for a given N). It was developed by a publisher and promoter of trading materials, Larry Williams. Its purpose is to tell whether a stock or commodity market is trading near the high or the low, or somewhere in between, of its recent trading range.
%R = -100 x (highest high (period) - close) / (highest high (period) - lowest low (period))
The oscillator is on a negative scale, from −100 (lowest) up to 0 (highest), obverse of the more common 0 to 100 scale found in many Technical Analysis oscillators. A value of −100 means the close today was the lowest low of the past N days, and 0 means today's close was the highest high of the past N days. (Although sometimes the %R is adjusted by adding 100.)
One of the "issues" that WPR has is that it is a "nervous" indicator (it tends to change values so fast that using levels for signals will almost sure lead to massive false signals trap). There were few attempts to produce less signals with WPR but they were usually smoothing the result, thus adding a lag to the indicator. This version is using a different approach : it is using ema smoothed prices for calculations, producing much less signals that way (and a much smoother result) without adding too much lag
Usage :
You can use it as any other WPR
PS:
The "big picture" comparison - upper is the regular WPR, lower is this one
Long Short-Term Memory Neural Network - for time series analysis.
Trix oscillator with support / resistance lines on chartTrix oscillator with support / resistance lines on chart
Smoothed WPR with floating levels
Smoothed WPR with floating levels and on chart support / resistance levelsSmoothed WPR with floating levels and on chart support / resistance levels