OPEN-SOURCE SCRIPT

Support Resistance Classification (VR) [LuxAlgo]

The Support Resistance Classification (VR) indicator shows SR levels on any chart's visible range using higher time-frame data (HTF). Levels are classified 1 through 10 based on their strength, with lower values indicating stronger support/resistance levels.

This indicator uses visible range functionality, whereas if you adjust your chart to show previous price data, the indicator may show new levels.

🔶 USAGE

快照

Certain indicators on higher timeframes can provide longer term support/resistance levels on lower timeframes. Users can use the provided levels on a chart visible range and use them as reference for future support/resistance levels.

快照

The classification algorithm measures the strength of a support/resistance level using the entire chart visible range and is in a range of 1 to 10, with higher values indicating a weaker support/resistance.

快照

Supports/resistances highlighted by the indicator can be used for future applications by marking them on the chart (quickly done with alt + h).

🔶 DETAILS

快照

All calculations are based on what you see on the Visible Chart, as such changing the chart will recalculate the indicator.

快照

Since only Swings which are not broken are included, every break would exclude that swing. Therefore, even when 'value' is chosen at Settings ('Value'), breaks are always calculated on the entire line.

🔶 SETTINGS

Fade: After x breaks the line becomes invisible

Value:

  • value:
        • SMA, upper/lower: the breaks are triggered on the moving average itself
        • Fibonacci Pivot Point levels, Previous High, Previous Low: only last HTF values can be used for breaks
        • Swings (see SWING SETTINGS)

  • line:
        • SMA, upper/lower: the breaks are triggered on the entire line, based on its latest value
        • Fibonacci Pivot Point Levels, Previous High, Previous Low: breaks are triggered on the entire line, based on its latest value
        • Swings (see SWING SETTINGS)


🔹 Swing Settings

Swings are always calculated at current timeframe, setting a HTF is not applicable on Swings.

  • Left/Right: for Swing calculation (pivothigh, pivotlow)
  • Show: enables you to see the pivot points


🔹 Set

  • N°: The concerning number
  • TYPE:
        • SMA (Simple Moving Average)
        • Previous High/Low
        • Upper/Lower (Bollinger Bands)
        • Pivot Point levels: "Fibonacci"
  • LENGTH: sets the 'Number of bars', needed for calculations (applicable for SMA, upper/lower)
  • MULT: sets the 'Standard deviation factor' (only applicable for upper/lower - BB)
  • HTF: sets 'Higher Time Frame' (applicable for SMA, upper/lower, Previous High/Low, Fibonacci)


🔹 Show Values

You can make up to 5 values visible (if you want to check/verify), except for Swings (see SWING SETTINGS)
To do so, enable (A -> E), and choose the N° you want to see.

This also is a useful tool if you're not sure which value you want to set.
educationalhighertimeframesluxalgomultitimeframeanalysisresistance_levelresistancessupportSupport and Resistancesupportandresistancezonesvisiblerange

开源脚本

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

想在图表上使用此脚本?


Get access to our exclusive tools: luxalgo.com

Join our 150k+ community: discord.gg/lux

All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
更多:

免责声明