20191114833276358.png
DRAWGBK(C>O,RGB(60,0,0),RGB(0,0,0),1,2,1);
DRAWTEXT_FIX(1,0.88,5,0,'~☆~~☆~'),COLORRED;
DRAWKLINE(H,O,L,C);
ZT:=REF(C,1)*1.1-C<0.01 AND H=C;{涨停}
高位:COST(99.9),COLORBROWN;
主力底仓:COST(1),COLORWHITE,LINETHICK2;
上突破:=高位>REF(高位,1) AND REF(高位,1)<=REF(高位,2);
下突破:=高位<=REF(高位,1) AND REF(高位,1)>REF(高位,2);
高点:DRAWLINE(上突破,REF(高位,1),REF(上突破,1),REF(REF(高位,1),1),1)COLORRED, LINETHICK2;
前高:DRAWLINE(下突破,高位,REF(下突破,1),REF(高位,1),1)COLORWHITE, LINETHICK2;
龙头启动:=CROSS(C,高点) OR CROSS(C,前高) AND ZT;
突破:=CROSS(C,前高);
DRAWTEXT(龙头启动,L,'↖龙头启动'),COLORGREEN;
DRAWTEXT(突破,H,'★'),COLORYELLOW; |