WPR

Top  Previous  Next

Keyword Description

Williams %R

Class

Indicator

Where Legal

Resources

Entry Logic

Exit Logic

Initial Size

Resize

(Pre-Category)

Resize

(Category-Level)

l

l

l

 

 

 

Syntax

WPR[n]

Where n is an integer representing the number of days in the study.

Example

Sample code

COL2 = WPR[45]

 

ThumbTack white

The %R oscillator determines where today's close lies within a given the range of the previous n days.  The formula is as follows:

(Max(n) - Close) / ( Max(n) - Min(n))  where Min(n) is the n day low and Max(n) is the  n day high.