Simple check open orders filter boolean function for Expert Advisors – EA MetaTrader 4

Simple check open orders filter boolean function for Expert Advisors - expert for MetaTrader 4
It is common for novice developers to face the challenge of making the Expert Advisor able to detect if there are open orders independently, without using the OrdersTotal() function, as this does not recognize if an order was opened by an EA or if it was opened manually, since it returns the total amount of