Hi boatman. Thanks for your reply. I know the grid script of the manual. But that example uses a trading loop and not a TMF. I would understand how manage a grid system with a TMF.