{突破起爆 副图 选股}
强势线:=MA(C,25)+MA(C,25)*20/100;
C3:=REF(C,1);
涨停:=IF((C-C3)*100/C3>=(10-0.03*100/C3),1,0);
跌停:=IF((C3-C)*100/C3>=(10-0.03*100/C3),1,0);
GD:=BARSLAST(CROSS(MA(C,30),MA(C,60)));
GTS:=SUMBARS(CROSS(MA(C,60),MA(C,30)),1);
价格高点:=REF(HHV(H,GD+1),GTS);
价高起点:=REFX(价格高点,BARSNEXT(GTS=0))=H;
长峰线:=IF(价高起点,H,REF(H,BARSLAST(价高起点)));
N:=10;
T1:=CONST(LLVBARS(LOW,N));
T1HIGH:=CONST(REF(HIGH,T1));
CC:=CONST(CURRBARSCOUNT);
T2:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T1)) AND (HIGH>T1HIGH)));
T2HIGH:=CONST(REF(HIGH,T2));
T3:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T2)) AND (HIGH>T2HIGH)));
T3HIGH:=CONST(REF(HIGH,T3));
短峰线:=DRAWLINE(CURRBARSCOUNT=T3+1, T3HIGH, ISLASTBAR, T3HIGH, 1),LINETHICK3,COLOR0000FF;
A1:=REF(C,1)<REF(长峰线,1) AND H>长峰线;
XG1:=A1;
XG2:=CROSS(C,短峰线);
B1:=MA(C,5)>MA(C,10) AND C>O;
ZXG1:=XG1 AND XG2 AND B1;
ZXG2:=REF(XG2,1) AND XG1;
ZXG3:=REF(XG1,1) AND XG2;
HBXG:=ZXG1 OR ZXG2 OR ZXG3;
HBXG;