OPEN-SOURCE SCRIPT
80-20 Levels (NQ)

80-20 Levels (NQ) plots psychological round-number price levels for Nasdaq futures (NQ) and color-codes them relative to VWAP. The idea: prices ending in .80 and .20 (e.g. 28,780.00, 29,520.00) act as recurring magnet/reaction zones intraday. Pairing them with VWAP gives you instant context on whether each level sits in "premium" (above VWAP) or "discount" (below VWAP) territory.
What it does
80/20 levels — draws horizontal lines at every price ending in .80 and .20, automatically re-centered around live VWAP as price moves.
VWAP-relative coloring — levels above VWAP are red, levels below VWAP are green, so bias is readable at a glance.
VWAP line — standard intraday session VWAP (resets each session), plotted in orange.
Price-axis labels — each level's price prints as a color-matched tag directly on the right-hand price scale.
New York session range box — a table showing the total NY session range (high − low) plus the session high/low, in the corner of your choice.
Settings
Setting Description
Levels past VWAP (each side) How many 80/20 levels to show on each side of VWAP. e.g. 4 = 4 green levels below VWAP and 4 red levels above (1–10).
Show VWAP Show/hide the VWAP line.
Show price-axis labels Show/hide the per-level price tags on the right axis.
Above VWAP color Color for levels above VWAP (default red).
Below VWAP color Color for levels below VWAP (default green).
Level line width Thickness of the level lines (1–4).
Show NY session range Show/hide the session-range box.
Range box position Corner/edge for the box (Top Right, Top Center, Top Left, Middle Right/Left, Bottom Right/Center/Left).
Range box size Text size: Tiny / Small / Normal / Large / Huge.
New York session Session window (default 0930-1600).
Session timezone Default America/New_York.
⚠️ Required setup: enable price-axis labels
The level price tags use Pine's display.price_scale, which only renders if the chart's price scale has value labels enabled. This is a one-time chart setting, not part of the script — so include this in your published description:
Right-click the price scale (the price axis on the right edge of the chart).
Hover Labels in the menu that appears.
Click "Indicators and financials value labels" so it shows a checkmark.
The red/green level tags will appear on the axis immediately. If this option is off, the levels still draw on the chart but the axis price tags won't show.
Notes: this is a per-chart/layout setting and applies to all indicators' value labels, so you'll need to enable it on any new chart where you add the indicator. The indicator's own "Show price-axis labels" toggle controls whether this indicator contributes tags.
Suggested use
Designed for NQ (also works on MNQ / NQ1!). The .80/.20 logic assumes NQ's price magnitude; on very different instruments the spacing won't be meaningful.
Best on intraday timeframes where VWAP and the NY session are relevant.
Watch for reactions as price approaches a level; use the red/green VWAP context to frame whether you're fading into premium or buying discount.
What it does
80/20 levels — draws horizontal lines at every price ending in .80 and .20, automatically re-centered around live VWAP as price moves.
VWAP-relative coloring — levels above VWAP are red, levels below VWAP are green, so bias is readable at a glance.
VWAP line — standard intraday session VWAP (resets each session), plotted in orange.
Price-axis labels — each level's price prints as a color-matched tag directly on the right-hand price scale.
New York session range box — a table showing the total NY session range (high − low) plus the session high/low, in the corner of your choice.
Settings
Setting Description
Levels past VWAP (each side) How many 80/20 levels to show on each side of VWAP. e.g. 4 = 4 green levels below VWAP and 4 red levels above (1–10).
Show VWAP Show/hide the VWAP line.
Show price-axis labels Show/hide the per-level price tags on the right axis.
Above VWAP color Color for levels above VWAP (default red).
Below VWAP color Color for levels below VWAP (default green).
Level line width Thickness of the level lines (1–4).
Show NY session range Show/hide the session-range box.
Range box position Corner/edge for the box (Top Right, Top Center, Top Left, Middle Right/Left, Bottom Right/Center/Left).
Range box size Text size: Tiny / Small / Normal / Large / Huge.
New York session Session window (default 0930-1600).
Session timezone Default America/New_York.
⚠️ Required setup: enable price-axis labels
The level price tags use Pine's display.price_scale, which only renders if the chart's price scale has value labels enabled. This is a one-time chart setting, not part of the script — so include this in your published description:
Right-click the price scale (the price axis on the right edge of the chart).
Hover Labels in the menu that appears.
Click "Indicators and financials value labels" so it shows a checkmark.
The red/green level tags will appear on the axis immediately. If this option is off, the levels still draw on the chart but the axis price tags won't show.
Notes: this is a per-chart/layout setting and applies to all indicators' value labels, so you'll need to enable it on any new chart where you add the indicator. The indicator's own "Show price-axis labels" toggle controls whether this indicator contributes tags.
Suggested use
Designed for NQ (also works on MNQ / NQ1!). The .80/.20 logic assumes NQ's price magnitude; on very different instruments the spacing won't be meaningful.
Best on intraday timeframes where VWAP and the NY session are relevant.
Watch for reactions as price approaches a level; use the red/green VWAP context to frame whether you're fading into premium or buying discount.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.