HMTD synthesis

How stable is HMTD to shock sensitivity and heat and is it a real blasting cap for ANFO?