Indicator · Pine Script v5 · On the chart

Naga Disp v2 (Tick)

by nishpa800

Marks a candle when a very high volume reading and a large displacement happen on the same bar.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code393
Settings40inputs
LicenceNone stated
Last update2 months ago20 Aug 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

Volume tiers compare the bar against lookbacks of 1000, 2000, 3000 and 4000 bars, and displacement compares the candle range to a standard deviation multiple with a fair value gap check. Version 2 adds a run condition and the first-bar filter, on by default. This build is made for tick charts and draws markers on the price chart.

Details

Published by

nishpa800 on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Volume, Sessions & time

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
★ FIRST BAR MASTER — VP + alert fire IFF the marked candle is the session FIRST barbooltruefirstBarOnly
Range TypestringOpen to Closed_type
Std Dev Lengthint100d_len
Std Dev Multiplier (sigma) — default 9float9.0d_mult
1K lookback (bars)int1000n1K
2K lookback (bars)int2000n2K
3K lookback (bars)int3000n3K
4K lookback (bars)int4000n4K
N in a row (consecutive >= floor candles)int4nRun
Floor tier (bars) — the '500' VPint500nF
RVOL Avg Lengthint30rv_avgLen
RVOL SMA Lengthint20rv_smaLen
Show all 40 settings
SettingTypeDefaultVariable
NAGASAKI+DISP Bullbooltrueen_nagaDispBull
cl_nagaDispBullcolor#00E676cl_nagaDispBull
4K+DISP Bullbooltrueen_hv4kDispBull
cl_hv4kDispBullcolor#00BFA5cl_hv4kDispBull
3K+DISP+RV Bullbooltrueen_hv3kDispBull
cl_hv3kDispBullcolor#2979FFcl_hv3kDispBull
2K+DISP+RV Bullbooltrueen_hv2kDispBull
cl_hv2kDispBullcolor#40C4FFcl_hv2kDispBull
1K+DISP+RV Bullbooltrueen_hv1kDispBull
cl_hv1kDispBullcolor#B2FF59cl_hv1kDispBull
NAGASAKI+DISP Bearbooltrueen_nagaDispBear
cl_nagaDispBearcolor#FF1744cl_nagaDispBear
4K+DISP Bearbooltrueen_hv4kDispBear
cl_hv4kDispBearcolor#FF6D00cl_hv4kDispBear
3K+DISP+RV Bearbooltrueen_hv3kDispBear
cl_hv3kDispBearcolor#FF4081cl_hv3kDispBear
2K+DISP+RV Bearbooltrueen_hv2kDispBear
cl_hv2kDispBearcolor#F50057cl_hv2kDispBear
1K+DISP+RV Bearbooltrueen_hv1kDispBear
cl_hv1kDispBearcolor#FFAB40cl_hv1kDispBear
NAGASAKI RUN Bullbooltrueen_nagaRunBull
cl_nagaRunBullcolor#69F0AEcl_nagaRunBull
4K RUN Bullbooltrueen_hv4kRunBull
cl_hv4kRunBullcolor#1DE9B6cl_hv4kRunBull
3K RUN Bullbooltrueen_hv3kRunBull
cl_hv3kRunBullcolor#448AFFcl_hv3kRunBull
2K RUN Bullbooltrueen_hv2kRunBull
cl_hv2kRunBullcolor#80D8FFcl_hv2kRunBull
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

VP

by dearvn
257 stars

This indicator calculates and plots a session-based volume profile directly on the price chart. It maps volume distribution across price levels, highlighting key structural reference points including the Point of Control, Value Area High, and Value Area Low. C

Indicator v5 VolumeSupport & resistance
Updated 6 weeks ago · None stated GitHub repository of VP

Midnight VWAP

by TradersPost
228 stars

The Midnight VWAP indicator calculates and overlays two distinct Volume Weighted Average Price (VWAP) lines on the price chart based on customizable session timeframes. It tracks an overnight or pre-market session alongside regular trading hours, resetting cal

Indicator v6 Moving averagesSessions & time
Updated 3 months ago · None stated GitHub repository of Midnight VWAP
219 stars

An educational Pine Script v4 indicator demonstrating how to plot volume histograms on the main price chart using unscaled axes. The code includes examples and commented templates for creating vertical line markers at specific dates or time zones, such as mark

Indicator v4 Sessions & timeVolume
Updated 5 years ago · None stated GitHub repository of 教學-畫垂直線1

Moon Dev GEX Arrows

by moondevonyt
92 stars

This overlay indicator plots option strike walls and an optional session VWAP on the price chart for SPY or ES. It spaces major strikes by the selected instrument, draws a set number of strikes on each side, and marks wall-trap and sweep events after a cooldow

Indicator v5 Support & resistanceSessions & time
Updated 2 months ago · Custom licence GitHub repository of Moon Dev GEX Arrows

This overlay indicator draws a volume profile for a chosen trading session directly on the price chart. It plots the point of control, value area high and low, an optional value area box, a live zone, and a session box with labels. Users select Tokyo, London,

Indicator v5 Sessions & timeVolume
Updated 7 weeks ago · None stated GitHub repository of Sessions & VP with prev session VP & daily/weekly opens

LoD Intraday Entry

by ChartsLector
41 stars

This overlay indicator marks the current day's low and a suggested entry zone a fraction of daily ATR below that low. It compares daily volume with a volume moving average, plots daily SMA and EMA distance, and draws an optional ATR-width price cloud. Labels c

Indicator v6 Support & resistanceVolatility & bands
Updated 3 days ago · None stated GitHub repository of LoD Intraday Entry

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers