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 aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.