当前位置:→ 公式网 > 其他公式 > 分析家公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是主力动作(无源码的请下载附件导入)
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- {主力动作}
- n:=5.
- Var3:=ema(amount,13)/ema(v,13)/100;;
- 市场盈亏:=(CLOSE-Var3)/Var3*100;
- 乖离:=(CLOSE-MA(CLOSE, 5))/MA(CLOSE, 5)*100;
- 买卖点:IF(乖离>=10, 乖离, 0), VOLSTICK;
- IF(REF(市场盈亏, 3)-REF(市场盈亏, 2)<=REF(市场盈亏, 2)-REF(市场盈亏, 1) AND
- REF(市场盈亏, 2)-REF(市场盈亏, 1)>REF(市场盈亏, 1)-市场盈亏 AND 市场盈亏<=(-12), 乖离, 0), VOLSTICK;
- Var5:=VOL/CAPITAL*100;
- Var6:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;
- Var7:=(HIGH-LOW)/REF(CLOSE, 1)*100;
- Var8:=ABS(WINNER(CLOSE)-WINNER(OPEN))*100;
- Var9:=-ABS(WINNER(CLOSE)-WINNER(OPEN))*100;
- Var10:=IF(CLOSE>REF(CLOSE, 1), Var8, Var9);
- Var11:=ABS(WINNER(CLOSE)-WINNER(OPEN))*100;
- Var12:=ABS((OPEN-REF(CLOSE, 1))/REF(CLOSE, 1)*100);
- Var13:=IF(Var5>=2, Var5, 2);
- Var14:=VOL/MA(VOL, 5);
- Var15:=(Var10+Var7)*Var14/Var13;
- 主力动作:IF(ABS(Var6)>=1, Var15, 0), VOLSTICK;
- IF(Var5>=3, Var15, 0), COLORSTICK;
- IF(Var7>=4, Var15, 0), COLORSTICK;
- IF(Var11>=20, Var15, 0), COLORSTICK;
- IF(Var12>=1, Var15, 0), COLORSTICK;
- DRAWTEXT(市场盈亏<=(-19), 市场盈亏, '动作');
- DRAWTEXT(市场盈亏<=(-16) AND 市场盈亏>(-19), 市场盈亏, '主力动作');
- DRAWTEXT(Var15>=19, 20, '动作');
上一篇:原创主力散户博弈指标 下一篇:黑马跟踪