N:100 NODRAW ; 高:IF(CURRBARSCOUNT<=N,CONST(HHV(H,N)),DRAWNULL),COLORGREEN ; 低:IF(CURRBARSCOUNT<=N,CONST(LLV(L,N)),DRAWNULL),COLORYELLOW; NOTEXT中:低+(高-低)/2 COLORWHITE; 漲幅:((C-低)/(高-低))*100 NODRAW COLORFF00FF; 漲天數(shù):LLVBARS(L,100)COLORWHITE NODRAW; 跌幅:((C-高)/(高-低))*100 NODRAW COLORD9D919; 跌天數(shù):HHVBARS(H,100)COLORWHITE NODRAW; DRAWTEXT(ISLASTBAR,(高-(高-低)/50),STRCAT('',CON2STR(高-(高-低)/50,2))),COLORWHITE; DRAWTEXT(ISLASTBAR,(NOTEXT中),STRCAT('',CON2STR(NOTEXT中,2))),COLORWHITE; DRAWTEXT(ISLASTBAR,(低),STRCAT('',CON2STR(低,2))),COLORWHITE; MA5:MA(C,5),COLORYELLOW; NOTEXT5:IF((C<=MA5 OR MA5<=REF(MA5,1)),MA5,DRAWNULL),COLORFFFF00; 振幅:((高-低)/低)*100 NODRAW COLORGREEN; 均周月:INBLOCK('均周')AND INBLOCK('均月') COLORWHITE NODRAW; 逃周月:INBLOCK('逃周')AND INBLOCK('逃月')NODRAW COLORYELLOW; BK:=IF(INBLOCK('科創(chuàng)板'),0.2,IF(INBLOCK('創(chuàng)業(yè)板'),0.2,IF(INBLOCK('ST板塊'),0.05,0.1))); XA_1:=IF(DATE<=1200823,1,0); STICKLINE((C>=ZTPRICE(REF(CLOSE,1),0.1) AND C=H) AND XA_1=1,O,C,3,0),COLORYELLOW; STICKLINE((C<=DTPRICE(REF(CLOSE,1),0.1) AND C=L) AND XA_1=1,O,C,3,0),COLORED9564; STICKLINE((C>=ZTPRICE(REF(C,1),BK) AND C=H),C,O,3,0),COLORYELLOW; STICKLINE((C<=DTPRICE(REF(C,1),BK) AND C=L),C,O,3,0),COLORED9564; 2020-12-12 18:02:56 |
|