OPEN-SOURCE SCRIPT
Atualizado Last xHL

📈 Last xHL – Visualize Key Highs and Lows
This script highlights the most recent significant highs and lows over a user-defined period, helping traders quickly identify key support and resistance zones.
🔍 Features:
⚙️ Customization:
🧠 Use Case:
This tool is ideal for traders who want to:
This script highlights the most recent significant highs and lows over a user-defined period, helping traders quickly identify key support and resistance zones.
🔍 Features:
- Highest High (HH) and Highest Close/Open (HC) lines
- Lowest Low (LL) and Lowest Close/Open (LC) lines
- Dynamic updates with each new bar
- Gradient-filled zones between HH–HC and LL–LC for visual clarity
⚙️ Customization:
- Adjustable lookback period (_length) to suit your trading style
- Color-coded lines and fills for quick interpretation
🧠 Use Case:
This tool is ideal for traders who want to:
- Spot potential breakout or reversal zones
- Identify price compression or expansion areas
- Enhance their technical analysis with visual cues
This script is for educational and informational purposes only. It does not constitute financial advice. Always do your own research before making trading decisions.
Notas de Lançamento
✅ New Feature:The values of HH, HC, LL, and LC are now also plotted invisibly to appear in the Data Window and on the Price Scale, allowing for easier reference and analysis without cluttering the chart.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Show your piety to your god. World needs your humanity.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Show your piety to your god. World needs your humanity.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.