通达信斜突选股指标公式

通达信起飞主图及选股指标公式

通达信斜突选股指标公式:

macd:="MacD.MACD";

T1:=BArslAst(crOSS(MACD,0));

T1H:=HHV(H,T1+1);

STH:=REFX(REF(T1H,1),BARSNEXT(CROSS(0,MACD)));

T2:=BARSLAST(H=STH);

T2H:=CONST(REF(H,T2));

TA:=BARSLAST(H=T2H AND T2=0);

A1:=BACKSET(ISLASTBAR,TA+1) AND TA=0;

TB:=BARSLAST(IF(H=STH AND H>T2H,1,0));

BA1:=BACKSET(ISLASTBAR,TB+1) AND TB=0;

线上价:=DRAWLINE(BA1,H,A1,H,1);

AB:=线上价;

斜率%:=(AB-REF(AB,1))/REF(AB,1)*100;

突破信号:CROSS(C,AB) AND CURRBARSCOUNT<CONST(TA);

通达信黑马加波段指标公式