Var4:=EMA((Var1-Var2)/(Var3-Var2)*100,13); VarA:=EMA(0.667*REF(Var4,1)+0.333*Var4,2); 持仓: if(Var4 VarA,2,-1),colorRED,LINETHICK2; 空仓: if(Var4 VarA,2,-1);