DRAWGBK(C>O,RGB(10,0,0),RGB(0,0,0),1,2,1);
NE:=IF(naMELIKE('S') OR NAMELIKE('*S'),0.05,0.1);{通用个股/ST股}
ZT:=C/REF(C,1)-1>=NE-0.01/REF(C,1) AND C=H AND PERIOD=5;{仅在日线上变色}
ZX:=O+((C-O)*0.618);
XJ:=DRAWLINE(HIGH>=HHV(HIGH,10),HIGH,LOW<=LLV(LOW,3),HHV(HIGH,3),1),LINETHICK2;
XG:=ZT AND C>XJ AND ZX>XJ ;
HB:=FILTER(XG,3);
周M:="maCD.MacD#WEEK";
月M:="macd.MACD#MONTH";
年M:="MACD.MACD#YEAR";
日M:=MACD.MACD;
HB1:= HB AND 周M>0 AND 月M>0 AND 年M>0 AND 日M>0 ;
T:=O>REF(H,1) AND L>REF(H,1) AND C>=O AND HB ;
STICKLINE(HB AND T, 0,22, 0.2, 0),COLORMAGENTA;
STICKLINE(HB AND T, 0,11, 0.8, 0),COLORBLUE;
DRAWICON(HB AND T,22,17);
DRAWICON(HB AND T,23,18);