How to add a block for closing all trades at a specific time
-
I would like to add a block for closing the trade on Friday 5 minutes before the market closes. How to do this?
-
Little bit different depending on DST change and your country... if this is taken into consideration you would need a custom code block (AI can create this for you), 5min before is close for comfort as close will some times happen 15min before, the time filter block will commit an action at your specific time daily so... time block - close block