OPEN-SOURCE SCRIPT
Support/Resistance by Oddbeaker LLC

This is a port of an indicator I wrote for MT4 several years ago. At the time it was the only thing available that could accurately plot support/resistance lines in an automated way. Now there are many that do similar things, but I still think this is one of the cleanest and most straightforward ones to use.
Parameters:
Notes:
Example Chart Settings:
(c) by Oddbeaker LLC. All Rights Reserved.
Parameters:
- Signal Bars - Number of candles to look back for the high and low.
- Peak Bar - Which of the candles must be the high or low to be used as the support or resistance level.
Notes:
- Setting Peak Bar to 3 gives the most accurate results. Lower values will give false signals and higher values might be late in generating a useful signal.
- Adjust your Signal Bars according to the timeframe you use. For example, 20 days worth of candles on 1-hour or higher charts will produce strong entry signals.
Example Chart Settings:
- Weekly - 52 / 3
- Daily - 20 / 3
- 4-hour - 120 / 3
- 1-hour - 480 / 3
- 5-minute - 72 /3
- 1-minute - 240 / 3
(c) by Oddbeaker LLC. All Rights Reserved.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。