This is the Dynamic Zone version of the much sought-after Trend Quality Q1 Directional Indicator which was coded by Mladen.
The standard non-repainting versions of this indicator can be found here: Trend Quality Q1 Directional Indicators for MT4 which come in various forms including MTF & more.