OPEN-SOURCE SCRIPT
China A-Share Long Trend Resonance System (CLR System)

Description (for TradingView public release)
The China A-Share Long Trend Resonance System (CLR System) is a long-only trend-following strategy designed specifically for A-share equities, where short selling is not assumed in practical retail conditions.
This system focuses on capturing sustained bullish trends by combining multi-factor trend confirmation and momentum resonance across different market conditions. It is built around the principle that strong trends in A-shares are typically driven by alignment of trend structure, momentum strength, and market regime.
Key Features:
Long-only design, fully adapted for A-share market structure
Multi-layer trend confirmation (trend + momentum + volatility filters)
Designed to avoid sideways market noise and reduce whipsaw trades
Emphasizes trend continuation entries rather than prediction
Built-in position management logic (scaling in / scaling out optional)
Suitable for index ETFs and liquid large/mid-cap stocks
Core Logic Philosophy:
The strategy identifies “resonance zones” where multiple technical conditions align, indicating high probability trend continuation. Instead of chasing tops or bottoms, it aims to participate in the middle phase of strong trends.
Market Suitability:
A-share stocks (long-only environment)
Index ETFs (e.g., CSI 300, SSE 50, ChiNext ETF)
Medium to high liquidity instruments
Risk Note:
This strategy does not guarantee profits and should be used with proper risk management. It is designed for systematic trend participation rather than short-term speculation.
The China A-Share Long Trend Resonance System (CLR System) is a long-only trend-following strategy designed specifically for A-share equities, where short selling is not assumed in practical retail conditions.
This system focuses on capturing sustained bullish trends by combining multi-factor trend confirmation and momentum resonance across different market conditions. It is built around the principle that strong trends in A-shares are typically driven by alignment of trend structure, momentum strength, and market regime.
Key Features:
Long-only design, fully adapted for A-share market structure
Multi-layer trend confirmation (trend + momentum + volatility filters)
Designed to avoid sideways market noise and reduce whipsaw trades
Emphasizes trend continuation entries rather than prediction
Built-in position management logic (scaling in / scaling out optional)
Suitable for index ETFs and liquid large/mid-cap stocks
Core Logic Philosophy:
The strategy identifies “resonance zones” where multiple technical conditions align, indicating high probability trend continuation. Instead of chasing tops or bottoms, it aims to participate in the middle phase of strong trends.
Market Suitability:
A-share stocks (long-only environment)
Index ETFs (e.g., CSI 300, SSE 50, ChiNext ETF)
Medium to high liquidity instruments
Risk Note:
This strategy does not guarantee profits and should be used with proper risk management. It is designed for systematic trend participation rather than short-term speculation.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.