以下是双雄选股公式
双雄选股公式
源码
VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
ZYC:= SMA(VAR1,20,1);
ZZC:= SMA(ZYC,5,1);
VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
ZYD:= SMA(VAR2,20,1);
ZZD:= SMA(ZYD,5,1);
DIFF := EMA(CLOSE,12) – EMA(CLOSE,26);
DEA := EMA(DIFF,9);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
CROSS(ZYC,ZZC) AND ZYC<38 AND DIFF>DEA
AND K>D OR CROSS(ZYD,ZZD) AND ZYD<40 AND DIFF>DEA
AND K>D ;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)