The macro files shall be UTF-8 encoded, no BOM, Windows-style line endings (CR LF).
For a better understanding you are encouraged to have a look at the factory macro files which you can find in C:\Program Files\Avolites\Titan\Macros.
C:\Program Files\Avolites\Titan\Macros