Since we started documenting this EA in this series from the very first article Developing a trading Expert Advisor from scratch, it has undergone various changes and improvements while maintaining the same on-chart order system model. It is very simple and functional. However, in many situations, it is not suitable for real trading. Of course, we could add some things to the original system so that we have some information about orders, both open and pending. But this would turn our code into ...