generic ta-lib call