OPEN-SOURCE SCRIPT
已更新 RSI Stochastic Alignment

RSI Stochastic Alignment input RSI and Stochastic into 1 windows and align them to find bullish and bearish divergence.
A. The Line display in windows:
1. Fast RSI (green line) is RSI(close,3)
2. Slow Rsi (red line) is Linear Regession of Fast RSI with 5 period and offset 0 = linreg(rsi,5,0)
3. Fast Stochastic (blue line) is %K of Stochastic
4. Slow Stochastic (aqua line) is %D of Stochastic
B. Alignment and Divergence Detect
1. Bearish Divergence:
* Slow RSI at top
* Fast Stochastic at bottom
* Fast RSI over overbought level (default = 70)
* Slow Stochastic under overbought level minus a constant value (Divergence Power value, default this value = 1)
2. Bullish Divergence:
* Fast Stochastic at top
* Slow RSI at bottom
* Fast RSI under oversold level (default = 30)
* Slow Stochastic over oversold level plus a constant value (Divergence Power value, default this value = 1)
C. Script Option
1. RSI value adjustable
2. Stochastic value adjustable
3. Overbought and Oversold Level adjustable
4. Enable/Disable Level line
5. Enable/Disable Divergence Column
6. Enable/Disable Key Bar Colored
A. The Line display in windows:
1. Fast RSI (green line) is RSI(close,3)
2. Slow Rsi (red line) is Linear Regession of Fast RSI with 5 period and offset 0 = linreg(rsi,5,0)
3. Fast Stochastic (blue line) is %K of Stochastic
4. Slow Stochastic (aqua line) is %D of Stochastic
B. Alignment and Divergence Detect
1. Bearish Divergence:
* Slow RSI at top
* Fast Stochastic at bottom
* Fast RSI over overbought level (default = 70)
* Slow Stochastic under overbought level minus a constant value (Divergence Power value, default this value = 1)
2. Bullish Divergence:
* Fast Stochastic at top
* Slow RSI at bottom
* Fast RSI under oversold level (default = 30)
* Slow Stochastic over oversold level plus a constant value (Divergence Power value, default this value = 1)
C. Script Option
1. RSI value adjustable
2. Stochastic value adjustable
3. Overbought and Oversold Level adjustable
4. Enable/Disable Level line
5. Enable/Disable Divergence Column
6. Enable/Disable Key Bar Colored
發行說明
* Pre version: Manual edit value of Line level (in style tab) after adjust Overbought/Oversold Level* Update version: Line value auto upgrade after adjust Overbought/Oversold Level
* Row in script change: 28,29
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。