以下是通达信指标金叉王选股源码附图
通达信指标金叉王选股
AA:=MA(CLOSE,5);
AB:=MA(CLOSE,10);
MA1:=MA(VOL,5);
MB:=MA(VOL,10);
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=DEA;
F1:=DIFF;
K1:=”KDJ.K”;J1:=”KDJ.J”;
金叉1:=CROSS(AA,AB);
金叉2:=CROSS(MA1,MB);
金叉3:=CROSS(F1,A1);金叉4:=CROSS(J1,K1);
选1:=金叉1 AND 金叉2 AND 金叉3 AND 金叉4;
选2:=金叉1 AND 金叉2 AND 金叉3;
选3:=金叉2 AND 金叉3 AND 金叉4;
MACD:=2*(DIFF-DEA);
选4:=金叉1 AND 金叉2 AND 金叉4;
选5:=金叉1 AND 金叉3 AND 金叉4;
选6:=REF(MACD,1)<REF(MACD,2) AND MACD>=0 AND MACD>REF(MACD,1);
金叉王:选6 AND (选1 OR 选2 OR 选3 OR 选4 OR 选5);
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)