通达信含苞待放主图及选股指标(源码)

2015-04-08 21:44:00来源:本站整理浏览:380

M8:MA(C,8);
M21:MA(C,21);
M233:MA(C,233);
A:=M8/M21*100;
TJ:=BARSLASTCOUNT(RANGE(A,99.9,100.3));
B:=MAX(C,O)/MIN(C,O)*100-100;
TJ1:=BARSLASTCOUNT(B<2);
ZF:=(HHV(H,5)-LLV(L,5))/LLV(L,5)*100;
DZF:=(H-L)/REF(C,1)*100;
TJ2:=COUNT(MIN(C,O)/L>1.03,5)=0;
TJ3:=COUNT(H<REF(L,1),5)=0;
TJ4:=C>M233;
XG:=TJ>4 AND TJ1>4 AND ZF<10 AND TJ2 AND TJ3 AND TJ4;
STICKLINE(CROSS(XG,0.5),C,O,2,0),COLORLIMAGENTA;
STICKLINE(CROSS(XG,0.5),H,L,2,0),COLORLIMAGENTA;
DRAWTEXT(CROSS(XG,0.5),L*0.95,"绽放"),COLORYELLOW;

{
选股公式:

M8:=MA(C,8);
M21:=MA(C,21);
M233:=MA(C,233);
A:=M8/M21*100;
TJ:=BARSLASTCOUNT(RANGE(A,99.9,100.3));
B:=MAX(C,O)/MIN(C,O)*100-100;
TJ1:=BARSLASTCOUNT(B<2);
ZF:=(HHV(H,5)-LLV(L,5))/LLV(L,5)*100;
DZF:=(H-L)/REF(C,1)*100;
TJ2:=COUNT(MIN(C,O)/L>1.03,5)=0;
TJ3:=COUNT(H<REF(L,1),5)=0;
TJ4:=C>M233;
TT:=TJ>4 AND TJ1>4 AND ZF<10 AND TJ2 AND TJ3 AND TJ4;
XG:CROSS(TT,0.5);
}

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式