Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

William %R with OB 80 & OS 20 for Amibroker (AFL)

Rating:
3 / 5 (Votes 2)
Tags:
oscillator, amibroker

We usually read William %R’s Overbought -20 and Oversold -80.
We can change some code to read William %R OB & OS as we read Stochastic’s OB & OS.

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("William's % R");
/*
We usually read William %R's Overbought -20 and Oversold -80. 
We can change some code to read William %R OB & OS as we read Stochastic's OB & OS.
*/

periods = 14 ;
R = 100 - 100 * ( HHV( H, periods ) - C )/( HHV( H, periods ) - LLV( L, periods ) );// 80 20

Plot( R,"",colorRed,styleLine|styleThick );
Plot(80,"",colorDarkGrey,styleDashed);
Plot(20,"",colorDarkGrey,styleDashed);

Title =EncodeColor(16)+ "{{DATE}} - "+Name()  +" - " + "{{INTERVAL}} " +"  W%R 14  "+WriteVal(r,1.2);

_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.

Back