三金版跟庄神器主图指标 通达信公式(附图)

[复制链接]
查看73 | 回复0 | 2021-8-20 14:42:29 | 显示全部楼层 |阅读模式

跟庄:=REF(HHV(H,144),3);

神器:=REF(LLV(L,144),3);

bbs1:=跟庄-(跟庄-神器)*0.191;

bbs2:=跟庄-(跟庄-神器)*0.382;

bbs3:=跟庄-(跟庄-神器)*0.5;

bb4:=跟庄-(跟庄-神器)*0.618;

bb5:=跟庄-(跟庄-神器)*0.809;

主图:REFDATE(跟庄,DATE),POINTDOT,COLORCYAN;

tt1:=REFDATE(bbs1,DATE),POINTDOT,COLORYELLOW;

tt2:REFDATE(bbs2,DATE),POINTDOT,COLORYELLOW;

tt3:REFDATE(bbs3,DATE),POINTDOT,COLORWHITE;

tt4:REFDATE(bb4,DATE),POINTDOT,COLORYELLOW;

tt5:=REFDATE(bb5,DATE),POINTDOT,COLORYELLOW;

通达信:REF(EMA(C,14),1)COLORBLUE;

vss:=(EMA(C,14)-通达信)/通达信*100,NODRAW;

跟庄神器:IF(vss>=0,REF(EMA(C,14),BARSLAST(CROSS(vss,0))+1),DRAWNULL)COLORGREEN,LINETHICK2;

三金版:IF(vss<0,REF(EMA(C,14),BARSLAST(CROSS(0,vss))+1),DRAWNULL)COLORBLUE,LINETHICK2;

指标公式:IF(vss>=0,通达信,DRAWNULL)COLORGREEN;

STICKLINE(vss>=0,跟庄神器,通达信,0,-1)COLORGREEN;

STICKLINE(vss<0,三金版,通达信,0,-1)COLORBLUE;

STICKLINE(CROSS(vss,0),C,O,2,0)COLORGREEN;

STICKLINE(CROSS(0,vss),C,O,2,0)COLORBLUE;

16011I521240-46344.jpg

16011I521240-46344.jpg

回复

使用道具 举报

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

本版积分规则