Question: To avoid a loss you have to always sell the shares before the price goes down.
Answer: yes