LC := REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORWHITE;
RSI2:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100,COLORYELLOW;
MARSI:MA(RSI1,24) ;
RSI3:SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100,COLORFF00FF;{其实这行可以不要}
轴:50,COLORGREEN;
FF:=50+(MARSI-REF(MARSI,1))*5;{把MARSI的变化放大5倍,便于观察}
小心:IF(FF<47.5 AND MARSI>65 AND RSI1>50 ,25,FF),COLORRED;
变:FF,COLORGREEN ;