Changed conditions to sell. Price must be decreasing below 93% of day's high or stable above it.
Tons of bugfixes 'n stuff to get it to run.