A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
A1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6) +13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12) +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+ REF(A,20))/211;
A2:="MACD.MACD">0.1;
B1:=EMA(EMA(EMA(A1,2),2),2);
B2:=CROSS(A1,B1);
B3:=EMA(CLOSE,12)-EMA(CLOSE,26);
C1:=EMA(B3,9);
C2:=HHV(2*(B3-C1),4)<0 AND 2*(B3-C1)>REF(2*(B3-C1),1) AND REF(2*(B3-C1),1)<REF(2*(B3-C1),2) AND REF(2*(B3-C1),2) <REF(2*(B3-C1),3);
C3:=EMA(EMA(EMA(EMA(CLOSE,2),2),2),2);
D1:=EMA(REF(C3,1),2);
D2:=V>REF(V,1)*1.5 AND V>MA(V,5);
D3:=CROSS(C3,D1) AND C>O AND V>=MA(V,21) AND V> REF(V,1);
杨娟波段之一:D3+C2+B2>=2 AND B3>C1 AND A2;