N:= 30;
N1:=0.25;
BB:=EVERY(V>REF(V,1),2) AND H/L>1.06 AND V>=REF(HHV(V,N),1)*1.67 AND H/LLV(L,N)< 1.3;
ACB1:=MA(C,N);
ACB2:=HHV(H,N);
ACB3:=LLV(L,N);
股民:=(ACB2-ACB1)/ACB1;
指标:=(ACB1-ACB3)/ACB1;
指标营地:=REF(股民,1)< N1 AND REF(指标,1)< N1;
HGW:=H=HHV(H,N);
突破:=BB AND 指标营地 AND HGW;
HGW1:=BARSLAST(突破);
ABC1:=EXPMA(C,N),COLORRED;
股民指标:MA(DKX,10),DOTLINE;
IF((股民指标>=REF(股民指标,1)),股民指标,DRAWNULL),LINETHICK2,COLORMAGENTA;
IF((股民指标<=REF(股民指标,1)),股民指标,DRAWNULL),LINETHICK2,COLORGREEN;
上升:=IF(ABC1>REF(ABC1,1),ABC1,DRAWNULL)POINTDOT,COLORYELLOW LINETHICK3;
下降:=IF(ABC1< REF(ABC1,1),ABC1,DRAWNULL)POINTDOT,COLORGREEN LINETHICK3;
DRAWTEXT(突破,C,'---------------------------------')COLORYELLOW LINETHICK6;
DRAWTEXT(突破,L*0.9,'底')COLORYELLOW;
DRAWICON(突破,H*1.05,25);
STICKLINE(突破,O,C,1,0),COLORMAGENTA;
STICKLINE(CROSS(C,REF(H*1.05,HGW)) AND HGW< N,O,C,2,0),COLORYELLOW;
DRAWICON(CROSS(C,REF(H*1.05,HGW)) AND HGW< N,LOW,9);