通达信指标金叉王选股源码附图
-
相关简介:通达信指标金叉王选股 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:=金
-
文章来源:股海网作者:股海网发布时间:2019-04-26浏览次数:
通达信指标金叉王选股
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);