N:=5;
VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
VAR2:=8,COLORGREEN,LINETHICK0;
V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
╡ыелоъ:=SMA(V3,2,1);
V5:=SMA(╡ыелоъ,2,1);
Ё╜╣в:IF(╡ыелоъ REF(╡ыелоъ,1) AND REF(╡ыелоъ,1) REF(╡ыелоъ,2) AND ╡ыелоъ 23 ,25,0) AND CROSS(VAR1,VAR2);