N:=5;M:=3;:COUNT(CLOSE>REF(CLOSE,1),N)/N*100,LINETHICK1;MA:=MA(PSY,M),LINETHICK2;{}LC:=REF(CLOSE,1);RSI1:((MAX(CLOSE-LC,0),7,1)/SMA(A(CLOSE-LC),7,1)*100),LINETHICK2,COLOR0099FF;RSI2:(SMA(MAX(CLOSE-LC,0),21,1)/SMA(ABS(CLOSE-LC),21,1)*100),LINETHICK2,COLORGREEN;A1:=RSI2=REF(RSI2,1) AND RSI1
10 AND RSI1<40 COLORRED;{以下是信号}VARR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VARR2: MA(CLOSE,6)*100;VARR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VARR4: MA(CLOSE,2