Install
openclaw skills install @caoling7878-arch/yanji-tech-indicatorsopenclaw skills install @caoling7878-arch/yanji-tech-indicators⚠️ 数据来源与限制(重要披露): 本Skill的所有指标(MACD/RSI/KDJ/布林带/均线等)均由标准数学公式基于输入K线数据计算得出;若输入为模拟/示例K线(如网络不可用时的回退数据),输出即为对应示例结果,非真实行情结论。 结果仅用于课程教学演示,不构成投资建议。
基于K线数据计算常用技术指标:
python3 {baseDir}/scripts/calc_indicators.py [--code sh600519] [--indicators macd,rsi,kdj,boll] [--output json|text]
{
"code": "sh600519",
"name": "贵州茅台",
"date": "2026-07-03",
"indicators": {
"macd": {"dif": 12.5, "dea": 8.3, "hist": 4.2, "signal": "金叉运行中"},
"rsi": {"rsi6": 62.5, "rsi12": 55.3, "rsi24": 48.7, "signal": "中性偏强"},
"kdj": {"k": 70.2, "d": 65.8, "j": 79.0, "signal": "偏多"},
"boll": {"mid": 1162.80, "upper": 1250.50, "lower": 1075.10, "bandwidth": 15.1, "position": "中轨上方"},
"ma_signal": "多头排列(MA5>MA10>MA20>MA60)",
"volume_signal": "量价配合良好"
},
"support_resistance": {
"support": [1150, 1120, 1080],
"resistance": [1200, 1250, 1300]
}
}