About hedge of automatically generated EA

 
With automatically generated mql5,  cannot have multiple positions at the same time.
Is there a way to open many position by rewriting somewhere?
It would be greatly appreciated if you could explain the details.