MA8:=MA(CLOSE,8);
MA50:=MA(CLOSE,50);
PL1:=(((CLOSE - MA50) / MA50)<0.008);
PL2:=(((CLOSE - MA8) / MA8)<0.058);
偏离率:=(((PL1 = 1) AND (PL2 = 1)) * 0.2);
平台突破:=((((偏离率 = 0) AND (REF(偏离率,1) = 0.2)) AND (REF((COUNT((偏离率 = 0.2),10) = 10),1) = 1)) * 1);
XG:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
XG1:=REF(EMA(XG,3),1);
XG2:="kdj.J"<50 AND C>REF(C,3);
A:=(C-MA(C,30))/MA(C,30)*100;
A1:=crOSS(0,(C-MA(C,5))/MA(C,5)*100);
A2:=A<REF(A,1);
A3:=MA(C,10)>REF(MA(C,10),1);
A4:=FILTER(A1 AND A2 AND A3,10);
A5:=(2*CLOSE+HIGH+LOW)/4;
A6:=MA(EMA((A5-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5),1);
B3:=REF(A4,2) AND CROSS(C,EMA(CLOSE,5)) ;
B4:=A6>REF(A6,1) AND REF(A6,1)<REF(A6,2);
D:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
D1:=IF(CLOSE>OPEN,D*(HIGH-LOW),IF(CLOSE<OPEN,D*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
D2:=IF(CLOSE>OPEN,D*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,D*(HIGH-LOW),VOL/2));
D3:="kdJ.J"<20 ;
E:= D1>D2*6 AND D3;
F1:=CROSS(CLOSE,XG1) AND XG2;
G2:=B3 AND B4;
平台突破 AND (F1 OR G2);