PROTECTED SOURCE SCRIPT
已更新 TriWMA (Rolling)

TriWMA (Rolling)
Compute rolling volume-weighted, time-weighted, and TrueRange-weighted moving averages plus dynamic bands over a specified lookback window.
Metrics
• VWMA: Rolling volume-weighted moving average (hlc3 × volume) over the lookback window
• TWMA: Rolling time-weighted moving average (ohlc4) over the lookback window
• TrueWMA: Rolling TrueRange-weighted moving average (TrueMid × TrueRange) over the lookback window
• Bands: Upper and lower envelopes at ±mult × volatility (or ±mult % of WMA in percent mode)
• Lagged SMA: SMA from lookback bars ago
Toggle Options
• Show VWMA | Show V-Bands
• Show TWMA | Show T-Bands
• Show TrueWMA | Show True-Bands
• Show Lagged SMA | Bold Lagged SMA | Shade Between Bands
Underlying Calculations
VWMA
• hlc3 = (high + low + close) ÷ 3
• VWMA = sum(hlc3 × volume, lookback) ÷ sum(volume, lookback)
TWMA
• ohlc4 = (open + high + low + close) ÷ 4
• TWMA = sum(ohlc4, lookback) ÷ lookback
TrueWMA
• range = TrueRange
• mid = TrueMid
• TrueWMA = sum(mid × range, lookback) ÷ sum(range, lookback)
Volatility & Lookback
• Method: Std Dev, MAD, ATR-scaled, Percent
• Lookback bars: number of bars for volatility lookback
Band Widths & Edges
• width = multiplier × volatility (or WMA × mult / 100 in percent mode)
• upper = WMA + width
• lower = WMA − width
Compute rolling volume-weighted, time-weighted, and TrueRange-weighted moving averages plus dynamic bands over a specified lookback window.
Metrics
• VWMA: Rolling volume-weighted moving average (hlc3 × volume) over the lookback window
• TWMA: Rolling time-weighted moving average (ohlc4) over the lookback window
• TrueWMA: Rolling TrueRange-weighted moving average (TrueMid × TrueRange) over the lookback window
• Bands: Upper and lower envelopes at ±mult × volatility (or ±mult % of WMA in percent mode)
• Lagged SMA: SMA from lookback bars ago
Toggle Options
• Show VWMA | Show V-Bands
• Show TWMA | Show T-Bands
• Show TrueWMA | Show True-Bands
• Show Lagged SMA | Bold Lagged SMA | Shade Between Bands
Underlying Calculations
VWMA
• hlc3 = (high + low + close) ÷ 3
• VWMA = sum(hlc3 × volume, lookback) ÷ sum(volume, lookback)
TWMA
• ohlc4 = (open + high + low + close) ÷ 4
• TWMA = sum(ohlc4, lookback) ÷ lookback
TrueWMA
• range = TrueRange
• mid = TrueMid
• TrueWMA = sum(mid × range, lookback) ÷ sum(range, lookback)
Volatility & Lookback
• Method: Std Dev, MAD, ATR-scaled, Percent
• Lookback bars: number of bars for volatility lookback
Band Widths & Edges
• width = multiplier × volatility (or WMA × mult / 100 in percent mode)
• upper = WMA + width
• lower = WMA − width
發行說明
updated chart受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。