Besides the news filter there is one important trading rule missing, too:
No trade if current H1 candle makes highest or lowest price of the day, so the function what is important:
- Under above situation, EA won't create a new trade or pending order in M15 until current H1 candle close
- EA will close all previous market order and pending order.
Maybe anyone of the great coders here can help, thank you very much for your efforts!