You must set a loss limit before you start the deal... If you entered a deal with a currency price of $100, you must set a loss limit of $95 in the case of buying and selling. The same applies.