RSV:=EMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100,3);
K:=EMA(RSV,3);
D:=MA(K,3);
{股票公式}
LS:=K+D,COLORRED;
GS:=MA(REF(LS,1),1);
J:3*LS-2*GS,NODRAW;
高抛区:STICKLINE(J>160,J,160,1,0),COLORMAGENTA;
风险区:STICKLINE(LS>160,LS,160,1,0),COLORCYAN;
持股:STICKLINE(LS>=GS,LS,GS,0.001,0),COLORRED;
持币:STICKLINE(LS<=GS,LS,GS,0.3,0),COLORBLUE;
阶段底部:STICKLINE(J<=20,J,20,0.01,0),COLORLIRED;
IF(持股,GS,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(持币,GS,DRAWNULL),COLORCYAN,LINETHICK2;