VAR1:=MA(REF(HHV(CLOSE,30),1),2);
VAR2:=MA(REF(LLV(CLOSE,30),1),2);
VAR3:=EMA(CLOSE,20);
VAR4:=MA(CLOSE,20);
VAR5:=POW(CLOSE-VAR3,2);
VAR6:=MA(VAR5,20);
VAR7:=SQRT(VAR6);
VAR8:=VAR3+2*VAR7;
VAR9:=VAR3-2*VAR7;
VAR10:=REF(VAR3,1);
VAR11:=REF(VAR8,1);
VAR12:=REF(VAR9,1);
VAR13:=EMA(COST(90),5);
VAR14:=EMA(COST(99),5);
VAR15:=vol/REF(MA(VOL,5),1);
QXS:=NOT(CODELIKE('4'));
QKC:=NOT(CODELIKE('688'));
QST:=IF(NAMELIKE('S'),0,1);
QXX:=IF(NAMELIKE('*'),0,1);
QBJ:=NOT(CODELIKE('8'));
VAR16:=QXS AND QST AND QKC AND QXX AND QBJ;
底部放量:CLOSE>VAR14 AND COUNT(CLOSE>VAR14,7)=1 AND VAR16;
VAR1W2:=(C+HIGH+LOW+O)/4;
VAR1W3:=MA((C*2+HIGH)/3,5);
VAR1W4:=MA((O*2+HIGH)/3,5);
VAR1W5:=MA((C+LOW*2)/3,5);
VAR1W6:=MA((O+LOW*2)/3,5);
VAR1W7:=O+(C-O)/2;
VAR1E1:=(C*2+HIGH+LOW)/4;
VAR1E2:=EMA(VAR1E1,13)-EMA(VAR1E1,34);
VAR1E3:=EMA(VAR1E2,5);
VAR1E4:=(-2)*(VAR1E2-VAR1E3)*3.8;
VAR1E5:=2*(VAR1E2-VAR1E3)*3.8;
短:=VAR1E5>0;
VAR1E11:=C-MA(C,12.5);
中:=VAR1E1>0;
VAR1E21:=(EMA(C,12)-EMA(C,26))*100;
VAR1E22:=EMA(VAR1E21,9);
VAR1E23:=2*(VAR1E21-VAR1E22);
长:=VAR1E21>=0;
共振:=短&&中&&长;
XG:crOSS(共振,0.6);

