Not a valid Metastock file
If you find some stocks, not all, show an error of Not a valid Metastock file it may mean a corrupted template. Try opening the stock using the CLEAN.MWT template. If no error, then the stock data file is valid. Next create a new template with your indicators etc and then apply to the same stock to see if any errors.
Useful discussion on problem: https://forum.metastock.com/posts/m185845findunread-Not-a-valid-metastock-file