animecummer

RSI Crayons

animecummer Güncellendi   
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.
Sürüm Notları:
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.
Sürüm Notları:
3-Nov-21: Added timeframe/gaps feature
Sürüm Notları:
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
Sürüm Notları:
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.
Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuyla, bu betiğin yazarı, yatırımcının anlayabilmesi ve doğrulayabilmesi için onu açık kaynak olarak yayınladı. Yazarın eline sağlık! Bunu ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları ile yönetilir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?