N:=107;
var1:= REF(CLOSE,1);
var2:=SMA(MAX(CLOSE-var1,0),14,1);
var3:=SMA(Abs(CLOSE-var1),14,1);
阳:ma(var2/var3*100,5)coloryellow, linethick2;
阴:ma(var3/var2*5,5)colorgreen ,linethick2;
交欢:if(阳-阴
N:=107;
var1:= REF(CLOSE,1);
var2:=SMA(MAX(CLOSE-var1,0),14,1);
var3:=SMA(Abs(CLOSE-var1),14,1);
阳:ma(var2/var3*100,5)coloryellow, linethick2;
阴:ma(var3/var2*5,5)colorgreen ,linethick2;
交欢:if(阳-阴