N:=5;LC := REF(CLOSE,1);1:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(A(CLOSE-LC),3,1)*100;RSI2:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;RSI3:=SMA(MAX(CLOSE-LC,0),8,1)/SMA(ABS(CLOSE-LC),8,1)*100;相对:=0.5*RSI1+0.31*RSI2+0.19*RSI3;WAVE1:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),3,1);WAVE2:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),5,1);WAVE3:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),8,1);:=0.5*WAVE1+0.31*WAVE2+0.19*WAVE3;机会区:20,POINTDOT,COLORRED;区:80,POINTDOT,COLORGREE