Stock Quantitative Analysis PRO: Dual Trend Resonance Stock Selection System
Paste the following prompt into your AI chat to install this skill:
Please install @user_8c7f0f65/stockanalysispro according to the official guide at https://skillhub.cn/install/skillhub.md.
About this skill
The Challenge of Trend Identification in Quantitative Stock Selection
In quantitative investing, relying on a single technical indicator (like a moving average crossover) for stock selection often leads to frequent false signals and lagging trend identification. Market noise can trigger invalid trades, while genuine trend movements require multi-dimensional signal resonance for confirmation. A robust system must not only detect patterns but also filter low-liquidity assets and assess the strength and sustainability of trends.
Core Capabilities and Workflow of the System
This skill employs a three-layer architecture to progressively filter stocks, ensuring those selected have a high probability of trending price action:
- Liquidity Pre-filtering: By default, it enforces a hard threshold requiring daily trading volume greater than
100 million, eliminating assets with poor liquidity from the start to avoid difficulties in capital entry/exit. This step uses theamountfield for filtering. - ADX Trend Strength Scoring: A native algorithm calculates the
ADXvalue without relying on TA-Lib. The system assigns scores based on theADXthreshold (default >20):
-ADX >40: Strong trend, +20 points
-ADX 30-40: Medium trend, +15 points
-ADX 20-30: Weak trend, +10 points - Technical Pattern Resonance Detection: Combines GMMA (Guppy Multiple Moving Averages) and Ichimoku Cloud for dual confirmation:
- GMMA Bullish Alignment: Short-term moving average group > long-term group, with divergence >2%, ensuring the trend is diverging rather than converging, +30 points.
- Cloud Analysis (9-26-52 Parameters): Price above the cloud's upper band (+20 points), conversion line > base line (+15 points), TK golden cross on the day (+5 points), cloud thickness >3% (+5 points).
Finally, the system aggregates all condition scores (out of 100) and outputs a S/A/B/C four-level signal rating, along with dynamically calculated stop-loss levels. For example, S-level (90+ points) indicates a strong recommendation, while C-level (<60 points) means the stock is dismissed.
Key Implementation Details and Applicability
- Data Requirements: At least
60 trading daysof forward-adjusted K-line data (includingOHLCV+Amountfields). Supports Tongdaxin local data (automatically scansvipdocdirectories) and CSV file scanning. - Adjustable Parameters: Liquidity threshold (
liquidity) and ADX threshold (adx_threshold) can be tuned via interface parameters to adapt to different market conditions. - Automatic Filtering: By default, it excludes stocks on the STAR Market (starting with
688) and BSE (starting with8) to mitigate volatility risks. - Caveats: This system is a quantitative analysis tool, and its outputs are for reference only. Markets carry systemic risks, and no signal should be construed as investment advice. Ensure data sources are accurate and timely when using this skill.
Use Cases
- After each market close, scan the entire A-share market using Tongdaxin local data, automatically exclude STAR Market and BSE stocks, and identify stocks meeting GMMA bullish alignment and strong ADX trend criteria to generate S/A/B/C signal lists for next-day trading.
- Perform batch analysis on a set of CSV historical stock data, filtering through liquidity thresholds (e.g., 100 million turnover) and ADX trend strength to quickly identify stocks with trend resonance characteristics for investment portfolio backtesting.
- When developing quantitative trading strategies, integrate this skill as a signal source via API calls to obtain individual stock scores and dynamic stop-loss levels for embedding into the risk control module of an automated trading system.
- During in-depth analysis of individual stocks, invoke the skill to analyze K-line data of 60 days or more, combining Ichimoku Cloud thickness and GMMA divergence to assess current trend strength and determine appropriate position sizing (e.g., 20% for S-level signals).
Best For
- Individual quantitative traders: Need to scan stock pools daily and filter high-probability trading opportunities based on multi-indicator resonance to execute short-term or swing strategies.
- Financial data analysts: Responsible for processing and analyzing historical stock data, using quantitative tools to generate trend signal reports that assist in investment decisions or create analytical briefs for clients.
- Quantitative strategy developers: Building automated trading systems and requiring integration of a reliable signal generation module that provides ratings and stop-loss calculations to refine strategy logic.
- Risk management specialists: Within institutional portfolios, need to dynamically adjust holdings and set stop-loss levels based on liquidity filtering and trend strength assessment to control downside risk.
Related Skills
Systematically identify and evaluate the economic moats of listed companies using the Tang Shu Fang investment methodology for long-term investment analysis.
A skill that converts natural language questions into A-stock data queries and returns verifiable structured analysis conclusions, covering multi-dimensional analysis of market trends, fundamentals, and news.
An AI financial copilot by Wind, integrating financial databases and multimodal analysis to provide end-to-end support across investment research, asset allocation, risk control, quant, and report generation.
Searches for latest policies and generates GB/T 9704-2020 compliant official documents (requests or reports) in Word and PDF formats.