股市黑洞波段指标 通达信公式(附图)

[复制链接]
查看178 | 回复0 | 2021-8-20 18:59:27 | 显示全部楼层 |阅读模式

DRAWGBK(C>0, RGB(36,28,36),RGB(1,0,1),0,'0',0);
0,COLORYELLOW;
VAR1:=(CLOSE*2+HIGH+LOW)/4;
SK:=EMA(VAR1,13)-EMA(VAR1,34);
SD:=EMA(SK,34);
DF:=(SK-SD);
KF:=(-1)*(SK-SD);
{0上跌}
STICKLINE(DF>KF,DF,0,2.5,0),COLORFF7700;
STICKLINE(DF>KF,DF,0,1.5,0),COLORFFAA22;
STICKLINE(DF>KF,DF,0,0.5,0),COLORCYAN;
{0上升}
STICKLINE(DF>KF AND DF>REF(DF,1),DF,0,2.5,0),COLOR00AAFF;
STICKLINE(DF>KF AND DF>REF(DF,1),DF,0,1.5,0),COLOR00CCFF;
STICKLINE(DF>KF AND DF>REF(DF,1),DF,0,0.5,0),COLORYELLOW;
{0下跌}
STICKLINE(DF<KF,0,-KF,2.5,0),COLORFF7700;
STICKLINE(DF<KF,0,-KF,1.5,0),COLORFFAA22;
STICKLINE(DF<KF,0,-KF,0.5,0),COLORCYAN;
{0下升}
STICKLINE(DF<KF AND DF>REF(DF,1),0,-KF,2.5,0),COLOR00AAFF;
STICKLINE(DF<KF AND DF>REF(DF,1),0,-KF,1.5,0),COLOR00CCFF;
STICKLINE(DF<KF AND DF>REF(DF,1),0,-KF,0.5,0),COLORYELLOW;

14O616142E0-122a.jpg

14O616142E0-122a.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则