Stock Adjustments: None, Splits, DividendsUtilizes Pine Script's built-in function to display trading data without stock splits or dividends adjustments affecting its price.
The three main options are 'none', 'splits', and 'dividends'.
'none' displays the data and stock splits nor dividends affect price.
'splits' accounts for splits without dividends affecting price.
'dividends' accounts for dividends adjustments without splits affecting price.
A stock splits calendar may be viewed at NASDAQ's website here:
www.nasdaq.com
A dividend calendar may be viewed here:
www.nasdaq.com
Adjustment
Self-Adjusting RSI +Here is an open source (no request needed!) version of the Self-Adjusting RSI by David Sepiashvili.
Published in Stocks & Commodities V. 24:2 (February, 2006): The Self-Adjusting RSI
David Sepiashvili's article, "The Self-Adjusting RSI," presents a technique to adjust the traditional RSI overbought and oversold thresholds so as to ensure that 70-80% of RSI values lie between the two thresholds. Sepiashvili presents two algorithms for adjusting the thresholds. One is based on standard deviation, the other on a simple moving average of the RSI.
This script allows you to choose between plotting the Self-Adjusting bands or the traditional bands. You can also plot a smoothed RSI (SMA or EMA) and change the theme color for dark or light charts.
If you find this code useful, please pass it forward by sharing open source!
Thank you to all of the open source heroes out there!
"If I have seen a little further it is by standing on the shoulders of Giants."