The Trend Lines Bot works with sets of lines. A set contains 2 drawable lines and an optional stop-loss. Only one buy line and one sell line can be drawn on the chart per set. A bot can have an unlimited amount of sets. The bot will monitor the price, and on every update look for a set of lines to activate. A set will be active 1) when the current time is between the left and right timestamp of the set. 2) the current price is between the lines. After the set is activated, and the price drops below the buy lines, the bot will create a buy (if the current position is sold). Conversely, the bot will create a sell order if the price breaks the sell line. On both actions, the set will deactivate until the price is back in range.