TRT:=maX(MAX((HIGH-LOW),Abs(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR:=MA(TRT,5);
KX:HHV(H-2*ATR,10)COLORFF00FF;
DX:LLV(L+2*ATR,10)COLORCYAN;
TRT:=maX(MAX((HIGH-LOW),Abs(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR:=MA(TRT,5);
KX:HHV(H-2*ATR,10)COLORFF00FF;
DX:LLV(L+2*ATR,10)COLORCYAN;