Install any skill in seconds. Free to start, no credit card required.
Get Started Free →aifinlab/a-share-trend-following
A股趋势跟踪策略/趋势强度分析。当用户说"趋势跟踪"、"trend following"、"趋势交易"、"顺势"、"趋势强度"、"ADX"、"均线策略"、"海龟策略"、"突破策略"时触发。基于 cn-stock-data 获取K线数据,构建趋势跟踪策略,分析趋势强度和方向。支持研报风格(formal)和快速分析风格(brief)。
Passed 13 of 18 test cases with the skill, and 10 of 18 without it.
and 2 more in the full report
4 fixed13 passed either way6 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 4 test cases the skill fixed. Same model, same prompt, with and without the skill.
假设五粮液(000858.SZ)价格处于均线上方,但当前ADX数值仅为18。请确定其确切的趋势分类名称。
| Checked | Without skill | With skill |
|---|---|---|
| Classifies regime explicitly as 弱上升趋势 | Missed | Passed |
The instructions your model reads when the skill loads.
通过 cn-stock-data skill 获取K线数据:
cn-stock-data kline 接口,获取 OHLCV 数据scripts/trend_follower.py 使用运行脚本:
python scripts/trend_follower.py --data kline.json --method all --fast 20 --slow 60
核心指标体系:
| 指标 | 用途 | 默认参数 |
|---|---|---|
| SMA/EMA 交叉 | 趋势方向判定 | fast=20, slow=60 |
| ADX/DMI | 趋势强度量化 | period=14 |
| Donchian Channel | 突破信号 | period=20 |
| ATR Trailing Stop | 动态止损 | period=14, multiplier=2.0 |
根据指标综合判定当前趋势regime:
ma_cross(均线交叉)、donchian(突破)、turtle(海龟)、all(综合)test cases passed, vs 10 / 18 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.