OPEN-SOURCE SCRIPT
Compression Master

The Compression Master v2.0 is a sophisticated volatility and structural analysis tool specifically designed to identify institutional "coiling" phases—periods where market energy is building up for an explosive expansion.Unlike standard breakout indicators, it combines mathematical volatility (Squeeze), structural price action (VCP), and institutional conviction (RVOL) into a single visual suite.Core Logic PillarsThe indicator operates on three distinct layers of market behavior:The "Squeeze" (Mathematical Coil): It constantly calculates the relationship between Bollinger Bands (which measure standard deviation) and Keltner Channels (which measure Average True Range). When the Bollinger Bands tuck inside the Keltner Channels, the market is officially in a "Squeeze," represented by the Orange Background. This indicates the market is "coiling" like a spring.The VCP & Inside Bar (Structural Tightness):Following Mark Minervini’s "Volatility Contraction Pattern" logic, the script looks for shrinking price ranges.VCP Labels: Appear when short-term volatility is significantly lower than long-term volatility, signaling that pullbacks are getting smaller (supply is drying up).Yellow Dots: Highlight "Inside Bars," where price is completely contained within the previous candle. A string of yellow dots represents the absolute apex of compression.The RVOL Filter (Institutional Validation):This is the "fraud detector." To prevent you from entering a false breakout (head-fake), the "BIG MOVE" signal will only fire if the breakout candle has a Relative Volume (RVOL) of 1.5x or higher. This ensures that big money is actually behind the move.Visual LegendElementVisualMeaningOrange BackgroundShaded ZoneSqueeze Active: The market is coiling; volatility is at extreme lows.VCP LabelBlue TextShrinkage: Price swings are getting progressively tighter (Supply Absorption).Yellow DotSmall CircleInside Bar: Price action is "flatlining" for extreme short-term compression.Green/Red TriangleLarge IconBIG MOVE: High-probability breakout confirmed by both price and RVOL.DashboardTop RightReal-Time Stats: Shows current Squeeze status and exact RVOL multiplier.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。