TMF executes every ticks, if you set the TICKS flag. If correctly coded it will close at the exact level required, slippage excluded obviosly