波段王壹号指标 通达信公式(附图)

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

VARA:=LLV(LOW,35);
VARB:=HHV(HIGH,30);
VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25;
QS:=VARC,COLORWHITE;
STICKLINE(VARC<10 && 100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))>97,0,25,0,0),COLORYELLOW;
STICKLINE(VARC>90,100,85,0,0),COLORRED;
VARD:=87.5;
VARE:=(VARC-LLV(VARC,4))/(HHV(VARC,4)-LLV(VARC,4))*4*25;
DRAWTEXT((CROSS(QS,VARD) && VARE=100,50,0),56,'目标');
DRAWTEXT((CROSS(VARD,QS),87,0),85,'跑');
DRAWTEXT((CROSS(QS,VARE) && QS>87,87,0),70,'卖');
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR8:=LLV(LOW,30);
VARAA:=HHV(HIGH,30);
B:=EMA((VAR6-VAR8)/(VARAA-VAR8)*100,8);
B1:=EMA(B,5);
STICKLINE(B>0 && B-B1>=0,79,80,0,0),COLORWHITE;
STICKLINE(B>0 && B-B1<0,79,80,0,0),COLORCYAN;
STICKLINE(B>0 && B-B1>=0,49,50,0,0),COLORRED;
STICKLINE(B>0 && B-B1<0,49,50,0,0),COLORRED;
STICKLINE(B>0 && B-B1>=0,19,20,0,0),COLORWHITE;
STICKLINE(B>0 && B-B1<0,19,20,0,0),COLORCYAN;
STICKLINE(B-B1>0,B,B1,1,0),COLORRED;
STICKLINE(B-B1<0,B,B1,1,0),COLORWHITE;
V1:=(2*CLOSE+HIGH+LOW)/4; V2:=LLV(LOW,21);
VA:=HHV(HIGH,34);
FB:=EMA((V1-V2)/(VA-V2)*100,13);
FBB:=EMA((0.667*REF(FB,1)+0.333*FB),2);
ZLX:EMA(0.382*REF(FB,2)+0.618*FB,12),COLORYELLOW;

14O2531X330-45363.jpg

14O2531X330-45363.jpg

 

回复

使用道具 举报

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

本版积分规则