PtGambler

Support Resistance - Dynamic v2 w/ Timeframe option

PtGambler 已更新   
This script is a modification from the awesome "Support Resistance - Dynamic v2" by @LonesomeTheBlue

This script is very similar to the original indicator mentioned above, but with a modification that, in my opinion, would be very useful for many traders. It enables the option to choose different timeframe to calculate the S/R levels. Very often, traders would like to use higher timeframes to define S/R levels, rather than using the same timeframe that they are trading at. For example, if trading at 5min, we often use 15min, 30min or 1hr timeframe to define our S/R levels.

For example, below shows S/R levels from three different timeframes:

Hope you find value in this indicator~ Enjoy~
版本注释:
Updated with additional display settings:
- toggle display for labels
- Customizable label and text colors

Fixed bug on displaying 'H' and 'L' pivots

Attempted to fix the observation that S/R lines of the same timeframe are inconsistent on different chart timeframes. Improved slightly, but not completely fixed.
版本注释:
Minor correction to typo in setting.
版本注释:
removed max limit on 'Pivot Period' and 'Maximum Number of Pivot' settings
版本注释:
Updated script to address the issue of lines not matching with lines generated at higher timeframe. Please note that this fix only works if the higher timeframe selected isn't "too far" away from the chart timeframe.
Example:
版本注释:
fixed bug from last update:
- bug fixed: "Study Error - Error on bar 0. The study references too many candles in history" on non-intraday charts

If you make $$$ off it, consider donating some of your juicy gain :)
Buy me a coffee - www.buymeacoffee.com/PtGambler
PayPal - paypal.me/PtGambler

You can reach me privately through my Discord Channel: discord.gg/WMQfaVGyQC
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?