通达信含苞待放主图及选股指标公式
2020/9/1 19:18:55
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);
}
投股票 网 w ww.tou18.cn
股市公式下载推荐