Version 1.9 2022.09.03
Added function: SUFFIX IF YOUR BROKER HAS A SUFFIX, WRITE IT DOWN.

the suffix is when a currency pair has an ending for example: EURUSD.M , WHERE '' .M '' IS A SUFFIX AND YOU NEED TO REGISTER IT LIKE THIS:

SUFFIX=.M (TOGETHER WITH THE DOT)
Version 1.8 2022.08.31
fixed the issue of prohibiting work permits on Friday
Version 1.7 2022.08.09
The algorithm has been improved when working in a problematic night time.

Now the Expert Advisor trades on currency pairs: Euraud, eurcad, usdcad, gbpcad, cadchf, audnzd, Audcad, usdchf, eurchf (M5 timeframe)

The most important thing is not the number of currency pairs, but the efficiency of trading! This update took a long time and if it wasn't for patience, nothing would have worked out. Our business is not easy and we must be patient if we want to achieve results.

I can bet more currency pairs..but if they do not cope with the new restrictions of work during the problematic time of trading and do not work well.. then they don't make any sense.

Thank you all for understanding.
Version 1.5 2022.06.06
Added EURUSD M5 currency pair
Version 1.1 2022.06.02
1. The CAD CHF M5 currency pair has been added

2. It was possible to reduce the size of stop losses on some currency pairs, which will make trading more profitable/

Update the EA only if it has no open trades.