VAR1:=(CLOSE*2+HIGH+LOW)/4;
VAR2:=Ema(VAR1,1)-EMA(VAR1,40);
VAR3:=EMA(VAR2,5);
VAR4:=(VAR2-VAR3)*100;
VAR5:=IF(VAR4<(-20),(-20),IF(VAR4>100,100,VAR4));
VAR6:=(CLOSE-LLV(1.02*LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR7:=IF(VAR6>100,100,IF(VAR6<0,0,VAR6));
VAR8:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*20;
VAR9:=(3*VAR8-2*SMA(VAR8,3,1))*1;
VAR10:=IF(VAR9>100,100,IF(VAR9<(-5),(-5),VAR9));
VAR11:=(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*120;
VAR12:=IF(VAR11>100,100,VAR11);
VAR13:=crOSS(VAR10,VAR5);
VAR14:=VAR12=0 AND CROSS(VAR5,40);
VAR15:=VAR12=0 AND VAR10<0;
VAR16:=CROSS(VAR5,40);
VAR17:=VAR5=100;
VAR18:=CLOSE/REF(CLOSE,1)>1.095;
VAR19:=VAR12=100;
红箭头:VAR13+VAR14+VAR15+VAR16+VAR17+VAR18-VAR19>=2;