Attempting to get an SMA5 of an adx. I noticed the normal composite indicator method does not hold true for average directional index. Anyone have any ideas or examples?

Thanks