ts_parlin function

Time-indicator serie to straight lines parameters