I noticed an error in the code for the short orders when using the box size as stop loss and tp. Looks like some of the code for the buy was copied but not modified. I'm not at home now so I can't quote the exact line. But after changing it, it ran ...