Currency for "getTrades" was not explicity specified like this: "getTrades.php?Currency=USD&since=..."
This caused a problem when I tried to switch to other currency...
Bot got stupid and sold - I am 0.01 BTC back

So - my current mods:
- bot waits only 1 hour to confirm trend (tested)
- other currency possible (partially tested)
- selling only offset of BTC (tested)
- eliminating peaks in price (just by eliminating price when it's times more or less than previous - untested as I've not found the case)
I think it would be also possible to made trade frequency changeable by param in code - just dont need it for now
I'll wait yet if it works and put it on github for others to play.