源码
DRAWGBK(DATE>900103,STRIP(RGB(80,100,255),RGB(120,130,255),1));
N:=13;M:=21; M1:=3;M2:=3;
RSV:= (CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
TJ:= IF(RSV<5,0,RSV);
投机: IF(TJ>95,100,TJ),LINETHICK1,Color2FFF2F;
K:= SMA(RSV,3,1);
D: SMA(K,3,1);
中期: EMA(D,M);
STICKLINE(K>=D,D,REF(D,1),10,0),COLOR000077;
STICKLINE(K>=D,D,REF(D,1),5,0),COLOR000099;
STICKLINE(K>=D,D,REF(D,1),3,0),COLOR0000bb;
STICKLINE(K>=D,D,REF(D,1),1,0),COLOR0000dd;
STICKLINE(K<D,D,REF(D,1),10,0),COLORBBBBBB;
STICKLINE(K<D,D,REF(D,1),5,0),ColorDDDDDD;
STICKLINE(K<D,D,REF(D,1),3,0),ColorEEEEEE;
STICKLINE(K<D,D,REF(D,1),1,0),COLORFFFFFF;
分界线: 50,LINETHICK0,POINTDOT,COLOR00FF00;