源码
N:=27;
STICKLINE(10,0,100,10,0),colorblue;
RSV:=(CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100;
K:=EMA(RSV,5);
D:=EMA(K,5);
PARTLINE(k,K>D,colorred,K<D,colorwhite),LINETHICK2;
买进:IF(d<25 AND CROSS(k,d) ,50,0),Color00FF00,STICK;
卖出:IF(d>75 AND CROSS(d,k) ,65,0),color0000ff,STICK;
STICKLINE(C,20,20,3,0),ColorffFFFf;
STICKLINE(C,50,50,3,0),ColorffFFFf;
STICKLINE(C,80,80,3,0),ColorffFFFf;