Engulfing Zone [8 Types]Engulfing Zone
A price action tool that scans closed candles for engulfing behavior and draws the exact zone
each pattern creates, from the candle that sets the level to the candle that breaks it.
Instead of treating "engulfing" as one generic signal, this script separates it into eight
distinct types and reports every pattern under exactly one of them, so what you see on the
chart is never double counted.
WHAT MAKES THIS DIFFERENT FROM A STANDARD ENGULFING INDICATOR
1. Engulfing is measured by the CLOSE, not by body overlap.
Most engulfing scripts check whether one candle's body covers the previous candle's body.
This script requires the Confirm candle to CLOSE beyond the Base candle's High or Low, wick
included. A candle that merely covers the body but closes back inside the Base range is not
accepted. This is a stricter definition and it filters out a large number of weak signals that
body based detection would report.
2. Confirmation is allowed to be delayed.
A classic engulfing pattern is strictly two candles. In real markets the reaction is often
spread over several candles: a base forms, price pushes in the opposite direction for a few
bars, and only then does a close break the base level. This script detects those extended
setups as their own category rather than ignoring them.
3. Liquidity sweeps are identified as a separate class.
Sometimes the candles that produce the engulf first trade through the far side of the Base
candle, taking out the stop orders resting there, and only then close through the opposite
side. That behavior is meaningfully different from a clean engulf, so it is detected and
labelled separately as Type 1.
THE EIGHT PATTERNS
Throughout, a candle is Green when close is greater than open, Red when close is less than
open, and a Doji when close equals open. A Doji is neither Green nor Red, and is handled
explicitly. Only fully closed candles are read. The running candle is never used.
Regular (2 candles)
R Buy EG
Base candle is Red
The very next candle is Green
That Green candle closes above the Base candle's High
R Sell EG
Base candle is Green
The very next candle is Red
That Red candle closes below the Base candle's Low
E-Regular (3 or more candles)
ER Buy EG
Base candle is Red
It is followed by a run of consecutive Green candles
The run must contain at least 2 Green candles
Confirmation happens when one of those Green candles closes above the Base candle's High
A single Red candle appearing before confirmation cancels the run entirely
Doji candles are skipped: they neither count toward the run nor break it
ER Sell EG
Base candle is Green
It is followed by a run of consecutive Red candles
The run must contain at least 2 Red candles
Confirmation happens when one of those Red candles closes below the Base candle's Low
A single Green candle appearing before confirmation cancels the run entirely
Doji candles are skipped
If the very first candle after the Base already closes through it, that is by definition a
Regular pattern, so E-Regular requires the second candle or later to be the one that breaks
the level. Regular and E-Regular can therefore never both fire from the same Base candle.
Type 1: the same four patterns plus a liquidity sweep
Type 1 adds one requirement on top of the rules above. Before the close breaks through one
side of the Base candle, price must have traded through the opposite side.
T1 R Buy EG
An R Buy EG where the Confirm candle's Low is at or below the Base candle's Low.
T1 R Sell EG
An R Sell EG where the Confirm candle's High is at or above the Base candle's High.
T1 ER Buy EG
An ER Buy EG where at least one Green candle in the run has a Low at or below the Base
candle's Low. Any candle of the run qualifies, including the Confirm candle itself.
T1 ER Sell EG
An ER Sell EG where at least one Red candle in the run has a High at or above the Base
candle's High. Any candle of the run qualifies, including the Confirm candle itself.
The sweep is always measured against the Base candle, never against another candle in the run.
HOW A PATTERN IS CLASSIFIED
Every detected pattern is reported once, under its strongest matching type.
A Regular pattern that also swept is reported as T1 R and is not additionally reported as R.
An E-Regular pattern that also swept is reported as T1 ER and is not additionally reported as
ER. This means:
One pattern produces exactly one zone on the chart, never two stacked on top of each other
The summary table counts each pattern once
Turning off a type hides only that type and never silently hides another
Because Type 1 is a stricter version of its plain counterpart, hiding the plain types and
keeping the Type 1 types visible is a straightforward way to see only the sweep driven setups.
READING THE CHART
Each detected pattern draws a rectangle covering the Base candle's full High to Low range,
stretched horizontally from the Base candle to the Confirm candle. The rectangle is styled so
that its type can be read without looking at the label:
Solid border: Regular, confirmed by the very next candle
Dashed border: E-Regular, confirmation was delayed over several candles
Thin, softened border: a plain pattern, no sweep
Thick, crisp border: Type 1, a liquidity sweep occurred
Type 1 zones are also filled more solidly than plain zones, so stronger patterns stand out
when several zones sit close together.
On a Type 1 zone, a dotted line marks the exact Base level that was raided before the break:
the Base Low on the Buy side, the Base High on the Sell side. This makes the liquidity grab
visible instead of leaving it implied.
Each zone carries a label showing its pattern tag. Labels point at their own zone, below and
pointing up for Buy patterns, above and pointing down for Sell patterns, so it is always clear
which label belongs to which rectangle.
A summary table in the corner shows how many of each type were found inside the current scan
window, split into Buy and Sell columns. The table counts every detected pattern, including
types that are currently hidden, so it always reflects what the market actually printed rather
than what is currently switched on.
SETTINGS
Scan
Scan Length: how many closed candles are scanned backwards from the latest bar.
The running candle is always excluded.
Pattern Types
An individual on and off switch for each of the eight types.
Zone Style
- Bullish Zone and Bearish Zone: the two base colors used for all Buy and all Sell zones.
- Zone Transparency: fill transparency of a plain Regular or E-Regular zone.
- Type 1 Extra Opacity: how much more solid Type 1 zones are filled compared to the value
above.
- Mark Swept Level: draw the dotted line on the raided Base level of Type 1 zones.
- Swept Level Color: color of that line.
Labels
- Show Labels, Label Size, and Label Distance from Zone as a percentage of the Base candle
height. Increase the distance on noisy charts so labels clear the candles.
Summary Table
- Show, position, and size of the corner table.
ALERTS
Eight alert conditions are available, one per pattern type:
R Buy EG, R Sell EG, T1 R Buy EG, T1 R Sell EG, ER Buy EG, ER Sell EG, T1 ER Buy EG,
T1 ER Sell EG.
Each message carries the pattern tag, the symbol, the timeframe and the closing price. The
script also sends the same messages through the alert function, so the "Any alert() function
call" alert type can be used to receive every pattern through a single alert.
All alerts are evaluated only after a candle has fully closed.
REPAINTING
This script does not repaint.
- Detection reads confirmed candles only. The zone scan starts one bar behind the latest bar,
so the candle that is still forming is never part of any calculation.
- Every alert signal is written so that it can only become true once a candle has finished.
Price moving inside an open candle cannot make a signal appear and then disappear.
- Zones are rebuilt on the last bar using confirmed history. A zone that has been drawn does
not move or change type afterwards. It only leaves the chart when it falls outside the Scan
Length window.
When you create an alert, TradingView may show a caution banner saying the indicator can
repaint. That banner appears automatically for any script that uses the built in bar state
variables, no matter how they are used, because the platform cannot check the intent behind
them. This script uses them for the opposite purpose: one of them is what restricts every
signal to bar close, and the other is what redraws the zones efficiently on the final bar.
Choosing "Once Per Bar Close" when creating the alert is still recommended.
NOTES AND LIMITATIONS
- The script draws on the last bar only. Increasing Scan Length raises the number of drawing
objects. TradingView caps these at 500 boxes, 500 labels and 500 lines, and the oldest
objects are dropped once a cap is reached. The default value is chosen to stay well inside
those limits on normal charts.
- Detection is purely structural. It reports where a pattern occurred and nothing more. It
does not rank patterns by quality, measure follow through, or produce entries, targets or
stops.
- Doji candles are treated as neutral by design. They never act as a Base candle and never
break an E-Regular run. On symbols and timeframes that print many Doji candles this makes
runs slightly more tolerant than a strict same color rule would be.
HOW TO USE IT
The zones mark where one side of the market decisively lost control of a level. They are
reference areas, not entry signals on their own. Common approaches are to watch how price
behaves when it returns to a zone, or to use zone direction as context alongside higher
timeframe structure, support and resistance levels, or trend direction.
Type 1 zones deserve particular attention, because the sweep tells you the move happened after
liquidity was taken rather than before.
DISCLAIMER
This indicator is a pattern detection tool. It is not financial advice and it makes no claim
about profitability. Trading involves risk. Always apply your own analysis and risk management. Indicatore

Indicatore

ORB Pro | Session Breakout ScalperA precision-filtered Opening Range Breakout strategy built for intraday scalping — with multi-layer confirmation designed to cut false breakouts and size risk intelligently.
This strategy trades breakouts of a configurable opening range, but only when volume, volatility, VWAP trend, and price confirmation all line up — reducing whipsaw entries.
Features
Flexible Opening Range
Fully configurable range length, session start/end times, and timezone
Works across regular trading hours and overnight/futures sessions that cross midnight
Multi-Layer Entry Filters (each toggleable independently)
Range-size filter — only trades when the OR is a healthy size relative to ATR (avoids both dead-quiet and blown-out ranges)
Volume confirmation — requires breakout volume to exceed a multiple of average volume
VWAP directional filter — longs only above session VWAP, shorts only below
False-breakout confirmation — requires price to hold beyond the range for N bars before entering
Built-In Risk Management
Choice of stop-loss method: range-based or ATR-based
Configurable risk-reward target with partial profit-taking at a separate R-multiple
Optional breakeven stop after partial exit
Daily trade cap to prevent overtrading
Automatic flatten at session end — no overnight scalp exposure
Smart Position Sizing
Risk-based sizing (% of equity per trade, scaled to stop distance) or flat % of equity
Hard position-size cap to prevent excessive leverage on tight stops
Clean, Toggleable Visuals
Gradient-shaded opening range box (color intensity reflects range size vs. ATR)
Session VWAP line
OR high/low levels plotted for the remainder of the session
Session separators and failed-breakout markers
One-time OR size label (as an ATR multiple) for quick read on range quality
Realistic Cost Modelling
Commission and slippage assumptions built into the backtest engine, so results reflect real-world friction rather than frictionless fills
Notes
Intraday timeframes only. This strategy requires multiple bars within the opening range window to function (e.g. 1–15 min charts). Loading it on Daily+ charts will throw an explicit error rather than silently doing nothing.
Commission/slippage defaults are generic starting points (0.05% commission, 2 ticks slippage) — tune these to match your actual broker/instrument before trusting backtest P&L numbers.
All filters can be disabled individually if you want to isolate and test the raw breakout logic, or strip it down to a simpler ORB system.
Strategia

MAD Z [SigmaSeven]MAD Z
WHAT IT DOES
MAD Z is a regime oscillator that measures how far price has deviated from its recent median, using the Modified Z-Score, a robust statistical method based on the Median Absolute Deviation (MAD) instead of the classical mean/standard deviation. It classifies the market into three persistent states: Risk-On, Risk-Off, and Hold, and colors the oscillator and (optionally) the price bars accordingly.
WHY MAD INSTEAD OF A CLASSICAL Z-SCORE
A classical z-score uses the mean and standard deviation. Both are heavily distorted by outliers: a single large candle (news spike, liquidation wick) inflates the standard deviation and compresses the score exactly when you need it most. The Modified Z-Score replaces:
- the mean with the rolling median (robust location estimate), and
- the standard deviation with the Median Absolute Deviation (robust scale estimate).
The formula is:
z = 0.6745 * (price - median) / MAD
where MAD = median( |price - median| ) over the lookback window. The constant 0.6745 rescales MAD so the output is comparable to a standard z-score under a normal distribution (0.6745 is the 75th percentile of the standard normal). The practical effect: the score reacts to genuine directional displacement but is far less distorted by single-bar outliers than a standard-deviation-based z-score.
HOW THE STATE LOGIC WORKS
The raw score alone would flip constantly around zero. MAD Z therefore uses a hysteresis state machine with two asymmetric thresholds:
- Score crosses ABOVE the Long Threshold (default +1.30) → state switches to Risk-On and stays there.
- Score crosses BELOW the Short Threshold (default -0.20) → state switches to Risk-Off and stays there.
- Between the thresholds, the last state is held (Hold Zone, shaded band).
The asymmetry (a high bar for entering Risk-On, a much closer bar for exiting into Risk-Off) is deliberate: it demands strong statistical displacement before calling a bullish regime, but exits early when the displacement fades. Both thresholds are fully adjustable, so the behavior can be inverted or symmetrized.
HOW TO READ IT
- Oscillator line: the Modified Z-Score of the selected source (default hlcc4) over the Baseline Length (default 50 bars). Colored by current state.
- Threshold lines and shaded Hold Zone: the hysteresis band described above.
- Gradient fills: visual emphasis of displacement above/below zero.
- Bar Coloring (optional): paints price candles in the current regime color so the state is visible on the main chart without reading the pane.
Typical use: as a regime filter for other strategies (only take longs while Risk-On), or as a standalone mean-displacement gauge on higher timeframes. It is NOT a complete trading system and issues no entries or exits by itself.
SETTINGS
- Source: input series (default hlcc4)
- Baseline Length: lookback for median and MAD (default 50)
- Smoothing / Smoothing (EMA): optional EMA smoothing of the raw score (off by default)
- Long / Short Threshold: hysteresis levels (defaults +1.30 / -0.20)
- Color Mode: 8 preset palettes, or custom Risk-On/Risk-Off colors
- Bar Coloring: toggle candle coloring on the main chart
LIMITATIONS
- The score is computed on the current bar's value and can change until the bar closes; the state can therefore also change intrabar. For confirmed signals, evaluate on bar close.
- The median/MAD baseline needs the full lookback window; the first "Baseline Length" bars show no score.
- Like any displacement measure, it is descriptive of the recent window, not predictive. In prolonged low-volatility ranges MAD becomes small and the score can appear exaggerated.
- Default thresholds were chosen as reasonable general-purpose values, not optimized per market. Adjust them to your instrument and timeframe.
The calculation uses no higher-timeframe requests and no lookahead; it does not repaint past bars.
Indicatore

Auto Swing RulerAuto Swing Ruler is a visual measurement tool that automatically identifies confirmed price swings and measures each completed leg directly on the chart.
Its purpose is to replace repeated manual use of the measuring tool by displaying compact information for each swing, including movement size, duration, historical rank, and optional volume participation.
The indicator does not generate buy or sell signals. It is designed to help users compare the structure, speed, and relative importance of price swings.
HOW SWINGS ARE DETECTED
The script uses confirmed pivot highs and pivot lows to construct an alternating swing chain.
A pivot is confirmed only after the number of bars selected in the Pivot strength setting has passed on its right side.
When two consecutive pivots are of the same type, the script retains the more extreme value:
- For consecutive pivot highs, the higher pivot is retained.
- For consecutive pivot lows, the lower pivot is retained.
This prevents the swing chain from creating unnecessary same-direction segments.
Higher Pivot strength values identify broader and cleaner swings, while lower values produce more frequent and shorter swing legs.
LEG MEASUREMENTS
Each confirmed swing leg can display the following information:
- Percentage movement or ATR multiples.
- Duration in bars.
- Historical percentile rank.
- Relative volume during the leg.
Example:
+12.4% / 14b / P85 / V1.3x
This means:
- The leg advanced by 12.4%.
- The movement lasted 14 bars.
- Its absolute size ranked at approximately the 85th percentile of the stored completed-leg history.
- Average volume during the leg was approximately 1.3 times the current 50-bar average volume.
Users can choose between two measurement modes:
1. Percent
Displays the percentage change between the beginning and end of the swing leg.
2. ATR multiples
Displays the absolute price movement divided by ATR(14), allowing swing size to be viewed relative to recent volatility.
HISTORICAL PERCENTILE
The script stores the absolute percentage size of up to the most recent 100 finalized legs.
Before adding a newly completed leg to the history, the indicator compares its size with the existing stored legs and calculates its percentile rank.
A reading such as P85 means that the leg was larger than approximately 85% of the stored comparison legs.
The percentile is a descriptive ranking of historical swing size. It is not a probability, success rate, or prediction of future price movement.
VOLUME RATIO
When enabled, the indicator calculates the average volume recorded during the completed leg and compares it with the current 50-bar average volume.
For example:
- V1.5x means average volume during the leg was approximately 1.5 times the reference average.
- V0.8x means average volume during the leg was below the reference average.
The volume field is skipped when usable volume data is unavailable. Volume comparisons may also be less meaningful on markets that provide synthetic, tick-based, or incomplete volume.
PROVISIONAL AND FINALIZED LEGS
A newly detected leg remains provisional until the next opposite pivot is confirmed.
Provisional measurements are prefixed with the ~ symbol because the current same-direction extreme may still be replaced by a more extreme pivot.
For example:
~+6.8% / 9b
When the next opposite pivot is confirmed, the previous leg becomes finalized. Its endpoint, line, and measurement label are then fixed during normal chart operation.
LIVE LEG
The optional dashed live line connects the latest confirmed pivot to the current closing price.
It provides a real-time visual estimate of the movement currently developing after the latest confirmed pivot.
The live leg is not a confirmed swing. Its size, direction, endpoint, and duration can change while price develops.
An optional state label can display the live percentage movement, bar count, and percentile comparison. This label is disabled by default to keep the chart clean.
VISUAL-DENSITY CONTROLS
The indicator includes several options designed to reduce chart clutter:
- Show or hide all completed-leg labels.
- Show or hide movement size.
- Show or hide bar count.
- Show or hide percentile rank.
- Show or hide volume ratio.
- Show or hide the live leg.
- Show or hide the live state label.
- Select label size.
- Limit the number of completed legs displayed on the chart.
- Adjust swing-line width and style.
- Select separate colors for rising and falling legs.
The Visible completed legs setting limits only the number of drawings shown on the chart. Historical leg measurements used by the percentile calculation are stored separately.
The default display shows movement size and bar count, while percentile rank, volume ratio, and the state label are disabled to maintain a cleaner chart.
ALERTS
The indicator provides alert conditions for:
- A newly confirmed swing high.
- A newly confirmed swing low.
- A finalized leg reaching or exceeding the selected Big leg alert percentile.
The Big leg alert requires at least ten finalized legs in the stored history before it can trigger.
REPAINTING AND CONFIRMATION
Auto Swing Ruler uses confirmed pivots.
Because a pivot requires future bars on its right side, swing points appear with a natural delay equal to the selected Pivot strength.
The current provisional leg may extend or change when a more extreme same-direction pivot is confirmed.
The live leg changes continuously because it connects the latest confirmed pivot to the current market price.
After an opposite pivot confirms and a leg becomes finalized, its stored measurement and drawing are no longer modified during normal chart operation.
Changing the symbol, timeframe, Pivot strength, measurement settings, or available chart history causes the script to recalculate its swing structure.
LIMITATIONS
Pivot-based swing detection is inherently delayed and is not intended to identify turning points at the exact moment they occur.
Lower Pivot strength settings may create many small legs in volatile or sideways markets. Higher settings may omit smaller price movements.
ATR measurements use the ATR value available when the leg is finalized rather than an average ATR calculated across the full leg.
The volume ratio compares the leg's average volume with the 50-bar volume average available when the leg is finalized.
Percentile results depend on the completed legs available in the loaded chart history and should not be treated as universal market statistics.
Auto Swing Ruler is a visual measurement and historical-comparison tool. It does not forecast future price direction, place orders, or provide standalone trading recommendations. Indicatore

Trend Age MapTrend Age Map is a visual trend-segmentation and historical-context indicator.
Instead of displaying only the current market direction, the script divides the chart into completed and active uptrend and downtrend segments. Each segment is measured by its duration in bars and its percentage magnitude, allowing the current trend to be viewed in the context of previous trends from the same chart.
HOW IT WORKS
During an uptrend, the script tracks the highest price reached by the active segment. The uptrend ends when the closing price retraces from that extreme by the selected reversal distance.
During a downtrend, the script tracks the lowest price reached by the active segment. The downtrend ends when the closing price rises from that extreme by the selected reversal distance.
When a reversal is confirmed, the completed trend is stored as a historical sample and a new segment begins from the previous trend's extreme.
REVERSAL MODES
1. Adaptive ATR
This is the default mode.
The reversal distance is calculated from ATR on the active chart timeframe. Because each timeframe uses its own bars and volatility, changing from a daily chart to an hourly or minute chart recalculates the trend structure for that timeframe.
Three adaptive sensitivity settings are available:
- Fast: uses 2.0 x ATR and produces more frequent, shorter segments.
- Balanced: uses 3.5 x ATR and provides a middle-ground structure.
- Slow: uses 5.0 x ATR and retains only larger trend movements.
2. Percent
The reversal distance is a fixed percentage of the latest trend extreme.
Because the percentage is independent of timeframe volatility, the same major trend structure may remain visible across several timeframes.
3. ATR
This mode allows the user to select a manual ATR multiplier.
TREND BOXES
Completed uptrends are displayed with teal boxes.
Completed downtrends are displayed with red boxes.
The vertical range of each completed box represents the movement from the segment's starting price to its final extreme. Its horizontal width represents the segment's duration.
The active trend is displayed as a provisional box with a dashed border. This box continues to extend and update until a qualifying reversal is confirmed.
Historical duration and percentage labels are optional and disabled by default to keep lower-timeframe charts clean.
HISTORICAL CONTEXT
The script maintains separate historical samples for completed uptrends and downtrends.
For the active trend, it calculates:
- Current direction.
- Current age in bars.
- Current percentage magnitude.
- Age percentile relative to previous trends in the same direction.
- Magnitude percentile relative to previous trends in the same direction.
- Number of comparable completed trends.
- Effective ATR multiplier when an ATR-based mode is active.
These values are available in the Data Window and are not displayed as an information box on the chart.
The percentile values describe where the current trend ranks within the loaded chart history. They are descriptive comparisons, not probabilities that the trend will continue or reverse.
USER CONTROLS
The script includes controls for:
- Reversal calculation mode.
- Adaptive sensitivity.
- Manual percentage or ATR threshold.
- ATR calculation length.
- Minimum trend duration.
- Reversal confirmation on candle close.
- Historical and current trend-box visibility.
- Optional duration and magnitude labels.
- Maximum number of retained drawings.
- Maximum number of retained statistical samples.
- Box transparency.
- Uptrend and downtrend colors.
LOW-TIMEFRAME HANDLING
Drawings use time-based coordinates so the indicator can operate across long intraday datasets without relying on distant bar-index coordinates.
The number of historical drawings and statistical samples is capped. When a selected limit is exceeded, the oldest retained item is removed. Lower drawing limits may improve chart performance on small timeframes.
ALERTS
Alert conditions are available when:
- A new uptrend segment is confirmed.
- A new downtrend segment is confirmed.
When candle-close confirmation is enabled, these events are confirmed only after the active bar closes.
REPAINTING AND BEHAVIOR
The current trend box is provisional by design. It changes as the active trend extends, forms a new extreme, or eventually reverses.
With "Confirm reversals on candle close" enabled, a trend-direction change is accepted only after the candle closes.
After a reversal is confirmed, the completed trend box is no longer modified during normal chart operation.
Changing the symbol, timeframe, historical dataset, reversal mode, sensitivity, or other calculation settings causes the indicator to recalculate its historical segmentation.
If candle-close confirmation is disabled, the current trend state can change while the realtime candle is forming.
The first trend begins from the first available bar in the loaded dataset, so its starting point should be considered approximate.
LIMITATIONS
Trend segmentation depends on the selected reversal threshold. A faster setting creates more segments and reacts to smaller movements, while a slower setting retains broader movements.
ATR-based calculations adapt to the volatility of the active timeframe, so structures are not expected to remain identical when the timeframe changes.
The displayed history is limited by the selected maximum drawing and sample settings.
Percentile readings depend entirely on the completed trends available in the loaded chart dataset. They do not represent universal market statistics.
Trend Age Map is a descriptive visual-analysis tool. It does not predict when a trend will end, does not place orders, and should not be interpreted as a standalone buy or sell system. Indicatore

