OPEN-SOURCE SCRIPT
Previous Candle High/Low (Global Rays)

Previous Candle High/Low (Global Rays, Corrected)
This indicator tracks the high and low of the most recently closed candle and projects them forward as global horizontal rays.
Features:
✅ Automatically updates the levels once a candle fully closes.
✅ Draws persistent lines at the previous candle’s high (green) and low (red), extending them into the future.
✅ Highlights real-time breakouts:
✅ Includes built-in alert conditions for both breakout events.
How to Use:
Use the levels as reference points for breakout trades, liquidity sweeps, or stop hunts.
Alerts can help you catch moves without needing to constantly watch the chart.
Works on any timeframe and symbol.
This indicator tracks the high and low of the most recently closed candle and projects them forward as global horizontal rays.
Features:
✅ Automatically updates the levels once a candle fully closes.
✅ Draws persistent lines at the previous candle’s high (green) and low (red), extending them into the future.
✅ Highlights real-time breakouts:
✅ Includes built-in alert conditions for both breakout events.
How to Use:
Use the levels as reference points for breakout trades, liquidity sweeps, or stop hunts.
Alerts can help you catch moves without needing to constantly watch the chart.
Works on any timeframe and symbol.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.