Yes it is possible, although I haven't done it myself yet. It explains more on the manual page
hereI believe BarPeriod needs to be set to the smaller unit, and then TimeFrame to the larger unit. So in your example I think you would have BarPeriod=240 and then TimeFrame=30 (30x the BarPeriod).