|
K11:=SUMBARS(高量不破,1);
STICKLINE(K11,REF(O,K11-1),REF(O,K11-1),5,0) COLORRED;
缺口不补: L>REF(H,1)COLORWHITE,NODRAW;
DRAWTEXT(缺口不补,LOW*0.98,'↖缺')COLORWHITE;
STICKLINE(缺口不补,O,C,0.5,0),COLORWHITE;
K111:=SUMBARS(缺口不补,1);
STICKLINE(K111,REF(O,K111-1),REF(O,K111-1),4,1) COLORWHITE;
STICKLINE(C>O,(C+O)/2,(C+O)/2,2,1),COLORYELLOW;
STICKLINE(C>O,(C+O)/2,(C+O)/2,2,1),COLORLIGRAY;
昨二一位: (REF(O,1)+REF(C,1))/2,COLORYELLOW,NODRAW;
今二一位: (O+C)/2,COLORYELLOW,NODRAW;
上三分之一位: (MAX(O,C)-MIN(O,C))*2/3+MIN(O,C),NODRAW;
下三分之一位: (MAX(O,C)-MIN(O,C))/3+MIN(O,C),NODRAW;
指数:=C>500;
CC:=IF(指数,H,MAX(C,O));OO:=IF(指数,L,MIN(C,O));
顶底:=IF(C>O,OO,CC);{阳线显底,阴线显顶}
大K线:=CC/OO>=(1+IF(指数,2,4.92)/100);{指数2%}
关键价柱:=大K线 OR 倍量不穿 OR 高量不破;
T:=BARSLAST(关键价柱);
开盘: REF(顶底,T),NODRAW,COLORYELLOW;{黄色}{阳线显底,阴线显顶}; |
|