OPEN-SOURCE SCRIPT
GVA

GVA
This indicator automatically detects GVA levels on higher timeframes (Weekly and 3-Day) and displays them on any chart timeframe — ideal for using higher-timeframe levels when looking for entries on lower timeframes.
Features:
Detection on Weekly and 3-Day simultaneously, independent of the chart timeframe
Automatic invalidation: when a closed HTF candle touches the level with its wick, the GVA is removed
Adjustable count: shows the nearest N long and short levels (default: 2 each per timeframe)
Merged levels: if a 3D and a Weekly level sit at the same price, they are combined into a single line with a merged "3T/W" label
Timeframe-dependent line length: short from H4 and above, longer below for entry hunting
Colors, line style, width and labels fully customizable
Extras for the lower timeframe (M15):
Holdover: an invalidated GVA stays visible as a dashed line until the next HTF candle has closed —> so your level doesn't disappear in the middle of a setup
Touch marker: marks the first M15 candle that touches a level (wick counts), with selectable symbol, color and size
All features can be enabled or disabled individually in the settings.
This indicator automatically detects GVA levels on higher timeframes (Weekly and 3-Day) and displays them on any chart timeframe — ideal for using higher-timeframe levels when looking for entries on lower timeframes.
Features:
Detection on Weekly and 3-Day simultaneously, independent of the chart timeframe
Automatic invalidation: when a closed HTF candle touches the level with its wick, the GVA is removed
Adjustable count: shows the nearest N long and short levels (default: 2 each per timeframe)
Merged levels: if a 3D and a Weekly level sit at the same price, they are combined into a single line with a merged "3T/W" label
Timeframe-dependent line length: short from H4 and above, longer below for entry hunting
Colors, line style, width and labels fully customizable
Extras for the lower timeframe (M15):
Holdover: an invalidated GVA stays visible as a dashed line until the next HTF candle has closed —> so your level doesn't disappear in the middle of a setup
Touch marker: marks the first M15 candle that touches a level (wick counts), with selectable symbol, color and size
All features can be enabled or disabled individually in the settings.
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.