N:=9;
M:=3;
LOWV:=LLV(LOW,N);
HIGHV:=HHV(HIGH,N);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*200,M);
K:=EMA(RSV,M);
操盘线:MA(K,M),COLORYELLOW,LINETHICK1;
IF(操盘线 =REF(操盘线,1),操盘线,DRAWNULL),COLORFF00FF,LINETHICK2;
买卖差:=K-操盘线; {www.9m8.cn 九毛八公式指标网}
STICKLINE(买卖差 =0,(K-买卖差*0.1),(K-买卖差*0.75),2,0) ,COLORRED;
STICKLINE(买卖差 0,(操盘线+买卖差*0.1),(操盘线+买卖差*0.75),2,1) ,COLORGREEN;