A7:=(2*C+H+L)/4;
月底:=LLV(A7,21)COLORMAGENTA;
月高:=HHV(A7,21)COLORBROWN;
S:(A7-月底)/(月高-月底)*100,COLORMAGENTA;
SK:EMA(S,7),COLORGREEN;
DD:=0.667*REF(SK,1)+0.333*SK;
SD:EMA(DD,5),COLORCYAN,DOTLINE;
启:CROSS(S,9.9),COLORYELLOW,NODRAW;
抓涨停:CROSS(S,SK)AND SK<10,COLORRED,NODRAW;
STICKLINE(启=1,10,15,0.1,0),COLORYELLOW;
STICKLINE(抓涨停=1,SK,15,0.1,0),COLORRED;
10,COLORGRAY,DOTLINE;90,COLORBROWN,DOTLINE;