VAR1 := REF(OPEN,1);
VAR2:=Sma(MAX(OPEN-VAR1,0),6,1)/SMA(Abs(OPEN-VAR1),6,1)*100;
VAR3:= REF(CLOSE,1);
VAR4:=SMA(MAX(CLOSE-VAR3,0),6,1)/SMA(ABS(CLOSE-VAR3),6,1)*100;
VAR5:= REF(HIGH,1);
VAR6:=SMA(MAX(HIGH-VAR5,0),6,1)/SMA(ABS(HIGH-VAR5),6,1)*100;
VAR7:= REF(LOW,1);
VAR9:=SMA(MAX(LOW-VAR7,0),6,1)/SMA(ABS(LOW-VAR7),6,1)*100;
VAR8:=(MIN(OPEN,CLOSE)-LOW)/LOW*100>vol/CAPITAL*0.001 ;
VAR10:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,13))*100;
VAR11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR12:=ema(VAR11,8)*10<-26;
VAR13:=IF(VAR8 AND MA(VAR10,5)<50 AND VAR12,30,0);
开盘值:=VAR2;
收盘值:=VAR4;
最高值:=VAR6;
最低值:=VAR9;
入顶:=80,LINETHICK1,COLORCYAN;
入底:=20,LINETHICK1 COLORLIMAGENTA;
crOSS(收盘值,入底);