OPEN-SOURCE SCRIPT
Atualizado 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.
Notas de Lançamento
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.Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.