OPEN-SOURCE SCRIPT

.b dual dynamic SR

By sr_b
Updated
This is dual band dynamic S/R indicator

  • It works on longger swing than BB 20,2 band rage, and I think It works well.
  • even on the rapid price change, it quite woks well.
  • If price goes out of 1st S/R band range, 2nd S/R band shows up on the chart.

  • Because of large bandwidth, An area in which an actual candle is drawn may be displayed as small.
  • So, with some codework, I made the S/R band occupy only the area near the actual candle drawing area.

  • The S/R band value is calculated as a combination of donchian band, high/low, atr, etc.
  • and regular default setting value is fixed on the code level. you can change the color set.
  • For more information, please refer to the source code.



if you have any questions freely contact to me by message on tradingview, or telegram @sr_bt
but please understand that responses may be quite late.
-------------------------------------------------------------------------------------------------------------------------------------------
Special thanks to all of contributors of community.
The script (originaly .b) may be freely distributed under the MIT license.

without a clear understanding of the house rules,
Several indicators on the charts, it should be clean chart on publishing.
So I am re-publishing as a new one, sorry about that.
Release Notes

  • minor update
Bands and ChannelsBBsrsr_bsupportSupport and Resistance

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer