I\'m currently developing a system that takes in stock data. I have now build functions that are calculating ATR (measures the volatility), r^2 value and slope of the specific t