Updated script with the ability to extend lines to the right and added the ability to add an alert when a new SR level is created. Setting higher timeframe levels now scales the chart correctly. It is recommended to set the timeframe on "Same as Symbol". The best way to add price alerts are to click on the chart at the level and manually add the price alert. Extending lines manually also works well by dropping a horizontal line at the level if you want to continue to monitor that level after the line ends.