WHO have related EA? RH
now ok or too late
put code with if condition to change flag say flag=false after main ordersend(),then immediately put flag= true; set condition as flag&&(your buy or sell cndition) with OrdersTotal() to help to judge
Need more new one and update, or if any new people interested in this?