Script to close positions automatically

 
Hello everyone,
I'm trying a demo of metatrader, I need to create a script that automatically close the positions at a certain hour at a market. Someone can help me?
(Forgive my English I'm Italian!)
Thanks.
Ettore.
 
use the search function