Variables that affect bar loading must be set before loading bars, setting them afterwars wont work obviously.

You can probably set BarZone when you only want to use BR_LEISURE because it has no effect on loading bars. But you must then set it back afterwards for avoiding error 030.

I think it is not really needed, because when BR_ASSET is set, you normally wont get trade signals anyway.

It would probably make sense when you explain what your strategy is doing and which flags or zones you need for which purpose, then it can be better understood what the problem is.