通达信果断买入及选股指标(源码)

2015-08-11 20:59:00来源:本站整理浏览:460

M5:=MA(CLOSE,5)COLORWHITE;
M10:=MA(CLOSE,10)COLORYELLOW;
A1:=C-REF(C,1);
A2:=100*EMA(EMA(A1,6),6)/EMA(EMA(ABS(A1),6),6);
AA:=LLV(A2,2)=LLV(A2,7) AND COUNT(A2<0,2) AND CROSS(A2,MA(A2,2));
VAR1:=(CLOSE*2+HIGH+LOW)/4*10;
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);
VAR3:=EMA(VAR2,5);
VAR4:=2*(VAR2-VAR3)*5.5;
ZLC:=IF(VAR4<=0,VAR4,0);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
XG:=DRAWTEXT(FILTER(AA=1,5) AND BARSLASTCOUNT(DEA<REF(DEA,1))<4 AND
CROSS(A2,MA(A2,2)) AND AA AND ZLC>REF(ZLC,1),LOW-0.3,"★果断买入"),COLORYELLOW;
STICKLINE(XG,0,19,1.5,0),COLORRED;

{
选股公式:

A1:=C-REF(C,1);
A2:=100*EMA(EMA(A1,6),6)/EMA(EMA(ABS(A1),6),6);
AA:=LLV(A2,2)=LLV(A2,7) AND COUNT(A2<0,2) AND CROSS(A2,MA(A2,2));
VAR1:=(CLOSE*2+HIGH+LOW)/4*10;
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);
VAR3:=EMA(VAR2,5);
VAR4:=2*(VAR2-VAR3)*5.5;
ZLC:=IF(VAR4<=0,VAR4,0);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
DRAWTEXT(FILTER(AA=1,5) AND BARSLASTCOUNT(DEA<REF(DEA,1))<4 AND
CROSS(A2,MA(A2,2)) AND AA AND ZLC>REF(ZLC,1),LOW-0.3,"★果断买入");
}


 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式