These are all OK: I was sitting in the direction in which the train was going. I was sitting in the direction the train was travelling (in) . I was sitting in the direction in which it was travelling.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.