以下是倪蝶2015的《三上三下选股》优化80%(贴图、源码)
DXD:=CROSS((EMA((L+H+C*2)/4,14)-REF(EMA((L+H+C*2)/4,14),1))/REF(EMA((L+H+C*2)/4,14),1)*100,0);{一级}
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
D:=MA(J,3);
K:=MA(J,1);
A1:=MA(C,5);
A2:=REF(C,6)>REF(A1,6) AND REF(C,5)> REF(A1,5) AND REF(C,4)>REF(A1,4);
A3:=REF(C,3)<REF(A1,3) AND REF(C,2)<REF(A1,2) AND REF(C,1)<REF(A1,2);
A4:=O<A1 AND C>A1;
A5:A2 AND A3 AND A4 AND DXD AND L-REF(MAX(C,O),1)>=0.01;