building technical indicators in python