通达信七上八下主图指标公式

[复制链接]
查看84 | 回复0 | 2021-8-20 11:15:17 | 显示全部楼层 |阅读模式

MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
ZT:=C/REF(C,1)>1.097;
XH:=FILTER(ZT,13);
BH:=BARSLAST(ZT);
CZ:=REF(H,BH)-REF(L,BH);
VARZT:=BARSLAST(C/REF(C,1)>1.097);
STICKLINE(VARZT=2,L*0.97,L*0.98,6,0),COLORRED;
DRAWTEXT(VARZT=2,L*0.95,'7上'),COLORRED;
STICKLINE(VARZT=4,H*1.03,H*1.02,8,0),COLOR006600;
DRAWTEXT(VARZT=4,H*1.06,'8下'),COLORYELLOW;
STICKLINE(VARZT=7,L*0.97,L*0.98,8,0),COLORRED;
DRAWTEXT(VARZT=7,L*0.95,'7上'),COLORRED;
STICKLINE(VARZT=12,H*1.03,H*1.02,8,0),COLOR006600;
DRAWTEXT(VARZT=12,H*1.06,'8下'),COLORYELLOW;
STICKLINE(VARZT=20,L*0.97,L*0.98,8,0),COLORRED;
DRAWTEXT(VARZT=20,L*0.95,'7上'),COLORRED;
STICKLINE(VARZT=33,H*1.03,H*1.02,8,0),COLOR006600;
DRAWTEXT(VARZT=33,H*1.06,'8下'),COLORYELLOW;
STICKLINE(VARZT=54,L*0.97,L*0.98,8,0),COLORRED;
DRAWTEXT(VARZT=54,L*0.95,'7上'),COLORRED;
STICKLINE(VARZT=88,H*1.03,H*1.02,8,0),COLOR006600;
DRAWTEXT(VARZT=88,H*1.06,'8下'),COLORYELLOW;
STICKLINE(VARZT=143,L*0.97,L*0.98,8,0),COLORCCFFFF;
DRAWTEXT(VARZT=143,L*0.95,'7上'),COLORYELLOW;
STICKLINE(VARZT=232 ,H*1.03,H*1.02,8,0),COLORFF0033;
DRAWTEXT(VARZT=232,H*1.06,'8下'),COLORYELLOW;
STICKLINE(VARZT=376,L*0.97,L*0.98,8,0),COLORFF9966;
DRAWTEXT(VARZT=376,L*0.95,'7上'),COLORYELLOW;

202108201113.jpg

202108201113.jpg

 

回复

使用道具 举报

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

本版积分规则