Half Trend Indicator Python Code Tester