It's not a very good method. Pretty much any touch will be considered as swipe, even if you touch and hold, or move your finger slowly, or in a circle.
I would suggest using Touch.SpeedAt(0) and Touch.AngleAt(0) experssions.
In "On Touch End" check that Touch.SpeedAt(0) is above some value, then you can compare Touch.AngleAt(0) to get swipe direction. Use "System Is Between Angles" or "System Is Within Angles" for that.
For example:
Touch.AngleAt(0) is within 30 degrees of angle 270 - this means it's a swipe up.