Indeed. This is covered in the Zorro Workshop, which I recommend.

Workshop, part 6: http://zorro-project.com/manual/en/tutorial_kelly.htm
BarPeriod: http://zorro-trader.com/manual/en/barperiod.htm

Now start reading that manual! laugh