Support and Resistance with Probability% VolumeRelease Notes — Support and Resistance with Probability% Volume
What this script does
This indicator automatically plots Support and Resistance zones using confirmed pivot highs/lows from two higher-timeframe “banks”. Each level tracks:
Touch count (how many times price has interacted with the level)
Respect probability % (how often touches resulted in a bounce vs a break)
Volume context for each touch (bucketed into Low → Extra High)
It is designed for both scalping and day trading, with one preset selector.
Key Features
1) Scalp / Day Trade presets (2-bank framework)
A single dropdown sets the two internal timeframes:
Scalp mode: Bank A = 1m, Bank B = 5m
Day Trade mode: Bank A = 15m, Bank B = 1H
This gives you a fast bank (near-term structure) and a slower bank (bigger structure) at the same time.
2) Confirmed Pivot Levels (non-repainting level creation)
Levels are created only from confirmed pivot highs/lows, using:
Left Bars / Right Bars to confirm pivots
Levels are added only when the source timeframe prints a new bar
Because pivots are confirmed and request.security() uses lookahead_off, levels are stable (no future leakage).
3) Level merging (de-clutter / reduce duplicates)
When a new pivot prints, the script checks if it’s close to an existing level.
If within Merge Similar Levels (%), it merges into the existing level (averages the price)
Otherwise it creates a new level
This keeps the chart clean and prevents “stacked” levels at nearly the same price.
4) Level management & pruning (Live vs Historical depth)
The script maintains a rolling “active level set” using a time window:
Include Historical Levels OFF → uses Bars Window For Levels
Include Historical Levels ON → uses Historical Bars
Old levels automatically drop off once they exceed the selected window, and the bank is also capped with:
Max Levels (Bank A / Bank B)
So it stays fast and avoids clutter.
5) Touch detection (wick-based, ATR-scaled tolerance)
Touches are detected using a wick-based method (more realistic than close-only tests), with tolerance based on ATR:
Touch Tolerance (ATR x) defines how close price must get to count as a touch
Cooldown Between Touches prevents counting repeated taps too quickly
This works well for volatile symbols where “near misses” matter.
6) Respect Probability % (bounce vs break outcome)
After a touch, the script opens a “pending outcome” and measures whether price:
Bounces by reaching a bounce threshold, or
Breaks by crossing a break threshold
Both thresholds are ATR-scaled:
Bounce Distance (ATR x)
Break Threshold (ATR x)
The result updates counters:
ok = respected (bounce)
bad = failed (break)
Respect % = ok / (ok + bad) × 100
Lookahead windows control how long the script waits for an outcome:
Lookahead Bars for Respect (Bank A / Bank B)
If neither bounce nor break occurs within the lookahead window, the pending state expires without scoring.
7) Wick Zones (largest excursion visualization)
Each level maintains a “worst case” wick excursion seen so far:
Support tracks the largest wick below the level
Resistance tracks the largest wick above the level
These are drawn as zones (boxes), so you can visually see how “thick” the level behaves in practice.
Controls include:
Show Zones
Min Zone Height (ATR x)
Zone fill / border opacity settings
Optional:
Show Center Line (lvl) to draw a clean line through the zone midpoint.
8) Volume bucket breakdown per touch (HMV-style)
Each touch is classified into a volume “bucket” using Z-score:
Uses Volume MA and Volume StDev
Categorizes touches into: Low / Normal / Medium / High / Extra High
Counts how many touches occurred in each bucket
You can choose what to display with:
Show Low / Normal / Medium / High / Extra High
Show Volume Breakdown in Labels
This lets you quickly spot whether a level is being tested mostly on heavy volume (more meaningful) or low volume (often less meaningful).
9) Clean chart rendering + label controls
The indicator uses object “pools” (lines/labels/boxes) to stay efficient.
You can control appearance with:
Per-bank colors + line widths
Label on/off
Label background opacity + text opacity
Back-extend (how far zones/lines extend left)
Interpreting the labels
Each plotted level label displays:
Sup. / Res.
Bank timeframe (e.g., 1m, 5m, 15m, 1H)
Touch count
Resp % (respect probability)
Optional volume bucket counts for touches
Example:
Sup. (5m) | Touch: 6 | Resp: 83% | Vol M:3 H:2 XH:1
How to Use — Support and Resistance with Probability% Volume
1) Pick your mode first (Scalp vs Day Trade)
Use Preset Mode to set the two timeframe banks:
Scalp = Bank A 1m (micro structure) + Bank B 5m (local structure)
Day Trade = Bank A 15m (intraday structure) + Bank B 1H (session structure)
Rule of thumb:
If you’re trading off a 1m–5m chart → Scalp
If you’re trading 5m–15m entries / session moves → Day Trade
2) Understand what the script plots
Each bank creates levels from confirmed pivot highs/lows and draws them as:
A wick zone (filled box): shows “where price really stabs” around the level
Optional center line: a clean line at the level price
A label: shows Touches, Respect%, and optional Volume bucket counts
Support/Resistance is decided dynamically:
If current price is above the level → it will label it as Support
If current price is below the level → it will label it as Resistance
3) Use Touches + Respect% as the “quality filter”
The two most useful numbers are:
Touch count: how often the level has been interacted with
Respect %: how often touches resulted in a bounce vs a break
(higher usually = more reliable in that market context)
Practical guidance:
Touches 1–2: “new / unproven” levels (use cautiously)
Touches 3–5: good working levels
Touches 6+: strong structure but can become “obvious” (watch for stop runs)
Respect% guidance:
70–100%: level has recently held well
50–70%: mixed, often tradable only with confirmation
<50%: level is getting chewed through (treat as weak / likely to break)
4) Use the Volume breakdown to judge “meaningful” touches
If Show Volume Breakdown in Labels is on, you’ll see counts like:
M:3 H:2 XH:1 (Medium/High/Extra High volume touches)
How to read it:
More H/XH touches → level tests happened when participation was strong
(usually more meaningful than low-volume taps)
Mostly Low/Normal touches → the level may be “technical” but not defended
Tip for scalping:
A level with high Respect% and multiple High/Extra High touches is often a great “reaction zone” to stalk entries around.
5) Tune “how strict” a touch is (Touch Tolerance)
Touch Tolerance (ATR x) controls how close price must get to count as a touch.
Smaller = stricter touches (fewer, cleaner)
Larger = looser touches (more, but noisier)
Common starting points:
XAUUSD 1m scalping: 0.08 – 0.15
15m / 1H day trading: 0.10 – 0.25
If you feel touches are “too easy” → reduce tolerance.
If it misses obvious taps → increase tolerance slightly.
6) Tune Respect% behavior (Bounce / Break thresholds)
These are ATR-based, so they adapt to volatility:
Bounce Distance (ATR x): how far price must move away to count as a bounce
Break Threshold (ATR x): how far through the level counts as a failure/break
Lookahead Bars: how long the script waits for bounce/break confirmation
Practical tuning:
If Respect% feels too optimistic (too many bounces) → increase Bounce Distance
If Respect% feels too harsh (too many breaks) → increase Break Threshold
If outcomes often remain unresolved → increase Lookahead Bars slightly
7) Use Zones (wick thickness) for entries and stops
Zones show the largest wick excursion seen at that level. This helps with:
Entry placement: enter near the “edge” of the zone rather than the center
Stop placement: stops often need to sit outside the wick zone to avoid noise
Avoiding fakeouts: if the zone is thick, expect deeper probes
Controls:
Min Zone Height (ATR x) prevents tiny/meaningless zones
Zone opacity lets you keep the chart readable
8) De-clutter with merging + level limits
If you see too many levels stacked:
Increase Merge Similar Levels (%)
Reduce Max Levels per bank
Reduce the Bars Window (or don’t enable Historical)
If you want broader structure:
Enable Include Historical Levels and increase historical bars (careful—more clutter)
9) A simple workflow for trading with it
For longs
Identify nearest Support zone (from either bank)
Prefer levels with higher touches + higher Respect%
Prefer levels with multiple High/Extra High volume touches
Wait for your entry trigger (your system/confirmation)
Use the zone thickness to judge stop distance
For shorts
Same logic using Resistance zones.
Attribution
This indicator incorporates ideas from several open-source TradingView projects.
Heatmap Volume (xdecow)
The volume classification system used for touch analysis is inspired by the open-source
Heatmap Volume indicator by xdecow.
Specifically, this script adapts the statistical volume classification methodology based on:
Moving Average of Volume
Standard Deviation of Volume
Relative Volume (Z-Score) Buckets
The original Heatmap Volume indicator was designed to visualise abnormal market participation.
In this indicator, that methodology has been substantially extended and integrated into an entirely different Support & Resistance framework where volume buckets are used to:
Classify every support/resistance touch.
Build historical volume-touch statistics.
Measure how often high participation defends or breaks levels.
Display volume participation directly within each level label.
All Support & Resistance detection, probability calculations, touch engine, wick zone calculations, buyer/seller control analysis, level management, historical statistics and rendering were independently developed for this project.
Special thanks to xdecow for releasing the original Heatmap Volume indicator as open source. Indicatore

