SHORT:=6;LONG:=13;M:=5;DIF:(EMA(CLOSE,short)-EMA(CLOSE,long))*100;DEA:EMA(DIF,m);:(DIF-DEA)*2,COLORSTICK;DRAWICON(OSS(DIF,DEA),DEA,1);DRAWICON(CROSS(DEA,DIF),DEA,2);IF(DIF
REF(C,1) AND REF(C> REF(C,1),1)=1;:=(DD AND EE AND DEA< HHV DEA,180))*DEA;A2:=BARSLAST(REF(CROSS(DEA,DIF),1));{清仓:>DIF AND CROSS(DEA,DIF);}DRAWLINE(A2=0,DEA,清仓,DEA,0),colorbrown,LINETHICK2;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;/*K:SMA(RSV