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/10,100,0)colorred,linethick2;
STICKLINE(阳-阴<n/10 ,0 ,100 ,8 ,1 )colorblue;