OPEN-SOURCE SCRIPT
Mis à jour

True Range Orginal

475
📌 Description – True Range Original
This indicator calculates the range (price spread) of the last N candles and displays it directly on the chart, along with suggested dynamic stop-loss levels based on recent volatility. Ideal for scalpers and day traders working on short timeframes such as 1-minute charts.

🔍 Features:
Calculates the difference between the highest high and lowest low of the last N bars (default: 15).

Plots a floating label with the current range value, updated every 5 candles.

Displays 4 dynamic stop levels:

For long positions:

Stop at 1x range (green line)

Stop at 1.5x range (light green line)

For short positions:

Stop at 1x range (red line)

Stop at 1.5x range (dark red line)

⚙️ Inputs:
Range period (number of bars)

Stop multiplier 1 (default: 1.0)

Stop multiplier 2 (default: 1.5)

📈 Usage:
This tool helps you size your stop-loss dynamically based on recent price action instead of using fixed values. It can be used alone or in combination with other tools like support/resistance, volume, or aggression indicators.
Notes de version
Fix Bugs.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.