OPEN-SOURCE SCRIPT
Cutlers RSI

Cutlers' RSI is a variation of the original RSI Developed by Welles Wilder.
This variation uses a simple moving average instead of an exponetial.
Since a simple moving average is used by this variation, a longer length tends to give better results compared to a shorter length.
CALCULATION
I have added some signals and filtering options with moving averages:
The signals I added are just some potential ideas, always backtest your own strategies.
This variation uses a simple moving average instead of an exponetial.
Since a simple moving average is used by this variation, a longer length tends to give better results compared to a shorter length.
CALCULATION
- Step1: Calculating the Gains and Losses within the chosen period.
- Step2: Calculating the simple moving averages of gains and losses.
- Step3: Calculating Cutler’s Relative Strength (RS). Calculated using the following:
- -> Cutler’s RS = SMA(gains,length) / SMA(losses,length)
- Step 4: Calculating the Cutler’s Relative Strength Index (RSI). Calculated used the following:
- -> RSI = 100 — [100/(1 + RS)]
I have added some signals and filtering options with moving averages:
- Trend OB/OS: Uptrend after above Overbought Level. Downtrend after below Oversold Level.
- OB/OS: When above Overbought, or below oversold
- 50-Cross: Above 50 line is uptrend, below is downtrend
- Direction: Moving up or down
- RSI vs MA: RSI above MA is an uptrend, RSI below MA is a downtrend
The signals I added are just some potential ideas, always backtest your own strategies.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
tanhef.com/
Scripts and content from TanHef are solely for information and education. Past performance does not guarantee of future results.
Scripts and content from TanHef are solely for information and education. Past performance does not guarantee of future results.
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
tanhef.com/
Scripts and content from TanHef are solely for information and education. Past performance does not guarantee of future results.
Scripts and content from TanHef are solely for information and education. Past performance does not guarantee of future results.
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。