convert stock price into some technical index