OPEN-SOURCE SCRIPT

Previous Highs & Lows [LuxAlgo]

The Previous Highs & Lows indicator highlights a user-set amount of previous maximum/minimum prices made within specific intervals, these are displayed as levels customizable levels.

Additionally, one upper and lower zone constructed from the previously displayed highs/lows is included, providing support/resistance areas.

🔶 USAGE

istantanea

Previous highs/lows are often perceived as key trading levels with the potential of generating multiple reactions upon being reached.

istantanea

While the daily interval is more commonly used, users can use different intervals, with the indicator supporting hourly, daily, weekly, monthly, and yearly intervals. Using higher intervals on low timeframes can return more distant levels relative to the most recent price, which might not be relevant.

Each level is numbered, with more recent previous highs/lows having a lower number associated with them, users can also highlight more recent levels through a transparency gradient.

istantanea

Users can control the amount of previous highs/lows displayed using the "Show Last" settings, with a higher value providing more potential support/resistance. Returned previous highs/lows can eventually be filtered out based on their position by enabling the "Filter Based On Position" setting, only keeping previous highs above the current closing price and previous lows below the current closing price, giving more relevant levels as a result.

🔹Previous High/Low Areas

istantanea

The indicator includes two areas constructed from the respective percentiles of the returned previous highs/lows. These can be useful as more general support/resistance areas.

Wider areas are often indicative of a group of previous highs or lows being more dispersed, resulting in areas that are easier to reach. Wider areas can also be obtained by increasing the "Areas Width" setting.

Note: Areas will only be displayed if "Show Last" is greater than 1

🔶 SETTINGS

  • Show Last: Determines the amount of more recent previous highs and previous low levels displayed by the indicator.
  • Interval: Interval used to capture maximum/minimum price values,
  • Areas Width: Width of the displayed top/bottom areas, with higher values returning wider areas.
  • Filter Based On Position: When enabled only display previous highs above the current closing price and previous lows below the current closing price.


🔹Style

  • Minimum Gradient Transparency: Minimum transparency value applied to the colors of the oldest displayed previous highs/lows levels.
luxalgoPDHpdhlPDLPivot points and levelspremiumdiscountpreviousdayhighandlowprevioushighlowSupport and ResistancesupportandresistancezonesTrend Analysis

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?


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.
Anche su:

Declinazione di responsabilitÃ