1Copy the scriptPress Copy script above, or the copy button on the code below.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
Source Code
136 lines of Pine Script v5 from Tradingview/level-theory-vector-candles.pine, published under MPL-2.0 (file header). Keep the author's credit and licence lines when you reuse it.
Level Theory + Vector Candles plots quarter, half, and whole levels from a user-set rounding value, with separate color, line style, and width for each. Vector coloring marks high-volume or high spread-times-volume bars against the prior ten bars, and regular bars use gray when those conditions fail. It can draw vector zones from candle bodies, clear them with wick-inclusive candles, and optionally source volume from another symbol. Candle coloring is off by default.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Rounding Value
float
100
rounding_value
Quarter Levels
bool
true
use_qtr_levels
css_qtr
color
color.new(color.yellow,70)
css_qtr
style_qtr
string
Solid
style_qtr
width_qtr
int
1
width_qtr
Half Levels
bool
true
use_half_levels
css_half
color
color.new(color.yellow,35)
css_half
style_half
string
Solid
style_half
width_half
int
1
width_half
Whole Levels
bool
true
use_whole_levels
css_whole
color
color.yellow
css_whole
style_whole
string
Solid
style_whole
Show all 29 settings
Setting
Type
Default
Variable
width_whole
int
1
width_whole
Vector: Red
color
color.red
redVectorColor
Green
color
color.lime
greenVectorColor
Violet
color
color.fuchsia
violetVectorColor
Blue
color
color.blue
blueVectorColor
Regular: Up Candle
color
#999999
regularCandleUpColor
Down Candle
color
#4d4d4d
regularCandleDownColor
Set PVSRA candle colors?
bool
false
setcandlecolors
Maximum zones to draw
int
500
zonesMax
Zone top/bottom is defined with:
string
Body only
zoneType
Zones are cleared using candle:
string
Body with wicks
zoneUpdateType
Zone border width
int
0
borderWidth
Override color?
bool
true
colorOverride
Color
color
color.rgb(255, 230, 75, 90)
zoneColor
Zone Transperancy
int
90
transperancy
Override chart symbol?
bool
false
overrideSym
pvsraSym
string
INDEX:BTCUSD
pvsraSym
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.
This overlay approximates order-book liquidity from intrabar OHLCV buckets because true depth-of-market data is unavailable. It paints a decaying volume heatmap around price and labels absorption, exhaustion, rejection, and momentum when wick, body, delta, and
Ghost Zone v9 GTI Signals v18 is an overlay technical indicator designed to replicate Ghost Trade Pro methodology. It calculates anchored Supertrend channels, previous weekly close levels, fair value gaps, and volume profile high-volume nodes. The script evalu
This overlay indicator draws higher-timeframe candles as boxes on the price chart, with a selectable timeframe, candle thickness, wicks, history, vertical divisions, and optional fill for negative candles. It can plot pivot levels, including an optional centra
The LSD-15 indicator detects liquidity sweeps on 15-minute crypto charts by identifying price movements that exceed a threshold from swing highs and lows. It plots swing high and low lines on the price chart and highlights sweep candles in color. Multiple conf
This indicator provides four selectable analytical datasets directly on the price chart: quartile volume analysis, volume aggregation bars, US range bars, and gap tracking. Depending on the active mode, it plots synthetic candle structures, historical congesti
This indicator plots bullish and bearish order-block boxes on the price chart. It marks the prior candle when the current bar engulfs it and volume exceeds a twenty-bar average times a multiplier, then stores the zone in a matrix. Volume threshold and box colo