VAR1:=REF(CLOSE,1);
{股票指标网}
VAR2:=IF((CLOSE-VAR1)*100/VAR1>=10-0.01*100/VAR1,1,0);
VAR3:=AMOUNT/VOL/100;
STICKLINE(VAR2,OPEN,CLOSE,4,0),COLORBLACK;
STICKLINE(VAR2,OPEN,CLOSE,3,0),COLORRED;
VAR4:=IF((VAR1-CLOSE)*100/VAR1>=10-0.01*100/VAR1,1,0);
STICKLINE(VAR4,OPEN,CLOSE,2,0),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.2,0,0,GNBLOCK),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.5,0,0,FGBLOCK),COLORWHITE;