IF(PERIODNAME<>""){:"该指标只在日线下有效。";RETURN;}//r:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100;//相对LC := REF(CLOSE,1);//前一日;$1:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(A(CLOSE-LC),3,1)*100;RSI$2:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;RSI$3:=SMA(MAX(CLOSE-LC,0),8,1)/SMA(ABS(CLOSE-LC),8,1)*100;相对强弱:=0.5*RSI$1+0.31*RSI$2+0.19*RSI$3;wave$1:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),3,1);wave$2:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),5,1);wave$3:=SMA(100*(CLOSE-LLV(LO