PROTECTED SOURCE SCRIPT

Supertrend

67
This script does the following:

👉 It calculates an upper and lower band based on ATR (Average True Range).
👉 When the price breaks these bands, it signals that the trend has changed.

In short:

If the price is above the upper band → UPTREND (green)

If the price is below the lower band → DOWNTREND (red)

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.