以下是通达信赚了就跑源码不加密选股+主图

M5:=MA(C,5);
 DIFF:=EMA(CLOSE,12) – EMA(CLOSE,26);
 DEA:=EMA(DIFF,9);
 MACD:=2*(DIFF-DEA);
 QFA:=MACD>REF(MACD,1)AND MACD<0;
 QFB:=MACD<REF(MACD,1)AND MACD<0;
 QFC:=BARSLASTCOUNT(MACD<REF(MACD,1));
 TJ:=DIFF>0 AND DEA>0 AND REF(QFB,1) AND QFA AND REF(QFC,1)>4 AND C>M5 ;
 DRAWICON(TJ,L,1);
 STICKLINE(TJ,C,O,1.8,0),COLORYELLOW;
 STICKLINE(TJ,L,H,0,0),COLORYELLOW;
 STICKLINE(TJ,C,O,0.5,0),COLORRED;

选股
M5:=MA(C,5);
 DIFF:=EMA(CLOSE,12) – EMA(CLOSE,26);
 DEA:=EMA(DIFF,9);
 MACD:=2*(DIFF-DEA);
 QFA:=MACD>REF(MACD,1)AND MACD<0;
 QFB:=MACD<REF(MACD,1)AND MACD<0;
 QFC:=BARSLASTCOUNT(MACD<REF(MACD,1));
 DIFF>0 AND DEA>0 AND REF(QFB,1) AND QFA AND REF(QFC,1)>4 AND C>M5 ;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。