The simplest automation tool in ProTrader Terminal is creating Alerts.
Alerts allow you to set up actions for specific conditions.
To view active alerts or to create a new one, select Tools > Alerts.
To set up a condition use a regular sentence, as follows:

You can set up several conditions and select the type of relation between them:
You can also set up multiple actions to be performed every time conditions are met. Such as Message, Sound, Email, Place Order, Cancel Order, Close Position. If you choose some action you'll see new window where you can set options for action. If you want to Place Order you should open Order Entry Panel from new window.

If you want to Cancel Order or Close Position, in new window you will see existing orders and positions. You can choose all that you want to remove.