通达信画蛇添足主图指标公式

2024-04-29 12:00发布

周:=C#WEEK;CL:=L#WEEK;RC:=C#WEEK;ZF:=(CL-RC)/RC*100;DRAWTEXT(CURRBARSCOUNT=3,RC*0.998,STRCAT('周涨%',CON2STR(ZF,2))),COLORFFFFFF;M:=BARSCOUNT(CLOSE)>31; ISCOLOR:=IF(周<>REF(周,1) OR M=0,1,0); DIS0:=IF(M=0 OR NOT(ISCOLOR),0,0); DIS:=SUM(DIS0,0);NUM:=COUNT(ISCOLOR,0)+DIS;PD0:=ISCOLOR AND MOD(NUM,4)=0;PD1:=ISCOLOR AND MOD(NUM,4)=1;PD2:=ISCOLOR AND MOD(NUM,4)=2;PD3:=ISCOLOR AND MOD(NUM,4)=3; HH:=CONST(HHV(H,360));LL:=CONST(LLV(L,360));STICKLINE(ISCOLOR AND MOD(NUM,4)=0,HH,LL,0,-1),COLOR0000FF;STICKLIN
 解锁全文需 1  财富值,免费注册即送20财富值!