OPEN-SOURCE SCRIPT
Cập nhật 52 Week High/Low with Grid

52 Week High/Low Indicator — Plots the trailing 52-week high and low as horizontal reference lines on any chart. A compact info table sits in your chosen corner and displays three key rows: the 52-week high with how far price is from reaching it, the current price with its daily change, and the 52-week low with how far price sits above it. Below that, a visual gauge bar (██████░░░░) shows at a glance where price falls within the full 52-week range as a percentage — near 0% means hugging the low, near 100% means pressing the high. The gauge turns green near the top, red near the bottom, and yellow in the middle. Distance labels also highlight when price is within 5% of either extreme, making potential breakouts or breakdowns easy to spot. Supports daily lookback (252 bars) or weekly security calls, with options to base levels on candle wicks or closing prices. Includes markers for new 52-week highs/lows and four built-in alert conditions.
Phát hành các Ghi chú
52 Week High/Low Indicator — Plots the trailing 52-week high and low as horizontal reference lines on any chart. A compact info table sits in your chosen corner and displays three key rows: the 52-week high with how far price is from reaching it, the current price with its daily change, and the 52-week low with how far price sits above it. Below that, a visual gauge bar (██████░░░░) shows at a glance where price falls within the full 52-week range as a percentage — near 0% means hugging the low, near 100% means pressing the high. The gauge turns green near the top, red near the bottom, and yellow in the middle. Distance labels also highlight when price is within 5% of either extreme, making potential breakouts or breakdowns easy to spot. Supports daily lookback (252 bars) or weekly security calls, with options to base levels on candle wicks or closing prices. Includes markers for new 52-week highs/lows and four built-in alert conditions.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.