股票论坛

标题: 请教,如何合并下面的公式,感谢! [打印本页]

作者: 东南小聪明    时间: 2016-11-20 16:34
标题: 请教,如何合并下面的公式,感谢!
把两个选股公式合并成一个,这样选出的股票少点,希望成功率高一点。
第一个:
MAC3:=(ATAN((MA(C,3)/REF(MA(C,3),1)-1)*100)*180/3.14115926);
M3:=MA(MAC3,3);
AA:=PLOYLINE(CROSS(MAC3,M3),M3);
AAB:=PLOYLINE(CROSS(M3,MAC3),MAC3);
选股:COUNT(CROSS(MAC3,M3),AA<REF(AA,3) AND AAB>REF(AAB,3));

第二个:

RSV333:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) *100);
K333:=SMA(RSV333,3,1);
D333:=SMA(K333,3,1);
J333:=((3 * K333) - (2 * D333));
KDJ1:=REF(COUNT(J333<REF(J333,1),5)>=3,1) AND REF(J333,1)<20;
KDJ2:=J333>REF(J333,1);
反转:IF(FILTER(KDJ1 AND KDJ2,3),160,0),COLORRED,LINETHICK2;

作者: 叶昕    时间: 2016-11-20 16:34
MAC3:=(ATAN((MA(C,3)/REF(MA(C,3),1)-1)*100)*180/3.14115926);
M3:=MA(MAC3,3);
AA:=PLOYLINE(CROSS(MAC3,M3),M3);
AAB:=PLOYLINE(CROSS(M3,MAC3),MAC3);
选股:=COUNT(CROSS(MAC3,M3),AA<REF(AA,3) AND AAB>REF(AAB,3));
RSV333:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) *100);
K333:=SMA(RSV333,3,1);
D333:=SMA(K333,3,1);
J333:=((3 * K333) - (2 * D333));
KDJ1:=REF(COUNT(J333<REF(J333,1),5)>=3,1) AND REF(J333,1)<20;
KDJ2:=J333>REF(J333,1);
反转:=IF(FILTER(KDJ1 AND KDJ2,3),160,0);
选股 AND 反转;




欢迎光临 股票论坛 (http://100000w.com/) Powered by Discuz! X3.2