If you want to implement SYMBOL_LAST in mq5, make it switchable with the SET_PRICETYPE command. Otherwise you'll probably get garbage when you want to trade assets that have no last price.