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

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité