Make one transaction, then stop advisor

Hello, I'm really new to this and I have a simple (I think) question, maybe someone can take the time to explain.

I want the EA to make one (maybe 2) transactions, then I want it to stop trading.

I'm sure this can be done, I just don't know how unfortunately.

Thank you very much!

This seems to have done the trick, thank you so much for the reply.