better mqlwrite setup and demo