Pivot Sniper Method [trade_w_samet]🎯 Pivot Sniper Method
Pivot Sniper Method is a confirmed pivot-reversal, signal-quality, session-filtering, trade-mapping, alert, and loaded-history statistics indicator designed to convert confirmed price pivots into a structured chart-review workflow.
The script is built around one central idea:
Not every confirmed pivot should be treated as an equal-quality reversal setup.
Instead of displaying every pivot as an identical signal, Pivot Sniper Method evaluates each confirmed pivot through a five-part Signal Strength model, applies the selected directional and session rules, maps a complete Entry / Stop Loss / TP1 / TP2 / TP3 structure, manages optional Break-Even behavior, and records the result through an internal R-based tracker.
When an eligible pivot is confirmed, the script can:
• Display a confirmed BUY or SELL label
• Show the calculated Signal Strength percentage directly below the direction label
• Evaluate Pivot Distance, Wick Quality, Confirmation Candle, Volume Participation, and Trend Alignment
• Apply Bullish, Bearish, or Both directional bias
• Restrict new signals to London, New York, London + New York, All Sessions, or a Custom session
• Apply an adjustable signal cooldown
• Calculate the Entry at the confirmation-candle close
• Calculate Stop Loss using ATR, Pivot Level, Pivot + ATR Buffer, or Signal Candle
• Calculate independently adjustable TP1, TP2, and TP3 targets
• Move the active Stop Loss to Break-Even after TP1 or TP2
• Add an optional favorable Break-Even tick offset
• Replace the current active tracked trade when a new eligible signal appears
• Display active Entry, Stop / Break-Even, TP1, TP2, and TP3 lines and labels
• Remove the separate Entry line and label after Break-Even becomes active
• Display compact tooltips containing signal, price, risk, target, and status information
• Track Trades, Win Rate, NET R, Average R, TP1 / TP2 / TP3 hit rates, and Break-Even results
• Display a compact premium desktop dashboard
• Display a reduced Phone Mode dashboard
• Move the dashboard to any chart corner
• Support Auto, Dark, Light, and Phone visual modes
• Support static alertcondition() events
• Support one combined “Any alert() function call” workflow
• Include symbol, timeframe, strength, Entry, Stop, targets, Stop Loss mode, Break-Even mode, and session context in dynamic alerts
The purpose of the script is to provide a transparent framework for studying confirmed pivots, setup quality, session context, predefined risk, multiple reward targets, Break-Even behavior, and bar-based historical outcomes.
It is not financial advice.
It is not an automated trading system.
It does not execute broker orders.
It does not calculate position size.
It does not guarantee that a confirmed pivot will produce a reversal.
It does not guarantee that historical Win Rate or NET R will continue in future market conditions.
It does not include spread, commission, slippage, latency, financing, taxes, partial fills, or broker-specific execution.
It does not reconstruct the exact intrabar path inside historical candles.
━━━━━━━━━━━━━━━━━━━━━━
📌 OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━
At a high level, Pivot Sniper Method performs the following sequence:
• Searches price for confirmed pivot lows and pivot highs.
• Requires the selected number of completed candles on the right side of a pivot.
• Rejects simultaneous bullish and bearish pivot confirmation on the same calculation.
• Evaluates the selected Trend Bias.
• Evaluates the selected Trading Session.
• Evaluates the signal cooldown.
• Calculates a 0–100 Signal Strength score.
• Rejects signals below the selected minimum strength when the strength filter is enabled.
• Displays a BUY or SELL label only when all active signal rules pass.
• Opens a tracked trade at the close of the confirmation candle.
• Selects a Stop Loss using the active Stop Loss Mode.
• Uses ATR as a safety fallback when a structural Stop Loss is invalid.
• Calculates TP1, TP2, and TP3 from the actual Entry-to-Stop risk distance.
• Tracks target and stop touches from the candle after entry.
• Moves the active Stop Loss to Break-Even after the selected target condition.
• Replaces an active tracked trade at the current close when a new eligible signal appears.
• Records each completed trade in R.
• Updates a compact dashboard with state, trade, performance, and quality information.
• Generates static and dynamic TradingView alert events.
The script does not use machine learning.
It does not claim to predict every market reversal.
Its dashboard is not TradingView Strategy Tester.
Its statistics are calculated internally from the script’s own confirmed-signal, OHLC-touch, replacement-exit, and Break-Even rules.
━━━━━━━━━━━━━━━━━━━━━━
🧠 CORE IDEA
━━━━━━━━━━━━━━━━━━━━━━
A pivot low identifies a price point that is lower than the selected number of candles on both sides.
A pivot high identifies a price point that is higher than the selected number of candles on both sides.
Confirmed pivots can provide useful reversal context, but a pivot alone does not answer:
• whether the setup agrees with the selected directional bias
• whether the setup occurs during the selected trading session
• whether the pivot candle contains a meaningful rejection wick
• whether price has moved sufficiently away from the confirmed pivot
• whether the confirmation candle supports the intended direction
• whether volume participation is elevated or ordinary
• whether price and the selected EMA structure support the direction
• where Stop Loss should be placed
• how the trade should be mapped in R
• when Break-Even should become active
• how a new signal should affect an existing tracked trade
• how the setup behaved under the script’s historical bar-touch rules
Pivot Sniper Method therefore treats the pivot as the first stage of a complete process rather than the final decision.
The complete workflow is:
potential pivot
→ right-side pivot confirmation
→ same-bar conflict rejection
→ directional-bias validation
→ session validation
→ cooldown validation
→ five-part quality scoring
→ minimum-strength validation
→ BUY or SELL signal
→ confirmation-candle Entry
→ Stop Loss selection
→ TP1 / TP2 / TP3 mapping
→ active-trade management
→ optional Break-Even
→ TP3, Stop, Break-Even, or replacement exit
→ internal R result
→ dashboard update
→ alert event
━━━━━━━━━━━━━━━━━━━━━━
🧩 WHY THIS IS NOT A SIMPLE PIVOT MARKER
━━━━━━━━━━━━━━━━━━━━━━
A basic pivot script can stop after placing a shape on a confirmed swing high or swing low.
Pivot Sniper Method continues beyond pivot detection.
Each eligible setup passes through a coordinated structure:
confirmed price pivot
→ 0–100 quality evaluation
→ bias and session permission
→ structured Entry
→ selectable Stop Loss model
→ independent TP1, TP2, and TP3 targets
→ optional Break-Even transition
→ live target-status updates
→ active-trade replacement logic
→ historical R accounting
→ compact statistics dashboard
→ static and dynamic alerts
The pivot module defines the confirmed reversal location.
The Signal Strength module evaluates quality.
The Trend Bias module controls permitted directions.
The Time Filter controls when new setups may be accepted.
The trade-mapping module converts the setup into explicit price levels.
The Break-Even module changes active risk only after the selected target is confirmed.
The statistics module summarizes the exact results produced by those rules.
The alert module communicates signal and trade-management events.
These modules are not unrelated indicators placed together.
They form one process for identifying, filtering, mapping, monitoring, and reviewing confirmed pivot-reversal setups.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ HOW THE SCRIPT WORKS
━━━━━━━━━━━━━━━━━━━━━━
The script runs directly on the main price chart.
It calculates confirmed price pivots using independently adjustable left-side and right-side lengths for highs and lows.
The default pivot configuration is:
• Pivot High Left Bars: 10
• Pivot High Right Bars: 10
• Pivot Low Left Bars: 10
• Pivot Low Right Bars: 10
The signal engine then combines:
• confirmed pivot status
• Bullish / Bearish / Both bias permission
• selected session permission
• Signal Strength threshold
• cooldown permission
• same-bar dual-pivot rejection
• confirmed chart-bar status
A BUY signal is based on a confirmed pivot low.
A SELL signal is based on a confirmed pivot high.
The signal label is placed on the confirmation candle, not on the original historical pivot candle.
The Entry is also stored at the close of the confirmation candle.
This separation is important:
Pivot Price
The historical swing level that became confirmed after the selected right-side bars.
Signal Candle
The later candle where the script knows the pivot exists and all active filters pass.
Entry Price
The close of that later signal-confirmation candle.
━━━━━━━━━━━━━━━━━━━━━━
🔍 PIVOT DETECTION MODEL
━━━━━━━━━━━━━━━━━━━━━━
Pivot High Left Bars determines how many candles to the left must have lower highs than a potential pivot high.
Pivot High Right Bars determines how many completed candles must form to the right before the potential pivot high is confirmed.
Pivot Low Left Bars determines how many candles to the left must have higher lows than a potential pivot low.
Pivot Low Right Bars determines how many completed candles must form to the right before the potential pivot low is confirmed.
Higher left and right values generally identify larger and less frequent swing structures.
Lower values generally identify smaller and more frequent structures.
The high and low settings are independent.
This allows users to study symmetrical configurations such as 10 / 10 for both directions, or asymmetrical configurations when market behavior requires different sensitivity for pivot highs and pivot lows.
The central pivot calculation is:
float confirmedPivotHigh = ta.pivothigh(
high,
leftHighInput,
rightHighInput
)
float confirmedPivotLow = ta.pivotlow(
low,
leftLowInput,
rightLowInput
)
bool rawBuySignal =
barstate.isconfirmed and
not na(confirmedPivotLow)
bool rawSellSignal =
barstate.isconfirmed and
not na(confirmedPivotHigh)
These functions return a confirmed pivot value only after the required right-side bars exist.
A confirmed pivot does not automatically become a signal.
It must still pass:
• same-bar conflict rejection
• Trend Bias
• Trading Session
• Signal Strength
• cooldown
━━━━━━━━━━━━━━━━━━━━━━
⏳ PIVOT CONFIRMATION AND SIGNAL TIMING
━━━━━━━━━━━━━━━━━━━━━━
This section is essential for correct interpretation.
The script uses confirmed pivot functions.
A pivot is not known on the original pivot candle.
For example, with Pivot Low Right Bars set to 10:
• the potential pivot low occurs
• ten additional candles must complete to its right
• the pivot becomes confirmed on the later calculation candle
• the BUY candidate can then be evaluated
The signal label is displayed on the later confirmation candle.
The trade Entry is stored at the close of that confirmation candle.
The script does not backdate the BUY or SELL trade label to the original pivot candle.
This means:
• the pivot price belongs to an earlier historical candle
• the signal becomes available later
• the displayed Entry reflects the later confirmation close
• increasing right-side bars increases confirmation delay
• decreasing right-side bars confirms smaller structures earlier
The script also requires barstate.isconfirmed for raw pivot candidates.
Signals are therefore based on completed chart candles.
This reduces unfinished current-candle changes, but it does not remove the inherent delay required by pivot confirmation.
━━━━━━━━━━━━━━━━━━━━━━
🟢 CONFIRMED BUY LOGIC
━━━━━━━━━━━━━━━━━━━━━━
A BUY candidate begins when a pivot low is confirmed.
The candidate is rejected when a pivot high is also confirmed on the same calculation.
The remaining BUY candidate must satisfy:
• Trend Bias is Bullish or Both
• the selected Trading Session is active
• the BUY Signal Strength meets the minimum threshold when filtering is enabled
• the cooldown is ready
• the chart bar is confirmed
When accepted, the script displays:
▲ BUY
strength%
The strength percentage appears on the second line to keep the label compact.
The compact two-line BUY label is constructed as:
string buyLabelText =
showStrengthOnSignalInput
? "▲ BUY " + str.tostring(buySignalStrength) + "%"
: "▲ BUY"
The SELL label uses the mirrored ▼ SELL format.
The label is placed below the signal candle.
The BUY tooltip can display:
• Confirmed BUY
• Signal Strength
• Confirmed Pivot price
The tracked Entry is the signal-confirmation candle close.
The BUY Stop Loss is placed below Entry using the selected Stop Loss Mode.
TP1, TP2, and TP3 are calculated above Entry from the actual Entry-to-Stop risk distance.
━━━━━━━━━━━━━━━━━━━━━━
🔴 CONFIRMED SELL LOGIC
━━━━━━━━━━━━━━━━━━━━━━
A SELL candidate begins when a pivot high is confirmed.
The candidate is rejected when a pivot low is also confirmed on the same calculation.
The remaining SELL candidate must satisfy:
• Trend Bias is Bearish or Both
• the selected Trading Session is active
• the SELL Signal Strength meets the minimum threshold when filtering is enabled
• the cooldown is ready
• the chart bar is confirmed
When accepted, the script displays:
▼ SELL
strength%
The strength percentage appears on the second line.
The label is placed above the signal candle.
The SELL tooltip can display:
• Confirmed SELL
• Signal Strength
• Confirmed Pivot price
The tracked Entry is the signal-confirmation candle close.
The SELL Stop Loss is placed above Entry using the selected Stop Loss Mode.
TP1, TP2, and TP3 are calculated below Entry from the actual Entry-to-Stop risk distance.
━━━━━━━━━━━━━━━━━━━━━━
💪 SIGNAL STRENGTH MODEL
━━━━━━━━━━━━━━━━━━━━━━
Signal Strength is a 0–100 quality score.
The final score contains five components worth up to 20 points each:
1. Pivot Distance
2. Wick Quality
3. Confirmation Candle
4. Volume Participation
5. Trend Alignment
The score is intended to compare the internal characteristics of confirmed pivot setups under the same script rules.
It is not a probability forecast.
A 75% label does not mean there is a guaranteed 75% probability of profit.
It means the setup received 75 points out of the script’s 100-point quality model.
The Minimum Signal Strength input controls the required score.
Default:
55
When the filter is enabled:
• scores below the minimum are rejected
• scores equal to or above the minimum are eligible
• lower thresholds generally create more signals
• higher thresholds generally create fewer signals
The strength percentage can be hidden from the BUY / SELL label without disabling the strength filter.
The five component values are combined into the final score:
int buySignalStrength = int(math.round(
math.min(
buyPivotDistanceScore +
buyWickScore +
buyCandleScore +
volumeScore +
buyTrendScore,
100.0
)
))
int sellSignalStrength = int(math.round(
math.min(
sellPivotDistanceScore +
sellWickScore +
sellCandleScore +
volumeScore +
sellTrendScore,
100.0
)
))
A score is therefore the sum of five internal measurements, capped at 100.
━━━━━━━━━━━━━━━━━━━━━━
📏 PIVOT DISTANCE COMPONENT
━━━━━━━━━━━━━━━━━━━━━━
Pivot Distance evaluates how far the confirmation-candle close is from the confirmed pivot relative to ATR.
For BUY candidates, the model measures the distance from the confirmed pivot low to the current close.
For SELL candidates, it measures the distance from the current close to the confirmed pivot high.
The normalized value is capped internally.
The maximum contribution is 20 points.
This component does not claim that a larger distance is always better.
It only measures the amount of price separation used by this quality model.
━━━━━━━━━━━━━━━━━━━━━━
🕯️ WICK QUALITY COMPONENT
━━━━━━━━━━━━━━━━━━━━━━
Wick Quality evaluates the rejection wick on the original pivot candle.
For BUY candidates:
• lower wick size is compared with the full pivot-candle range
For SELL candidates:
• upper wick size is compared with the full pivot-candle range
A larger relevant wick can contribute more points, up to 20.
This component attempts to represent rejection behavior at the confirmed swing.
A large wick does not guarantee reversal continuation.
━━━━━━━━━━━━━━━━━━━━━━
📊 CONFIRMATION CANDLE COMPONENT
━━━━━━━━━━━━━━━━━━━━━━
The Confirmation Candle component evaluates the candle where the pivot becomes confirmed and the signal is processed.
The model considers:
• body size relative to the full candle range
• bullish close direction for BUY candidates
• bearish close direction for SELL candidates
The body ratio contributes most of the component score.
A directional close can add an additional internal bonus.
The maximum contribution is 20 points.
The confirmation candle is not the original pivot candle.
━━━━━━━━━━━━━━━━━━━━━━
🔊 VOLUME PARTICIPATION COMPONENT
━━━━━━━━━━━━━━━━━━━━━━
Volume Participation compares current volume with an adjustable volume average.
Default volume length:
20
Higher relative volume can contribute more points, up to 20.
The component is internally capped.
When usable volume data is unavailable, the script applies a neutral fallback contribution instead of automatically assigning zero.
Volume behavior differs across asset classes and data feeds.
For some symbols, displayed volume can represent exchange volume.
For others, it can represent tick activity or a provider-specific value.
━━━━━━━━━━━━━━━━━━━━━━
📈 TREND ALIGNMENT COMPONENT
━━━━━━━━━━━━━━━━━━━━━━
Trend Alignment uses an adjustable EMA.
Default EMA length:
50
For BUY candidates, the component evaluates:
• whether price is above the EMA
• whether the EMA is rising
For SELL candidates, it evaluates:
• whether price is below the EMA
• whether the EMA is falling
Each condition contributes part of the 20-point component.
This EMA is used as one component of Signal Strength.
It is not a separate hard directional filter.
A setup can still receive points from the other four components when Trend Alignment is weak.
━━━━━━━━━━━━━━━━━━━━━━
🧭 TREND BIAS
━━━━━━━━━━━━━━━━━━━━━━
Trend Bias controls which signal directions are permitted.
Available modes:
• Bullish
• Bearish
• Both
Bullish
Allows only confirmed BUY signals.
Bearish
Allows only confirmed SELL signals.
Both
Allows confirmed signals in both directions.
Trend Bias does not change pivot detection.
It changes which confirmed candidates are allowed to become signals and tracked trades.
The final signal gate combines pivot confirmation, directional permission, session permission, Signal Strength, and cooldown:
bool buySignal =
buyCandidate and
bullishBiasAllowed and
timeFilterPassed and
buyStrengthPassed and
cooldownReady
bool sellSignal =
sellCandidate and
bearishBiasAllowed and
timeFilterPassed and
sellStrengthPassed and
cooldownReady
Only candidates that pass every active condition become BUY or SELL signals.
━━━━━━━━━━━━━━━━━━━━━━
🕒 SESSION FILTER
━━━━━━━━━━━━━━━━━━━━━━
The Trading Session input controls when new signals can be accepted.
Available modes:
• All Sessions
• London
• New York
• London + New York
• Custom
London uses:
08:00–17:00
Europe/London time
New York uses:
09:30–16:00
America/New_York time
London + New York accepts signals during either defined session.
Custom allows the user to define a session and select:
• Exchange
• UTC
• Europe/London
• America/New_York
• Europe/Istanbul
• Asia/Tokyo
The session filter affects new entries only.
An already active tracked trade continues to be managed outside the selected session.
The dashboard displays whether the current session rule is OPEN or CLOSED.
━━━━━━━━━━━━━━━━━━━━━━
⏳ COOLDOWN AND CONFLICT HANDLING
━━━━━━━━━━━━━━━━━━━━━━
Signal Cooldown Bars defines the minimum number of completed candles required between accepted signals.
Default:
0
A value of 0 disables additional cooldown filtering.
Higher values reduce how frequently new signals can be accepted.
When a pivot high and pivot low are both confirmed on the same calculation, the script rejects both candidates.
This prevents contradictory BUY and SELL signals from being accepted on the same candle.
━━━━━━━━━━━━━━━━━━━━━━
🎯 ENTRY AND ACTIVE-TRADE REPLACEMENT MODEL
━━━━━━━━━━━━━━━━━━━━━━
The Entry is stored at the close of the accepted signal candle.
The script maintains one active tracked trade.
However, new eligible signals are not ignored while a trade is active.
When a new eligible BUY or SELL signal appears:
• the current active trade is valued at the new signal candle’s close
• its current R result is added to statistics
• its active lines and labels are removed
• the new signal opens a new tracked trade
This behavior applies to eligible same-direction and opposite-direction signals.
The replacement exit is not a broker fill.
It is an internal close-based accounting rule used to keep only one active tracked trade.
Because replacement exits can occur before TP3, Stop Loss, or Break-Even, NET R can include partial positive or negative R outcomes.
━━━━━━━━━━━━━━━━━━━━━━
🛑 STOP LOSS SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
The script includes four Stop Loss modes:
• ATR
• Pivot Level
• Pivot + ATR Buffer
• Signal Candle
ATR
BUY:
Entry − ATR × multiplier
SELL:
Entry + ATR × multiplier
Default ATR length:
14
Default ATR multiplier:
2.0
Pivot Level
BUY:
confirmed pivot low
SELL:
confirmed pivot high
Pivot + ATR Buffer
BUY:
confirmed pivot low − ATR × pivot buffer
SELL:
confirmed pivot high + ATR × pivot buffer
Default pivot buffer:
0.25 ATR
Signal Candle
BUY:
signal candle low
SELL:
signal candle high
The script validates the selected Stop Loss.
For BUY, Stop Loss must be meaningfully below Entry.
For SELL, Stop Loss must be meaningfully above Entry.
When the selected structural stop is invalid, the script uses the ATR Stop Loss as a safety fallback.
The actual risk distance is:
absolute difference between Entry and the validated Stop Loss
That distance becomes 1R for all target calculations.
The requested Stop Loss is selected from the active mode:
requestedStopPrice :=
stopLossModeInput == "ATR"
? activeEntryPrice - atrFallbackDistance
: stopLossModeInput == "Pivot Level"
? confirmedPivotLow
: stopLossModeInput == "Pivot + ATR Buffer"
? confirmedPivotLow - atrValue * pivotBufferATRInput
: low
For SELL trades, the same logic is mirrored above Entry.
The script then validates the requested structural stop.
When the selected price is not on the correct side of Entry, ATR is used as the fallback.
━━━━━━━━━━━━━━━━━━━━━━
🏆 TP1 / TP2 / TP3 SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
TP1, TP2, and TP3 are independently adjustable.
Default values:
• TP1: 1R
• TP2: 2R
• TP3: 3R
For BUY:
target = Entry + risk distance × selected R multiple
For SELL:
target = Entry − risk distance × selected R multiple
TP1 and TP2 are intermediate target events.
TP3 is the final target and closes the active tracked trade.
When TP3 is touched:
• TP1 is also recorded if it was not already recorded
• TP2 is also recorded if it was not already recorded
• TP3 is recorded
• the trade closes at the selected TP3 R value
Users should normally keep:
TP1 < TP2 < TP3
The script allows independent values, so users are responsible for maintaining a logical target sequence.
After the validated Stop Loss is stored, the script defines 1R and calculates each target:
activeRiskDistance :=
math.max(
math.abs(activeEntryPrice - activeStopPrice),
syminfo.mintick
)
activeTP1Price :=
activeTradeDirection == 1
? activeEntryPrice + activeRiskDistance * tp1RRInput
: activeEntryPrice - activeRiskDistance * tp1RRInput
activeTP2Price :=
activeTradeDirection == 1
? activeEntryPrice + activeRiskDistance * tp2RRInput
: activeEntryPrice - activeRiskDistance * tp2RRInput
activeTP3Price :=
activeTradeDirection == 1
? activeEntryPrice + activeRiskDistance * tp3RRInput
: activeEntryPrice - activeRiskDistance * tp3RRInput
The target calculations therefore remain proportional to the actual Entry-to-Stop distance.
━━━━━━━━━━━━━━━━━━━━━━
🟡 BREAK-EVEN SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
Break-Even Mode includes:
• Off
• After TP1
• After TP2
After TP1
The Stop Loss moves to Entry after the TP1-touch candle closes.
After TP2
The Stop Loss moves to Entry after the TP2-touch candle closes.
The updated Break-Even stop applies from the following candle.
An optional favorable tick offset can be added.
For BUY:
Break-Even = Entry + offset
For SELL:
Break-Even = Entry − offset
When Break-Even becomes active:
• the Stop Loss line changes to the Break-Even color
• the Stop label changes from SL to BE
• the separate Entry line is deleted
• the separate Entry label is deleted
• only the BE level remains at or near Entry
This prevents Entry and Break-Even labels from overlapping at the same price.
A Break-Even stop with zero offset produces approximately 0R.
A positive favorable offset can produce a small positive R result.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ SAME-CANDLE STOP AND TARGET HANDLING
━━━━━━━━━━━━━━━━━━━━━━
Historical OHLC candles do not reveal the exact sequence of all intrabar price movement.
A candle can include both the active Stop price and one or more target prices.
When the active Stop and a target are both touched inside the same historical candle, the script uses a conservative rule:
The active Stop receives priority.
This applies to the original Stop Loss and the active Break-Even stop.
Trade-management checks begin on the candle after Entry.
The Entry candle cannot immediately close the new tracked trade.
The conservative priority rule can produce different results from lower-timeframe reconstruction or tick-level execution data.
━━━━━━━━━━━━━━━━━━━━━━
📐 ACTIVE TRADE VISUAL SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
While a tracked trade is active, the script can display:
• Stop Loss or Break-Even line
• Entry line
• TP1 line
• TP2 line
• TP3 line
• Stop Loss or Break-Even label
• Entry label
• TP1 label
• TP2 label
• TP3 label
The lines project to the right by the selected number of bars.
Default:
20 bars
Stop and Entry use solid lines.
Targets use dashed lines.
After TP1 or TP2 is reached:
• the corresponding target label changes to a completed state
• the corresponding line becomes more transparent
After Break-Even activates:
• the Entry line and Entry label disappear
• the active Stop line and label become BE
When the trade closes or is replaced:
• active trade lines are deleted
• active trade labels are deleted
The script does not preserve completed trade lines as permanent historical drawings.
━━━━━━━━━━━━━━━━━━━━━━
🏷️ LABELS, TOOLTIPS, AND TEXT
━━━━━━━━━━━━━━━━━━━━━━
BUY and SELL labels use two lines when strength display is enabled:
direction
strength%
Available Label Size values:
• Tiny
• Small
• Normal
• Large
• Huge
The setting controls:
• BUY
• SELL
• Entry
• Stop Loss
• Break-Even
• TP1
• TP2
• TP3
Phone Mode overrides the selected label size with Tiny.
Visible chart labels use bold and italic formatting.
Signal tooltips can show:
• direction
• strength
• pivot price
Trade-level tooltips can show:
• Entry strength
• risk distance
• Stop Loss mode
• Stop or BE price
• target R value
• target price
• target status
• Break-Even tick offset
Tooltips are informational chart elements.
They do not represent broker orders.
━━━━━━━━━━━━━━━━━━━━━━
📟 COMPACT PREMIUM DASHBOARD
━━━━━━━━━━━━━━━━━━━━━━
The desktop dashboard is divided into four sections:
STATE
• symbol and timeframe
• active signal and strength
• current trade status
• session status
TRADE
• active Stop Loss mode
• Entry and Stop / Break-Even
• TP1 / TP2 / TP3 scale
• live R
PERFORMANCE
• total trades started
• closed trades
• Win Rate
• NET R
• Average R
• TP1 / TP2 / TP3 hit rates
QUALITY
• latest strength
• Trend component
• Volume component
• Wick component
• Confirmation Candle component
• Pivot Distance component
• Trend Bias
• Break-Even mode
• Minimum Strength
Quality components are displayed in a compact format:
T = Trend
V = Volume
W = Wick
C = Candle
P = Pivot Distance
The dashboard can be positioned at:
• Top Right
• Bottom Right
• Top Left
• Bottom Left
The selected input is translated into a TradingView table position:
string dashboardTablePosition =
dashboardPositionInput == "Top Right" ? position.top_right :
dashboardPositionInput == "Top Left" ? position.top_left :
dashboardPositionInput == "Bottom Left" ? position.bottom_left :
position.bottom_right
if barstate.islast
table.set_position(
statisticsTable,
dashboardTablePosition
)
━━━━━━━━━━━━━━━━━━━━━━
📊 STATISTICS METHODOLOGY
━━━━━━━━━━━━━━━━━━━━━━
The statistics are produced by the script’s internal bar-based tracker.
They are not imported from a broker.
They are not verified account results.
They are not TradingView Strategy Tester results.
Total Trades Started
Number of accepted signals that opened a tracked trade.
Total Trades Closed
Number of tracked trades closed by:
• Stop Loss
• Break-Even
• TP3
• active-trade replacement
TP1 Hit Rate
TP1 touches divided by Total Trades Started.
TP2 Hit Rate
TP2 touches divided by Total Trades Started.
TP3 Hit Rate
TP3 touches divided by Total Trades Started.
NET R
Sum of all recorded closed-trade R outcomes.
Average R
NET R divided by Total Trades Closed.
Win Rate
Positive-R trades divided by positive-R plus negative-R trades.
Exact 0R Break-Even results are excluded from the Win Rate denominator.
A favorable Break-Even offset can produce a small positive R result and can therefore be classified as a positive-R trade.
Replacement exits use the close of the new signal candle and can contribute partial R.
Statistics depend on:
• loaded chart history
• symbol
• timeframe
• exchange or broker feed
• left and right pivot settings
• Trend Bias
• session setting
• cooldown
• strength threshold
• EMA and volume lengths
• ATR settings
• Stop Loss mode
• target settings
• Break-Even settings
• replacement-signal sequence
Changing any of these inputs can change historical results.
━━━━━━━━━━━━━━━━━━━━━━
🎨 THEME SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
The script includes:
• Auto
• Dark Mode
• Light Mode
• Phone Mode
Auto
Detects the chart background and selects the corresponding light or dark visual palette.
Dark Mode
Uses:
• darker green and red signal colors
• dark dashboard surfaces
• white chart-label text
• dark Entry color
• muted dashboard text
• red brand header
Light Mode
Uses:
• brighter green and red signal colors
• light dashboard surfaces
• dark BUY text where required
• adjusted Entry and dashboard colors
• red brand header
Theme selection changes presentation.
It does not change pivot detection, Signal Strength, trade levels, statistics, or alerts.
━━━━━━━━━━━━━━━━━━━━━━
📱 PHONE MODE
━━━━━━━━━━━━━━━━━━━━━━
Phone Mode is designed for smaller chart areas.
It uses:
• Tiny signal labels
• Tiny active-trade labels
• one-pixel trade-level lines
• dark visual palette
• compact dashboard text
• reduced dashboard rows
The Phone Mode dashboard displays:
• Signal and Strength
• Status
• Win Rate and NET R
• Session
The compact layout intentionally removes most desktop details.
Phone Mode changes presentation only.
It does not change calculations.
━━━━━━━━━━━━━━━━━━━━━━
🚨 ALERT SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
The script includes static TradingView alert conditions for:
• Confirmed BUY
• Confirmed SELL
• Stop Loss Hit
• Break-Even Activated
• Break-Even Hit
• TP1 Hit
• TP2 Hit
• TP3 Hit
Static BUY and SELL messages can include:
• exchange
• ticker
• timeframe
• Signal Strength
• Entry
• Stop
• TP1
• TP2
• TP3
The script also includes dynamic alert() events for:
• BUY signal
• SELL signal
• Stop Loss hit
• Break-Even activation
• Break-Even hit
• TP1 hit
• TP2 hit
• TP3 hit
Dynamic signal messages can include:
• trade_w_samet identifier
• event type
• direction
• symbol
• timeframe
• Signal Strength
• Entry
• Stop
• TP1
• TP2
• TP3
• Stop Loss Mode
• Break-Even Mode
• Trading Session
• session OPEN / CLOSED state
Dynamic trade-management messages preserve the active trade’s stored values before the trade state is reset.
Alert events use once-per-bar-close frequency.
A dynamic signal message is assembled from the stored trade values:
string buyEntryAlertMessage =
"trade_w_samet | Pivot Sniper Method" +
" Event: BUY SIGNAL" +
" Direction: BUY" +
" Symbol: " + syminfo.tickerid +
" Timeframe: " + timeframe.period +
" Strength: " + str.tostring(buySignalStrength) + "%" +
" Entry: " + str.tostring(activeEntryPrice, format.mintick) +
" SL: " + str.tostring(activeStopPrice, format.mintick) +
" TP1: " + str.tostring(activeTP1Price, format.mintick) +
" TP2: " + str.tostring(activeTP2Price, format.mintick) +
" TP3: " + str.tostring(activeTP3Price, format.mintick)
alert(
message=buyEntryAlertMessage,
freq=alert.freq_once_per_bar_close
)
The complete live message also includes Stop Loss Mode, Break-Even Mode, and session context.
Alerts are monitoring tools.
They do not execute or modify broker orders.
━━━━━━━━━━━━━━━━━━━━━━
🔔 HOW TO USE ALERTS
━━━━━━━━━━━━━━━━━━━━━━
For a specific static event:
1. Add Pivot Sniper Method to the chart.
2. Open TradingView’s Create Alert window.
3. Select the indicator as the condition.
4. Select the required BUY, SELL, Stop, Break-Even, TP1, TP2, or TP3 event.
5. Select the notification method.
6. Test the alert before relying on it.
For one combined dynamic workflow:
1. Add the indicator to the chart.
2. Open Create Alert.
3. Select Pivot Sniper Method .
4. Select Any alert() function call.
5. Configure the delivery method.
6. Test signal and trade-management messages.
TradingView saves a snapshot of the script, its inputs, and chart context when an alert is created.
After materially changing the script, symbol, timeframe, or inputs, delete and recreate the alert so it uses the intended configuration.
━━━━━━━━━━━━━━━━━━━━━━
🧪 PRACTICAL WORKFLOW
━━━━━━━━━━━━━━━━━━━━━━
A practical review process:
1. Add Pivot Sniper Method to a standard candlestick chart.
2. Select Auto, Dark, Light, or Phone Mode.
3. Start with symmetrical pivot settings.
4. Observe how right-side bars affect confirmation delay.
5. Select Both Trend Bias when studying raw signal behavior.
6. Select Bullish or Bearish when reviewing one direction only.
7. Begin with All Sessions when studying general behavior.
8. Test London, New York, or Custom session filtering.
9. Begin with the default Minimum Signal Strength.
10. Compare signal frequency at higher and lower thresholds.
11. Review the strength percentage below each BUY or SELL label.
12. Use the tooltip to inspect the confirmed pivot price.
13. Compare the five quality components in the dashboard.
14. Select the preferred Stop Loss Mode.
15. Verify that the structural stop is logically positioned.
16. Review the ATR fallback behavior.
17. Set TP1, TP2, and TP3 in increasing order.
18. Select the Break-Even rule.
19. Review when the Entry label disappears and BE replaces it.
20. Observe how new eligible signals replace an active tracked trade.
21. Review Live R and historical NET R.
22. Review failed setups as well as successful setups.
23. Create and test alerts.
24. Define personal position size independently.
25. Account for spread, commission, liquidity, news, and execution conditions.
The indicator is designed for structured study and monitoring.
It should not be treated as an automatic decision-maker.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS REFERENCE
━━━━━━━━━━━━━━━━━━━━━━
📈 Trend Bias
Trend Bias
• Bullish
• Bearish
• Both
━━━━━━━━━━━━━━━━━━━━━━
⚙️ Pivot Settings
Pivot High Left Bars
Default:
10
Pivot High Right Bars
Default:
10
Pivot Low Left Bars
Default:
10
Pivot Low Right Bars
Default:
10
━━━━━━━━━━━━━━━━━━━━━━
🚨 Signal Settings
Show BUY / SELL Signals
Shows or hides signal labels.
Signal Cooldown Bars
Default:
0
━━━━━━━━━━━━━━━━━━━━━━
🕒 Time Filter
Trading Session
• All Sessions
• London
• New York
• London + New York
• Custom
Custom Session
Default:
08:00–17:00
Custom Session Time Zone
• Exchange
• UTC
• Europe/London
• America/New_York
• Europe/Istanbul
• Asia/Tokyo
━━━━━━━━━━━━━━━━━━━━━━
💪 Signal Strength
Enable Signal Strength Filter
Default:
On
Minimum Signal Strength
Default:
55
Show Strength on Signal
Default:
On
Strength Trend Length
Default:
50
Strength Volume Length
Default:
20
━━━━━━━━━━━━━━━━━━━━━━
📦 Trade Levels
Show Active Trade Levels
Default:
On
Stop Loss Mode
• ATR
• Pivot Level
• Pivot + ATR Buffer
• Signal Candle
ATR Length
Default:
14
Stop Loss ATR Multiplier
Default:
2.0
Pivot ATR Buffer
Default:
0.25
TP1 Risk / Reward
Default:
1.0R
TP2 Risk / Reward
Default:
2.0R
TP3 Risk / Reward
Default:
3.0R
Level Projection Bars
Default:
20
━━━━━━━━━━━━━━━━━━━━━━
🟡 Break-Even
Break-Even Mode
• Off
• After TP1
• After TP2
Default:
After TP1
Break-Even Offset Ticks
Default:
0
━━━━━━━━━━━━━━━━━━━━━━
📊 Statistics Dashboard
Show Statistics Dashboard
Default:
On
Dashboard Position
• Top Right
• Bottom Right
• Top Left
• Bottom Left
━━━━━━━━━━━━━━━━━━━━━━
🎨 Visual Settings
Theme Mode
• Auto
• Dark Mode
• Light Mode
• Phone Mode
Label Size
• Tiny
• Small
• Normal
• Large
• Huge
Phone Mode always uses Tiny.
━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Settings
Enable BUY Alerts
Default:
On
Enable SELL Alerts
Default:
On
Enable Dynamic Alerts
Default:
On
All public input values are hidden from TradingView’s status line to reduce chart-header clutter.
━━━━━━━━━━━━━━━━━━━━━━
🧠 WHAT MAKES THIS SCRIPT ORIGINAL
━━━━━━━━━━━━━━━━━━━━━━
Pivots, ATR, EMA, volume comparison, session filters, risk/reward levels, Break-Even, alerts, and performance statistics are established technical-analysis concepts.
These concepts are not unique by themselves.
The originality of Pivot Sniper Method lies in the coordinated implementation applied to them:
confirmed high and low pivots
→ same-bar directional-conflict rejection
→ Bullish / Bearish / Both permission
→ session filtering
→ cooldown
→ five-part 0–100 quality model
→ minimum-quality acceptance
→ compact two-line BUY / SELL labels
→ confirmation-close Entry
→ four selectable Stop Loss models
→ ATR structural-stop validation fallback
→ independently adjustable TP1 / TP2 / TP3
→ target-state visual updates
→ TP1- or TP2-based Break-Even
→ Entry-to-BE visual replacement
→ active-trade replacement at current close
→ internal partial-R accounting
→ desktop and Phone dashboards
→ theme-aware colors
→ dashboard-corner selection
→ detailed static and dynamic alerts
Distinctive implementation features include:
• using five quality dimensions inside one pivot-reversal workflow
• separating pivot confirmation from Entry timing
• using the original pivot candle for wick quality
• using the later confirmation candle for candle quality and Entry
• applying session control only to new entries
• supporting four Stop Loss construction methods
• validating structural stops and falling back to ATR when required
• removing the Entry visual after Break-Even replaces it
• tracking replacement exits in R
• showing latest quality components in a compact dashboard
• supporting both individual events and one combined dynamic-alert workflow
The script is not a collection of unrelated indicators.
Every component supports the same objective: evaluating and managing a confirmed pivot-reversal setup under explicit, reviewable rules.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT PRACTICAL NOTES
━━━━━━━━━━━━━━━━━━━━━━
Signal frequency depends on:
• symbol
• timeframe
• data provider
• pivot left and right settings
• Trend Bias
• selected session
• cooldown
• minimum strength
• EMA length
• volume length
• ATR availability
• historical data availability
Higher right-side pivot values increase confirmation delay.
Higher strength thresholds reduce accepted signals.
Session filtering can remove otherwise valid setups.
The strength score is not a probability forecast.
The Trend component is part of the score, not a separate hard trend filter.
The script replaces an active tracked trade when a new eligible signal appears.
The script does not retain completed trade lines historically.
Dashboard statistics use loaded chart history only.
Different exchanges, brokers, and data feeds can produce different:
• highs
• lows
• closes
• pivots
• wick measurements
• volume values
• ATR values
• EMA values
• signals
• stop levels
• target levels
• replacement exits
• historical statistics
Changing available history can change the first eligible setup and later active-trade sequencing.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ LIMITATIONS AND SHORTCOMINGS
━━━━━━━━━━━━━━━━━━━━━━
This script has important limitations.
It does not guarantee profitable trades.
It does not predict future price movement with certainty.
It does not execute orders.
It does not place broker Stop Loss orders.
It does not place broker Take Profit orders.
It does not calculate position size.
It does not calculate account risk.
It does not include spread.
It does not include commission.
It does not include slippage.
It does not include latency.
It does not include swap or financing.
It does not include taxes.
It does not model partial fills.
It does not model order rejection.
It does not model contract specifications.
It does not model tick-by-tick execution.
It uses historical OHLC bars.
It cannot always determine whether Stop or target occurred first inside one candle.
It resolves same-candle ambiguity in favor of the active Stop.
It begins trade-management checks on the candle after Entry.
It requires right-side pivot confirmation.
It cannot identify a confirmed pivot on the original pivot candle.
It can react with delay when larger right-side values are used.
It rejects simultaneous high and low pivot confirmation.
It can reject setups through bias, session, strength, or cooldown rules.
It replaces an active tracked trade when a new eligible signal appears.
A replacement exit can close a trade before its mapped Stop or TP3.
Its Signal Strength is an internal score, not a probability.
Its volume component depends on available volume data.
Its dashboard is not Strategy Tester.
Its statistics are not audited.
Its Win Rate excludes exact 0R Break-Even results.
A positive Break-Even offset can classify a BE hit as positive R.
Its target hit rates use total trades started.
Its statistics depend on loaded chart history.
Changing settings recalculates historical behavior.
Alerts depend on TradingView and user configuration.
Alerts do not guarantee broker execution.
━━━━━━━━━━━━━━━━━━━━━━
👤 WHO THIS SCRIPT MAY BE USEFUL FOR
━━━━━━━━━━━━━━━━━━━━━━
This script may be useful for traders who:
• understand pivot confirmation
• want BUY and SELL signals based on confirmed price pivots
• prefer a quality score instead of equal treatment for every pivot
• want separate Bullish and Bearish direction controls
• want London, New York, or Custom session filtering
• want selectable ATR or structural stops
• want independently adjustable R targets
• want TP1- or TP2-based Break-Even
• want active trade levels on the chart
• want compact tooltips
• want loaded-history R statistics
• want a compact desktop dashboard
• want a reduced Phone Mode
• want detailed TradingView alerts
• understand that historical chart results are not verified execution
It may be less suitable for users who:
• want signals on the original unconfirmed pivot candle
• want no pivot delay
• want tick-level backtesting
• want multiple simultaneous tracked trades
• want new signals ignored while a trade is active
• want historical completed-trade lines preserved
• want automatic broker execution
• want position sizing
• want commission and slippage modeling
• want guaranteed reversal signals
• interpret Signal Strength as win probability
• expect historical Win Rate to continue unchanged
━━━━━━━━━━━━━━━━━━━━━━
🧭 BEST-PRACTICE SUGGESTIONS
━━━━━━━━━━━━━━━━━━━━━━
For studying pivot sensitivity:
• begin with equal high and low pivot settings
• compare smaller and larger left / right values
• remember that right-side values directly affect delay
For studying raw signal behavior:
• use Both Trend Bias
• use All Sessions
• use a moderate minimum strength
• review every accepted BUY and SELL
For directional study:
• use Bullish or Bearish
• compare results separately
• do not assume one direction will remain superior
For session-based review:
• compare All Sessions with London or New York
• use the exchange’s actual liquidity characteristics
• remember that active trades remain managed outside the session
For Signal Strength:
• begin with 55
• compare frequency at 45, 55, and 65
• review the five components
• do not interpret the percentage as guaranteed probability
For risk mapping:
• begin with ATR 14 and 2.0 multiplier
• compare ATR with Pivot Level
• compare Pivot Level with Pivot + ATR Buffer
• maintain logical TP1 < TP2 < TP3 values
For Break-Even:
• compare Off with After TP1
• test After TP2 for wider trade development
• keep the tick offset realistic for the instrument
For chart clarity:
• use Auto for general use
• use Dark or Light when manual control is preferred
• use Phone Mode on smaller screens
• move the dashboard away from important price action
• adjust label size according to chart density
Always:
• wait for confirmed signals
• review broader market structure
• review liquidity and volatility
• review news risk
• define personal account risk
• calculate position size independently
• test the exact symbol, timeframe, and data feed
• inspect failed trades as well as successful trades
• recreate alerts after important configuration changes
━━━━━━━━━━━━━━━━━━━━━━
🔓 PUBLICATION NOTE
━━━━━━━━━━━━━━━━━━━━━━
Pivot Sniper Method is published as an educational pivot-confirmation, signal-quality, session-filtering, risk-mapping, Break-Even, statistics, and alert tool.
The purpose of this description is to explain:
• how pivots are confirmed
• why signals appear after the original pivot
• how BUY and SELL candidates are formed
• how simultaneous pivot conflicts are rejected
• how Trend Bias affects eligibility
• how session filtering affects new entries
• how cooldown affects frequency
• how the five Signal Strength components work
• why Signal Strength is not a probability
• how Entry is defined
• how each Stop Loss Mode works
• how invalid structural stops fall back to ATR
• how TP1, TP2, and TP3 are calculated
• how Break-Even activates
• why Entry disappears after BE becomes active
• how same-candle Stop / target ambiguity is handled
• how active trades are replaced by new eligible signals
• how internal R statistics are calculated
• what the dashboard displays
• how Phone Mode differs
• what alerts include
• what the script does not simulate
• why historical results can change
The script is designed to support structured review.
It does not promise profitable results.
It does not remove market risk.
It does not replace independent analysis.
It does not replace personal risk management.
━━━━━━━━━━━━━━━━━━━━━━
🕒 REPAINTING, BACKPLOTTING, AND TIMING DISCLOSURE
━━━━━━━━━━━━━━━━━━━━━━
Pivot Sniper Method uses confirmed price pivots.
Pivot confirmation requires future candles relative to the original pivot location.
The number of required right-side candles is controlled independently for pivot highs and pivot lows.
The script does not know that a pivot exists on the original pivot candle.
After the required right-side candles complete:
• the pivot becomes confirmed
• the candidate is evaluated
• Signal Strength is calculated
• filters are applied
• the BUY or SELL label can appear on the confirmation candle
• the tracked Entry can open at the confirmation-candle close
The BUY or SELL trade label is not plotted back on the original pivot candle.
The Entry is not backdated.
Signals require confirmed chart bars.
This reduces unfinished current-bar variation.
It does not remove:
• pivot confirmation delay
• differences between historical OHLC and tick sequence
• data-feed differences
• changes caused by settings
• changes caused by loaded history
• market risk
Historical results can change when:
• pivot settings change
• Trend Bias changes
• session settings change
• cooldown changes
• strength settings change
• ATR settings change
• Stop Loss Mode changes
• target settings change
• Break-Even settings change
• symbol changes
• timeframe changes
• exchange or broker feed changes
• available chart history changes
Users should interpret the original pivot price as historical structure and the later BUY / SELL candle as the actual confirmed signal timing.
━━━━━━━━━━━━━━━━━━━━━━
🛡️ DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━
Pivot Sniper Method is provided for educational and informational purposes only.
It does not constitute financial, investment, trading, legal, accounting, or tax advice.
No indicator can guarantee future results.
Markets are uncertain.
Price structure changes.
Volatility changes.
Liquidity changes.
Volume behavior changes.
Session behavior changes.
Historical chart behavior does not ensure future performance.
Every user is responsible for their own:
• analysis
• validation
• symbol selection
• timeframe selection
• pivot settings
• directional bias
• session selection
• quality threshold
• Stop Loss selection
• target planning
• Break-Even selection
• position sizing
• risk management
• alert configuration
• trading decisions
• broker execution
• legal obligations
• tax obligations
The pivots, BUY labels, SELL labels, Signal Strength values, Entry levels, Stop Loss levels, Break-Even levels, TP1 levels, TP2 levels, TP3 levels, active lines, labels, tooltips, dashboard values, Win Rate, NET R, Average R, target hit rates, and alerts are visual analysis tools only.
A confirmed pivot is not a guaranteed reversal.
A high Signal Strength value is not a guaranteed winning trade.
A TP label is not proof of an actual broker fill.
A Stop Loss event is not proof of an actual broker fill.
The dashboard is not verified account performance.
The statistics are not audited.
The script does not include spread, commission, slippage, latency, financing, taxes, partial fills, order rejection, position sizing, account equity, or broker-specific execution.
Use the script as a structured pivot-reversal review, trade-mapping, and monitoring framework—not as a promise of profitability or a substitute for independent judgment.
Indicatore

