通达信无中生有及选股指标公式
2021/1/4 18:50:56
无中生有:0,COLOR00AA00;
有戏:(EMA(CLOSE,30)-EMA(CLOSE,34))/EMA(CLOSE,34)*100,COLORRED;
无戏:(EMA(C,34)-EMA(C,30))/EMA(C,30)*100,COLORCYAN;
XYZ1:(有戏-无戏),COLORMAGENTA;
XYZ2:MA(XYZ1,3),COLORYELLOW;
STICKLINE(XYZ1>XYZ2,无戏,有戏,0.8,0 ),COLORRED;
STICKLINE(XYZ1<XYZ2,无戏,有戏,0.8,0 ),COLORCYAN;
买入:XYZ1>XYZ2 AND TFILTER(XYZ1>XYZ2,XYZ1<XYZ2,1),NODRAW,COLORWHITE;
{
选股公式
有戏:=(EMA(CLOSE,30)-EMA(CLOSE,34))/EMA(CLOSE,34)*100,COLORRED;
无戏:=(EMA(C,34)-EMA(C,30))/EMA(C,30)*100,COLORCYAN;
XYZ1:=(有戏-无戏),COLORMAGENTA;
XYZ2:=MA(XYZ1,3),COLORYELLOW;
买入:XYZ1>XYZ2 AND TFILTER(XYZ1>XYZ2,XYZ1<XYZ2,1)
AND XYZ1<0 AND C>REF(C,1)*1.03 AND C<REF(C,1)*1.096 AND UPNDAY(CLOSE,2);
}
投股 票网 www.tou 18.cn
股市公式下载推荐