Hi all,
I am looking for Williams' R indicator which is not available in MC.
Could anyone share the code plz ?
Does anyone have Williams' R indicator code?
- Bruce DeVault
- Posts: 438
- Joined: 19 Jan 2010
- Location: Washington DC
- Been thanked: 2 times
- Contact:
Re: Does anyone have Williams' R indicator code?
Williams %R is a simple formula - it's something like:Hi all,
I am looking for Williams' R indicator which is not available in MC.
Could anyone share the code plz ?
Code: Select all
inputs: period(14);
variables: HHV(0), LLV(0), WPR(0);
HHV = highest(high, period);
LLV = lowest(low, period);
WPR = 0;
if HHV <> LLV then
WPR = (close - LLV) / (HHV - LLV) * 100;
plot1(WPR, "%r");
Re: Does anyone have Williams' R indicator code?
MC (and TS) has it under "%R", which is normally what it is called. It uses the function "PercentR", which is basically what the previous poster has posted.Hi all,
I am looking for Williams' R indicator which is not available in MC.
Could anyone share the code plz ?
- Bruce DeVault
- Posts: 438
- Joined: 19 Jan 2010
- Location: Washington DC
- Been thanked: 2 times
- Contact:
- Bruce DeVault
- Posts: 438
- Joined: 19 Jan 2010
- Location: Washington DC
- Been thanked: 2 times
- Contact: