Train leaving from its base is UP and train reaching base is DOWN
Example: 22159 Mumbai CSMT Chennai Express / 22160 Chennai Mumbai Express
This has PM @Wadi Bunder, hence Base is...
more... Mumbai
So 22159 is UP and 22160 Chennai Mumbai Express is DOWN. since 22160 is RETURNING to BASE.
Although there are some exceptions to this rule...