Close all open orders on Friday

 

Hi all,

_I'm looking for a timer that close all open orders on Fridays by the end of market.

Could anyone give a help here ?

Thanks in advance.

Luis 

 
See my code
Reason: