Turn on the automatic trading mode and set the minimum transaction threshold - the terminal will do the work for you.