A:=REF(HHV(C,120)/LLV(C,120)<1.4,1);
A1:=REF(HHV(C,60)/LLV(C,60)<1.3,1);
A2:=REF(HHV(C,30)/LLV(C,30)<1.2,1);
A3:=REF(HHV(C,15)/LLV(C,15)<1.1,1);
安全区:=A AND A1 AND A2 AND A3;
B:=CROSS(C,REF(HHV(C,15),1));
{股票指标网}
MA10:=MA(CLOSE,10);
MA54:=MA(CLOSE,54);
PL1:=(((CLOSE - MA54) / MA54) < 0.1);PL2:=(((CLOSE - MA10) / MA10) < 0.3);
偏离率:=(((PL1 = 1) AND (PL2 = 1)) * 0.2);
评台突破:=((((偏离率 = 0) AND (REF(偏离率,1) = 0.2)) AND (REF((COUNT((偏离率 = 0.2),10) = 10),1) = 1)) * 1);
突破: IF(评台突破,1,0) and B AND CROSS(MA(C,2),MA(C,5)) AND 安全区;