Free TradingView Indicator by AlgoAlpha — Volume & Order Flow
A multi-dimensional take-profit aid that scores how typical the current bar looks compared to past SuperTrend pivots, so you can tell when a trend has reached favorable exit conditions.
A multi-dimensional take-profit aid that scores how typical the current bar looks compared to past SuperTrend pivots, so you can tell when a trend has reached favorable exit conditions.
The indicator runs a standard SuperTrend and records every confirmed zigzag pivot that occurs during a matching-direction run. Tops go into a bull pool , bottoms into a bear pool . Each pivot is stored as a set of readings across several independent axes, such as relative volume , time of day , and price position inside the recent range .
On every bar, the current reading on each axis is compared to that historical pool. A blended score from 0 to 100 tells you how closely the current conditions resemble where past pivots in the same direction have clustered. The idea is to give trend followers a data-backed sense of when to start tightening up, rather than guessing an exit or using a fixed R-multiple.
Stacked mini histograms render to the right of price, one per active axis.
Bar heights show how pivots in each axis's conditional pool distribute across bins.
A dashed vertical line marks the current bar's bin on that axis, so you can see at a glance where today sits against history.
Bar hue tracks the active SuperTrend direction.
A vertical gradient table in the bottom-right showing the blended score, with a chevron marking the current level. Green at the top, red at the bottom.
A two-column readout of each active axis's individual score out of 100, plus a final row that classifies the blended score as Good , Neutral , or Bad . Position and text size are configurable.
Bars fade from neutral grey toward the opposing trend colour as the blended score rises toward 100, so the chart itself signals when the context is stretched.
Small orange markers print above or below the bar when the blended score hits 100 for the active SuperTrend direction.
The time-of-day axis disables automatically on daily and higher timeframes, where the reading has no meaning, and a banner explains this so the blended score stays honest.
Four independent axes feed into a single score, each conditioned on all the others.
Three built-in axes can be toggled on or off individually.
A fourth axis accepts any plot via source input , provided the series stays within 0–100 on all loaded bars.
SuperTrend — An ATR-based trailing stop that flips between bullish and bearish states. It controls which pool of historical pivots the script reads from.
Pivot pool — A rolling store of confirmed zigzag pivots, split by direction. The bull pool holds pivot highs from bullish SuperTrend runs. The bear pool holds pivot lows from bearish runs. Each pool is capped at 2,000 entries.
Context axis — A 0–100 value measured at the pivot bar. The script ships with three built-in axes (relative volume percentile, time of day, and position in recent range) plus one optional user-supplied signal.
Axis independence — The three built-in axes cover volume, time, and price respectively. Each describes a structurally different part of the market. Low correlation between axes keeps the blended score from being dominated by any single factor.
Conditional histogram — For each active axis, the script walks its pool and keeps only pivots whose bins on every other active axis match the current bar. The remaining pivots are binned to form a histogram.
Axis score — The count of pivots in the current bar's bin divided by the count in the histogram's tallest bin, scaled to 0–100. A score of 100 means the current context sits in the densest cluster of past pivots.
Blended favourability score — The arithmetic mean of all active per-axis scores. This is the value the gauge and table display.
Density-match scoring — The score measures how common the current context is among past pivots. It is not a forward probability and makes no claim about what happens next.
Add the script to an intraday chart on a liquid instrument. Let it run long enough to populate the pools — more history means more stable conditional histograms.
Let SuperTrend define the active regime. The script only scores in the direction of the current trend. Bar coloring and take-profit markers respect that regime.
Read the gauge and breakdown table together. The gauge shows the blended level. The table shows which individual axes are pulling it up or down.
Use the right-side profiles as a sanity check. If the dashed current-bin marker sits on or near the tallest bar across most axes, the current context closely resembles past pivot contexts in that direction.
Treat high scores as a cue to tighten management, not as reversal signals. A reading of 100 means conditions match where pivots have historically clustered — not that the trend is guaranteed to end.
Adjust the zigzag pivot length to control how strict the pool is. Lower values admit more pivots (bigger, noisier sample). Higher values keep only firmer pivots (smaller, cleaner sample).
You can plug your own signal into the custom axis to test whether an existing 0–100 oscillator adds useful conditioning, such as RSI or a normalized momentum reading. Pick a signal that is not strongly correlated with the three built-ins so the custom axis adds a genuinely new dimension.
Enable only the alerts that fit your workflow. Band-crossover alerts fire once per transition, not on every bar inside a band.
The pool holds every confirmed pivot during a matching-direction run, not only pivots that ended the trend. Intermediate pullbacks sit alongside genuine terminal pivots. Raise the zigzag pivot length to filter the pool if you want a cleaner sample.
On strongly trending symbols, the pool is dominated by pullback pivots rather than true terminal exits. Strong trends have many small pullbacks and only one final top or bottom. On choppy symbols the ratio is more balanced. Read the score with this in mind.
The blended score is a density-match measure, not a forward probability. A high reading means today's context is common among past pivots of this direction. It does not predict that the trend is about to end.
The time-of-day axis has no meaning on daily and higher timeframes. It is disabled automatically on those timeframes, and a warning banner confirms when this is active.
The custom axis requires a source already scaled to 0–100 on every loaded bar. Values outside that range disable the axis and surface a warning. Toggling the custom axis on a live chart starts the range check from the current bar. Reload the chart to validate against full loaded history.
Pools are capped at 2,000 entries per direction, with the oldest entries dropped first. On very long intraday histories the effective lookback is symbol- and timeframe-dependent.
All scoring uses data up to and including the confirmation bar of each pivot. Pivots are detected with the standard zigzag confirmation lag. The scoring population on any given bar reflects pivots confirmed at least zzLen bars earlier.
Explore other volume & order flow TradingView indicators by AlgoAlpha.
Free on TradingView
SuperTrend Take-Profit Dimensions is free to use on TradingView. Add it to any chart in seconds.