PROTECTED SOURCE SCRIPT
Composite CCI-RSI Balance Line

⚠️ 请注意!!
本指标仅供技术分析参考,不构成任何投资建议。市场有风险,入市需谨慎。建议结合成交量(Volume)和关键支撑压力位共同使用。
🚀 简介
本指标是一款融合了改进型顺势指标 (CCI) 与 动态相对强弱指标 (RSI) 的复合型振荡器。它旨在通过双重动量验证,帮助交易者在复杂的市场波动中精准捕捉超买超跌信号,并识别趋势的强弱平衡点。
🛠️ 核心逻辑
加权价格 (TYP):不同于传统的 (H+L+C)/3,本指标采用了一套特定的条件逻辑来确定波动重心,更贴合K线实体的重心偏移。
改进型 CCI (周期: 36):通过对长周期 CCI 进行 2 周期的 EMA 平滑处理,过滤了细小的毛刺噪音,重点捕捉中期波段趋势。
动态平衡线 (RSI4):基于 6 周期 RSI 进行二次加工。当 RSI 处于 50 强弱分界线上方时,引入 1.05 的增益系数,用于放大上涨动能的观察窗口,直观展示多头强弱。
视觉警示系统:
粉色柱:CCI 突破 100 上轨,暗示进入强势超买拉升区。
黄色柱:CCI 跌破 -150 下轨,暗示进入极端超跌区域,存在反弹需求。
红色平衡线:实时监控市场多空平衡状态。
💡 如何使用
抄底机会:当指标出现黄色柱并开始回缩,且平衡线(红色)跌破低位后重新拐头向上,是潜在的超跌反弹信号。
追涨/持仓:当 CCI 处于 100 以上(粉柱) 且平衡线稳步运行在 80 以上时,表明处于强趋势阶段。
风险预警:当 CCI 从高位跌破 100 且平衡线脱离 100 高位向下时,应警惕趋势回调风险。
零轴参考:CCI 在零轴附近的波动可作为多空转换的初步参考。
🚀 Overview
The Composite CCI-RSI Balance Line is a sophisticated hybrid oscillator that combines a modified Commodity Channel Index (CCI) with a dynamic Relative Strength Index (RSI). It is designed to provide dual-layer momentum validation, helping traders pinpoint extreme overbought/oversold conditions while maintaining a clear view of the mid-term trend balance.
🛠️ Key Technical Logic
1.Weighted Price (TYP): Unlike the standard $(High + Low + Close) / 3$, this indicator uses a custom conditional logic to determine the "Price Center," which better accounts for candle body positioning and wick rejection.
2.Enhanced CCI (Length: 36): We use a 36-period CCI smoothed by a 2-period EMA. This reduces market noise while maintaining sensitivity to medium-term momentum shifts.
3.Dynamic Balance Line (RSI4): Derived from a 6-period RSI, this line applies a $1.05\times$ multiplier when RSI is above 50. This "amplification" logic makes it easier to visualize bullish strength and potential exhaustion as it approaches the 100 ceiling.
4.Visual Alert System:
Pink Columns: Triggered when CCI crosses above 100, signaling a strong bullish breakout/overbought phase.
Yellow Columns: Triggered when CCI drops below -150, signaling an extreme oversold condition or a deep "value" zone.
Red Balance Line: Acts as the "heartbeat" of the trend, tracking the 50-level pivot and extreme momentum.
💡 Trading Scenarios
Mean Reversion (Bottom Fishing): Look for Yellow Columns to appear and then shrink. If the Red Balance Line hooks upward from oversold levels, it suggests a high-probability reversal.
Trend Following: When the Pink Columns are active and the Balance Line stays pinned near 100, the market is in a "strong-stay-strong" phase.
Exit/Caution: A cross of the CCI back below 100, coupled with the Red Balance Line falling from its peak, often precedes a trend correction or consolidation.
本指标仅供技术分析参考,不构成任何投资建议。市场有风险,入市需谨慎。建议结合成交量(Volume)和关键支撑压力位共同使用。
🚀 简介
本指标是一款融合了改进型顺势指标 (CCI) 与 动态相对强弱指标 (RSI) 的复合型振荡器。它旨在通过双重动量验证,帮助交易者在复杂的市场波动中精准捕捉超买超跌信号,并识别趋势的强弱平衡点。
🛠️ 核心逻辑
加权价格 (TYP):不同于传统的 (H+L+C)/3,本指标采用了一套特定的条件逻辑来确定波动重心,更贴合K线实体的重心偏移。
改进型 CCI (周期: 36):通过对长周期 CCI 进行 2 周期的 EMA 平滑处理,过滤了细小的毛刺噪音,重点捕捉中期波段趋势。
动态平衡线 (RSI4):基于 6 周期 RSI 进行二次加工。当 RSI 处于 50 强弱分界线上方时,引入 1.05 的增益系数,用于放大上涨动能的观察窗口,直观展示多头强弱。
视觉警示系统:
粉色柱:CCI 突破 100 上轨,暗示进入强势超买拉升区。
黄色柱:CCI 跌破 -150 下轨,暗示进入极端超跌区域,存在反弹需求。
红色平衡线:实时监控市场多空平衡状态。
💡 如何使用
抄底机会:当指标出现黄色柱并开始回缩,且平衡线(红色)跌破低位后重新拐头向上,是潜在的超跌反弹信号。
追涨/持仓:当 CCI 处于 100 以上(粉柱) 且平衡线稳步运行在 80 以上时,表明处于强趋势阶段。
风险预警:当 CCI 从高位跌破 100 且平衡线脱离 100 高位向下时,应警惕趋势回调风险。
零轴参考:CCI 在零轴附近的波动可作为多空转换的初步参考。
🚀 Overview
The Composite CCI-RSI Balance Line is a sophisticated hybrid oscillator that combines a modified Commodity Channel Index (CCI) with a dynamic Relative Strength Index (RSI). It is designed to provide dual-layer momentum validation, helping traders pinpoint extreme overbought/oversold conditions while maintaining a clear view of the mid-term trend balance.
🛠️ Key Technical Logic
1.Weighted Price (TYP): Unlike the standard $(High + Low + Close) / 3$, this indicator uses a custom conditional logic to determine the "Price Center," which better accounts for candle body positioning and wick rejection.
2.Enhanced CCI (Length: 36): We use a 36-period CCI smoothed by a 2-period EMA. This reduces market noise while maintaining sensitivity to medium-term momentum shifts.
3.Dynamic Balance Line (RSI4): Derived from a 6-period RSI, this line applies a $1.05\times$ multiplier when RSI is above 50. This "amplification" logic makes it easier to visualize bullish strength and potential exhaustion as it approaches the 100 ceiling.
4.Visual Alert System:
Pink Columns: Triggered when CCI crosses above 100, signaling a strong bullish breakout/overbought phase.
Yellow Columns: Triggered when CCI drops below -150, signaling an extreme oversold condition or a deep "value" zone.
Red Balance Line: Acts as the "heartbeat" of the trend, tracking the 50-level pivot and extreme momentum.
💡 Trading Scenarios
Mean Reversion (Bottom Fishing): Look for Yellow Columns to appear and then shrink. If the Red Balance Line hooks upward from oversold levels, it suggests a high-probability reversal.
Trend Following: When the Pink Columns are active and the Balance Line stays pinned near 100, the market is in a "strong-stay-strong" phase.
Exit/Caution: A cross of the CCI back below 100, coupled with the Red Balance Line falling from its peak, often precedes a trend correction or consolidation.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.