OPEN-SOURCE SCRIPT
Yesterday's OHLC → O | H | L | C with Labels

ORIGNAL INDICATOR Yesterday's open, high, low and close BY EduardoMattje AND FULL CREDIT TO HIM
I have only modified with 2 changes
1.Now yesterdays levels are visible from very first candle of any small time frame
2/Labels are also visible of OHLC so it removes confusion for trders
What it does:
Plots yesterday’s Open, High, Low, and Close as horizontal lines on any timeframe (1min, 5min, hourly, daily, etc.).
Lines automatically extend to the right edge of the chart (until the current day ends).
Shows permanent labels on the far right with short prefixes:
O = Yesterday’s Open
H = Yesterday’s High
L = Yesterday’s Low
C = Yesterday’s Close
Key features:
Works perfectly in regular and extended (pre/post-market) sessions
Option to hide the levels on previous days (keeps chart clean)
Very lightweight and fast
No compilation errors
Perfect for day traders who want yesterday’s key levels always visible with clear O/H/L/C labels on the right side of the screen. Just add it once and forget – it updates automatically every day
I have only modified with 2 changes
1.Now yesterdays levels are visible from very first candle of any small time frame
2/Labels are also visible of OHLC so it removes confusion for trders
What it does:
Plots yesterday’s Open, High, Low, and Close as horizontal lines on any timeframe (1min, 5min, hourly, daily, etc.).
Lines automatically extend to the right edge of the chart (until the current day ends).
Shows permanent labels on the far right with short prefixes:
O = Yesterday’s Open
H = Yesterday’s High
L = Yesterday’s Low
C = Yesterday’s Close
Key features:
Works perfectly in regular and extended (pre/post-market) sessions
Option to hide the levels on previous days (keeps chart clean)
Very lightweight and fast
No compilation errors
Perfect for day traders who want yesterday’s key levels always visible with clear O/H/L/C labels on the right side of the screen. Just add it once and forget – it updates automatically every day
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının yaratıcısı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının yaratıcısı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.