have another solution for that, this idea is purely based on indicator trend
if the star dot is @ Bearish bar - consider as down trend future till next star dot is @ bullish
if the star dot is @ Bullish bar - consider as up trend future till next star dot is @ bearish
OR
if you need trend direction confrimation use unizigzag period 12. andthen follow below rules
>>> If the price action bar bullish and the gray graph is hits zero level (down) -arrow for down
>>> If the price action bar bearish and the gray graph is up direction - arrow for up