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. اقرأ المزيد في شروط الاستخدام.