Rashad

SMART RSI

Similar to RSI in concept, but with a few enhancements!

Improvements over the standard RSI indicator?

1. Adaptive Decision Boundaries:
Who says 70-30 are the best decision boundaries to use for trading off of the RSI indicator? Why not 80-20, or another combination? Is 70-30 still the best when you shorten or lengthen the RSI indicator's look-back window? What about when you change the time frame? I wondered this for a while too, and thats what inspired me to create this indicator! Instead of using fixed lines for the boundaries, the boundaries are calculated based off of a user specified percentile. What this means is that the reference lines are calculated by looking at the values the RSI indicator took over some look back window, and calculating an upper and lower bound where the RSI actually stayed n% of the time over that look-back window. The default parameter given for this argument is 90. What that means is over the last n days, the RSI indicator spent 90% of it's time between the upper and lower bound.

2. Smoothing The RSI Indicator:
The RSI indicator on smaller time windows tends to be very noisy. However a simple linear regression over a short time period on the RSI indicator helps to cancel out this noise without losing too much information. This makes cross-overs more meaningful as they are less likely to happen due to small deviations. In addition, it also paints a smoothed picture of the price momentum that is easy and pleasant to read. The reference lines are also smoothed.

3. Color Coding Crosses When They Happen!
Wouldn't it be great if your software highlights cross overs when they happen for you so you would not have to go back over your chart and identify it for yourself? Well this software does! It paints red behind the indicator when the RSI indicator goes above the upper reference line, and paints blue when the RSI goes below the lower reference line.

The default parameters were selected based on what I feel is useful for daily candles on BTCUSD. However you are free to change the parameters as you see fit for different securities and time frames.

开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?