A simple modification of the built-in "Average Directional Index":
To identify wether there is an uptrend or a downtrend, the function color is conditional:
no trend: black
small uptrend (weak threshold): light green
big uptrend (strong threshold): green
small downtrend (weak threshold): light red
big downtrend (strong threshold): red