DY1:=(2*CLOSE+HIGH+LOW)/4;
DY2:=LLV(LOW,34);
DY3:=HHV(HIGH,34);
DYA:EMA((DY1-DY2)/(DY3-DY2)*100,30);
DYB:EMA(DYA,5);
A1:=EMA((DY1-DY2)/(DY3-DY2)*100,9);
B1:=EMA(0.667*REF(A1,1)+0.333*A1,2);
波段:IF(A1>=B1,A1,B1);
波浪:IF(B1-A1,B1,A1);
买入:IF(CROSS(B1,20),30,0),STICK,LINETHICK3;
高位区:80,POINTDOT;
低位区:20,POINTDOT;