Probabilistic ProjectionMost projection tools extend the recent trend or calculate a single average return. Probabilistic Projection uses a more comprehensive approach: it examines the full range of returns that followed comparable historical conditions.
The method can be understood through one question:
When this market had a similar trend and level of volatility in the past, what happened over the following 6 months, 1 year or 2 years?
The indicator collects these historical forward returns, builds a complete probability distribution, and displays:
• The median historical outcome
• A configurable central range of outcomes
• The quality of the available sample
Similar historical conditions receive additional weight, but they are never allowed to dominate the model. At least 65% of the calculation always comes from the complete historical distribution.
This balance is important. Using only a few similar periods can produce unstable conclusions, while using only a long-term average ignores the current market environment. Probabilistic Projection combines both sources of information while automatically reducing the influence of unreliable samples.
WHY THIS APPROACH IS ROBUST
The model is designed to reduce several common sources of error:
• It evaluates a distribution of outcomes instead of producing one deterministic target.
• It uses confirmed daily data rather than incomplete higher-timeframe values.
• It remains independent of the chart timeframe.
• It limits the influence of trend and volatility conditioning.
• It gives less weight to conditional information when the sample is insufficient.
• It pulls unstable estimates back toward the global historical median.
• It widens the projection range when data quality is lower.
• It distinguishes sample quality from prediction accuracy.
• It uses standard market prices, including on non-standard charts.
A one-year projection therefore remains approximately one year whether the indicator is viewed on a 5-minute, daily or weekly chart.
HOW THE DISTRIBUTION IS BUILT
Three projection horizons are available:
• 6 months: 126 trading days
• 1 year: 252 trading days
• 2 years: 504 trading days
For each monthly projection step, the script measures what the market actually returned over the same forward horizon at different points in its history.
Historical sample endpoints are separated by approximately 21 trading days. The script can use up to 225 observations at each step, depending on the available history.
The final distribution combines three components:
1. Complete historical distribution
Every valid observation contributes to the baseline. This ensures that the model retains information from different market environments, including periods that do not resemble the current one.
2. Trend context
The latest confirmed daily close is compared with a 202-day simple moving average.
Historical observations that began in the same broad trend state can receive additional weight. Trend conditioning cannot contribute more than 12% of the total calculation.
3. Volatility context
The model calculates realized volatility from 21-day daily returns and ranks it over approximately three years.
Historical periods with a similar volatility rank can also receive additional weight. Volatility conditioning cannot contribute more than 28%.
The combined conditional contribution is capped at 35%. The complete historical distribution always retains at least 65% of the total weight.
If too few comparable observations are available, the corresponding trend or volatility weight is automatically reduced or disabled.
READING THE PROJECTION
Solid central line
The solid line represents the median of the reliability-adjusted distribution.
Because expected returns are less stable than return dispersion, the conditioned median is partially pulled back toward the global historical median. This limits the influence of temporary or poorly represented market conditions.
Dashed boundaries
The dashed lines represent a configurable central range:
• 60%: P20 to P80
• 70%: P15 to P85 (default)
• 80%: P10 to P90
The 60% setting focuses on more central outcomes. The 80% setting includes a broader range of historical scenarios.
When data quality is lower, the distance between the median and the boundaries is expanded. The projection becomes more cautious rather than displaying the same apparent precision with a weaker sample.
Shaded range
The optional shaded area makes the distribution easier to read. It represents a percentile-derived range of historical scenarios, not a confidence interval or guaranteed future coverage.
Each point is calculated from the return distribution corresponding to its own horizon. The connected lines help visualize how the median and dispersion evolve over time; they are not individual simulated market paths.
INFORMATION PANEL
Annualized median projection
The median return at the selected terminal horizon is converted into an annualized percentage. This makes the six-month, one-year and two-year projections easier to compare.
It describes the center of the modeled historical distribution. It is not an expected return or a performance promise.
Data quality
The data-quality score evaluates whether enough historical information is available. It considers:
• The number of valid observations
• The overlap between long-horizon observations
• An estimate of the effective independent sample size
• The minimum sample required to display the projection
This score measures the strength of the historical sample, not the probability that the projection will be correct.
CONFIRMED DATA AND LIVE PRICES
The statistical model uses completed daily observations. The optional regime channel also uses confirmed source-timeframe values.
The projected returns are rescaled to the live standard-market close. The displayed price levels can therefore move while the current chart bar is open, but the underlying historical distribution remains based on confirmed data.
On Heikin Ashi and other non-standard charts, the model uses the standard instrument rather than synthetic candle prices.
OPTIONAL REGIME CHANNEL
The optional regime channel provides separate higher-timeframe context and does not alter the probabilistic projection.
It evaluates:
• Price relative to fast and slow moving averages
• Momentum
• Direction of the slow moving average
• Percentage distance from the slow average
• ATR-based expansion
Its boundaries use the larger of a minimum percentage distance or an ATR-based distance. Optional smoothing changes only the visual transition between confirmed levels.
INTENDED USE
Probabilistic Projection is designed primarily for medium- and long-term analysis of broad equity indices.
It can help users:
• See the range of outcomes that historically followed comparable conditions
• Compare potential upside and downside asymmetry
• Understand how uncertainty expands with the projection horizon
• Identify when the historical evidence is limited
• Add a statistical framework to portfolio and risk decisions
No historical method can know the future. Market distributions change, long-horizon samples overlap, and unprecedented events cannot be represented.
Probabilistic Projection is a descriptive probability model, not a price target, trading signal or standalone trading system.
Indicatore

Session Liquidity Architecture [MQLSoftware]Session Liquidity Architecture reads the trading day as a repeating structure of sessions — and instead of restating fixed session folklore, it measures how the instrument on your chart actually behaves inside that structure.
Most session tools draw boxes and stop there. This indicator adds three algorithmic elements on top of the session-box base, and every number it prints is derived from the chart's own history.
Key Features
Self-calibrating session range model — every completed session range is ranked as a percentile of that session's own trailing distribution. The active session shows a live read: current range, % of its median, and the percentile it has already reached. No pip or point thresholds, no magic numbers — the model adapts to any symbol and timeframe by construction.
Session liquidity state machine — each session's High and Low arm at session close and are then tracked through explicit states: armed → swept → rejected or accepted. A sweep is only registered on a confirmed bar; the rejection read compares the sweep bar's close against the level. Levels that survive until the next same-session open are marked expired.
Measured base rates — the panel reports observed frequencies from the loaded history: how often London actually sweeps the Asia High or Low on this chart, how often New York sweeps the London extremes, and how often price closes back inside after each sweep. These are counted events with the sample size shown (n), not assumptions — and below a minimum sample the panel says "collecting" instead of quoting a percentage.
Three configurable sessions (Asia, London, New York) with per-session IANA timezones, so daylight-saving shifts are handled automatically.
Previous Day High / Low tracked through the same armed → swept state machine.
Day separators, per-session colors, and a compact statistics panel.
Core Concept — what is original here
Session boxes are common. The original contribution of this script is that it treats the session map as a measurement problem :
1. Percentile-ranked session ranges. A "big" or "quiet" session is only meaningful relative to that session's own recent distribution. Ranking the live range against the last N completed ranges of the same session produces a self-calibrating expansion read that works identically on FX majors, indices, or crypto — without any instrument-specific settings.
2. A liquidity state machine instead of static lines. Session extremes are treated as objects with a lifecycle (armed, swept, rejected/accepted, expired). Because state transitions happen only on confirmed bars, the sweep history you see on the chart is exactly the history the statistics are built from.
3. Base rates instead of narratives. The common claims about session behavior ("London takes out the Asia range", "the sweep reverses") become testable numbers here. A counted event is strictly defined: a sweep is the first confirmed-bar break of an armed level while the later session is active, and it counts as "rejected" when the sweep bar closes back inside the level. On some instruments the measured frequencies are strongly asymmetric; on others (for example 24/7 crypto) they hover near a coin flip — and the panel will honestly show you that. The point is to replace assumption with measurement on the exact chart you trade.
Anatomy of the Display
Session boxes — one box per session per day, labelled with the session name; completed boxes append the final range and its percentile (e.g. "LONDON 0.00421 · P63").
Level lines — each session's High/Low extends right from the moment it arms at session close. A red ✕ mark shows where it was swept. Untouched levels turn dotted when they expire at the next same-session open.
PDH / PDL — dashed lines for the previous day's extremes, same sweep marking.
Statistics panel — one row per session (live or last range + percentile, and the state of its levels; states shown during a live session are prefixed "prev" because they belong to the previous cycle), followed by the measured base-rate block with sample sizes.
Notes on Repainting
Sweep events, rejection reads, base-rate counters and all alerts fire on confirmed bars only and do not repaint.
Session boxes, the live range and the live percentile update intrabar while a session is open — they are visual context for the current session, not signals.
No security() calls, no lookahead: everything is computed from the chart's own bars.
Boxes and level lines are drawing objects anchored to past bars by design (a session box spans its session, a level line starts at the bar of the extreme). This affects only how history is displayed, never the event logic.
Typical Analysis Workflow
Check the panel: how much of its typical range has the active session already used? A session at 40% of median is quiet by its own history; one at P90 has already been unusually wide for that session. These numbers describe the distribution so far — they do not predict what the next bar will do.
Watch the armed levels from the prior session and the previous day: they are the objective reference points the state machine is tracking.
When a sweep prints, read the rejection/acceptance tag and compare it with the measured base rate for that exact scenario on this chart.
Configuration
Session hours and timezone per session (defaults: Tokyo 09:00–18:00 JST, London 08:00–17:00 UK, New York 09:30–16:00 ET). Futures/FX traders can widen them or repurpose a slot as a killzone.
Rendering depth, box transparency, day separators, PDH/PDL on/off.
Sweep marks: Minimal (small ✕ text) or Pill, and how many days of marks to keep.
Stats lookback (sessions) for the percentile model; panel position and text size.
Markets and Timeframes
Intraday timeframes only (the script tells you if the chart is not intraday). Best readability from 5m to 1h. Works on FX, indices, futures, stocks and crypto — on 24/7 markets the session definitions matter more than the defaults, so adjust the hours to your venue.
Alerts
Liquidity swept — any session extreme or PDH/PDL taken (confirmed bar). The alert() message names the exact level and outcome, e.g. "EURUSD 60 — liquidity swept: ASIA H (rejected)".
Session range expansion — the active session crossed the 80th percentile of its own history.
Session opened.
This is a visual analytical tool for chart reading and session-structure context. It does not generate buy/sell signals, does not execute trades, and does not provide financial advice. Indicatore

Ultimate Deep Fibonacci & Institutional Chart Matrix ProUltimate Deep Fibonacci and Institutional Chart Matrix Pro
Overview
The Ultimate Deep Fibonacci and Institutional Chart Matrix Pro is a comprehensive visual framework designed for Pine Script v6. It combines Smart Money Concepts, dynamic support and resistance zones, session liquidity levels, and structural Fibonacci pricing into a unified chart layout.
This tool maps market structure transitions, identifies key institutional high and low swing levels, tracks Asian session ranges, and visualizes overall price flow through a custom smooth wave with integrated volume price background fill.
Core Features
Natural Price Wave and Shadow Fill
Maps underlying market momentum using a smoothed wave calculation.
Dynamically fills the space between the current close price and the wave line to visualize expanding or contracting momentum.
Color coded green for bullish conditions and red for bearish conditions.
Deep Institutional Fibonacci Matrix
Plots critical institutional Fibonacci levels based on recent market swings:
0.50 Equilibrium (EQ): The midpoint balance level.
0.618 Golden Zone: A primary level for premium or discount interest.
0.786 Deep Discount: A deep structural reversal or continuation level.
Dynamic Support and Resistance Zones
Automatically draws extended resistance and support boxes using dynamic pivot points and Average True Range buffering.
Labels automatically project forward on the chart without obscuring live price action.
Major ITH and ITL Badges
Identifies significant Intermediate Term Highs (ITH, colored Red) and Intermediate Term Lows (ITL, colored Green).
Configurable lookback parameters filter out minor noise, focusing solely on major swing structural points.
Smart Money Concepts Structure
Detects and plots structural breaks:
BOS (Break of Structure): Signals trend continuation.
CHoCH (Change of Character): Signals potential market trend shifts.
Asian Session Liquidity Tracking
Tracks the high and low levels established during the Asian trading session.
Plots dotted projection lines until price breaks or sweeps these liquidity levels.
Dynamic Projection Arrow and Low Resistance Liquidity
Projects short term expected direction using Average True Range volatility metrics.
Highlights major liquidity pools based on key high and low boundaries.
On Screen Live Dashboard
Displays real time market stats in the top right corner, including Market Flow, Golden Zone values, Asian Session status, Volatility, and Market Structure Alignment.
Settings Breakdown
Price Wave and Shadow Settings
Show Natural Price Wave and Fill Shadow: Enables or disables the wave line and its background fill.
Wave Sensitivity: Adjusts the lookback period for the wave calculation (Default: 20).
Shadow Transparency (0-100): Controls the background fill opacity.
Deep Fibonacci Matrix
Show Deep Institutional Fib: Enables or disables structural Fibonacci lines.
Fib Swing Lookback: Determines the number of bars evaluated for top and bottom Fibonacci anchors (Default: 40).
Dynamic Support and Resistance Box Zones
Show Dynamic Box S/R Zones: Toggles support and resistance box zones.
S/R Sensitivity: Controls the pivot detection length for drawing zones (Default: 20).
Major ITH and ITL Settings
Show Major ITH and ITL Badges: Toggles ITH and ITL visual markers.
Major ITH and ITL Lookback: Controls swing sensitivity to filter minor noise (Default: 20).
Projection and Liquidity Settings
Show Direction Projection Arrow: Toggles the forward projection arrow.
Arrow Forward Bars: Controls how far ahead the arrow projects (Default: 12).
Show Low Resistance Liquidity: Toggles liquidity baseline highlights.
Asian Liquidity and SMC Settings
Show Active Asian High / Low: Toggles Asian range tracking lines.
Show BOS and CHoCH Structure: Enables market structure labels.
Structure Sensitivity: Controls pivot lookback for structural breaks.
How to Use
Context Identification: Look at the Market Flow and Price Wave Fill Shadow to determine the directional bias (Bullish = Green, Bearish = Red).
Key Zone Mapping: Identify price interaction with the Support Zone or Resistance Zone. Monitor how price behaves near the 0.618 Golden Zone or 0.786 Deep Discount lines.
Structure Confirmation: Confirm structural updates via BOS or CHoCH markers. Look for ITH (Red) or ITL (Green) labels to mark key swing pivots.
Session Liquidity: Monitor the ASIA H and ASIA L dotted lines for potential liquidity sweeps during peak trading hours.
Things to Avoid
Avoid Over-Leveraging at Single Levels: Never rely on a single line or zone in isolation; always seek confluence across structural breaks and dynamic zones.
Avoid High Sensitivity on Low Timeframes: Setting swing sensitivities too low on lower timeframes can lead to excessive noise. Adjust lookback values according to your target timeframe.
Avoid Trading directly into major Resistance or Support: Exercise caution when opening new directional positions directly inside established Resistance or Support boxes.
Disclaimer
Trading financial markets involves significant risk and can result in the loss of your capital. This indicator is designed strictly for educational and analytical purposes to assist with visual market structure identification. It is not financial advice, investment recommendation, or a signal service. Always manage your risk responsibly, conduct your own independent research, and follow your own personalized trading plan. Indicatore

