N:=9;P1:=3;P2:=3;
均价:=(C+H+L)/3;
CCI:(均价-wMA(均价,98))/(0.015*AVEDEV(均价,98))/8+30;
做多:(3*SMA(CCI,5,1)+2*SMA(SMA(CCI,5,1),3,1))/5,COLORRED;
FILLRGN(CCI>做多,cci,做多),COLORBROWN;
FILLRGN(CCI<做多,cci,做多),COLORAAAA00;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:WMA(RSV,P1)-10,COLORWHITE;
D:SMA(K,P2,1),COLORYELLOW;
0,COLORGREEN;40,COLORWHITE;80,COLORRED;