N:=46;
XX:=CLOSE;
X1:=(MA(XX,3)+MA(XX,5)+MA(XX,8)+MA(XX,13)+MA(XX,21))/5;
LO:=X1+5*SLOPE(X1,3);
LL:=SMA((LO-LLV(LO,N))/(HHV(LO,N)-LLV(LO,N))*100,3,1),COLORRED;
买警:crOSS(10,LL);
N:=46;
XX:=CLOSE;
X1:=(MA(XX,3)+MA(XX,5)+MA(XX,8)+MA(XX,13)+MA(XX,21))/5;
LO:=X1+5*SLOPE(X1,3);
LL:=SMA((LO-LLV(LO,N))/(HHV(LO,N)-LLV(LO,N))*100,3,1),COLORRED;
买警:crOSS(10,LL);