HS:IF(C=INDEXC,AMOUNT/100000000,10000*vol/FINANCE(7)),NODRAW;
STICKLINE(C>O,0,HS,1,1),COLORRED;
STICKLINE(C>O AND HS=HHV(HS,10),0,HS,1,0),COLORRED;
STICKLINE(C>O AND HS=LLV(HS,10),0,HS,1,0),COLORMAGENTA;
STICKLINE(C<O ,0,HS,1,1),COLORCYAN;
STICKLINE(C<O AND HS=HHV(HS,10) ,0,HS,1,0),COLORCYAN;
STICKLINE(C<O AND HS=LLV(HS,10),0,HS,1,0),COLORBLUE;
STICKLINE(C=O,0,HS,1,1),COLORWHITE;
五日:EMA(HS,5),COLORGREEN;
七日:EMA(HS,7),COLORWHITE;
放量:IF(五日>七日,五日,DRAWNULL),COLORRED;
STICKLINE(1,0,0,4,0),COLORMAGENTA;
{ _最新股票指标公式}
SA:=UPNDAY(C,3) AND HS<=0.95*REF(HS,1) AND REF(HS=HHV(HS,5),1);
STICKLINE(SA,REF(HS,1),0.95*REF(HS,1),1,0),COLORGREEN;
SB:=HS>=2*REF(HS,1) AND C>O;
STICKLINE(SB,HS,0.95*HS,1,0),COLORGREEN;