VAR0:=(2*CLOSE+HIGH+LOW)/4;VAR1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;VAR2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;B:=EMA((VAR0-LLV(LOW,26))/(HHV(HIGH,34)-LLV(LOW,26))*100,16);AA:SMA(SMA(VAR2,2,1)+3,2,1),COLORRED,LINETHICK1;:=EMA(B,4),LINETHICK1,DOTLINE,COLORYELLOW;BB:SMA(VAR1,3,1),COLORGREEN,LINETHICK1;{背景}STICKLINE(AA>BB,10,90,5,0),COLOR000066;STICKLINE(BB>AA,10,90,5,0),COLOR003300;:SMA(SMA(VAR2,2,1)+3,2,1),COLORMAGENTA,LINETHICK2;:SMA(VAR1,3,1),COLORGREEN,LINETHICK2