Why EA auto trade system place selling order on bottom of a bar and close the order on top of a bar?

 
I found EA auto trade system often place selling order on bottom of a bar and close the order on top of a bar, and in buying condition, it often place buying order on top of a bar and close the order on bottom of a bar. Can It do the contrary: sell on a higher end and close on a lower end of a bar or buy on a lower end and close on a higher end of a bar?