ZDF:=(C-REF(C,1))/REF(C,1)*50;
AQ1:=REF(V,1);AQ2:=DVOL;AQ3:=AQ2/AQ1;
LNX:=AQ3-REF(AQ3,1);
E1:=REF(C,1);E2:=DCLOSE;E3:=(E2-E1)/E1*100;
QMX:=E3-REF(E3,1);
XG:CROSS(LNX,500) AND CROSS(QMX,1);
STICKLINE(涨停,O,C,1,0),COLORYELLOW;
ZDF:=(C-REF(C,1))/REF(C,1)*50;
STICKLINE(ZDF -9.9,O,C,1,0),COLORBLUE;
AQ1:=REF(V,1);AQ2:=DVOL;AQ3:=AQ2/AQ1;
LNX:=AQ3-REF(AQ3,1);
E1:=REF(C,1);E2:=DCLOSE;E3:=(E2-E1)/E1*100;
QMX:=E3-REF(E3,1);{九毛八公式指标网www.9m8.cn}
XG:=CROSS(LNX,500) AND CROSS(QMX,1);
DRAWTEXT(XG=1,L*0.995,'--钻石买入'),COLORFFCC88;
DRAWICON(XG=1,L*0.993,25);