EA Forex Academy – Algorithmic & Manual Trading Courses › Forums › Forex Trading Forum › Close All Trade in End of Friday – EA Studio
- April 18, 2020 at 16:53 #45379Simon ChongMember
Is it possible to set the EA for EA Studio to close all trade on Friday? I tried the below setting, it seems not the way I want it to be.April 20, 2020 at 9:21 #45411Petko AleksandrovKeymaster
Yes, you need to check the Friday Close, but you need to change the hour.
What time does your broker close on Friday? If they close exactly at 24:00 you need to change it to 00:00 – 23:45.
Because the EA will execute the close after the new bar is opened, and if the market is closed, it will not be able to close the trade.
So just do it 15 min before the close.April 23, 2020 at 18:37 #45548AugustineMember
I needed that too.
Most times charts do not continue exactly where it ended on Friday, which could negatively affect previously opened trade by the time markets opens on Monday.April 24, 2020 at 10:25 #45574Petko AleksandrovKeymaster
This is because there is Sunday trading which most of the brokers with MetaTrader don’t show. It is available with some of the paid platforms.
This is why there is a gap between Friday and Monday.
However, that is not really an issue because we use the Historical data where Sunday trading is not included.
So the EAs are expected to handle it. Don’t spend a lot of time on that.
- You must be logged in to reply to this topic.