N:=1;
CZ01:=REF(HHV(L,3),1);
CZ02:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
WH01:=C>=CZ01 AND C>=CZ02;
WH02:=C>=CZ01 AND C<CZ02;
WH03:=C<CZ01 AND C>=CZ02;
WH04:=C<CZ01 AND C<CZ02;
STICKLINE(WH01,50,60,2,1),COLORRED;
STICKLINE(WH02,45,55,2,1),COLORWHITE;
STICKLINE(WH03,45,55,2,1),COLORFF80FF;
STICKLINE(WH04,40,50,2,1),COLORBLUE;