PROTECTED SOURCE SCRIPT
已更新 SwRp - TWMA + Multi BB

SwRp – TWMA + Multi Bands combines a Time-Weighted Moving Average with multi-standard-deviation bands to create a smooth, adaptive structure for tracking trend strength and volatility. The entire calculation is timeframe-aware, allowing you to shift the logic to any higher or lower timeframe while still viewing it on your chart.
This tool includes seven source modes, including a unique High + Low + HL2 option that plots three separate TWMA centres with their own deviation bands. You can switch between single-source, pair mode, or triple-source visualization depending on what you want to study.
Key Features
• TWMA smoothing: Adjustable weighted percentage for stronger trend clarity.
• Up to 5 deviation bands: Multi-level Bollinger-style bands for each source.
• Triple-source mode: High, Low, and HL2 each generate their own centres and bands.
• Pair mode controls: Show only centres, only a chosen σ level, or both.
• Flexible fills:
– Fill all levels up to a chosen deviation
– Or fill only one specific band
– Separate centre-fill when viewing TWMA pairs
• Timeframe-aware computing: Use any custom timeframe for the TWMA and band calculations.
Support & Resistance Visualization
The multiple deviation layers act as dynamic support and resistance zones.
Price often reacts, stalls, or reverses around these bands. The script makes it easy to see:
• Which band the price is respecting
• Whether volatility is compressing or expanding
• Where pullbacks are finding support
• Where rallies are facing resistance
• How the High, Low, and HL2 structures behave relative to each other
This makes it especially helpful for identifying high-probability entries, reversals, and continuation points.
Best For
• Intraday and swing traders
• Nifty, BankNifty, indices, futures.
This tool includes seven source modes, including a unique High + Low + HL2 option that plots three separate TWMA centres with their own deviation bands. You can switch between single-source, pair mode, or triple-source visualization depending on what you want to study.
Key Features
• TWMA smoothing: Adjustable weighted percentage for stronger trend clarity.
• Up to 5 deviation bands: Multi-level Bollinger-style bands for each source.
• Triple-source mode: High, Low, and HL2 each generate their own centres and bands.
• Pair mode controls: Show only centres, only a chosen σ level, or both.
• Flexible fills:
– Fill all levels up to a chosen deviation
– Or fill only one specific band
– Separate centre-fill when viewing TWMA pairs
• Timeframe-aware computing: Use any custom timeframe for the TWMA and band calculations.
Support & Resistance Visualization
The multiple deviation layers act as dynamic support and resistance zones.
Price often reacts, stalls, or reverses around these bands. The script makes it easy to see:
• Which band the price is respecting
• Whether volatility is compressing or expanding
• Where pullbacks are finding support
• Where rallies are facing resistance
• How the High, Low, and HL2 structures behave relative to each other
This makes it especially helpful for identifying high-probability entries, reversals, and continuation points.
Best For
• Intraday and swing traders
• Nifty, BankNifty, indices, futures.
版本注释
V2版本注释
V3受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。