This simple script colors candles based on the Relative Strength Index. RSI Values > 50 are solid colors, RSI values < 50 are pastels, with additional colors/fills/alerts for overheated and oversold (both user adjustable thresholds) conditions.
As an added bonus, RSI can be calculated by non-traditional methods (not using the running/smoothed moving average) using a variety of different moving averages, but you may have to adjust the time-frame for 'faster' moving averages. An option for plotting the moving average basis is also available.
Value Added:
This indicator can be used to chart RSI without adding an "oscillator frame" to your chart, since we don't normally care too much about RSI values between 30 and 70 under normal conditions.
릴리즈 노트
31-Oct-21: Revised script to be more colorful, and to have intermediate values for colors that are not oversold/overheated condition while still retaining logic of up = green/yellowish and down = red/pink/pastel-ish.
릴리즈 노트
3-Nov-21: Added timeframe/gaps feature
릴리즈 노트
4-Nov-21: consolidated menu more, removed moving averages that don't calculate RSI correctly because of negative numbers (HMA/EHMA/TEMA/LSMA), added Rainbow Gradient
릴리즈 노트
21-nov: improved color scheme by adjusting the transparency of the candles based on 100 - math.floor(RSI value). Stronger displays as solid colors, weak as pastels.
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.