DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9));
K:=SMA(RSV,9,3);
D:=SMA(K,9,3);
J:=3*K-2*D;
A:=CROSS(DIFF,DEA) AND CROSS(K,D) AND CROSS(J,D) AND DIFF<0;
A7:=FILTER(A,20);
金振:A7;
九毛八公式解读
DIFF赋值:收盘价的12日指数移动平均 - 收盘价的26日指数移动平均 DEA赋值:DIFF的9日指数移动平均 RSV赋值:(收盘价-9日内最低价的最低值)/(9日内最高价的最高值-9日内最低价的最低值) K赋值:RSV的9日[3日权重]移动平均 D赋值:K的9日[3日权重]移动平均 J赋值:3*K-2*D A赋值:DIFF上穿DEA AND K上穿D AND J上穿D AND DIFF<0 A7赋值:A的20日过滤 输出金振:A7