{参数:N:60/30/120;}
MA5:=MA(CLOSE,5);
MA21:=MA(CLOSE,21);
MA65:=MA(CLOSE,N);
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);
上突:IF(crOSS(C,TPX) AND 合 AND MA65>REF(MA65,1),10,0),COLOR0000FF,LINETHICK2;