How to determine the direction of a trend for the last 20 days ? I am using this code: (HIGHEST[20](HIGH) - CLOSE) / AVERAGETRUERANGE[10] If > 0 = bearish If < 0 = bullish But I’m not very satisfied because it gets me this kind of thing (cf attachment). So, how determinate the trend direction ?