Is there a way to close a position bigger than 5 lots with one order? (with regard to the championship rules...)

 
Electronaut:
Or the only way is to send multiple 5 lots orders?

Yes, except for Market Stops (TakeProfit and StopLoss), which will close up to max 15 lots.  If position is over 5 lots, ACT2010 server limits EA generated close orders to max 5 lots,  This forces EA to cycle again and if close signal is still true, EA will send another close order, and etc, until position is closed. Example; if position volume is over 10 lots and EA cycles on H1 NewBar, then it could take 2 more hours to totally close the position. But, when EA cycles again and close signal is now false, EA will not try to close the position until close signal is true again.

In this case, the remedy can be to use a While() loop to generate close orders on initial close signal cycle until position is closed.

Documentation on MQL5: Standard Constants, Enumerations and Structures / Trade Constants / Position Properties
  • www.mql5.com
Standard Constants, Enumerations and Structures / Trade Constants / Position Properties - Documentation on MQL5
Reason: