X_1:=REF(CLOSE,1);
{股票指标网}
X_2:=IF((CLOSE-X_1)*100/X_1>=10-0.01*100/X_1,1,0);
STICKLINE(X_2,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(X_2,HIGH,LOW,0,0),COLORRED;
X_3:=IF((X_1-CLOSE)*100/X_1>=10-0.01*100/X_1,1,0);
STICKLINE(X_3,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(X_3,HIGH,LOW,0,1),COLORGREEN;