以下是通达信短进公式副图源码测试图(无源码的请下载附件导入)
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
短进:CROSS(J,REF(J+0.01,1)) AND COUNT(C<O,7)>3 AND X AND J<20 AND EVERY(MA(C,5)<MA(C,20),5) AND EVERY(MA(V,5)<MA(V,10),4) AND EVERY(MA(C,5)<REF(MA(C,5),1),5) AND EVERY(MA(C,10)<REF(MA(C,10),1),5) AND EVERY(MA(C,20)<REF(MA(C,20),1),5); |