Open the Trader you wish to perform this task and edit it. Check the "stop purchases above a certain rate" box and set it to "1" as indicated in the screen capture below. Important Note: This stands for 1 USDT if the coin your trader is set to is trading for less than 1 USDT you will need to set this field lower i.e. 0.20
The Trader will close all of its positions after reaching the set profit margin or moving average indicator.