See the attached indicator. It is a converted version from MT4, so I am not sure if the calculation logic is exactly like it should be in Bill Williams ATZ, but you can try it.
See the attached indicator. It is a converted version from MT4, so I am not sure if the calculation logic is exactly like it should be in Bill Williams ATZ, but you can try it.