OPEN-SOURCE SCRIPT
Levels by EV

This indicator plots a clean set of commonly used reference levels on the chart, including the prior day high and low (PDH/PDL), the current day open (DO), prior week high and low (PWH/PWL), prior month high and low (PMH/PML).
Daily, weekly, and monthly levels are sourced from their respective higher timeframes to keep the values stable and consistent across intraday charts. Session ranges are calculated using a selectable timezone and are updated in a controlled way to avoid unnecessary object creation and chart clutter. An optional setting allows developing session highs and lows to update while the session is active, or you can keep session levels fixed once the session ends.
Use these levels as context for liquidity, support/resistance, and session structure. Labels can be enabled or disabled, and can optionally be kept on the right edge so the chart remains readable on any zoom level.
Daily, weekly, and monthly levels are sourced from their respective higher timeframes to keep the values stable and consistent across intraday charts. Session ranges are calculated using a selectable timezone and are updated in a controlled way to avoid unnecessary object creation and chart clutter. An optional setting allows developing session highs and lows to update while the session is active, or you can keep session levels fixed once the session ends.
Use these levels as context for liquidity, support/resistance, and session structure. Labels can be enabled or disabled, and can optionally be kept on the right edge so the chart remains readable on any zoom level.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.