User Defined Function for doing Technical Analysis on TimeSeries in Pig(Hadoop) using the TAlib library