OPEN-SOURCE SCRIPT

Custom ATR + RSI with Colors

How It Works:

ATR Indicator:

ATR is calculated based on the selected smoothing method (RMA, SMA, or EMA).
The ATR line changes color dynamically based on whether it is above or below the user-defined threshold.
A horizontal dotted line marks the threshold level.

RSI Indicator:

RSI is calculated with the chosen smoothing method (SMA or EMA).
The line changes color dynamically based on its value relative to the four user-defined levels.
Includes a middle line (default: 50) to show the neutral RSI zone, displayed as a dashed line.

Custom Timeframes:

Both ATR and RSI can be configured to use the chart’s current timeframe or any custom interval.

How to Use:
Input Parameters:
Adjust ATR and RSI calculation settings, thresholds, levels, and colors in the input menu.
Visualization:
Observe ATR and RSI together on one chart with distinct colors and levels.
Analysis:
Use this combined indicator to identify volatility (ATR) and momentum (RSI) at the same time.
Average True Range (ATR)Relative Strength Index (RSI)Trend Analysis

開源腳本

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

想在圖表上使用此腳本?

免責聲明