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.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.