Loss Avoidance

Loss avoidance basically keeps the trading bot from getting caught in a
trend where it buys at a level higher than its last sale.   It defaults
to hold if the bot attempts to buy higher than it last sold, or sell
lower than it last bought.