add angles and alerts to an exsiting TradingView indicator

Job ID: 33647288

Budget: $30 – $250 USD

Required: Add angles to the middle linear regression centerline. Then, create alerts when the centerline hits a specific angle. Assuming the total angles is 180

Also, I want it on all timeframes and with the source to be selected from a list of indicators I already installed.
and the span can be modified for example, it should start calculating the angle for every 50 candles or more for example.
It is better to use the “Linear Regression Channel” open source indicator from TradingView itself and not any third party indicators.
Related categories: Pine Script