The Smoothed WPR indicator is a powerful VertexFx client side indicator script that provides insights into the market trend and reversal of trends. It is based on the Williams %R indicator. The Williams %R displays the relationship of the current closing price with respect to recent N highs and lows. Unlike normal oscillators, Williams %R is a negative oscillator, in the sense that -100 represents oversold conditions and 0 represents overbought conditions. The Williams %R although very useful in identifying trend reversals produces whipsaws when there is a large deviation in the latest closing price. To avoid whipsaws and provide more reliable technique for identifying reversals the Williams %R is smoothed using a smoothing co-efficient. By default the smoothing co-efficient calculated as 2 / (1 + SMOOTHING PERIOD). By default the smoothing period is same as the Williams %R period. However, the user can override the default smoothing period by set the value of SMOOTH_PERIOD to the de