所属板块:=STRCAT('所属板块: ',STRCAT(STRCAT(STRCAT(' 【行业】:',HYBLOCK),STRCAT(' 【地域】:',DYBLOCK)),STRCAT(' 【概念】:',GNBLOCK)));
DRAWTEXT_FIX(O>0,0.005,0.00,0,所属板块);
C2:=REF(C,1);
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,0.5,0),COLORBLUE;{黄色涨停}
STICKLINE(涨停,H,L,0,0),COLORBLUE;
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,0.5,0),COLORRED;{跌停}
STICKLINE(跌停,H,L,0,1),COLORRED;
实体腰价O+C)/2,NODRAW,COLORBLACK;
实体上三一价:MAX(O,C)-ABS(O-C)/3,NODRAW,COLORBLACK;
实体下三一价:MIN(O,C)+ABS(O-C)/3,NODRAW,COLORBLACK;
价柱腰价L+H)/2,NODRAW,COLORBLACK;
价柱上三一价:MAX(H,L)-(H-L)/3,NODRAW,COLORBLACK;
价柱下三一价:MIN(H,L)+(H-L)/3,NODRAW,COLORBLACK;
{21位画线}
FLAG:=ABS(C-O)/IF((H-L) = 0,100,H-L);
ZHANGF:=ABS(C-O)/O;
WEI21:IF(CODELIKE('9999'),(H-L)*0.5+L,IF(C>O,(C-O)*0.5+O,(O-C)*0.5+C)),NODRAW;
STICKLINE(ZHANGF>=0.03 && FLAG >= 0.03,WEI21,WEI21,-1,0),COLORBLUE;
|