VAR0:=CLOSE > REF(CLOSE,1) AND REF(OPEN >= CLOSE,1);
VAR1:=(OPEN - CLOSE) / REF(CLOSE,1) < 0.01;
VAR2:=OPEN > REF(CLOSE,1) AND CLOSE > REF(CLOSE,1) AND VAR1;
VAR3:=(CLOSE - LLV(LOW,8)) / (HHV(HIGH,8) - LLV(LOW,8)) * 100;
VAR4:=SMA(VAR3,2,1);
VAR5:=IF(VAR4 > REF(VAR4,1) AND REF(VAR4,1) < REF(VAR4,2) AND VAR4 < 23 AND VAR2,2,0);
VAR6:=REF(CLOSE,1);
VAR7:=SMA(MAX(CLOSE - VAR6,0),4.1,1) / SMA(ABS(CLOSE - VAR6),4.1,1) * 100;
VAR8:=CLOSE / MA(CLOSE,40) * 100 < 78;
VAR9:=CLOSE / MA(CLOSE,60) * 100 < 74;
VAR10:=HIGH > LOW * 1.051;
VAR11:=VAR10 AND COUNT(VAR10,5) > 1;
VAR12:=IF(VAR11 AND (VAR8 OR VAR9),2,0);
VAR13:=CLOSE / REF(CLOSE,25) <= 1.1;
VAR14:=SMA(MAX(CLOSE - REF(CLOSE,2),0),7,1) / SMA(ABS(CLOSE - REF(CLOSE,2)),7,1) * 100 < 15;
VAR15:=SMA(VAR4,2,1);
抄底:VAR13 AND VAR12 AND VAR14 AND VAR5 AND FILTER(CROSS(VAR7,11),5);