N1:=20;
N2:=60;
VAR1:=(LOW+HIGH+CLOSE)/3;
X:=MA(VAR1,5);
A1:=HHV(X,N1)COLORMAGENTA;
A2:=HHV(X,N2),COLORGREEN;
A3:=HHV(HIGH,N2)*0.98,COLOR0000FF;
B1:=LLV(X,N1);
B2:=LLV(LOW,N2)*1.02;
红箭头:X>B1 AND REF(X,1)=REF(B1,1);
N1:=20;
N2:=60;
VAR1:=(LOW+HIGH+CLOSE)/3;
X:=MA(VAR1,5);
A1:=HHV(X,N1)COLORMAGENTA;
A2:=HHV(X,N2),COLORGREEN;
A3:=HHV(HIGH,N2)*0.98,COLOR0000FF;
B1:=LLV(X,N1);
B2:=LLV(LOW,N2)*1.02;
红箭头:X>B1 AND REF(X,1)=REF(B1,1);