Jurik Velocity Index Approximation🚀 JURIK VELOCITY INDEX APPROXIMATION (VEL)
The Jurik Velocity Index Approximation (VEL), engineered by gunebak4n, is an advanced, ultra-smooth, zero-lag momentum oscillator framework designed for TradingView. Built upon the legendary signal-processing principles conceptualized by Mark Jurik (Jurik Research), this open-source implementation transforms classical price momentum into a noise-free, highly responsive velocity curve that pinpoints trend direction, momentum shifts, and market acceleration with surgical precision.
Classical momentum indicators suffer from a severe noise-versus-lag tradeoff: raw rate-of-change lines zig-zag violently, producing false alarms, while standard smoothing filters (such as moving averages) introduce unacceptable signal lag that degrades trade timing. VEL solves this by routing raw price momentum through an integrated Jurik Moving Average (JMA) engine. The result is an exceptionally smooth, lag-free velocity curve that detects directional reversals well ahead of traditional trend indicators.
💡 CORE DESIGN PRINCIPLES
🧭 Zero-Lag Smooth Momentum Engine
Classical momentum relies on raw price differentials, resulting in high-frequency noise. VEL strips out market chatter without adding lag, revealing the true underlying velocity of price movement.
🎛️ JMA Adaptive Filtering Engine
By passing the momentum input through a multi-stage Jurik filter, market noise is suppressed while preserving sharp turning points and critical reversal signals.
🎚️ Modular Phase & Power Control
Provides modular fine-tuning controls:
• Phase (-100 to +100): Adjusts the balance between lag reduction and overshoot prevention. Positive values accelerate responsiveness for fast-moving markets, while negative values yield smoother curves.
• Power: Controls the acceleration exponent of the smoothing curve, allowing traders to customize how aggressively the filter adapts to price velocity.
💡 KEY FEATURES
• ATR Normalization Engine: Optional volatility normalization scales momentum relative to ATR, making VEL scale-independent across Crypto, Forex, Equities, and Indices.
• Momentum Acceleration Histogram: Displays the difference between VEL and a secondary JMA signal line in a faded, visually discreet histogram to measure true momentum acceleration and deceleration.
• Multi-Timeframe (MTF) Integration: Fetch higher-timeframe velocity directly onto your execution chart for seamless macro trend alignment.
• Automated Divergence Detection: Built-in pivot scanner detects Bullish and Bearish divergences between price action and velocity oscillations.
• Dynamic Trend & Bar Coloring: Automatically colors chart price bars and the VEL curve based on real-time momentum direction.
• Comprehensive Alert Engine: Equipped with pre-configured, non-repainting alertcondition events for zero crossovers, signal crossovers, and divergence alerts.
🔬 MATHEMATICAL ARCHITECTURE
• Raw Momentum = Price - Price
• Volatility Scaling = (Enable ATR Norm) ? (Raw Momentum / ATR(14)) * 100 : Raw Momentum
• Derive Beta & Alpha Coefficients from Length and Power
• Apply Multi-Stage Recursive JMA Filter with Phase Ratio adjustment
• JMA(Normalized Momentum) => Primary VEL Output
• Signal Line = JMA(VEL, Signal Length, Signal Phase, Signal Power)
• Acceleration Histogram = VEL - Signal Line
🛠️ USAGE FRAMEWORK
1. Zero Line Crossovers (Velocity Shift)
• VEL Crossing Above 0: Confirms positive price velocity (bullish momentum). Focus on long entries or trend continuations.
• VEL Crossing Below 0: Confirms negative price velocity (bearish momentum). Focus on short entries or trend continuations.
2. Histogram Slopes (Momentum Acceleration)
• Expanding Histogram: Indicates accelerating momentum in the current trend direction.
• Shrinking Histogram: Early warning of momentum decay before price actually turns.
3. Divergence Analysis
• Bullish Divergence: Lower price lows paired with higher VEL lows indicate seller exhaustion and an impending bullish reversal.
• Bearish Divergence: Higher price highs paired with lower VEL highs indicate buyer exhaustion and an impending bearish reversal.
⚙️ SYSTEM CHARACTERISTICS
• Zero Repainting: All calculations strictly evaluate on closed historical bar states.
• Fully Parameterized Inputs: Customize period length, phase, power, ATR normalization, MTF timeframes, divergence lookbacks, bar coloring, and color themes.
• Asset-Agnostic Engine: Operates with scale-independent precision across Equities, Forex, Crypto, Commodities, Futures, and Indices.
• Clean & Modern UI: Built to Pine Script v6 standards and optimized for visual clarity on both dark and light chart themes.
📌 CREDIT & ATTRIBUTION
The Jurik Velocity Index Approximation script is engineered and published by gunebak4n on TradingView.
This indicator is based on the mathematical concepts of the Jurik Velocity Index (VEL) originally conceptualized by Mark Jurik (Jurik Research).
⚠️ DISCLAIMER
This script is an open-source community implementation and mathematical approximation of the VEL concept. It is not affiliated with, officially supported by, or endorsed by Mark Jurik or Jurik Research. This indicator is a technical analysis visualization tool and does not provide financial advice, automated trading signals, or profit guarantees. Always perform thorough backtesting and practice strict risk management. Indicatore

Multi-Confluence Signal Engine [MarkitTick]💡 A confluence-weighted signal engine that scores trend, momentum, volume, and market-structure conditions independently, then blends them into two composite 0–100 readings — a Bull Score and a Bear Score — to identify moments where multiple independent forces align in the same direction. Rather than reacting to one indicator crossing one line, this script asks four different questions about price behavior at once and only flags a signal when the weight of evidence clears a threshold you control.
✨ Originality and Utility
Most confluence or "confirmation" scripts on TradingView work by checking a fixed list of conditions and requiring all of them, or a majority of them, to be true — a rigid AND/OR gate. This script instead builds four independent sub-scores (Trend, Momentum, Volume, Structure), each internally weighted by the relative importance of its own components, and then combines those four legs using user-defined percentage weights into a single continuous score. The practical difference is that a trader can decide, for example, that market structure matters twice as much as volume for their instrument, and the engine will respect that priority mathematically rather than treating every condition as equally binary.
The engine does not stop at "yes/no." Each leg produces a 0–100 magnitude, visible individually on the dashboard, so a trader can see not just that a signal fired but which of the four legs was doing the heavy lifting. A signal driven primarily by Structure (a break of a swing high with rising highs and lows) has a different character than one driven primarily by Volume (a spike on an up-close candle), even if both produce the same final score. This decomposition is what separates the tool from a simple scoring checklist: the score is diagnostic, not just directional.
On top of scoring, the script layers a full trade-management shell: ATR-based stop placement, three R:R-defined take-profit levels, a minimum-bar-gap cooldown to prevent signal clustering, a minimum score-gap requirement between the bull and bear reading to avoid firing on a coin-flip, an optional higher-timeframe trend filter, and an optional ATR-based volatility filter to suppress signals during dead, choppy conditions. This turns a scoring model into a usable end-to-end signal-and-management framework rather than a standalone oscillator.
🔬 Methodology and Concepts
• Trend Leg
The trend component is built from three EMAs — Fast, Slow, and Macro — calculated with a manual recursive EMA function rather than the built-in, giving explicit control over the smoothing seed. Four conditions are checked: whether the Fast EMA sits above (or below) the Slow EMA, whether price trades above (or below) the Macro EMA, and whether the Fast and Slow EMA slopes (measured as simple rate-of-change over a lookback window) are rising or falling. Each condition contributes a fixed point value toward either the bullish or bearish trend sub-score, weighted so that the Fast/Slow EMA relationship and the price-vs-Macro relationship carry the most influence, with slope direction acting as a secondary confirmation.
• Momentum Leg
Momentum blends RSI positioning relative to a configurable midline, MACD line-vs-signal crossover state, and MACD histogram direction (rising or falling versus the prior bar). Each of the three contributes roughly a third of the momentum sub-score, meaning momentum only reads as strongly bullish or bearish when oscillator position, trigger-line relationship, and histogram acceleration all agree.
• Volume Leg
Volume scoring looks for two things: whether current volume exceeds a multiple of its moving average (a "spike") occurring on a candle that closed in the corresponding direction, and whether volume is simply expanding bar-over-bar in that same direction. A volume spike on a directional candle carries the larger weight, since an expanding-but-unspiked volume reading is a weaker signal of conviction than an outright surge.
• Structure Leg
This is a swing-based market-structure read. Pivot highs and lows are detected with a symmetric lookback window (a bar must be the extreme point within a window of bars on both sides to qualify), and the script tracks the two most recent pivot highs and two most recent pivot lows. A bullish structure state requires both the pivot highs and pivot lows to be printing progressively higher (higher highs, higher lows); a bearish state requires the mirror condition. Separately, the script tracks a "break of structure" — price closing beyond the last confirmed pivot high or low in a direction that differs from the currently tracked structural bias — as an additional, heavier-weighted structural signal.
• Composite Scoring
The four leg scores are combined using a weighted average, where the weights (Trend / Momentum / Volume / Structure) are fully configurable and normalized against their own sum, so the four percentages do not need to add to exactly 100 to remain internally consistent. The result is a Bull Score and a Bear Score, each independently ranging from 0–100, which are then bucketed into Strong, Medium, Weak, or None tiers based on two adjustable thresholds.
• Signal Confirmation Logic
A raw long or short condition requires the relevant score to clear the Medium threshold, the gap between the bull and bear scores to exceed a minimum separation (preventing signals when both sides are nearly tied), an optional higher-timeframe trend agreement check, an optional minimum-volatility check using ATR as a percentage of price, and a minimum bar-count since the last signal in that direction. Signals are only confirmed on a closed bar (barstate.isconfirmed), so the plotted signal state does not repaint on the current, still-forming bar.
• Higher-Timeframe Filter
When enabled, the script requests the prior, fully closed value of price and a slow EMA from a higher timeframe using an offset lookback, which is the standard non-repainting method for pulling higher-timeframe context — it deliberately reads the last confirmed HTF bar rather than the in-progress one, so this filter does not introduce forward-looking bias.
🎨 Visual Guide
• Heatmap Candles
When enabled, candle bodies, wicks, and borders are recolored using the Bull/Bear/Neutral color inputs based on which composite score currently leads and whether it clears the Medium tier — teal-family for a leading bull score at or above Medium, red-family for a leading bear score at or above Medium, and gray for anything below that threshold on both sides.
• EMA Lines
Three plotted lines track the Fast EMA (blue by default), Slow EMA (orange by default), and Macro EMA (purple by default). Their relative position and slope are the visual counterpart of the Trend Leg's underlying math.
• Score Labels
When a long signal fires, a label appears below that bar showing the rounded Bull Score. When a short signal fires, a label appears above that bar showing the rounded Bear Score. These give an at-a-glance read of how strong the triggering signal was without opening the dashboard.
• Trade Levels
On a confirmed signal, the script draws a full set of horizontal levels: a Stop-Loss line (red, with an "✕ SL" label), an Entry line (blue dashed, "▶ Entry" label), and three Take-Profit lines at increasing R:R multiples (teal dashed, "◆ TP1", "✦ TP2", "◆ TP3" labels, with opacity increasing from TP1 to TP3). Shaded fills connect Entry-to-Stop (risk zone) and Entry-to-TP3 (reward zone) so the risk/reward geometry is visible at a glance. These levels extend forward automatically as new bars form and are replaced whenever a fresh signal fires, unless the Lock Signal input is enabled, in which case the current level set is frozen and new signals are suppressed from redrawing them.
• Dashboard
An optional on-chart table (position configurable to any corner) summarizes, per bar: the current lock state, the Bull Score and Bear Score as filled progress bars with a percentage, the Bull Tier and Bear Tier classification, each of the four leg scores as its own progress bar, the current volume ratio versus its moving average, and the current ATR as a percentage of price. The progress bars use a three-color scale (teal / amber / red) based on how far the underlying reading sits from its maximum, giving a quick visual read of leg strength without needing to interpret raw numbers.
📖 How to Use
A long condition is flagged only when the Bull Score clears the Medium threshold, leads the Bear Score by at least the configured minimum gap, and passes whichever optional filters (HTF trend, volatility) are enabled — the mirror logic applies to short conditions. The dashboard's per-leg bars are useful for judging signal quality beyond the headline score: a Strong-tier signal backed by all four legs reading high is generally a more complete confluence than one where the composite score is inflated mostly by a single leg such as Volume.
The Lock Signal input is intended for reviewing a specific historical signal's levels without them being overwritten as price continues to move — enable it to freeze the current Entry/SL/TP level set in place, and disable it to resume normal level updates on the next fresh signal.
Because trade levels are geometric projections from ATR and R:R inputs at the moment of signal, not a guarantee of price reaching those levels, they should be read as a structured reference for planning position size and exits rather than a forecast.
⚙️ Inputs and Settings
• Core Settings
Strong and Medium thresholds define the score tiers; the Minimum Bars Gap enforces a cooldown between signals in the same direction; the Minimum Score Gap requires clear separation between Bull and Bear scores before either can fire; the four Leg Weight inputs control how much each of Trend, Momentum, Volume, and Structure contributes to the composite score.
• Trend Leg
Fast, Slow, and Macro EMA lengths, plus the lookback window used to measure EMA slope direction.
• Momentum Leg
RSI length and midline, plus MACD fast/slow/signal lengths.
• Volume Leg
The moving-average length volume is compared against, and the multiplier that defines a "spike."
• Structure Leg
The symmetric lookback window used to confirm a swing pivot high or low.
• Filters
Optional higher-timeframe trend agreement filter (with selectable timeframe) and an optional ATR-based minimum-volatility filter, each of which can independently suppress signals that would otherwise fire.
• Trade Tools
ATR multiplier for stop distance, R:R multiples for the three take-profit levels, a toggle to show or hide the drawn levels, and the Lock Signal toggle to freeze the current level set.
• Visuals
Toggles for heatmap candle coloring, EMA line visibility, and score labels on signals.
• Dashboard
Toggle to show or hide the on-chart summary table and a dropdown to choose which corner it docks to.
• Alerts
Custom text strings for the long, short, close-long, and close-short alert JSON payloads, letting the alert output be adapted to match the syntax expected by an external webhook or automation endpoint.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
• Trend-Following Theory
The EMA-based trend leg draws on the long-standing empirical observation, formalized in academic momentum and trend-following literature, that asset prices exhibit serial correlation over intermediate horizons — trends, once established, have historically had a higher-than-random probability of persisting over the following period. Dual and triple moving-average crossover systems are among the earliest systematized expressions of this idea, and the slope-of-the-average component reflects the concept of trend "velocity" used in later technical and quantitative trend-strength research.
• Oscillator and Convergence-Divergence Theory
RSI, developed by J. Welles Wilder, is grounded in the idea that the ratio of average gains to average losses over a lookback window reflects the relative strength of buying versus selling pressure, oscillating within bounds that can indicate overbought/oversold conditions or, as used here, simple directional bias relative to a midline. MACD, developed by Gerald Appel, formalizes convergence and divergence between two exponential averages of differing sensitivity; the histogram (the difference between the MACD line and its own signal line) captures acceleration or deceleration in that relationship, which is the specific behavior this script isolates when checking histogram direction.
• Volume-Price Confirmation Theory
The volume leg reflects classical Dow Theory and later volume-price-analysis principles holding that price moves accompanied by above-average volume carry more conviction than moves on thin volume, since volume is treated as a proxy for the degree of market participation and consensus behind a price change.
• Market Structure and Price-Action Theory
The structure leg operationalizes the concept of market structure as used in classical Dow Theory (a sequence of higher highs and higher lows defining an uptrend, and the reverse for a downtrend) and its more recent "break of structure" formalization in price-action and smart-money-concept methodologies, where a close beyond a prior swing point is treated as evidence of a shift in the controlling side of the market.
• Weighted Multi-Factor Aggregation
Combining independently normalized sub-scores via user-adjustable weights mirrors the logic of multi-factor models in quantitative finance, where distinct signal families (trend, momentum, volume, structure/mean-reversion) are each scored on a common scale and then blended, rather than relying on any single factor in isolation — the underlying premise being that signal families with low correlation to one another produce more robust composite readings than any single family alone.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicatore

Previous Day / Week / Month Highs & LowsPrevious Day / Week / Month Highs & Lows.
A precision multi-period key-level tool that automatically draws previous-period highs and lows from the Daily, Weekly and Monthly timeframes — plus optional midpoints, an optional grid of psychological round-number levels around price, and a compact right-side info table with distance-to-price for every visible level. Built for intraday, scalping and swing traders who want a clean, opinionated read of the reference levels that institutional desks actually watch.
How it works:
The indicator pulls the previous completed candle from D, W and M via request.security and anchors each level line at the exact open time of that source bar — so a Weekly line starts on last week's Monday, not on the current week's first bar. Lines stay live and extend to the right through the chart's future offset area, so the reference points from yesterday, last week and last month are always visible on the current bar. The optional round-number grid re-anchors to price on every bar, so the closest N round levels above and below are always in view.
What it calculates:
- Previous Day High / Low + optional Midpoint (PDH, PDL, PD MID)
- Previous Week High / Low + optional Midpoint (PWH, PWL, PW MID)
- Previous Month High / Low + optional Midpoint (PMH, PML, PM MID)
- Psychological round-number grid centered on the current price, with adjustable step and count
- Live distance from the current close to every enabled level (in %)
Key features:
- Per-period visibility toggles: enable exactly the levels you use, hide everything else
- Configurable history depth — keep 1 to 20 previous daily / 1 to 12 weekly / 1 to 6 monthly sessions on the chart
- Auto-hide only when the chart timeframe strictly exceeds the level period: Daily levels stay on 1D, Weekly stay on 1W, Monthly never hide
- Lines anchored at the source bar (open time of the previous D/W/M candle), not at the first bar of the new period — you see the actual range the level came from
- Label anti-collision system: each label sits on its own horizontal slot in the right-offset area, with configurable Label Spacing — PDH / PWH / PMH texts never overlap even when their prices are close together
- Compact right-side info table with three columns (level name, price, +/- % distance to close), positioning across 6 chart corners, three text sizes, adjustable background transparency
- Three line styles (Solid / Dashed / Dotted) applied independently to main lines, midpoints and round levels
- Adjustable line width, label size and label visibility for a clean or a dense look
- Line extension modes: Right (default), Both, or None
- Fully customizable color per period — defaults follow a heat-scale palette (Daily = yellow, Weekly = orange, Monthly = red — nearest to furthest horizon)
- Round-number step tuned per asset class (BTC / ETH / FX / index / equities)
- Built-in alerts: PDH / PDL touched, same for weekly and monthly
- Auto-adapts to any instrument and any chart timeframe
Who it's for:
Intraday, scalping and swing traders — SMC / ICT, price-action, order-flow, or classical technicals — who want the exact levels institutional desks pin their orders around, cleanly drawn, without the visual noise of a dozen overlapping tools. Indicatore

Support Resistance AI [PickMyTrade]Every support/resistance tool answers "where are the levels." None answer the question a trader actually has when price arrives at one: does THIS test look like the ones that held, or like the ones that broke?
――――――――――――――――――――――――――――――――――――――
🔷 WHAT IT MEASURES
🔸 Confirmed swing pivots, clustered into zones and merged as new evidence accumulates
🔸 Eight properties of every ARRIVAL at a zone — approach speed, relative volume, prior test count, zone age, trend pressure, zone width, pivot count, and cumulative touches
🔸 A broken level isn't discarded — it flips role once (broken support becomes candidate resistance) and only a second failure retires it
🔸 A live Previous Day/Week High/Low reference map, shown only when price is within range
――――――――――――――――――――――――――――――――――――――
🔷 THE CLASSIFIER
🔸 An online Gaussian Naive Bayes model, trained continuously as tests resolve — no repainting, no lookahead
🔸 Nothing about a level's price is used as a feature — only how price approached it
🔸 The classic claim that "a level tested repeatedly grows weaker" is measured on each chart's own history here, rather than assumed
🔸 Below a configurable warmup sample count, the script shows the chart's running hold rate instead and reads LEARNING — it never guesses early
――――――――――――――――――――――――――――――――――――――
🔷 SIGNALS AND DISPLAY
🔸 Zone boxes colored by role (support/resistance) and shaded by live conviction, with worded verdicts ("similar arrivals held X%") instead of a bare number
🔸 Rank-based visibility — only the nearest zones to current price are drawn, so old or distant levels never stretch the chart's scale
🔸 Test history ticks stamped inside each zone at the bar where its own tests resolved
🔸 An info table with Nearest Support/Resistance, model accuracy, and sample counts
🔸 3 alertconditions, worded as observations of what the classifier's reading — never as trade instructions
――――――――――――――――――――――――――――――――――――――
🔷 INPUTS
Pivot Left/Right Bars — swing detection window. Default 10/10.
Zone Width / Merge Distance — band thickness and clustering tolerance, in ATR. Default 0.5 / 0.75.
Break Buffer / Rejection Distance — how far price must close beyond or travel back from a zone to resolve a test. Default 0.25 / 0.75 ATR.
Post-Flip Cooldown — bars a flipped zone must survive before a break can retire it. Default 5.
Warmup Samples — resolved tests required before the classifier is trusted. Default 25.
Conviction Threshold — probability at which a zone is shown at full conviction. Default 0.62.
Max Live Zones / Show Distance — how many nearby zones are drawn and how far (in ATR) before one is hidden.
Show Trend EMA, Zen Mode — display toggles; Zen Mode hides labels and the table for clean screenshots.
――――――――――――――――――――――――――――――――――――――
🔷 REQUIREMENTS AND LIMITATIONS
🔸 Pivots confirm only after the right-side lookback bars close — a level appears on the chart later than the swing that created it, by design
🔸 One thing does refine retroactively: when a later pivot merges into an existing zone, its band re-centers toward the weighted average — a zone with an open test is never re-centered, so no in-progress outcome is affected
🔸 Early on a fresh chart, or for a zone with only one or two tests, its own read is thin — the model's overall sample count travels with every verdict so that's never hidden
🔸 This script reports how historical arrivals resolved. It does not predict, and it is not a trading system on its own.
――――――――――――――――――――――――――――――――――――――
Built in Pine Script v6. Open source — Mozilla Public License 2.0. Indicatore

