OPEN-SOURCE SCRIPT
Diupdate Williams %R & RSI with Multiple Periods

DESCRIPTION
1. Calculates %R and RSI with multiple period lengths.
1 period length value is defined by User.
8 period length values follow User's selection of classic number sequences, e.g. Fibonacci, Leonardo, Lucas, Narayana, etc.
2. User selects which indicator and periods to display or hide.
DEFAULTS
%R default custom period: 10.
RSI default custom period: 14.
%R & RSI default number sequence periods: Lucas numbers 11, 18, 29, 47, 76, 123, 199, 322.
CALCULATIONS
%R = (period high - most recent period's close price)/(period high - period low)
RSI = 100 - 1 / (100 + RS), where RS = SMMA(up, period) / SMMA(down, period)
PURPOSE
1. Identify price trends.
CREDITS
1. Williams %R technical analysis momentum oscillator by Larry Williams.
2. Wilder's Relative Strength Index technical analysis momentum oscillator by J. Welles Wilder.
3. "Solarized" color scheme by Ethan Schoonover.
1. Calculates %R and RSI with multiple period lengths.
1 period length value is defined by User.
8 period length values follow User's selection of classic number sequences, e.g. Fibonacci, Leonardo, Lucas, Narayana, etc.
2. User selects which indicator and periods to display or hide.
DEFAULTS
%R default custom period: 10.
RSI default custom period: 14.
%R & RSI default number sequence periods: Lucas numbers 11, 18, 29, 47, 76, 123, 199, 322.
CALCULATIONS
%R = (period high - most recent period's close price)/(period high - period low)
RSI = 100 - 1 / (100 + RS), where RS = SMMA(up, period) / SMMA(down, period)
PURPOSE
1. Identify price trends.
CREDITS
1. Williams %R technical analysis momentum oscillator by Larry Williams.
2. Wilder's Relative Strength Index technical analysis momentum oscillator by J. Welles Wilder.
3. "Solarized" color scheme by Ethan Schoonover.
Catatan Rilis
Added option for displaying moving averages of %R and RSICatatan Rilis
1) Added RMI, MFI, and RSX for reference.Catatan Rilis
Add CCICatatan Rilis
Changed default colorsCatatan Rilis
Added more details to the CREDITS1. Williams %R technical analysis momentum oscillator by Larry Williams.
2. Wilder's Relative Strength Index (RSI) technical analysis momentum oscillator by J. Welles Wilder.
3. Commodity Channel Index (CCI) by Donald Lambert.
4. Relative Momentum Index (RMI) by Roger Altman.
5. Money Flow Index (MFI) by Gene Quong and Avrum Soudack.
6. Relative Strength Quality Index (RSX) by Mark Jurik.
Catatan Rilis
Edited the CCI constant selection step variableCatatan Rilis
Added Up/Down Volume Ratio restructured so that- 1:1 ratio (up volume = down volume) at the 0 line.
- 7:3 ratio at the +40 line.
- 3:7 ratio at the -40 line.
- 9:1 ratio at the +80 line.
- 1:9 ratio at the -80 line.
Catatan Rilis
Changed the +/- range for up volume : down volume ratio to a user input 1 to100, default +/- 50. Catatan Rilis
Changed some defaults. Added notes into code.Skrip open-source
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Pernyataan Penyangkalan
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Skrip open-source
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Pernyataan Penyangkalan
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.