LL:=REF(L,1);HH:=REF(H,1);上跳:=L>HH;下跳:=H<LL;
ZT:=C/REF(C,1)>1.097;
ZT数:COUNT(ZT,BARSSINCE(ZT)),NODRAW;
{涨停红色}
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF>9.5,C,O,3.1,0),COLOR0000CC;
STICKLINE(ZDF>9.5,C,O,2.1,0),COLOR0000DD;
STICKLINE(ZDF>9.5,C,O,1.2,0),COLOR0000EE;
STICKLINE(ZDF>9.5,C,O,0.2,0),COLOR0000FF;
STICKLINE(ZDF>9.5,H,L,0,0),COLOR0000FF;
{跌停绿色}
STICKLINE(ZDF<-9.9,O,C,3.1,0),COLOR66CC66;
STICKLINE(ZDF<-9.9,O,C,2.1,0),COLOR77DD77;
STICKLINE(ZDF<-9.9,O,C,1.2,0),COLOR88EE88;
STICKLINE(ZDF<-9.9,O,C,0.2,0),COLOR99FF99;
STICKLINE(ZDF<-9.5,H,L,0,0),COLOR99FF99;
均价:=AMO/VOL/100;
假阴真阳:C<O AND C>REF(C,1);
{蓝};
DT:=假阴真阳;
STICKLINE(DT,H,L,0,0),COLORGREEN;
STICKLINE(DT,O,C,3,0),COLORGREEN;
STICKLINE(DT,O,C,2,0),COLORGREEN;
STICKLINE(DT,O,C,1,0),COLORGREEN;
STICKLINE(DT,O,C,0.1,0),COLORGREEN;
开盘刻度:REF(O,1) NODRAW;
收盘刻度:REF(C,1) NODRAW;
中段刻度开盘刻度+收盘刻度)/2 NODRAW;
三分一REF(C,1)-REF(O,1))/3+REF(O,1) NODRAW;
三分二:REF(C,1)-(REF(C,1)-REF(O,1))/3 NODRAW;
上:C,NODRAW;
中C+O)/2,NODRAW;
下:O,NODRAW;
HST:=REFX(C,1)>C AND REFX(C,2)>C AND REFX(C,3)>C AND C>O ;
STICKLINE(HST,C,O,0.6,0),COLORYELLOW;
|