@IGHOR - have you looked into how btcrobot does their auto trading? I think this video gives a general idea. I'm not sure if it does anything else behind the scenes but it seems like something you could easily implement into your bot.
http://www.youtube.com/watch?feature=player_detailpage&v=hopbhC4OKtU#t=80Also, thanks for making this bot open source and free. I'm hoping to donate some coin your way once I start actually making some haha.