Var1:=REF(CLOSE,1);
Var2:=SMA(MAX(CLOSE-Var1,0),7,1)/SMA(Abs(CLOSE-Var1),7,1)*100;
Var3:=SMA(MAX(CLOSE-Var1,0),13,1)/SMA(ABS(CLOSE-Var1),13,1)*100;
Var4:=Var2<15 AND Var3<20;
{ Gupang.com 股-旁-网_大智慧股票指标公式}
Var5:=CLOSE<REF(CLOSE,4)-REF(CLOSE,4)*0.12;
Var6:=REF(CLOSE,1);Var7:=SUM(IF(CLOSE>Var6,vol,0),26)/SUM(IF(CLOSE<=Var6,VOL,0),26)*100<50;
Var8:=CLOSE<HHV(HIGH,0)/2;
Var9:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
Var10:=REF(HIGH,10)/CLOSE>1.35;
a1:=Var4 AND Var5 AND Var7 AND Var8;
a2:=(CLOSE-Var9)/Var9*100<-30 AND Var10;
b:a1 or a2;