Experimental Script !
What it does :
Signals a bull / bear higher timeframe candle state but *ONLY* if it flips state.
There is also an adjustable bar lookback offset, equivalent to Close
Public script as it's barely an embryo of an idea..
*note* due to the new pinescript 'resolution' timeframe functionality it will only colour the bars of the selected timeframe., I kinda like it :)