以下是火凤凰四金叉源码
火凤凰四金叉
去除ST和停牌:=NOT(NAMELIKE(‘S’) OR NAMELIKE(‘*S’)) AND VOL>1;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
DIF:=EMA(CLOSE,6)-EMA(CLOSE,10);
DEA:=EMA(DIF,5);
MACD:=(DIF-DEA)*2;
MA5:=MA(C,5);
MA10:=MA(C,10);
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
VVOL:=IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL);
VOLUME:=VOL;
MAVOL1:=MA(VOLUME,5),LINETHICK2;
MAVOL2:=MA(VOLUME,10),LINETHICK2;
选股:CROSS(DIF,DEA) AND CROSS(K,D) AND CROSS(MA5,MA10)
AND CROSS(MA(V,5),MA(V,10)) AND CROSS(MAVOL1,MAVOL2) AND 去除ST和停牌;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)