How can I close a trade based on a technical indicator? For example, if the position is long and the RSI is greater than 85, close the trade.