Prev Day & Curr Day H/L + Opening Range (9:30, 5min)
Script Description:
This TradingView Pine Script is designed for use on a 5‑minute chart and plots key price levels for daily trading analysis. It automatically draws: • Previous Day High/Low Lines: These lines mark the previous day’s regular trading hours (RTH) high and low levels, with labels (“PDH” and “PDL”) for easy identification. • Current Day High/Low Lines: As the trading day progresses, the script updates and displays the current day’s RTH high and low levels, labeled as “CDH” and “CDL”. • Opening Range for 9:30 AM: The script specifically identifies the first 5‑minute candle at 9:30 AM (using the “America/New_York” time zone) and draws two additional lines at its high and low. These lines are labeled “HighOpen” and “LowOpen” to indicate the opening range.
All lines are drawn with a width of 5 and have configurable colors, styles, and extension lengths. The script automatically resets at the start of each new day, ensuring that the plotted levels are current and relevant for daily trading decisions.
In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e testarlo. Complimenti all'autore! Puoi usarlo gratuitamente, ma il riutilizzo di questo codice nelle pubblicazioni è disciplinato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.
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.