OPEN-SOURCE SCRIPT

Support Resistance - Dynamic v2 w/ Timeframe option

Mis à jour
This script is a modification from the awesome "Support Resistance - Dynamic v2" by LonesomeTheBlue
https://www.tradingview.com/script/va09eWAp-Support-Resistance-Dynamic-v2/

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:
https://www.tradingview.com/x/HPFHcBty/

Hope you find value in this indicator~ Enjoy~
Notes de version
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.
Notes de version
Minor correction to typo in setting.
Notes de version
removed max limit on 'Pivot Period' and 'Maximum Number of Pivot' settings
Notes de version
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:
snapshot
Notes de version
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
levelspivotpoiintsPivot points and levelspivotresistancepivotsupportptgamblerSupport and Resistancesupportandresitancezones

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


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

You can reach me privately through my Discord Channel: discord.gg/WMQfaVGyQC
Aussi sur:

Clause de non-responsabilité