Var1:=1;
Var2:=(2*CLOSE+HIGH+LOW+OPEN)/5;
Var3:=LLV(LOW,34);
Var4:=HHV(HIGH,34);
SK:=EMA((Var2-Var3)/(Var4-Var3)*100,13)*Var1,colorwhite;
SD:=EMA(SK,2),coloryellow;
Var5:=EMA(CLOSE,12)-EMA(CLOSE,26);
Var6:=EMA(Var5,9);
Var7:=Var1*CLOSE*1.236
Var9:=(HIGH-CLOSE)*1.36<=CLOSE-OPEN;
VarA:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;
VarB:=Abs(Var5-Var6);
VarC:=STD(CLOSE,90)*10;
VarD:=COUNT((REF(CLOSE,15)-CLOSE)/CLOSE*100>45,5);
买:=IF( Var1*Var7 AND Var8 AND Var9 AND VarC<25 AND CLOSE<8 AND VarA<114 AND VarB<=0.23*40,55,0),colorred
;长买:买>1.0;