With this support and resistance indicator, if you want more levels just change the timeframe it looks at in the settings. It will pull the SR levels off the timeframe specified in the settings. Note: SR1 and SR2 timeframe should match.
リリースノート
Updated to Pinescript V4 and added the ability to select the timeframe for support and resistance levels. Default is 15 min levels.
リリースノート
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.
リリースノート
Fixed issue with repainting when viewing higher timeframe levels.
リリースノート
Fixed zoom issue
リリースノート
Chart zoom adjustment
リリースノート
Updated with line color change options. Higher timeframe levels has been moved from alpha to beta testing for with trend breakout levels.
リリースノート
Code updated to pine V5 and repainting eliminated by christofferka