Multi-Symbol Volume Anomaly Tape [The_lurker]Multi-Symbol Volume Anomaly Tape شريط شذوذ الحجم متعدّد الرموز
Forty symbols in one live tape, at one-second resolution , It does not show volume. It shows only what is abnormal about it.
⚠ READ FIRST — LIVE MONITOR, NOT A HISTORICAL STUDY
The scan engine runs on the last bar only. Scroll back and you will see nothing, because there is nothing to see: no markers are drawn on price and no history is reconstructed. This is a real-time panel, and backtesting it is not possible by design.
═════════════════════════════════════════════════════════════
▌ THE IDEA
Large volume is not information. Volume that is large for that symbol is.
Common volume tools compare volume to its own average and report "1180% of normal". That is a ratio without a scale. A symbol whose volume routinely swings tenfold produces 1180% on an ordinary day; a stable one produces 300% in a genuinely exceptional moment. The two numbers are not comparable, not across symbols and not even within one symbol across regimes.
MVAT compares against the distribution, not the average:
z = ( ln(value) − mean ) ÷ standard deviation
The logarithm comes first because volume is approximately log-normal; without it the standard deviation is meaningless. z is then computed per symbol against a rolling window of 300 of its own prints.
The result is unit-free, and that is what makes the table possible at all. A print at 3.4σ on Bitcoin is exactly as abnormal as 3.4σ on PEPE, even though one is millions of dollars and the other is thousands. Symbols with completely different size, liquidity and volatility become rankable in a single column.
═════════════════════════════════════════════════════════════
▌ THE PANEL
Cluster row, then one row per abnormal print, newest on top:
▰▰▰▰▰▰▰▰ 9/9 ▲ XRP SOL SUI ETH +5 · 0.05%
23:26:00 · XRP · ▲█ · 1.0600 · $79.6K · ●● 3.3
23:26:00 · SOL · ▲▄ · 73.25 · $178.5K · ● 2.8
23:25:56 · SUI · ▲▂ · 0.6893 · $18.3K · ● 2.8
23:25:53 · BTC · ▲▂ · 63,562.0 · $153.4K · ● 2.3
23:25:44 · AVAX · ◆▂ · 6.5370 · $5.3K · ● 2.4
Ordinary prints never reach the screen. The tape carries anomalies, not the full flow.
TIME — print time to the second, in exchange time (UTC on Binance). Align it to your chart with the clock-offset input.
SYM — ticker, stripped of exchange prefix and quote suffix.
SIDE — two characters: direction and impact. Detailed below.
PRICE — execution price, formatted adaptively so fractional-priced symbols are not rounded to zero.
VALUE — notional in dollars, compact (K · M · B). This is economic materiality; SCORE is statistical rarity. They are deliberately different: a 4σ print worth ten thousand dollars on a thin market is statistically extreme and economically small, and the reverse happens too.
SCORE — anomaly strength in standard deviations.
═════════════════════════════════════════════════════════════
▌ STRENGTH CHANNEL
● between the first and second threshold
●● between the second and third
●●● above the third
The dot count states the strength on its own; the number beside it gives precision.
The fill is a continuous gradient, not two states: a print at 2.1 does not carry the same colour as one at 2.9. Hue carries side — green for buy, red for sell — while intensity carries strength, so the two channels never compete for the same discrimination.
Note on the third threshold: it is the top of the colour ramp, not a third detection level. Prints above it simply take the hottest shade.
═════════════════════════════════════════════════════════════
▌ SIDE CHANNEL
▲ buy · ▼ sell · ◆ neutral
Direction is taken from inside the print's own second, not by comparing it to the one before: close against open first, then the close's position within the bar's range. Whatever neither resolves is shown as neutral.
This deserves a moment. The common tick rule compares close to previous close and leaves exact price ties unresolved — and ties are very common at one-second resolution. When ties are assigned to buy by default, the side balance tilts hard and falsely toward buying.
MVAT does not do that. A second carrying no directional information says so with ◆ and is counted on neither side.
═════════════════════════════════════════════════════════════
▌ IMPACT CHANNEL
█ breakthrough — moved price more than twice the usual
▄ ordinary
▂ absorption — barely moved price at all
This channel answers what volume alone cannot: what did this volume do to price? Two prints at 4σ, one that moved price and one that did not, mean opposite things.
▲█ — heavy buying that cut through the book. The opposing liquidity was consumed.
▲▂ — heavy buying eaten by a resting seller. A defended level, and the seller is still there.
Measured as the print's move in basis points relative to that symbol's own average move, computed from prints that actually moved rather than from all prints. The distinction matters: most one-second bars close where they opened, and letting the zeros into the average would make any tick at all look like a breakthrough.
═════════════════════════════════════════════════════════════
▌ THE CLUSTER ROW
The tape shows individual events. The cluster row answers a different question: is this a symbol's news, or the market's event?
Five scattered anomalies across five symbols within an hour is one thing. Five anomalies across five symbols within fifteen seconds is another entirely.
Fired:
▰▰▰▰▰▰▰▰ 9/9 ▲ XRP SOL SUI ETH +5 · 0.05%
Idle:
▰▰▰▰▰▱▱▱ 6/9 · exp 2.6
GAUGE — proximity to the threshold, read at a glance. Always eight cells regardless of the threshold, so raising it from 4 to 12 never widens the table.
COUNT — distinct symbols inside the window, against the minimum.
SIDE — net direction across the cluster, weighted by strength.
SYMBOLS — the four strongest by peak σ, then +k for the rest. This is the most important part of the row. A cluster of XRP, SOL, SUI and ETH is not a cluster of four microcaps, and a count alone cannot tell them apart. Ranking by strength puts the heaviest first, so you can see what carried the move.
PROBABILITY — the chance of this cluster occurring at random. 0.05% is genuinely rare; 5% means you are reading noise.
EXP — in the idle state, the expected number of symbols under independence, computed live from the current scan rates. Use it to tune your threshold: if exp is close to your minimum you are about to read coincidence; if it is far below, a fired row is a real event.
═════════════════════════════════════════════════════════════
▌ WHY A FIFTEEN-SECOND WINDOW
The cluster is calibrated, not set by taste. A window's ability to discriminate collapses quickly as it widens:
15s window · 4 symbols → 24.8× the chance rate
30s window · 4 symbols → 5.7×
60s window · 3 symbols → 1.0× — pure coincidence
A wide window does not capture the event's width; it dissolves it in noise.
The chance probability is computed inside the indicator from each symbol's rate in the current scan, not from a planted constant, so it stays correct at any symbol count and any level of market activity without manual recalibration.
Threshold scaling matters: the expectation is proportional to how many symbols are scanned, so a threshold tuned for ten becomes far too loose at forty.
10 symbols → 4
20 symbols → 5
30 symbols → 6
40 symbols → 9
The displayed exp makes this table unnecessary — set the threshold clearly above it.
Finally: symbols inside a cluster are listed, not ordered in time. No lead-and-follow sequence is displayed, because displaying one would be invention rather than measurement. The ordering shown is by strength, which is real information.
═════════════════════════════════════════════════════════════
▌ SETTINGS
1 · Signal — the display filter, the σ threshold ladder, tape length. Tier 3 is the colour ceiling, not a detection level.
2 · Universe — forty slots, each with an enable toggle and a text ticker field. Type the ticker only (BTCUSDT); the exchange prefix is added automatically. An unlisted ticker is skipped silently and never breaks the indicator or its settings dialog.
3 · Cluster — show the row, window in seconds, minimum distinct symbols.
4 · Data — lower timeframe, volume measure, scan depth per symbol. Scan depth governs both the tape's time span and reference precision.
5 · Statistics — reference window size, warmup minimum, and an option to admit events only after the window fills so every σ comes from one sample size.
6 · Appearance — language, location, scale, clock offset from UTC.
7 · Colors — a three-stop ramp per side: weak, mid, hot.
═════════════════════════════════════════════════════════════
▌ CHOOSING A VOLUME MEASURE
Dollar Volume (default) — the only measure comparable across symbols in one table. Use it whenever the universe is mixed.
Volume — base units. Use it when watching a single symbol or a set with similar unit scales.
Price Volume — volume multiplied by typical price, an intermediate form.
σ itself is computed on the selected measure, so switching changes both the Score column and which prints qualify.
═════════════════════════════════════════════════════════════
▌ READING IT
Scan the SCORE column first — the eye catches ●●● and the hot shades immediately. Then SIDE: did it break through or was it absorbed? Then VALUE: does it deserve attention economically, or is it a statistical anomaly on a thin market? Above it, the cluster row gives the context: isolated event or market wave.
Patterns worth tracking:
Repeated ▲▂ at the same price — a resting seller absorbing demand at a defined level.
A ▼ cluster with a low probability — synchronised selling pressure across the market rather than news in one symbol.
═════════════════════════════════════════════════════════════
▌ STATUS FLAGS
The indicator does not fail silently. Three flags appear only when needed.
TIME ⚠ — the data budget clipped the requested scan depth.
SYM ⚠ — a configured symbol returned no data.
TF ⚠ — the chart timeframe is too small to feed the reference window.
═════════════════════════════════════════════════════════════
▌ OPERATIONAL REQUIREMENTS
The reference window is rebuilt from the current chart bar only, so the chart timeframe must be large enough to hold the required number of prints. At a 1S lower timeframe use 15 minutes or higher. Below that, TF ⚠ appears and the indicator tells you itself.
Enabling all forty symbols consumes Pine's request allowance in full. Each symbol's share of the data budget is clipped before any computation, so the indicator cannot exceed the platform limit whatever the settings.
Performance: forty simultaneous lower-timeframe requests is a heavy load. On slower machines, or when switching chart timeframes rapidly, expect a noticeable reload. Reducing the universe to 10–20 symbols both speeds this up and buys a deeper scan per symbol.
The engine is stateless: the reference window and the tape are rebuilt on every execution. As a result σ for a given print never changes no matter how long your session runs, and a closed bar's contents never change.
═════════════════════════════════════════════════════════════
▌ SCOPE
MVAT is a measurement instrument, not an entry-signal generator. It emits no alerts, by design.
What it reports: which prints were abnormal by their own symbol's standard, which side carried them, what they did to price, and whether they coincided with others.
What it does not report: the direction price will take next. Volume abnormality relates far more to the size of the coming move than to its direction, and reading the panel as buy signals reads it wrong.
The impact channel ships tagged : its thresholds rest on a sound statistical basis but have not been calibrated against forward returns.
The panel is fully bilingual, Arabic and English, switchable in settings.
═════════════════════════════════════════════════════════════
⚠️ DISCLAIMER
═════════════════════════════════════════════════════════════
This indicator is for educational and analytical purposes only. It does not constitute financial, investment, or trading advice. Use it alongside your own strategy and risk management. Neither TradingView nor the developer is responsible for any financial decisions or losses.
═════════════════════════════════════════════════════════════
═════════════════════════════════════════════════════════════
Multi-Symbol Volume Anomaly Tape شريط شذوذ الحجم متعدّد الرموز
أربعون عملة في تدفّق واحد، بدقّة الثانية ، لا يعرض الحجم، بل يعرض ما هو غير عادي منه فقط.
⚠ اقرأ هذا أولًا — لوحة مراقبة حيّة لا أداة تحليل تاريخي
محرّك المسح يعمل على الشمعة الأخيرة وحدها. إن رجعت بالشارت إلى الوراء لن ترى شيئًا، لأنه لا يوجد ما يُرى: لا علامات تُرسم على السعر ولا تاريخ يُعاد بناؤه. هذه لوحة لحظية، والاختبار التاريخي عليها غير ممكن بحكم التصميم.
═════════════════════════════════════════════════════════════
▌ الفكرة
الحجم الكبير ليس معلومة. الحجم الكبير بالنسبة لطبيعة العملة نفسها هو المعلومة.
المقاييس الشائعة تقارن الحجم بمتوسّطه فتقول «١١٨٠٪ من المعدّل». وهذه نسبة بلا مقياس: عملة يتأرجح حجمها عشرة أضعاف يوميًا تعطي هذا الرقم في يوم عادي تمامًا، وعملة مستقرّة الحجم تعطي ثلاثمئة بالمئة في لحظة استثنائية. الرقمان غير قابلين للمقارنة، لا بين عملتين ولا داخل العملة الواحدة عبر أنظمة السوق.
والمؤشّر يقارن بالتوزيع لا بالمتوسط:
z = ( ln(value) − mean ) ÷ standard deviation
اللوغاريتم أولًا لأن توزيع الحجم لوغاريتمي-طبيعي تقريبًا، وبدونه يكون الانحراف المعياري بلا معنى. ثم تُحسب القيمة لكل رمز مقابل نافذة متدحرجة من ثلاثمئة صفقة من تاريخه هو وحده.
النتيجة كمّية بلا وحدة، وهذا ما يجعل الجدول ممكنًا أصلًا. صفقة عند ٣٫٤ انحراف على البيتكوين شاذّة بنفس القدر تمامًا الذي تشذّ به على عملة صغيرة، رغم أن الأولى بملايين الدولارات والثانية بآلاف. عملات مختلفة القيمة والسيولة والتقلّب تصير قابلة للترتيب في عمود واحد.
═════════════════════════════════════════════════════════════
▌ اللوحة
صف العنقود، ثم صف لكل صفقة شاذّة، والأحدث في الأعلى:
▰▰▰▰▰▰▰▰ 9/9 ▲ XRP SOL SUI ETH +5 · 0.05%
23:26:00 · XRP · ▲█ · 1.0600 · $79.6K · ●● 3.3
23:26:00 · SOL · ▲▄ · 73.25 · $178.5K · ● 2.8
23:25:53 · BTC · ▲▂ · 63,562.0 · $153.4K · ● 2.3
23:25:44 · AVAX · ◆▂ · 6.5370 · $5.3K · ● 2.4
الصفقات العادية لا تصل إلى الشاشة إطلاقًا. الشريط يحمل الشذوذ لا كل التدفّق.
TIME
توقيت الصفقة بالثانية، بتوقيت البورصة. يُضبط على توقيت شارتك من مقبض إزاحة الساعة.
SYM
الرمز، مقصوصًا من بادئة المنصّة ولاحقة العملة المقابلة.
SIDE
محرفان: الجانب والأثر، ويُشرحان أدناه.
PRICE
سعر التنفيذ، بتنسيق متكيّف فلا تُقرّب الأسعار الكسرية إلى صفر.
VALUE
القيمة الاسمية بالدولار. هذه المادّية الاقتصادية، والشذوذ الإحصائي في العمود التالي. العمودان يقولان شيئين مختلفين عمدًا: صفقة عند أربعة انحرافات بعشرة آلاف دولار على سوق رقيق شاذّة إحصائيًا وضئيلة اقتصاديًا، والعكس يحدث كذلك.
SCORE
شدّة الشذوذ بوحدة الانحراف المعياري.
═════════════════════════════════════════════════════════════
▌ قناة الشدّة
● بين العتبة الأولى والثانية
●● بين الثانية والثالثة
●●● فوق الثالثة
عدد النقاط يقول القوة بنفسه، والرقم بجانبه يعطي الدقّة.
والخلفية تدرّج لوني متّصل لا حالتين: صفقة عند ٢٫١ لا تُطبع بلون صفقة عند ٢٫٩. الصبغة تحمل الجانب، أخضر للشراء وأحمر للبيع، والشدّة تحمل القوة، فالقناتان لا تتنافسان على التمييز نفسه.
والعتبة الثالثة سقف التدرّج اللوني لا مستوى كشف ثالث. ما فوقها يأخذ أشدّ درجة لونية فقط.
═════════════════════════════════════════════════════════════
▌ قناة الجانب
▲ شراء · ▼ بيع · ◆ محايد
الجانب مأخوذ من داخل الثانية نفسها لا من مقارنتها بما قبلها: الإغلاق مقابل الافتتاح أولًا، ثم موضع الإغلاق داخل مدى الشمعة. وما لا يُحسم بأيّ منهما يُعرض محايدًا.
وهذه النقطة تستحق الوقوف. القاعدة الشائعة تقارن الإغلاق بالإغلاق السابق ولا تحسم حالة التعادل السعري، وهي شائعة جدًّا على إطار الثانية. وحين تُسند التعادلات افتراضيًا إلى الشراء يميل ميزان الجانب ميلًا حادًّا وكاذبًا نحو الشراء.
المؤشّر لا يفعل ذلك. الثانية التي لا تحمل معلومة اتجاه تُعلن ذلك بنفسها ولا تُحسب على أي جانب.
═════════════════════════════════════════════════════════════
▌ قناة الأثر
█ اختراق — حرّك السعر أكثر من ضعف المعتاد
▄ عادي
▂ امتصاص — لم يحرّك السعر تقريبًا
هذه القناة تجيب سؤالًا لا يجيبه الحجم وحده: ماذا فعل هذا الحجم بالسعر؟ صفقتان عند أربعة انحرافات، إحداهما حرّكت السعر والأخرى لم تحرّكه، معناهما التداولي متعاكس تمامًا.
▲█
حجم شراء ضخم اخترق دفتر الأوامر، فالسيولة المقابلة استُهلكت.
▲▂
حجم شراء ضخم ابتلعه بائع قائم. مستوى مُدافَع عنه، والبائع ما زال هناك.
والقياس بحركة الصفقة بنقاط الأساس منسوبة إلى متوسط حركة ذلك الرمز نفسه، محسوبًا من الصفقات التي تحرّكت فعلًا لا من كل الصفقات. وهذا التمييز جوهري: أغلب شموع الثانية تُغلق حيث فتحت، ولو دخلت الأصفار في المتوسط لصار أي تحرّك مهما صغر اختراقًا.
═════════════════════════════════════════════════════════════
▌ صف العنقود
الشريط يعرض أحداثًا فردية، وصف العنقود يجيب سؤالًا مختلفًا: هل ما تراه خبر عملة أم حدث سوق؟
خمس صفقات شاذّة متفرّقة على خمس عملات خلال ساعة شيء. وخمس صفقات شاذّة على خمس عملات خلال خمس عشرة ثانية شيء آخر تمامًا.
مشتعلًا:
▰▰▰▰▰▰▰▰ 9/9 ▲ XRP SOL SUI ETH +5 · 0.05%
ساكنًا:
▰▰▰▰▰▱▱▱ 6/9 · exp 2.6
المقياس
قربك من العتبة، يُقرأ بلمحة بلا حساب. ثماني خانات دائمًا مهما كانت العتبة، فلا يتمدّد الجدول حين ترفعها.
العدد
الرموز المتمايزة داخل النافذة، مقابل الحدّ المطلوب.
الجانب
صافي الاتجاه المرجّح بالشدّة عبر العنقود كله.
الرموز
أقوى أربعة مرتّبة بذروة الانحراف تنازليًا، ثم عدد الباقي. وهذا أهم ما في الصف: عنقود يضم أربع عملات كبرى ليس عنقودًا يضم أربع عملات صغيرة، والعدد وحده لا يفرّق بينهما. والترتيب بالشدّة يضع الأثقل أولًا فتعرف ما الذي حمل الحركة.
الاحتمال
فرصة وقوع هذا العنقود صدفةً محضة. خمسة من مئة ألف حدث نادر فعلًا، وخمسة بالمئة تعني أنك تقرأ ضجيجًا.
exp
في الحالة الساكنة: العدد المتوقّع من الرموز تحت فرضية الاستقلال، محسوبًا حيًّا من معدّلات المسح الجارية. استعمله لضبط عتبتك، فإن قاربت عتبتَك فأنت على وشك قراءة الصدفة، وإن ابتعدت عنها كثيرًا فاشتعال الصف حدث حقيقي.
═════════════════════════════════════════════════════════════
▌ لماذا نافذة خمس عشرة ثانية
العنقود مُعاير لا مضبوط بالذوق، وقدرة النافذة على التمييز تنهار سريعًا مع اتّساعها:
15s window · 4 symbols → 24.8×
30s window · 4 symbols → 5.7×
60s window · 3 symbols → 1.0×
الأخير يعني صدفة محضة. النافذة الواسعة لا تلتقط عرض الحدث بل تُذيبه في الضجيج.
واحتمال الصدفة يُحسب داخل المؤشّر من معدّلات كل رمز في المسح الجاري لا من ثابت مزروع، فيبقى صحيحًا مع أي عدد رموز وأي مستوى نشاط سوقي بلا إعادة معايرة يدوية.
وضبط العتبة مهم: التوقّع يتناسب طرديًا مع عدد الرموز الممسوحة، فعتبة تناسب عشرة رموز تصير رخوة جدًّا عند أربعين.
10 symbols → 4
20 symbols → 5
30 symbols → 6
40 symbols → 9
وقيمة exp المعروضة تغنيك عن هذا الجدول: اضبط العتبة فوقها بوضوح.
وأخيرًا: الرموز داخل العنقود تُسرَد ولا تُرتَّب زمنيًا. لا يوجد تسلسل قيادة وتبعية يُعرض، وعرضه سيكون اختراعًا لا قياسًا. الترتيب المعروض بالشدّة، وهو معلومة حقيقية.
═════════════════════════════════════════════════════════════
▌ الإعدادات
1 · Signal
المُرشّح وسلّم العتبات وعدد الصفوف. العتبة الثالثة سقف لوني لا مستوى كشف.
2 · Universe
أربعون خانة، لكل منها مفتاح تفعيل وحقل رمز نصّي. اكتب الرمز فقط وتُضاف بادئة المنصّة تلقائيًا. والرمز غير المدرج يُتجاهل بصمت ولا يُعطّل المؤشّر ولا نافذة إعداداته.
3 · Cluster
إظهار الصف، والنافذة بالثواني، والحدّ الأدنى من الرموز المتمايزة.
4 · Data
الإطار الأدنى، ومقياس الحجم، وعمق المسح لكل رمز. وعمق المسح يحكم امتداد الشريط الزمني ودقّة المرجع معًا.
5 · Statistics
حجم النافذة المرجعية، وأدنى عيّنة قبل الحساب، وخيار قبول الأحداث بعد امتلاء النافذة فقط فتتوحّد دقّة القياس عبر كل الصفوف.
6 · Appearance
اللغة والموقع والحجم وإزاحة الساعة.
7 · Colors
سلّم ثلاثي المحطات لكل جانب: ضعيف ومتوسط وحادّ.
═════════════════════════════════════════════════════════════
▌ اختيار مقياس الحجم
Dollar Volume
الافتراضي، وهو الوحيد القابل للمقارنة بين رموز مختلفة في جدول واحد. استخدمه كلما كانت السلة مختلطة.
Volume
الوحدات الأساسية. لرمز واحد أو سلة متقاربة المقياس.
Price Volume
الحجم مضروبًا في السعر النموذجي، صيغة وسطى.
والقياس الإحصائي يُحسب على المقياس المختار، فتغييره يغيّر عمود الدرجة ويغيّر أي الصفقات تتأهّل أصلًا.
═════════════════════════════════════════════════════════════
▌ كيف تقرأه عمليًّا
امسح عمود الدرجة أولًا، فالعين تلتقط النقاط الثلاث والألوان الحادّة فورًا. ثم انظر الجانب: اخترق أم امتُصّ؟ ثم القيمة: هل يستحق الالتفات اقتصاديًا أم أنه شذوذ إحصائي على سوق رقيق؟ وفي الأعلى صف العنقود يعطيك السياق: حدث فردي أم موجة سوق.
نمطان يستحقّان التتبّع:
علامة الامتصاص متكرّرة على السعر نفسه، وتعني بائعًا قائمًا يمتصّ الطلب عند مستوى محدّد.
عنقود بيع باحتمال منخفض، ويعني ضغط بيع متزامنًا عبر السوق لا خبرًا في عملة بعينها.
═════════════════════════════════════════════════════════════
▌ علامات الحالة
المؤشّر لا يفشل بصمت، وثلاث علامات تظهر عند الحاجة فقط.
TIME ⚠
الميزانية قصّت عمق المسح المطلوب.
SYM ⚠
رمز مُعدّ لم تصل بياناته.
TF ⚠
إطار الشارت أصغر من أن يغذّي النافذة المرجعية.
═════════════════════════════════════════════════════════════
▌ متطلّبات تشغيلية
النافذة المرجعية تُبنى من الشمعة الجارية وحدها، فيجب أن يتّسع إطار الشارت لعدد الصفقات المطلوب. وعند إطار أدنى بالثانية استخدم خمس عشرة دقيقة فأعلى، وما دون ذلك تظهر علامة الإطار ويُبلغك المؤشّر بنفسه.
وتفعيل الأربعين رمزًا يستهلك سقف الطلبات المسموح في المنصّة بالكامل. وحصّة كل رمز من ميزانية البيانات مقصوصة قبل أي حساب، فلا يتجاوز المؤشّر الحد مهما كانت الإعدادات.
الأداء: أربعون طلبًا متزامنًا حمل ثقيل. وعلى الأجهزة الأبطأ أو عند تغيير إطار الشارت بتكرار توقّع إعادة تحميل ملحوظة. وتقليل السلة إلى عشرة أو عشرين رمزًا يسرّع التحميل ويشتري عمق مسح أكبر لكل رمز.
والمحرّك عديم الحالة: النافذة المرجعية والشريط يُعاد بناؤهما في كل تنفيذ. والنتيجة أن قياس أي صفقة لا يتغيّر مهما طالت جلستك، وأن الشمعة المغلقة لا يتغيّر محتواها أبدًا.
═════════════════════════════════════════════════════════════
▌ نطاق الأداة
هذا مؤشّر قياس لا مولّد إشارات دخول، ولا يصدر تنبيهات عمدًا.
ما يبلّغه: أي الصفقات كانت شاذّة بمقياس رمزها، وأي جانب حملها، وماذا فعلت بالسعر، وهل تزامنت مع غيرها.
وما لا يبلّغه: اتجاه السعر القادم. فشذوذ الحجم يرتبط بحجم الحركة القادمة أكثر بكثير مما يرتبط باتجاهها، ومن يقرأ اللوحة كإشارات شراء يقرأها خطأ.
وقناة الأثر تُشحن موسومة بأنها غير مُعايَرة على عوائد أمامية: عتبتاها مضبوطتان على أساس إحصائي سليم، لكنهما لم تُختبَرا مقابل ما يحدث بعدها.
واللوحة كاملة بالعربية والإنجليزية، تُبدَّل من الإعدادات.
═════════════════════════════════════════════════════════════
⚠️ إخلاء المسؤولية
═════════════════════════════════════════════════════════════
هذا المؤشر لأغراض تعليمية وتحليلية فقط. لا يُمثل نصيحة مالية أو استثمارية أو تداولية. استخدمه بالتزامن مع استراتيجيتك الخاصة وإدارة المخاطر. لا يتحمل TradingView ولا المطور مسؤولية أي قرارات مالية أو خسائر. Indicatore

