VAR1:=STRCAT(STRCAT(STRCAT(HYBLOCK,' '),DYBLOCK),' ');
VAR2:=EMA(EMA(EMA(EMA(CLOSE,2),2),2),2);
VAR3:=EMA(EMA(EMA(CLOSE,2),2),3);
VAR4:=EMA(VAR2,7);
VAR5:=(2*CLOSE+HIGH+LOW)/4;
VAR6:=WMA((VAR5-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);
VAR7:=WMA(0.618*REF(VAR6,1)+0.382*VAR6,2);
VAR8:=crOSS(VAR7,VAR6) AND VAR6>70 AND VAR3>VAR4;
VAR9:=VAR8 AND ((HIGH-OPEN)< (OPEN-CLOSE) AND CLOSE< OPEN);
VAR10:=REF(CLOSE,1)< REF(CLOSE,2)*1.095;
VAR11:=(EMA(CLOSE,14)-REF(EMA(CLOSE,14),1))/REF(EMA(CLOSE,14),1)*100;
VAR12:=CROSS(VAR11,0) AND CLOSE>=REF(HHV(HIGH,7),1);
VAR13:=CLOSE>REF(CLOSE,1)*1.097 AND CLOSE=HIGH;
VAR14:=CROSS(VAR3,VAR4) AND CLOSE>=VAR3 AND CLOSE>OPEN;
买入:VAR14 AND CLOSE< REF(CLOSE,1)*1.095;
VAR1:=(C+H+O+L)/4;
M:=32;
P2:=100;
VAR11:=MA(VAR1,M)*(1-P2/1000);
DSA1:=IF(COUNT(VAR11>=C,6)>=4,20,0);
DSA2:=COUNT(DSA1=20,16)>=1;
VARZ:=(H+L+C)/3;
VAR2Z:=(C-LLV(L,100))/(HHV(H,100)-LLV(L,100))*200;
中线:=EMA((VARZ-LLV(VARZ,60))/(HHV(VARZ,60)-LLV(VARZ,60)),2)*100;
VAR3Z:=SMA(VAR2Z,3,1);
线:=SMA(VAR3Z,3,1);
VAR1MR:=IF(crOSS(线,45) AND 中线>45,100,0);
短线加仓:FILTER(VAR1MR,10)=1 AND DSA2;

