N:=5;
RSV:=(CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100;
K:=EMA(RSV,5);
D:=EMA(K,3);
PARTLINE(k,K D,colorred,K D,colorgreen),LINETHICK2;
DRAWTEXT(CROSS(K,D) AND (D =5),30,'买'),colorred;
DRAWTEXT(CROSS(D,K) AND (D 85),70,'卖'),colorgreen;
DRAWTEXT(CROSS(K,C)AND(K =C),5,'大底'),colorred;
ZT:=C/REF(C,1) 1.097;
XH:=FILTER(ZT,13);
BH:=BARSLAST(ZT);
天线: 80;
地线: 20;