[WIP] indicators: massive common code cleanup

Does not yet function properly, but much needed cleanup
trader: catch possible exception

If we check and an order exists, but it completes before we either try
to get the order id, or cancel the order, we will get an IndexError
due to the list being out of range.

Let's catch this exception and let the user know the order has actually
completed