VAR1:=(CLOSE+HIGH+LOW)/3;
VAR2:=EMA(VAR1,10);
VAR3:=REF(VAR2,1);
绿探底震仓:IF(VAR2,10,DRAWNULL),colorgreen,LINETHICK9;
红买: IF(VAR2>VAR3,10,DRAWNULL), colorred,LINETHICK9;
蓝卖: IF(VAR2<VAR3, 10,DRAWNULL), colorblue,LINETHICK9;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
上穿买:SMA(RSV,3,1),colorred;
下穿卖:SMA(上穿买,3,1),COLORFFFF00;