OPEN-SOURCE SCRIPT

SuperTrend Corregido

175
This script implements a SuperTrend indicator based on the Average True Range (ATR). It is designed to help traders identify trend direction and potential buy/sell opportunities with visual signals on the chart.

🔧 Key Features:
ATR-Based Trend Detection: Calculates trend shifts using the ATR and a user-defined multiplier.

Buy/Sell Signals: Displays "Buy" and "Sell" labels directly on the chart when the trend changes direction.

Visual Trend Lines: Plots green (uptrend) and red (downtrend) SuperTrend lines to highlight the current market bias.

Trend Highlighting: Optionally fills the background to emphasize whether the market is in an uptrend or downtrend.

Customizable Settings:

ATR period and multiplier

Option to switch ATR calculation method

Toggle for signal visibility and trend highlighting

🔔 Alerts Included:
SuperTrend Buy Signal

SuperTrend Sell Signal

SuperTrend Direction Change

This indicator is useful for identifying entries and exits based on trend momentum and can be used across various timeframes.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.