N1:=5;N2:=10;N3:=7;N4:=79;
MA(CLOSE,N1);
MA(CLOSE,N2);
MA(CLOSE,20);
MA(CLOSE,60);
Var1:=(REF(HIGH,1)+REF(LOW,1))/2;
Var2:=MA(CLOSE,20)+2*STD(CLOSE,20);
塔倒喽1:if(CROSS(Var1,Var2),HIGH,high+1),pointdot,linethick7,coloryellow;high+1,pointdot,linethick7,color000000;
{DRAWTEXT(CROSS(Var1,Var2),HIGH*1.02,'塔倒喽'),COLORyellow;}
Var3:=REF(CLOSE,1);
Var4:=SMA(MAX(CLOSE-Var3,0),N3,1)/SMA(ABS(CLOSE-Var3),N3,1)*100;
Var5:=CROSS(N4,Var4);
Var6:=FILTER(Var5,4);
塔倒喽2:if(Var6,HIGH,high+1),pointdot,linethick7,color00ff00;high+1,pointdot,linethick7,color000000;