Hi all, I've read the heated discussion in the trend-following thread below and I have two questions: 1. Is there a way to judge the trend-friendliness of a security programmatically? How to quantify this "trend-friendliness"? Of course, I guess this is based on historical data and backtest... 2. Is there a way to decide for a security whether the current market environment (say the past a few days and the next a few days) is a non-trending or trending market? Thanks a lot!