FVG CrossfireGENERAL OVERVIEW:
FVG Crossfire identifies and plots the exact price bands where a bullish and a bearish imbalance have overlapped. These overlap bands, called crossfire zones, are the only objects the indicator draws. Ordinary Fair Value Gaps are tracked in the background as inputs, but a standalone gap is never rendered on the chart; a zone is created only when a fresh FVG overlaps an older, still-unfilled FVG of the opposite direction. From that point the zone remains on the chart, reversing direction each time an opposing FVG overlaps it, recording each transition with a star counter, marking every retest with an arrow, and being removed only when price trades fully through it.
What is the theory behind the indicator?
A Fair Value Gap records a price imbalance: price moved quickly enough that a gap was left between the wicks of the surrounding candles. The problem is that FVGs are common. On a fast chart dozens print every session, most of them noise, and drawing them all obscures the few levels that actually matter.
FVG Crossfire is built on a stricter criterion: the event worth displaying is the overlap. When a new imbalance prints in the opposite direction directly on top of an older, still-unfilled one, that price band is no longer one-sided; buyers have left an imbalance there, and now sellers have as well (or the reverse). That overlap marks a contested level, one the market has already reacted to from both directions.
The sequence often continues. Each additional opposing FVG flips the zone again, and because a flip keeps only the portion of the zone where the imbalances actually overlap, the contested band becomes tighter and more precise with each transition. What remains is a narrow, repeatedly tested level with a visible history, which is among the strongest forms of support or resistance an imbalance structure can produce.
The FVG Crossfire indicator includes 5 main features:
FVG CROSSFIRE FEATURES
Crossfire Zone Detection
Zone Flipping & Flip Counter
Retest Detection
Zone Mitigation
Alerts
CROSSFIRE ZONE DETECTION:
🔹What Is a Crossfire Zone?
A crossfire zone is the price band shared by two opposite imbalances: an older, still-unfilled Fair Value Gap and a newly formed FVG in the opposite direction that printed on top of it. The zone covers only the overlap, and it takes the direction and color of the newer FVG, the most recent side to print. An optional "origin funnel" draws converging lines from the older gap into the zone, so the source of the overlap remains visible.
🔹What Is a Fair Value Gap?
For background: an FVG is a three-candle pattern where the middle candle moves so strongly that a gap is left between the first candle and the third: the low of candle three above the high of candle one (bullish), or the high of candle three below the low of candle one (bearish). In this indicator FVGs are inputs, not output: they are detected and tracked entirely in the background, and one that never overlaps an opposite gap is discarded without ever being drawn.
🔹Why Are Crossfire Zones Important?
A single gap indicates one-sided aggression at a price. A crossfire zone indicates that both sides were aggressive at the same prices and disagreed. These contested bands tend to attract price repeatedly, which makes them stronger candidates for support, resistance, and reaction trades than any single gap. And because only overlaps are drawn, every object on the chart is already a filtered, higher-significance level.
🔹How Crossfire Zones Are Detected:
Every candle close, the engine scans the last three candles for a new FVG (gaps smaller than your minimum size are skipped, and candles around daily or weekly session breaks are excluded so overnight gaps don't create false patterns). Each stored gap is also tracked as later candles fill it (by wick or by close, depending on the setting), and a fully filled gap is dropped from the pool. When a fresh FVG confirms, it is compared against every waiting opposite gap: wherever it overlaps the unfilled part of one, a crossfire zone is created on the overlap and the origin funnel appears. Every FVG participates exactly once; after creating (or flipping) a zone it is consumed, so one price move never produces duplicate zones. Live zones extend to the right edge of the chart, and an optional "Combine" mode merges same-direction zones that overlap in price into one bigger zone.
🔹Settings: Base FVG Group (the detection engine)
Base FVG mitigation: whether wicks or only candle closes fill a waiting gap before it can participate in an overlap.
Min FVG gap (% of price): ignore gaps below this size; 0 keeps every gap.
Show origin funnel: draw the converging lines from the source gap into its zone.
Border, Style, Colors: visual control of the funnel; color transparency sets the fill strength.
🔹Settings: Crossfire Zone Group
Lookback (candles): zones are only built inside the most recent N candles (default 3000); every zone created in the window is shown.
Border, Style, Midline: outline and optional equilibrium line for each zone.
Bullish / Bearish colors: transparency sets the zone fill strength.
Combine overlapping zones: merge same-color zones that overlap in price.
ZONE FLIPPING & FLIP COUNTER:
🔹What Is a Zone Flip?
If a live crossfire zone is overlapped by another FVG in the opposite direction, the zone flips: the current box is frozen in place and a new, opposite-colored box continues from that point. Read left to right, a flipped zone forms a timeline of directional control over that price band.
🔹Why Do Flips Matter?
Every flip is another change of direction at the same level, evidence that the market continues to react to that price. And because each flip keeps only the part of the zone that the new FVG actually overlapped, the contested band tightens with every flip. A zone that has flipped three times is a narrow, precise, repeatedly contested level, exactly the kind of area worth planning trades around.
🔹How the Flip Counter Works:
Each live zone shows a star counter on its edge at the latest candle: green stars touching the bottom edge of bullish zones, red stars touching the top edge of bearish zones. One star means the zone has formed once, two stars means one flip, and so on; zones with five or more entries display a compact count instead (for example "6 ★"). There is no limit on flips; the chain only ends when the zone is fully mitigated.
RETEST DETECTION:
🔹What Is a Retest?
A retest is price leaving a live crossfire zone and then coming back to touch it again. The indicator marks every single retest: a small green ▲ below the candle that re-entered a bullish zone, a small red ▼ above the candle that re-entered a bearish zone.
🔹Why Are Retests Important?
The retest is usually the tradeable moment. A contested zone holding on a return visit is the confirmation many traders wait for before entering, and repeated successful retests indicate the level continues to hold.
🔹How Retests Are Detected:
On every candle close, the indicator checks whether the candle touched the zone (any wick contact counts) while the previous candle did not. Each fresh re-entry counts; price must leave the zone before the next retest can register, so a candle sitting inside the zone for several bars only counts once. Every retest can also fire an alert.
🔹Settings:
Retest markers: show or hide the ▲/▼ arrows.
ZONE MITIGATION:
🔹What Is Zone Mitigation?
A crossfire zone is complete (fully mitigated) when price trades all the way through it: through the bottom of a bullish zone, or through the top of a bearish zone. At that point the zone and its whole flip history are removed from the chart, or kept and faded out if you prefer to study them.
🔹Why Does Mitigation Matter?
A zone that price has completely passed through has served its purpose: the imbalance on both sides is resolved. Removing finished zones keeps the chart focused on levels that still matter, while the optional faded view lets you review how past zones resolved.
🔹How Mitigation Is Detected:
You choose what counts as trading through the far side: any wick, or only a candle close. Until that happens, the zone stays live no matter how many times it flips or gets retested.
🔹Settings:
Zone mitigation: Wick or Close.
Show mitigated zones: keep finished chains on the chart, frozen and dimmed.
ALERTS:
FVG Crossfire covers the full life of a zone with four alert events, each with its own on/off switch. Create one alert on the indicator using "Any alert() function call" and every enabled event will come through with the symbol and timeframe in the message:
New crossfire zone: two opposite FVGs overlapped and a new zone was created.
Zone flipped: a live zone changed direction (bullish ↔ bearish).
Zone retested: price re-entered a live zone after being outside it (fires on every re-entry).
Zone mitigated: a zone was fully traded through and completed.
IMPORTANT NOTES:
Plain FVGs are never drawn. Gaps are tracked in the background, and a gap only becomes visible, through its origin funnel, at the moment it produces a crossfire zone. Every object drawn on the chart is already an overlap.
All detections are evaluated on candle close. Zones, flips, retests, and mitigations are confirmed events; they do not repaint.
Background gaps are filled on a three-candle delay. This is deliberate: the same impulsive move that creates the new FVG is often the move that fills the old one, and without the delay the overlap could never be detected.
Each FVG participates exactly once. After creating or flipping a zone it is consumed, so one price move never produces duplicate zones.
A flip requires the new FVG to overlap the currently visible zone, and the flipped zone keeps only the overlapping part; zones tighten as they flip.
A retest requires price to leave the zone first. Consecutive candles inside the zone count as one visit.
Candles around daily and weekly session breaks are excluded from gap detection so overnight gaps don't create false patterns.
Internal drawing limits keep the script within TradingView's object budget; on extremely gap-dense charts the oldest zones are released first.
UNIQUENESS:
Most FVG tools draw every gap and leave the trader to determine which ones matter; inversion (IFVG) tools go one step further and record a single change of direction. FVG Crossfire does not draw ordinary gaps at all. It uses them purely as inputs and puts only one thing on the chart: the price bands where opposite imbalances have overlapped, and it then tracks the full lifecycle of each contested level. Zones flip an unlimited number of times, each previous state freezes into a left-to-right timeline, the band tightens to the true overlap on every flip, a star counter records the number of transitions, every individual re-entry is flagged with a retest arrow and alert, and the level is only removed when price fully trades through it. The result is not another gap plotter: it is a filtered map of where opposing imbalances keep forming at the same prices, how many transitions each level has recorded, and exactly how tight the contested band has become.
Indicatore

Indicatore

3D Trend Vortex [BOSWaves]3D Trend Vortex - Slope-Adaptive Gradient Bands with Polyline 3D Extrusion and Zone Entry Signal Detection
Overview
3D Trend Vortex is a slope-driven trend band system that constructs a pair of eight-layer gradient bands positioned above and below price using ATR-scaled offsets from a configurable moving average baseline, where band width breathes inversely with slope magnitude, candle gradient intensity reflects normalized slope strength, and a polyline-based three-dimensional extrusion renders the outer and inner band edges as volumetric ribbon geometry that follows the bands across the configured display length.
Instead of relying on static symmetric bands or fixed volatility channels, the band width contracts when trend slope is strong and expands when slope is flat or weakening, producing a visual breathing effect that communicates momentum intensity through band geometry rather than through a separate indicator. The eight gradient fill layers within each band progress from near-transparent at the inner edge to full opacity at the outer edge, creating a visual depth effect that reinforces the three-dimensional extrusion rendered at the current bar.
This creates a trend framework where every visual layer simultaneously communicates the same underlying information from a different angle. The gradient bands reveal momentum intensity through their width. The candle gradient communicates slope conviction through brightness. The 3D extrusion at the band edges provides spatial depth cues that make the band structure immediately readable across varying zoom levels. Signal labels fire when price first enters either band after the cooldown period, identifying the specific bars where price has moved into the zone of interest defined by the ATR-offset band boundary.
Price is therefore tracked not just for its directional relationship to the basis MA but for its position within or outside a dynamically breathing gradient band system whose visual geometry encodes slope strength and momentum quality on every bar.
Conceptual Framework
3D Trend Vortex is founded on the principle that trend band visualization should communicate momentum quality through the geometric properties of the bands themselves rather than requiring separate momentum indicators, and that introducing three-dimensional spatial depth into the band rendering provides immediate structural legibility that flat two-dimensional bands cannot achieve regardless of color or transparency settings.
Traditional band indicators apply fixed widths or static volatility multiples that remain visually identical whether momentum is surging or stalling, requiring traders to consult separate oscillators for conviction context. This framework embeds conviction directly into band geometry through the breathing width mechanism, where strong slope produces tighter, more concentrated bands reflecting focused directional commitment and weak slope produces wider, more diffuse bands reflecting reduced momentum quality. The three-dimensional extrusion layer adds spatial depth cues that reinforce the structural separation between the supply zone above price and the demand zone below.
Three core principles guide the design:
Band width should adapt to slope magnitude, contracting during strong momentum and expanding during low-conviction conditions, encoding trend health directly into the geometric properties of the bands without requiring a separate momentum indicator.
The gradient fill system across eight layers within each band should provide visual depth that reinforces the three-dimensional extrusion, creating a consistent spatial reading between the flat fill and the extruded geometry at the current bar edge.
Signals should fire on first entry into band territory after the cooldown period rather than on crossover of a single line, capturing the structural significance of price reaching the offset zone while preventing signal clustering during extended band interactions.
This shifts trend band analysis from static channel monitoring into a momentum-adaptive visual system where band breathing, candle intensity, and three-dimensional geometry collectively communicate trend conviction across every bar of the display window.
Theoretical Foundation
The indicator combines configurable moving average baseline selection, ATR-based band offset and width calculation with slope-driven breathing modulation, eight-level gradient fill construction across inner-to-outer band subdivisions, polyline-based three-dimensional extrusion geometry using depth offset coordinates, and slope-normalized candle gradient coloring.
The basis MA is computed in the selected type over the configured length and the three-bar slope is measured as the difference between current and three-bar-lagged values. The slope magnitude is normalized against its highest value over an eighty-bar window, producing a 0-1 score that drives the breathing multiplier applied to the band width. ATR is smoothed over fifty bars to reduce sensitivity to individual volatility spikes, providing a stable scaling unit for both band offset and width calculations. The eight gradient fill layers divide the inner-to-outer band distance into equal steps with progressively increasing opacity, connecting smoothly to the polyline faces of the 3D extrusion that render the outer edge face, top face, and inner top face as separate filled polygon regions at configurable depth offsets.
Four internal systems operate in tandem:
Slope-Adaptive Band Engine : Calculates ATR-smoothed band offset and width, applies EMA smoothing to all four band edges, and modulates total band width by a breathing factor derived from normalized slope magnitude so that bands contract proportionally during high-momentum conditions.
Eight-Layer Gradient Fill System : Subdivides the inner-to-outer band width into eight equal steps and fills each interval with progressively decreasing transparency, producing a continuous opacity gradient from the near-transparent inner edge to the full-opacity outer edge across both the top and bottom bands.
Three-Dimensional Extrusion Engine : On the last bar, constructs polyline polygon arrays for the outer face, top face, and inner top face of each band by combining current bar coordinates with depth-offset coordinates at the configured bar and ATR depth, rendering six filled polyline regions that create the illusion of volumetric band geometry extending from the current bar edge into the chart space.
Zone Entry Signal System : Monitors price crossing into the top or bottom band on each bar, applying independent cooldown tracking for each side to prevent signal clustering during extended band interactions.
This design allows band geometry, candle coloring, and 3D extrusion to all derive from the same underlying slope and ATR measurements, ensuring visual consistency across every layer of the indicator.
How It Works
3D Trend Vortex evaluates price through a sequence of slope-aware band construction and visualization processes:
Basis MA Calculation : The selected moving average type is calculated over the configured length, providing the directional baseline from which all band positions and slope measurements are derived.
ATR Smoothing : Raw ATR over fourteen bars is smoothed with a fifty-bar SMA to produce a stable volatility unit that prevents individual spike bars from distorting band positioning across the display window.
Slope Measurement and Normalization : The three-bar change in basis MA is measured and its absolute value is normalized against the highest absolute slope over eighty bars, producing a 0-1 score reflecting how strong the current slope is relative to recent momentum history.
Breathing Width Calculation : The normalized slope score is scaled and subtracted from 1.0 to produce a breathing multiplier that reduces band width proportionally during high-slope conditions, causing bands to contract during strong momentum and expand during low-conviction flat conditions.
Band Edge Calculation and Smoothing : Inner and outer edges for both the top and bottom bands are calculated by adding and subtracting ATR-scaled offset and width values from the basis MA, then smoothed with the configured EMA length to prevent jagged edge movement.
Eight-Layer Gradient Fill Rendering : The inner-to-outer distance of each band is divided into eight equal steps and plot-fill pairs are rendered at each subdivision with transparency increasing from outer to inner, producing a smooth opacity gradient across the band depth.
Candle Gradient Coloring : The normalized slope score is power-transformed and mapped to a gradient from a dimmed version of the trend color at low slope to full saturation at high slope, coloring chart candles proportionally to current momentum conviction.
Zone Entry Detection : Price crossing into the top band from below or the bottom band from above is detected with independent cooldown tracking for each side. When entry is confirmed and cooldown is satisfied, a signal label is placed at the bar high or low respectively.
3D Extrusion Construction : On the last bar, polyline arrays are constructed for each of the six extruded faces using combinations of current and depth-offset bar indices and price coordinates, rendering the outer face, top face, and inner top face for both the top and bottom bands as filled polygon regions.
Together, these elements form a continuously updating slope-adaptive band system where gradient geometry, candle brightness, and three-dimensional extrusion simultaneously communicate trend direction, momentum conviction, and structural band positioning across the full display window.
Interpretation
3D Trend Vortex should be interpreted as a slope-driven momentum band system with spatial depth visualization and zone entry monitoring:
Bullish Trend State (Green) : Active when the basis MA slope is positive, with the bottom gradient band rendered in green and candles coloring green with intensity proportional to slope strength.
Bearish Trend State (Red) : Active when the basis MA slope is negative, with the top gradient band rendered in red and candles coloring red with intensity proportional to slope strength.
Band Width Dynamics : Narrow bands indicate strong slope momentum with high directional conviction. Wide bands indicate weak slope with reduced momentum quality. Monitoring band width evolution provides real-time conviction context without requiring a separate momentum oscillator.
Eight-Layer Gradient Fill : The opacity gradient from inner to outer edge provides visual depth within each band, with the near-transparent inner boundary representing the threshold where price enters the zone of interest and the fully opaque outer boundary representing the extreme of the ATR-scaled offset distance.
3D Extrusion : The three-dimensional polyline faces rendered at the current bar edge provide spatial depth cues that reinforce the structural separation between the top supply zone and bottom demand zone, making band positioning immediately readable across varying chart zoom levels.
▲ Buy Signals : Green upward triangles mark the first bar where price enters the bottom band after the cooldown period, identifying price reaching the lower ATR-offset zone of interest.
▼ Sell Signals : Red downward triangles mark the first bar where price enters the top band after the cooldown period, identifying price reaching the upper ATR-offset zone of interest.
Candle Gradient : Price candles brighten toward full trend color saturation as slope strengthens and dim toward a muted version of the trend color as slope weakens, providing bar-level momentum conviction readings directly on the candlestick display.
Band width dynamics, candle gradient intensity, signal zone entry, and 3D extrusion depth collectively provide more momentum and structural context than any element in isolation.
Signal Logic & Visual Cues
3D Trend Vortex presents two zone entry signal types with independent cooldown enforcement:
Buy Signal (▲) : Green triangle placed below the bar when price first closes below the bottom band inner edge after the configured cooldown period has elapsed since the previous buy signal, identifying price entry into the lower ATR-offset demand zone.
Sell Signal (▼) : Red triangle placed above the bar when price first closes above the top band inner edge after the configured cooldown period has elapsed since the previous sell signal, identifying price entry into the upper ATR-offset supply zone.
Independent per-side cooldown tracking prevents consecutive signals on the same side while allowing the opposite side to signal freely, ensuring that transitions between upper and lower zone interactions are captured without artificial suppression.
Alert generation covers buy and sell zone entry events for systematic monitoring workflows.
Strategy Integration
3D Trend Vortex fits within momentum-informed band interaction and zone-based directional approaches:
Band Width Conviction Reading : Use band width as a continuous momentum quality gauge. Entering a position during a narrow-band high-slope period indicates stronger directional conviction than entries during wide-band low-slope conditions where momentum quality is reduced.
Zone Entry Signal Framework : Use buy and sell signals as structural alerts that price has reached the ATR-offset zone of interest rather than as standalone entry triggers. Evaluate slope direction and band width at the signal bar to assess whether the zone entry occurs during supporting or deteriorating momentum conditions.
Candle Gradient Momentum Monitoring : Use the brightness of trend-colored candles as a bar-level momentum reading throughout the trend. Progressively brightening candles indicate strengthening slope. Dimming candles within an established trend suggest momentum deterioration before band width changes confirm it visually.
3D Extrusion Spatial Reference : Use the three-dimensional band faces at the current bar edge as a visual anchor for where the current supply and demand zones sit relative to price, with the depth extending into future chart space providing an intuitive structural reference for the zone boundaries.
Basis Type Selection : Use EMA for standard responsive trend tracking. Use HMA for lower-lag applications requiring faster slope detection with minimal smoothing delay. Use WMA for weighted recent-bar emphasis. Use SMA for a simpler unweighted baseline reference.
Multi-Timeframe Band Alignment : Apply higher-timeframe slope direction and band positioning as a directional bias filter, engaging with lower-timeframe zone entry signals only when they align with the established higher-timeframe momentum state.
Technical Implementation Details
Basis Engine : Configurable EMA, SMA, WMA, or HMA with slope measurement and normalization against eighty-bar highest absolute slope
Band Construction : Smoothed ATR offset and width with slope-derived breathing modulation across four band edges
Gradient System : Eight equal subdivisions between inner and outer band edges with plot-fill pairs at progressively increasing transparency
3D Extrusion : Polyline polygon arrays for outer face, top face, and inner top face of each band using depth-offset bar index and ATR height coordinates
Signal Logic : Zone entry detection with independent per-side cooldown bar tracking
Candle Coloring : Power-transformed slope normalization mapped to trend-color gradient
Performance Profile : 3D extrusion triggered only on last bar with full polyline rebuild and cleanup each render cycle, configurable display length cap for object management
Optimal Application Parameters
Timeframe Guidance:
1 - 5 min : Intraday zone monitoring for scalping with shorter basis length and tighter band offset for responsive zone positioning on fast intraday momentum
15 - 60 min : Session-level momentum band tracking with balanced basis length and moderate offset for meaningful zone separation across typical intraday swings
4H - Daily : Swing-level momentum band analysis with longer basis length for sustained slope readings and wider offset reflecting larger price excursions from trend
Suggested Baseline Configuration:
Basis Length : 21
Basis Type : EMA
Band Offset (ATR×) : 3.0
Band Width (ATR×) : 0.9
Band Smoothing : 65
3D Display Length : 400
3D Depth (Bars) : 8
3D Height (ATR×) : 0.5
Show Signals : Enabled
Signal Cooldown : 20
Color Candles : Enabled (requires disabling original chart candles in chart settings)
These suggested parameters should be used as a baseline; their effectiveness depends on the instrument's volatility characteristics, typical ATR range, and preferred band sensitivity, so fine-tuning is expected for optimal performance.
Parameter Calibration Notes
Use the following adjustments to refine behavior without altering the core logic:
Bands too far from price : Decrease Band Offset to bring the inner band edge closer to price, reducing the ATR distance required for price to reach the signal zone.
Bands too close to price : Increase Band Offset to push bands further from price, requiring more significant price extension before zone entry signals fire.
Band width breathing too pronounced : The breathing effect scales with slope normalization. On instruments with highly variable slope the breathing range may appear extreme. Reduce Band Width to compress the overall width range and make breathing less visually dramatic.
Bands too jagged or smooth : Adjust Band Smoothing to control EMA smoothing on band edges. Higher values produce smoother, more gradual band curves. Lower values produce more responsive edges that track price structure changes faster.
Too many signals : Increase Signal Cooldown to enforce greater bar separation between consecutive zone entry signals on the same side, focusing attention on less frequent but more structurally spaced entries.
3D extrusion too deep or shallow : Adjust 3D Depth (Bars) to change the horizontal extent of the extruded faces and 3D Height (ATR×) to change the vertical depth of the extrusion, calibrating the spatial effect to the chart's aspect ratio and zoom level.
3D extrusion covers too many or too few bars : Adjust 3D Display Length to control how many recent bars receive the polyline extrusion rendering, reducing for performance on slower systems or increasing to extend the visual depth effect further back into price history.
Adjustments should be incremental and evaluated across multiple session types rather than isolated market conditions.
Performance Characteristics
High Effectiveness:
Trending markets with clear directional momentum where slope normalization produces meaningful band breathing dynamics and candle gradient provides reliable conviction context throughout the trend
Instruments with consistent ATR behavior where the volatility-scaled band offset positions zones at structurally meaningful distances from price across varying market conditions
Zone interaction strategies where price reaching the ATR-offset band boundary identifies structurally significant extension events worth monitoring for reversal or continuation behavior
Visualization-focused workflows where the three-dimensional band geometry provides spatial chart reading advantages that improve structural awareness relative to flat two-dimensional bands
Reduced Effectiveness:
Choppy, trendless markets where slope alternates rapidly in direction, causing frequent trend color flips and band breathing that produces no sustained directional momentum context
Extremely high-volatility instruments where ATR spikes push band offsets to distances so large that price rarely reaches the zone boundaries and signals become infrequent regardless of cooldown settings
Low-ATR instruments where the extrusion height and band width produce visually imperceptible geometry requiring significant parameter adjustment to produce meaningful spatial depth
Markets with highly irregular slope profiles where the eighty-bar normalization window consistently registers outlier slope readings that compress the breathing range for typical bars
Consolidation environments where flat slope produces maximum band width expansion and near-neutral candle coloring simultaneously, reducing the visual differentiation that makes momentum context readable
Integration Guidelines
Confluence : Combine with BOSWaves order flow tools, structural analysis, or momentum oscillators to validate zone entry signals with broader analytical context before acting on band boundary interactions
Band Breathing Awareness : Monitor band width evolution throughout established trends as a continuous slope health indicator. Progressively widening bands during a trend suggest slope is weakening and conviction is diminishing before price structure confirms the change.
Candle Gradient Divergence : Watch for price extending toward the outer band while candles are simultaneously dimming, indicating momentum deterioration during price extension that may precede reversal toward the basis MA.
3D Depth Calibration : Adjust 3D Depth and Height parameters until the extrusion provides clear spatial depth without obscuring price action. The extrusion is a visualization aid and should complement rather than dominate the chart reading experience.
State Discipline : Maintain directional bias aligned with current slope direction until slope reverses. Zone entry signals within the same trend direction represent extension events rather than reversal triggers and should be interpreted as monitoring alerts rather than directional change signals.
Disclaimer
3D Trend Vortex is a professional-grade slope-adaptive trend visualization and zone monitoring tool. It uses moving average slope normalization with ATR-scaled breathing band construction and polyline three-dimensional extrusion but does not predict future price movements. Results depend on market conditions, instrument momentum characteristics, parameter selection, and disciplined execution. BOSWaves recommends deploying this indicator within a broader analytical framework that incorporates order flow context, structural analysis, and comprehensive risk management. Indicatore

ES/NQ Daily Levels Paste-In Sup/Res MapperDaily Levels is a manual, paste-in mapping tool. Paste a list of price levels into the settings and it draws them on your chart as clean lines and shaded zones with labels. It does not calculate signals or repaint — it simply renders the levels you enter.
Works on any symbol — ES, NQ, SPY, SPX, stocks, futures, forex, and crypto. Just paste levels that match that instrument's price.
Leave the box blank and it shows a few sample reference levels around current price (clearly tagged "sample", 10 points apart by default) so you can see how it works on any chart. The samples auto-hide the moment you paste your own levels. (The 10-point default spacing suits ES/NQ; for other instruments set the spacing to fit, or set it to 0 for auto.)
WHAT IT DRAWS
- Single prices → horizontal lines with labels
- Ranges (e.g. 5200-5205) → shaded zones
- Section groups you can label: Resistances, Supports, and special groups (Backtest, Add, Breakdown, Short)
- Tag any level "(major)" and it renders thicker
DYNAMIC S/R FLIP (optional)
When enabled, each level you paste under Supports/Resistances is colored by where price is right now:
- Price above the level → acts as support (green, "S")
- Price below the level → acts as resistance (red, "R")
- Price inside a zone → neutral / in-play (yellow)
Turn it off to keep the exact section labels you pasted.
HOW TO USE
1. Add the indicator to your chart.
2. Open its settings → "PASTE YOUR DAILY LEVELS HERE".
3. Paste your levels, one section per line, for example:
Resistances: 5210, 5218 (major), 5225-5228
Supports: 5188, 5175 (major)
4. Lines, zones, and labels draw automatically. Colors, widths, spacing, and label styling are all configurable.
NOTE
The sample levels are auto-generated placeholders for demonstration only — they are not recommended levels and should not be used for trading. This tool does not generate, suggest, or predict levels; it only displays the ones you enter.
For educational purpose Indicatore

Macro Trend Split Profile [ChartPrime]Macro Trend Split Profile
🔶 OVERVIEW
Traders often lose focus during long trends, failing to realize where the true market value is being built. The Macro Trend Split Profile bridges the gap between directional trend-following and volume-profile structure. It anchors a profile analysis at the start of every macro trend leg, splitting the histogram into Bullish and Bearish components.
Instead of seeing a combined profile, this script visually separates where bulls were aggressive versus where bears attempted to defend, providing a clear map of which price levels represent the highest conviction for either side.
🔶 HOW IT WORKS
The indicator executes its structural analysis through a three-stage engine:
Noise-Filtered Macro Trend Detection: At its core, the script utilizes a Supertrend engine with a noise-filter multiplier. This provides a clean, macro-directional baseline that ignores minor retracements and identifies high-conviction trend legs.
Trend-Start Profile Anchoring: Once a trend begins, the indicator initializes a memory array. It captures every candle in that trend leg and categorizes them as either Bullish (Close > Open) or Bearish (Close < Open).
Split-Histogram Mapping: Once the trend leg hits your minimum bar requirement, the indicator generates a dual-sided histogram at the start point of the trend. The Bullish profile expands to the right, while the Bearish profile expands to the left, allowing for an immediate visual comparison of institutional interest.
Dual Point of Control (POC) Tracking: The script calculates the Point of Control for both bulls and bears independently, drawing extended dashed lines across your chart that mark the exact price levels where each side has deposited the most structural weight.
🔶 KEY FEATURES
Independent POC Projection: Independently identifies the strongest bullish and bearish structural walls, helping you identify where the current trend will likely find support or resistance.
Automated Dashboard: A sleek, top-right status table provides the live macro trend direction and the exact price coordinates for the active Bullish and Bearish POC levels.
Dynamic Rescaling: The profile histogram automatically rescales based on the number of bars in a trend and the intensity of the volume distribution, ensuring the visual footprint always fits your chart perfectly.
Trend-Leg Sanitization: When a trend flips (e.g., from bullish to bearish), the script automatically purges the old data arrays and resets the profile engine, ensuring you are never analyzing "stale" historical order blocks.
🔶 TRADING APPLICATIONS
Trend-Leg Retracement Entries: During a strong trend, monitor the Point of Control line that matches your trend direction. A dip back into the Bullish POC (during a Bullish trend) represents a high-probability zone to reload positions at a institutional fair-value level.
Confluence for Reversals: If price approaches an opposing POC (e.g., Bearish POC during a Bullish trend), this marks a high-friction zone. These levels are prime candidates for taking partial profits, as they represent the most "defended" territory for the counter-trend side.
Macro Structure Shifts: If price closes consistently beyond the most recent POC projection, it indicates that the current trend has exhausted its structural support, often serving as a signal to tighten stop-losses or prepare for a potential macro trend flip.
🔶 SETTINGS
Macro Trend Length & Multiplier: Controls the sensitivity of the Supertrend. Higher values filter out aggressive noise and capture only the most significant primary trend legs.
Minimum Bars for Profile: Sets the threshold for how long a trend must persist before the profile begins to render, preventing false signals during short-lived, volatile consolidations.
Profile Resolution (Bins/Width): Customize the granularity of the histogram segments and the horizontal space the indicator occupies on your chart to suit your workspace preference.
🔶 CONCLUSION
The Macro Trend Split Profile is a surgical tool for trend traders. By splitting the volume profile into Bullish and Bearish components, it stops you from guessing where the "other side" is positioned and shows you exactly where the institutional battle lines are drawn. Indicatore

Price Structure RSIOverview
Price Structure RSI is a market-structure oscillator that converts confirmed structural breaks into a cumulative directional series and then applies the Relative Strength Index calculation to that series.
Unlike a traditional RSI, which is calculated directly from price changes, this indicator measures how previously identified pivot highs and pivot lows are being broken.
The oscillator includes:
- market-structure-based RSI
- configurable RSI length
- configurable overbought and oversold levels
- Close or High/Low structure-break confirmation
- optional EMA, SMA, or WMA smoothing
- confirmed bullish and bearish signals
- dark and light colour presets
- gradient oscillator visualization
- simplified bullish and bearish historical W/L panels
- configurable target and stop distances
- configurable panel positions
- bullish and bearish alerts
The indicator is intended to help users examine whether recent market-structure breaks are producing stronger bullish or bearish pressure.
It does not predict future price movement and does not provide automatic instructions to enter or exit a trade.
Open-source reuse and credits
Price Structure RSI is a modified and expanded derivative of the open-source indicator "Market Structure RSI" by ClayeWeight.
The original pivot detection, stored structure levels, broken-structure accumulation, cumulative structure total, RSI transformation, moving-average selection, threshold-crossing signals, and alert framework were adapted from ClayeWeight's work.
This version adds:
- Pine Script v6 compatibility
- dark and light colour presets
- revised oscillator colours and gradient fills
- confirmed-bar signal processing
- configurable historical target and stop measurements
- next-bar outcome evaluation
- conservative same-bar target and stop handling
- separate bullish and bearish W/L panels
- configurable panel positioning and offsets
- additional input validation
- revised alert messages
The original source was published under the Mozilla Public License 2.0.
This modified version is also published open-source under the Mozilla Public License 2.0.
Core methodology
The indicator first identifies simple confirmed pivot highs and pivot lows.
A pivot high is identified when:
- the centre candle has a higher high than the candle before it
- the centre candle has a higher high than the candle after it
A pivot low is identified when:
- the centre candle has a lower low than the candle before it
- the centre candle has a lower low than the candle after it
Because the script evaluates historical candles, the pivot is recognized only after the necessary later candle has closed.
Confirmed pivot-high prices are stored in an array.
Confirmed pivot-low prices are stored in a separate array.
Structure breaks
The indicator checks whether stored pivot levels have been broken.
Users can select one of two Structure Break Type settings:
- Close
- High/Low
When Close is selected:
- a stored pivot high is considered broken when the previous candle closes above it
- a stored pivot low is considered broken when the previous candle closes below it
When High/Low is selected:
- a stored pivot high is considered broken when the previous candle high moves above it
- a stored pivot low is considered broken when the previous candle low moves below it
When one or more stored pivot highs are broken, positive values are added to the cumulative structure total.
When one or more stored pivot lows are broken, negative values are added to the cumulative structure total.
Broken levels are removed from their respective arrays so that the same structure level is not counted repeatedly.
Cumulative structure total
Each broken pivot high contributes:
- +1
Each broken pivot low contributes:
- -1
If several stored structure levels are broken together, several values can be added during the same calculation.
The script then calculates the cumulative sum of these positive and negative structure changes.
A rising structure total indicates that more stored pivot highs are being broken.
A falling structure total indicates that more stored pivot lows are being broken.
Structure RSI
The Relative Strength Index calculation is applied to the cumulative structure total rather than directly to price.
The default RSI Length is:
- 20
The resulting oscillator is called the Structure RSI.
Higher Structure RSI values indicate that bullish structure breaks have recently had greater influence on the cumulative series.
Lower Structure RSI values indicate that bearish structure breaks have recently had greater influence.
The Structure RSI should not be interpreted as a standard price RSI because its input is the cumulative structure-break series rather than normal closing-price changes.
Overbought and oversold levels
The default levels are:
- Overbought Level: 80
- Oversold Level: 20
The Oversold Level must remain below the Overbought Level.
The script displays an error when the oversold setting is equal to or above the overbought setting.
The levels are configurable and should be treated as analytical thresholds rather than universally optimal settings.
Bullish signal
A bullish signal occurs when the Structure RSI crosses upward through the selected Oversold Level.
The signal is confirmed only after the chart candle closes.
The bullish marker appears at the bottom of the oscillator pane.
A bullish signal indicates that the structure-based oscillator has recovered above its lower threshold.
It does not guarantee that price will continue higher.
Bearish signal
A bearish signal occurs when the Structure RSI crosses downward through the selected Overbought Level.
The signal is confirmed only after the chart candle closes.
The bearish marker appears at the top of the oscillator pane.
A bearish signal indicates that the structure-based oscillator has moved back below its upper threshold.
It does not guarantee that price will continue lower.
Moving average
An optional moving average can be applied to the Structure RSI.
Available moving-average types are:
- EMA
- SMA
- WMA
The default settings are:
- Moving Average Type: EMA
- Moving Average Length: 8
The moving average can be used to observe the smoother direction of the Structure RSI.
The moving average does not directly create the bullish or bearish threshold signals.
Hiding the moving average does not change the Structure RSI calculation.
Oscillator colours
The Structure RSI line changes colour according to its current position.
- Above the Overbought Level: bearish colour
- Below the Oversold Level: bullish colour
- Between the two levels: neutral grey
The oscillator also includes:
- a dashed overbought line
- a dashed oversold line
- a dotted 50 midline
- a neutral background fill between the main levels
- bullish and bearish gradient fills
- optional dark and light colour presets
The colour settings change presentation only.
They do not alter the structure calculation or signal logic.
Confirmed signals
Bullish and bearish signals are accepted only on confirmed chart bars.
The script does not finalize a signal solely because the Structure RSI temporarily crosses a threshold while the active candle is still open.
Values may still move while the current chart candle develops.
The final marker and alert are generated only after the candle closes with the crossing condition confirmed.
Historical W/L measurements
The indicator includes simplified historical bullish and bearish outcome measurements.
These measurements are not a complete TradingView strategy backtest.
When no measurement is currently active, a confirmed signal can begin a new historical measurement.
For a bullish signal:
- the signal candle close becomes the recorded entry price
- the target is placed above the recorded entry
- the stop is placed below the recorded entry
For a bearish signal:
- the signal candle close becomes the recorded entry price
- the target is placed below the recorded entry
- the stop is placed above the recorded entry
Only one unresolved historical measurement is tracked at a time.
Target distance
Target Distance (%) controls the percentage distance between the recorded signal close and the historical target.
The default value is:
- 1.0%
For a bullish measurement:
- Target = Entry Price × (1 + Target Percentage)
For a bearish measurement:
- Target = Entry Price × (1 - Target Percentage)
The minimum allowed target distance is 0.1%.
Stop distance
Stop Distance (%) controls the percentage distance between the recorded signal close and the historical stop.
The default value is:
- 1.0%
For a bullish measurement:
- Stop = Entry Price × (1 - Stop Percentage)
For a bearish measurement:
- Stop = Entry Price × (1 + Stop Percentage)
The minimum allowed stop distance is 0.1%.
Next-bar evaluation
Target and stop evaluation begins on the bar after the signal.
The signal candle itself is not used to determine the result.
This prevents price movement that occurred earlier during the signal candle from being counted after the entry has been recorded at that candle's close.
Wins and losses
The tables use the following labels:
- W = Win
- L = Loss
A win means that the configured target was reached before the configured stop.
A loss means that the configured stop was reached before the configured target.
The displayed percentage is:
- Wins divided by completed Wins and Losses
Bullish and bearish measurements are counted separately.
Same-bar target and stop handling
A chart candle can sometimes touch both the target and stop.
Standard OHLC chart data does not reveal which level was reached first inside that candle.
When both levels are touched during the same bar, the script records a loss.
This conservative rule avoids automatically assuming the more favourable outcome.
The script does not reconstruct lower-timeframe intrabar movement.
One active measurement at a time
Only one unresolved historical measurement can be active.
When a measurement is already active:
- later bullish or bearish signals can still appear
- later signals can still trigger alerts
- later signals do not start another W/L measurement
- the active measurement remains open until its target or stop is reached
An opposite signal does not automatically close the existing measurement.
This means that not every displayed signal is included in the W/L panels.
Bull panel
The Bull panel displays results from completed bullish measurements.
The panel contains:
- Bull
- W: number of bullish targets reached first
- L: number of bullish stops reached first
- percentage of completed bullish measurements recorded as wins
The Bull panel position can be selected from the available chart locations.
Bear panel
The Bear panel displays results from completed bearish measurements.
The panel contains:
- Bear
- W: number of bearish targets reached first
- L: number of bearish stops reached first
- percentage of completed bearish measurements recorded as wins
The Bear panel position can be selected independently from the Bull panel.
Panel positions and offsets
The Bull and Bear panels can be placed at:
- top left
- top centre
- top right
- middle left
- middle centre
- middle right
- bottom left
- bottom centre
- bottom right
Row and column offsets can be used to move each panel within the available position grid.
Negative row values move the selected panel upward.
Positive row values move it downward.
Negative column values move it to the left.
Positive column values move it to the right.
The final position is restricted to the available TradingView table locations.
The panels can overlap when both are assigned to the same effective position.
Meaning of the displayed percentage
The percentage represents the share of completed measurements where the configured target was reached before the configured stop.
It is not:
- a guaranteed win rate
- proof of future profitability
- a complete strategy result
- a recommendation to enter a trade
- a forecast of future performance
The historical measurement does not include:
- commissions
- spread
- slippage
- liquidity
- order execution
- position sizing
- account equity
- partial exits
- trailing stops
- market gaps
- order rejection
- overlapping positions
- complete intrabar sequencing
Historical results do not guarantee future results.
Alerts
The indicator includes two alert conditions:
- Bullish Signal
- Bearish Signal
The Bullish Signal alert is triggered when the Structure RSI crosses upward through the Oversold Level on a confirmed chart bar.
The Bearish Signal alert is triggered when the Structure RSI crosses downward through the Overbought Level on a confirmed chart bar.
When creating TradingView alerts, use:
- Once Per Bar Close
This matches the confirmed signal logic.
How to Use
1. Apply the indicator
Add Price Structure RSI to a standard TradingView chart.
The oscillator appears in a separate pane below the main price chart.
2. Begin with the default settings
The default configuration is:
- RSI Length: 20
- Overbought Level: 80
- Oversold Level: 20
- Structure Break Type: High/Low
- Moving Average Type: EMA
- Moving Average Length: 8
- Target Distance: 1.0%
- Stop Distance: 1.0%
Review the indicator with its default configuration before changing several settings simultaneously.
3. Select the structure-break type
Choose High/Low when a stored structure level should be considered broken as soon as the previous candle's high or low passes it.
Choose Close when the previous candle must close beyond the stored structure level.
High/Low is generally more responsive.
Close is generally more restrictive.
Neither setting is automatically more accurate.
4. Read the Structure RSI
Use the oscillator to observe the balance of recent broken pivot highs and pivot lows.
A rising oscillator indicates that bullish structure breaks are having greater recent influence.
A falling oscillator indicates that bearish structure breaks are having greater recent influence.
The oscillator can remain elevated or depressed during extended directional conditions.
5. Read the overbought area
When the Structure RSI moves above the Overbought Level, bullish structure-break pressure has pushed the oscillator into its upper region.
The bearish signal does not occur merely because the oscillator is above the level.
The bearish signal occurs only when the oscillator later crosses downward through the Overbought Level on a confirmed bar.
6. Read the oversold area
When the Structure RSI moves below the Oversold Level, bearish structure-break pressure has pushed the oscillator into its lower region.
The bullish signal does not occur merely because the oscillator is below the level.
The bullish signal occurs only when the oscillator later crosses upward through the Oversold Level on a confirmed bar.
7. Wait for the candle to close
Signals are confirmed at bar close.
Do not treat a temporary intrabar threshold crossing as a finalized signal.
Wait for the marker to remain after the chart candle closes.
8. Use the moving average
Enable the moving average to observe a smoother version of the Structure RSI.
Available types are:
- EMA
- SMA
- WMA
A shorter moving-average length reacts more quickly.
A longer moving-average length responds more slowly.
The moving average can provide visual context, but it is not part of the threshold-crossing signal condition.
9. Configure the target and stop distances
Set Target Distance (%) and Stop Distance (%) according to the historical measurement you want to study.
For example:
- Target: 1.0%
- Stop: 1.0%
This creates an equal-distance historical measurement.
Another example:
- Target: 2.0%
- Stop: 1.0%
This creates a larger target than stop.
These settings are research parameters and are not recommended trading settings.
10. Read the Bull panel
The Bull panel measures completed bullish signals.
- W means the bullish target was reached first
- L means the bullish stop was reached first
- the percentage shows bullish wins divided by completed bullish outcomes
Only signals that begin while no other measurement is active are included.
11. Read the Bear panel
The Bear panel measures completed bearish signals.
- W means the bearish target was reached first
- L means the bearish stop was reached first
- the percentage shows bearish wins divided by completed bearish outcomes
Only signals that begin while no other measurement is active are included.
12. Understand same-bar outcomes
When both the target and stop are touched during the same candle, the result is counted as a loss.
This is a conservative assumption because the chart's OHLC data cannot show which level was reached first.
13. Understand skipped measurements
A signal can appear while another historical measurement is still unresolved.
That signal can still:
- display a marker
- trigger an alert
However, it does not begin another historical measurement.
This is why the total W/L count may be lower than the total number of visible signals.
14. Position the panels
Choose separate positions for the Bull and Bear panels.
The default positions are:
- Bull panel: top left
- Bear panel: top right
Use the row and column offsets when small position adjustments are needed.
Avoid assigning both panels to the same final position unless overlapping panels are intended.
15. Select the colour preset
Use Dark Background on dark chart themes.
Use Light Background on light chart themes.
The preset changes moving-average and panel text colours.
It does not change the indicator calculations.
16. Create alerts
Create separate TradingView alerts for:
- Bullish Signal
- Bearish Signal
Use Once Per Bar Close.
Test alerts on the intended symbol and timeframe before using them operationally.
17. Review broader market context
Use Price Structure RSI together with additional analysis such as:
- trend direction
- price structure
- support and resistance
- volume
- volatility
- liquidity
- market sessions
- recent swing highs and lows
- scheduled economic or company events
- risk management
A threshold crossing alone does not guarantee a reversal or continuation.
Suggested starting process
- Apply the indicator to a standard candlestick chart
- Keep RSI Length at 20
- Keep the levels at 80 and 20
- Begin with High/Low structure breaks
- Keep the EMA smoothing line enabled
- Use a target and stop distance of 1.0%
- Wait for confirmed bar-close signals
- Compare the oscillator with visible price structure
- Review the Bull and Bear panels separately
- Remember that only one active measurement is tracked
- Test several symbols and timeframes before drawing conclusions
- Use Once Per Bar Close for alerts
Limitations
- The indicator is derived from the open-source Market Structure RSI by ClayeWeight
- The central structure-break accumulation methodology is adapted from the original work
- Pivot identification is based on a simple three-candle relationship
- Pivots are identified only after the required later candle has closed
- The oscillator measures broken stored structure levels rather than normal price momentum
- The Structure RSI can behave differently from a standard price RSI
- The indicator does not determine whether a structure break is genuine or false
- The indicator does not measure volume, volatility, liquidity, or trend strength
- Signals are confirmed at bar close and may occur later than temporary intrabar conditions
- A bullish signal does not guarantee that price will rise
- A bearish signal does not guarantee that price will fall
- Only one unresolved historical measurement is tracked at a time
- Not every visible signal is represented in the W/L panels
- Opposite signals do not close active measurements
- Target and stop evaluation begins on the bar after the signal
- Same-bar target and stop contact is recorded as a loss
- The W/L panels are simplified historical measurements
- The displayed percentages are not complete backtest results
- Commissions, spread, slippage, liquidity, position sizing, and execution are not included
- Historical outcomes do not imply future results
- The indicator should not be used as the sole basis for a trading decision
Price Structure RSI is an analytical and research tool.
It does not provide financial advice, guaranteed signals, guaranteed win rates, or guaranteed results. Indicatore

Liquidity Gravity SMC Engine [Jayadev Rana]LIQUIDITY GRAVITY SMC ENGINE
WHAT IT IS
An experimental Smart Money Concepts toolkit that does not treat every order block and fair value gap as equal. Each unmitigated zone is modeled as a gravitational mass acting on price: heavy zones (born from strong displacement on high relative volume) matter more, old zones fade away, and the combined pull of all active zones is compressed into a single bounded bias reading. On top of that field sit a composite trend engine, a quality-scored buy/sell signal engine, and a pyramid re-add engine that only accepts fresh continuation zones.
THE GRAVITY MODEL (CORE ORIGINAL IDEA)
Every zone is minted with a mass at birth:
mass = displacement impulse (in ATR units) x (0.5 + volume percentile / 100)
The mass decays exponentially with a configurable half-life, so a zone that sits unmitigated for a long time gradually loses influence:
effective mass = mass x 0.5 ^ (age in bars / half-life)
Each bar, the script sums the pull of every active bullish zone and every active bearish zone on the current close using a softened inverse-square law (the softening epsilon prevents the value from exploding when price trades inside a zone):
pull = effective mass / (distance in ATR ^ 2 + epsilon ^ 2)
The two fields collapse into a bounded oscillator:
gravity bias = 100 x (bull field - bear field) / (bull field + bear field)
A reading near +100 means the active demand field dominates; near -100 means overhead supply dominates. The raw bull/bear field values, zone counts, and the bias are all exposed in the data window and on the dashboard.
ZONE DETECTION
- Order blocks: a break of a confirmed swing pivot with a displacement candle (body larger than a configurable ATR multiple) anoints the most recent opposite-color candle as the origin. Body-only or full-range zones are selectable.
- Fair value gaps: classic three-candle imbalance, filtered by a minimum gap height in ATR units and an optional minimum displacement body on the middle candle.
- Lifecycle: zones are marked on first touch, removed on a decisive close through the far side, expired after a maximum age, and capped per side (oldest dropped first).
TREND ENGINE
A composite score in -100..+100 blends three independent measurements with user weights:
1. Market structure regime from a BOS / CHoCH state machine on confirmed swing pivots.
2. Signed Kaufman efficiency ratio (how directional the recent path is versus noise).
3. ATR-normalized Hull MA slope, clamped to -1..+1.
The score passes through a hysteresis gate with separate entry and exit thresholds, so the published trend state (LONG / SHORT / NEUTRAL) does not flicker around zero.
SIGNALS AND THE RE-ADD ENGINE
A primary BUY prints when price trades into an active bullish zone and closes back above its top (a sweep and reject), while the trend state and, optionally, the gravity bias agree. Every candidate is scored with a 0-100 confluence quality:
quality = 100 x (0.35 x trend alignment + 0.25 x gravity alignment + 0.20 x zone mass rank + 0.20 x rejection strength)
Only candidates above the quality threshold print. After a primary entry, the re-add engine arms: an ADD signal requires a FRESH zone (born after the previous entry bar), the same trend direction, and a reduced quality threshold, with a hard cap on adds per leg. Legs terminate on an opposing trend flip or an opposing CHoCH, which prints an EXIT marker. SELL logic mirrors the buy side.
INPUT GROUPS
1. Market Structure - pivot length, BOS/CHoCH lines, swing labels.
2. Order Blocks - lookback, body-only toggle, displacement filter.
3. Fair Value Gaps - minimum gap size, middle-candle displacement filter.
4. Gravity Model - mass half-life, softening epsilon, volume percentile lookback, zone expiry, zone cap.
5. Trend Engine - efficiency ratio length, Hull MA length and slope lookback, component weights, entry/exit thresholds.
6. Signals and Re-Add - primary and re-add quality thresholds, max adds per leg, cooldown, gravity alignment toggle, bar-close confirmation.
7. Visuals - zone boxes, signal labels, trend ribbon, gravity gradient bar coloring, colors.
8. Dashboard - position and text size.
ALERTS
Ten alert conditions: primary BUY, primary SELL, re-add long, re-add short, trend flip long, trend flip short, bullish zone created, bearish zone created, bullish zone touched, bearish zone touched.
INTENDED MARKETS AND TIMEFRAMES
Any symbol with volume data (crypto, futures, liquid stocks, major forex pairs). The volume percentile term falls back gracefully where volume is absent, but zone masses become less differentiated. Designed for intraday through daily timeframes; defaults were chosen on 5-minute to 1-hour charts.
NON-REPAINTING BEHAVIOR
Swing pivots confirm after the pivot length (standard pivot lag). BOS/CHoCH events are evaluated on closes against already-confirmed pivots. With "confirm on bar close" enabled (default), signals and alerts fire only on confirmed bars. No security() calls and no lookahead are used.
LIMITATIONS
- The gravity model is a heuristic, not a physical law; the inverse-square form and the half-life are modeling choices you can tune.
- Zone quality depends on the displacement and volume filters; thin or gappy instruments produce fewer, noisier zones.
- Signals are informational markers, not orders; the leg/adds bookkeeping is a visual state machine, not broker position tracking.
This is an educational tool, not financial advice. Test any settings on your own market and timeframe before relying on them. Indicatore
