OPEN-SOURCE SCRIPT
Atualizado Graveyard Pivots Price Magnet

Graveyard Pivots
Graveyard Pivots draws a fresh grid of price levels every day, measured from the daily open. It marks the quarter levels (.25, .50 and .75) between each pair of main round-number levels, so you can see where price may stall, react or reverse.
How it works
*Daily anchor. The grid starts from the daily open, so it resets at the start of each new day.
*Automatic step size. The gap between main levels is set from the timeframe and the instrument's tick size and price scale, so it works on forex, stocks, crypto and indices without manual setup.
*Quarter levels. Between each pair of main levels, the script draws a .25 line, a .50 core line and a .75 line.
*Core line. The .50 line is drawn thicker, in black, with a soft glow, so it stands out as the key level.
*Edge lines. The .25 and .75 lines are drawn in light blue.
Settings
*Graves each side of price: how many levels to show above and below price (up to 60 each side).
*Anchor source: Daily Open (default), Prev Day Close, Weekly Open, Monthly Open, Yearly Open, or Zero for a fixed grid that never resets.
*Line widths and colours for the core and edge lines.
*Price tags: optional labels showing each level's price, with an adjustable distance from the last bar.

Graveyard Pivots draws a fresh grid of price levels every day, measured from the daily open. It marks the quarter levels (.25, .50 and .75) between each pair of main round-number levels, so you can see where price may stall, react or reverse.
How it works
*Daily anchor. The grid starts from the daily open, so it resets at the start of each new day.
*Automatic step size. The gap between main levels is set from the timeframe and the instrument's tick size and price scale, so it works on forex, stocks, crypto and indices without manual setup.
*Quarter levels. Between each pair of main levels, the script draws a .25 line, a .50 core line and a .75 line.
*Core line. The .50 line is drawn thicker, in black, with a soft glow, so it stands out as the key level.
*Edge lines. The .25 and .75 lines are drawn in light blue.
Settings
*Graves each side of price: how many levels to show above and below price (up to 60 each side).
*Anchor source: Daily Open (default), Prev Day Close, Weekly Open, Monthly Open, Yearly Open, or Zero for a fixed grid that never resets.
*Line widths and colours for the core and edge lines.
*Price tags: optional labels showing each level's price, with an adjustable distance from the last bar.
Notas de Lançamento
Fixes and clarificationsFixed
- Levels now land on clean prices. The anchor (daily open etc.) is rounded to the nearest 25 ticks before the grid is built, so levels read like 4148.25 / 4150.75 / 4153.25 instead of 4148.31 / 4150.81.
- Line and label limits. "Graves Each Side of Price" is now capped at what fits TradingView's limits: 37 per side, or 20 per side with price tags on.
Clarifications
- Only the current grid is drawn, on the latest bar. Past days' grids are not kept on history. The grid re-anchors when a new day starts.
- The main round-number levels (.00) are not drawn. Only the .25, .50 and .75 levels between them are.
- The core line is black by default, so change its colour on dark charts.
- Step = tick size x 1000 (x5 on Daily and 4H+, x10 on Weekly/Monthly) x price scale. Levels = rounded anchor + n x step + 0.25 / 0.50 / 0.75 x step.
No change to colours, line widths, price tags or anchor options.
Notas de Lançamento
v1.1.2 - Header restoredRestored: The license and author header (Mozilla Public License 2.0, © ChartTrader-X) was removed by mistake in an earlier update. It is back in this version.
No change to the code, levels, colours or settings.
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.
ChartTrader-X
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.
ChartTrader-X
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.