You can use the easyStockDater to convert csv to metastock format.

(or)

Go to http://www.trading-tools.com They have got a proggy called convert2metastock.There is also MLDownloader which directly downloads data in metastock format