Half Trend Indicator Formula