trade_type works now (my previous assumption was wrong, MtGox data is ok). Also fix painting of own orders in chart, don't ever attempt to paint to lower right corner of window.