SMA +7 ATR Lines (Normal atr extension + jfserv version)

531
This script is a comparison study between two different ATR extension calculation methods from a chosen SMA (10, 21, or 50).
Purpose:
To visually compare the classic “Normal / Matrix Style” ATR extension (used in the ATR Matrix indicator) with the jfserv percentage-normalized method.
The Two Methods Compared:

Normal / Matrix Style (Orange Line)
Line = SMA + Multiplier × ATR
→ Classic dollar-based extension. Same formula used in the “ATR Matrix” script (f_lvl_from_sma(n) => sma50 + n * atr).
jfserv % Method (Red Line)
Line = SMA + Multiplier × ATR × (SMA / close)
→ Percentage-normalized approach. Adjusts the extension level based on the current price relative to the SMA.

Features:

Switch between SMA10, SMA21, or SMA50
Show one or both lines (both visible by default)
Background color based on chosen method
Adjustable ATR multiplier (default 7x)
Thicker lines (default width 4)
Fill zone and visual labels

Created by: @denis__hamel

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。