It can take a few weeks (or less sometimes) to be noticed as its developing. By the time the symptoms (deformities, broken bones, no trunkal lifting, etc.) show up the nutrient balance can already be quite bad.
If your husbandry is good and the chameleon came from a healthy line of chameleons in the first place there should be little chance of it developing it.
Here's some information I hope will help you with things like supplements, gutloading, etc. and help you understand how to prevent MBD...
Appropriate cage temperatures aid in digestion and thus play a part indirectly in nutrient absorption.
Exposure to UVB from either direct sunlight or a proper UVB light allows the chameleon to produce D3 so that it can use the calcium in its system to make/keep the bones strong and be used in other systems in the chameleon as well. The UVB should not pass through glass or plastic no matter whether its from the sun or the UVB light. The most often recommended UVB light is the long linear fluorescent Repti-sun 5.0 tube light. Some of the compacts, spirals and tube lights have caused health issues, but so far there have been no bad reports against this one.
A wide variety of insects that have been well fed and gutloaded should be fed to it. At that size you only need to feed it every two or three days. Feed it enough that it doesn't get fat (and, of course, doesn't get thin either).
Since many of the feeder insects we use in captivity have a poor ratio of calcium to phosphorus in them, its important to dust the insects just before you feed them to the chameleon at most feedings with a phos.-free calcium powder to help make up for it. (I use Rep-cal phosphorus-free calcium).
If you also dust twice a month with a phos.-free calcium/D3 powder it will ensure that your chameleon gets some D3 without overdoing it. It leaves the chameleon to produce the rest of what it needs through its exposure to the UVB light. D3 from supplements can build up in the system but D3 produced from exposure to UVB shouldn't as long as the chameleon can move in and out of it. (I use Rep-cal phos.-free calcium/D3).
Dusting twice a month as well with a vitamin powder that contains a beta carotene (prOformed) source of vitamin A will ensure that the chameleon gets some vitamins without the danger of overdosing the vitamin A. PrEformed sources of vitamin A can build up in the system and may prevent the D3 from doing its job and push the chameleon towards MBD. However, there is controversy as to whether all/any chameleons can convert the beta carotene and so some people give some prEformed vitamin A once in a while. (I use herptivite which has beta carotene.)
Gutloading/feeding the insects well helps to provide what the chameleon needs. I gutload crickets, roaches, locusts, superworms, etc. with an assortment of greens (dandelions, kale, collards, endive, escarole, mustard greens, etc.) and veggies (carrots, squash, sweet potato, sweet red pepper, zucchini, etc.)
Calcium, phos., D3 and vitamin A are important players in bone health and other systems in the chameleon (muscles, etc.) and they need to be in balance. When trying to balance them, you need to look at the supplements, what you feed the insects and what you feed the chameleon.