This script uses two higher TF Heikin-Ashi bar plots to determine the present trend. Green shading = bull; red shading = bear; grey shading = indeterminate. The HA candles from both TFs are also plotted.
There are also alerts available for bull and bear detection.