N:=65;
ma5:=MA(CLOSE,5);
MA21:=MA(CLOSE,21);
MA65:=MA(CLOSE,N);
多头:=COUNT(MA21>MA65,10)=10;
GX:=MAX(MA5,MAX(MA21,MA65));
DX:=MIN(MA5,MIN(MA21,MA65));
粘合:=Abs(GX/DX-1)*100<=15;
TPX:=MIN(MA65*1.15,MA21*1.13);
突破:crOSS(C,TPX) AND 粘合 AND MA65>REF(MA65,1),COLOR0000F9,LINETHICK2;