You can follow the .9 rule. For this there is an investment calculator included in the scripts.

Bonds are not treated differently except when you enforce a bond percentage with the slider. Z9 does not trade assets class 3. It prints a message when a market crash is detected. But since it uses a simple SMA comparison for determining a crash, this is of somewhat limited use.