added function that gets linear regression of market high