N:=13;M:=55;
RSV13:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K13:=SMA(RSV13,3,1);
D13:=SMA(K13,3,1);
J13:=3*K13-2*D13;
RSV55:=(CLOSE-LLV(LOW,M))/(HHV(HIGH,M)-LLV(LOW,M))*100;
K55:=SMA(RSV55,3,1);
D55:=SMA(K55,3,1);
J55:=3*K55-2*D55;
{www.gUPaNg.com 股旁网_最新股票指标公式}
YLW:IF(CROSS(J55,J13),HIGH,REF(HIGH,BARSLAST(CROSS(J55,J13)))),COLORRED;
ZCW:IF(CROSS(J13,J55),LOW,REF(LOW,BARSLAST(CROSS(J13,J55)))),COLORGREEN ;
MA65:MA(C,65);
MA75:MA(C,75),COLORGREEN;
止损:MAX(MAX((HHV(C,20)+LLV(C,20))/2,(HHV(C,30)+LLV(C,30))/2),(HHV(C,60)+LLV(C,60))/2),COLORBLUE;
XG:=CROSS(MA75,MA65);
DRAWICON(XG,L,1) ;
202108211239.jpg
|