OPEN-SOURCE SCRIPT

Custom RSI with Colors

How to Use
  1. Copy the script and paste it into the Pine Script Editor on TradingView.
  2. Save and click "Add to Chart."
  3. Adjust the parameters:

  • RSI Length: Change the calculation length.
  • RSI Method: Select between SMA and EMA for smoothing.
  • Levels and Colors: Define your four RSI thresholds and their corresponding colors.
  • Custom Timeframe: Specify a timeframe (e.g., 1D, 4H) or leave it blank to use the chart’s timeframe.

Explanation:
  • The RSI is calculated using the specified smoothing method.
  • Based on user-defined levels, the RSI line changes color dynamically.
  • Horizontal lines mark the levels for better visual reference.
Relative Strength Index (RSI)

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明