As to all the rest in the game - there are some set rules to follow, without any tricks. Those are rules in general - if you know how to get stones, unique, elite or just refineds with bonuses from random monsters, you also must know that it works "in general" - you may have to kill a few hundreds of monsters to get, say, violetstone.
It is all decided by random generator and the same applies to lottery - all you need to know is what exactly can be won from each type of box, after that build your strategy.
In general - doing lottery is cheaper than buying stuff from someone else.
Pink boxes - luck pots and ThunderJuice. Not good for making profit because you can also win RebornSpheres (untradable), but good if you need that stuff for yourself. However, if you manage to win TJ, it pays off.
Brown/Green - all good boxes for making profit. If you sell all stuff, you can make around 10% profit in average. But I would advise to stick to Brown ones - stuff is cheaper, but on other hand - easier to sell.
Orange - so, so. I would rate it in the same category as Pink. Choose them if you need that stuff, sell junk you don't need.
Roses (blue box) - well, that is a waste. If you need those roses, go ahead, it will be cheaper than buying from others. Other than that - roses are not for profit.
Regarding gears - they are random and can come out from any box except blue ones.
Edited