通达信赚了就跑主图及选股指标公式
2020/9/26 18:57:27
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 ;
}
投股票 网 ww w.tou18.cn
股市公式下载推荐