If you want these actions to get executed in a particular order, e.g. to create an Alert prior to the closing of trades - you might want to use the Arrange Ends option. MQL5 Wizard is usually a Device that assists to create robots and application templates based upon https://r.valery.digital/content-4-1