Indicator

Trend Bias Guide MATrend Bias Guide MA
OVERVIEW
Trend Bias Guide MA is a smoothed reference line that shows which side (bullish or bearish) has been dominating recent price action, and helps spot early signs of trend exhaustion through divergence between price and candle-body pressure.
Unlike a standard moving average, this line is not derived from price itself. It is derived from the net directional pressure of individual candles over a lookback window, then projected onto the chart at a visual offset from price using ATR, so it never overlaps the candles.
WHAT IT IS BUILT FROM
For every candle in the lookback window (default: 50 candles), the script measures (close − open). This value is positive for a bullish candle and negative for a bearish candle, and its magnitude reflects the size of that candle's body.
These values are summed across the whole lookback window into a single number, referred to here as the net bias:
net bias = Σ (close − open) over the last N candles
This sum captures two distinct effects at once:
1. Count imbalance: whether there were more bullish or more bearish candles in the window.
2. Size imbalance: whether the bullish or bearish candles had larger bodies on average.
Both effects move price in the same underlying way, and summing (close − open) candle by candle combines them automatically, without needing to calculate them separately. If the net bias is positive, bullish pressure has dominated the window; if negative, bearish pressure has dominated.
HOW THE LINE IS DRAWN
- If the net bias is negative (bearish), the line is plotted above price, at a distance of (ATR × multiplier) above the current high.
- If the net bias is positive (bullish), the line is plotted below price, at a distance of (ATR × multiplier) below the current low.
- ATR length and multiplier are both adjustable inputs (defaults: ATR length 14, multiplier 1.0), and control how far the line sits from price.
- The raw level is then smoothed with a simple moving average (default length: 10) to reduce short-term noise and produce a cleaner, more continuous line instead of a jagged one.
- The line changes color to match its current bias: green when below price (bullish), red when above price (bearish).
INPUTS
- Lookback Length (default 50): number of candles used to calculate the net bias.
- ATR Length (default 14): period used for the ATR calculation that sets the offset distance.
- ATR Multiplier (default 1.0): scales the offset distance from price.
- Smoothing Length (default 10): period of the moving average applied to the final line.
HOW TO INTERPRET IT
- Green line below price: bullish pressure has dominated over the lookback window.
- Red line above price: bearish pressure has dominated over the lookback window.
- This is a trailing, lookback-based measure. Like any indicator built on a moving window, it reacts with a delay relative to the current candle — it will not flip instantly at the exact start of a new trend, and generally needs enough new candles in the new direction to outweigh the older ones still inside the window.
HOW TO USE IT
This indicator is designed as a contextual reference, not as a standalone entry or exit signal. Two practical uses:
1. Trend context: at a glance, see whether recent price action has been dominated by bullish or bearish candles, without needing to eyeball candle sizes manually.
2. Divergence / exhaustion warning: watch for cases where price is trading above a rising average (e.g., an EMA, not included in this script) while this line is still red (or below a falling average while the line is still green). This mismatch between price direction and underlying candle pressure can flag weakening trend conviction. In backtesting on XAUUSD (17 years of hourly data), this type of divergence was associated with a meaningfully higher chance of the trend reversing within the following 24–72 hours compared to the general baseline, with the effect strongest in the 24-hour window and gradually fading over longer horizons.
LIMITATIONS
- This is a descriptive/contextual tool, not a predictive trading signal on its own. It shows what has already happened over the lookback window, and any forward-looking use (such as the divergence behavior described above) carries no guarantee of repeating in the same way in the future or on other symbols/timeframes.
- Being lookback-based, the line inherently lags price, in the same way any moving average or rolling calculation does.
- It does not include stop-loss, take-profit, or position-sizing logic of any kind. It is a visual reference only.
- Backtested divergence statistics referenced above were derived from historical XAUUSD data and should not be assumed to hold with the same magnitude across all instruments, timeframes, or market regimes. Users should validate behavior on their own instrument and timeframe before relying on it. Indicator

Indicator

NSE/BSE Key Support & Resistance | MTF Pro-3.1Advanced pivot-based Support & Resistance with multi-timeframe confluence, strength scoring, volume-confirmed breaks, and adaptive zone visuals — built specifically for Indian stock market (NSE/BSE).
Overview
Most S&R indicators draw every pivot as an equal horizontal line and extend it infinitely to the right — creating cluttered, unreadable charts. This indicator solves that by scoring every level based on how strongly price rejected it , merging overlapping levels from different timeframes into a single confluence zone, and only showing the levels that actually matter.
Built and tuned specifically for NSE and BSE stocks, indices (Nifty 50, Bank Nifty, Sensex), and F&O instruments.
Key Features
🔷 Multi-Timeframe Support (4 TFs)
Enable up to 4 independent timeframes simultaneously. Each timeframe's pivots are detected separately and tagged in the label — , , , . You choose which timeframes to activate.
🔷 Cross-TF Confluence Merge
When two different timeframes produce a pivot at nearly the same price (within ATR proximity), they automatically merge into a single stronger zone instead of drawing two overlapping boxes. The label shows both sources — — and the level receives a confluence strength bonus. These merged zones are your highest-priority trade levels.
🔷 Advanced Strength Scoring
Every level carries a live strength score (★) that accumulates over time. Each touch is scored individually based on:
Wick size relative to candle range (how strongly price rejected)
Distance of close from the level (how convincingly price pulled back)
Whether volume was above average on that candle
Whether a strong body / engulfing candle formed
A barely touching wick scores ~0.5. A high-volume hammer rejection scores ~5–6. The score drives both zone opacity and zone width — strong levels appear bold and wide, weak levels fade visually.
🔷 Volume-Based Break Filter
A level is only invalidated when price closes beyond it and volume meets a configurable threshold (default: 1× average volume). Low-volume spikes through a level are ignored as false breakouts — the zone remains valid. Break alerts include the volume ratio so you know the conviction behind the move.
🔷 Adaptive Zone Visuals
No right extension — zones terminate at the current bar (valid) or the break bar (broken). No infinite lines cluttering the right side of your chart.
Opacity scales with strength — strongest levels are most visible, weakest levels are nearly transparent.
Zone width scales with strength — high-confidence zones are wider, giving a visual sense of the price area's importance.
🔷 Clean Labels
Each label shows the full picture at a glance:
21450.00 ★6.5 ×3
Timeframe source | Price | Strength score | Touch count
Settings Guide
SettingWhat it doesPivot LengthBars each side to confirm a pivot. Higher = fewer, stronger levelsMin StrengthHide levels below this score. Raise to show only confirmed levelsATR Merge DistanceHow close two levels must be to merge into oneInvalidationClose-based (reliable) or Wick-based (faster) break detectionVolume Break FilterRequire above-average volume to confirm a breakoutMin Volume MultiplierHow many times average volume needed to confirm a breakMax Active LevelsCap total zones shown on chartStrength → Zone OpacityToggle adaptive opacity based on strength score
How to Use
Bounce trades — price enters a green (support) zone → wait for a rejection candle with volume → enter above the rejection candle high, SL below zone bottom.
Rejection trades — price enters a red (resistance) zone → wait for a bearish candle with volume → enter below candle low, SL above zone top.
Breakout trades — price closes beyond a zone with high volume (break alert fires) → wait for pullback to the broken level → trade in the direction of the break.
Highest priority setups — zones tagged or with ★ score above 5 and multiple touches. These are the levels institutional money respects.
Alerts
The indicator fires alert() calls for:
Break confirmed — includes ticker, price, and volume ratio
Retest — includes ticker, price, and touch quality score
Set alert condition to "Any alert() function call" in PulseWire's alert dialog.
Notes
Designed and tested on NSE/BSE equities and F&O stocks
Works on any timeframe from 1 minute to Weekly
All calculations are original — pivot detection, strength engine, confluence merge, and volume filter are built from scratch in Pine Script v6 Indicator

Gurbetci iFVG + V-Shape RecoveryOVERVIEW
This open-source indicator combines two of the most widely known Smart Money / ICT concepts into a single, structured workflow: the V-Shape Recovery (liquidity sweep followed by a CISD reversal confirmation) and the Inversion Fair Value Gap (iFVG) retest model. Instead of printing isolated signals, every reversal is measured against an 8-point confluence checklist, so you always see not only WHAT fired but WHY it fired. Entries are visualized together with their invalidation level and an R-multiple target zone.
This tool was built and released for free on purpose: no indicator alone is a trading edge. An indicator can only describe what price has already done. Edge comes from a tested model, risk management and disciplined execution. This script gives you the same drawing and confluence engine that is often sold commercially, so you can focus on the part that actually matters.
BACKGROUND CONCEPTS
- Fair Value Gap (FVG): a three-candle imbalance where the wicks of candle 1 and candle 3 do not overlap, leaving an unfilled gap.
- Inversion FVG (iFVG): when price closes through an FVG against its original direction, the gap is considered invalidated and flips its role — a bearish gap becomes support, a bullish gap becomes resistance. The retest of this inverted zone is the core entry of the model.
- Consequent Encroachment (CE): the 50% midpoint of a gap, used as the fine-tuned entry/reaction level inside the zone.
- Liquidity Sweep: price wicks through an obvious swing high/low (where stop orders rest) but closes back beyond the level — a stop hunt rather than a genuine breakout.
- CISD (Change In State of Delivery): after a sweep, price closes through the opening price of the candle series that ran into the extreme, confirming that delivery has flipped direction. Sweep + CISD together form the V-Shape Recovery.
- SMT Divergence: two correlated instruments (e.g. NQ and ES) disagree at an extreme — one sweeps its swing while the other holds. This is checked in real time at the moment of the sweep.
- MSS (Market Structure Shift): a candle close through the most recent opposing swing point.
- Premium / Discount: position of price relative to the 50% equilibrium of the recent dealing range. Longs are favored in discount, shorts in premium.
- Killzone: the New York morning session window (customizable), when volatility and institutional participation are highest.
HOW IT WORKS
1. Swing highs/lows are tracked with pivots and treated as resting liquidity. Equal highs/lows (double tops/bottoms within an ATR tolerance) are detected and weighted as stronger liquidity.
2. When a swing is swept by a wick but the candle closes back beyond the level, a sweep is marked (x-cross) and the CISD level is calculated from the candle series that ran into the extreme.
3. If price closes through the CISD level within the configured window, and the confirming candle passes the ATR displacement filter, the V-Shape Recovery is confirmed and scored.
4. In parallel, all FVGs are tracked in the background. A gap that is closed through against its direction becomes an iFVG, drawn with a dashed border and its CE (50%) line.
5. ENTRY signal: after a V-Shape Recovery, when price retests an iFVG in the same direction and gets rejected (closes back beyond the zone edge), the entry marker prints, with the invalidation placed beyond the zone/sweep extreme and a configurable R-multiple target box.
CONFLUENCE SCORE (max 8)
Every V-Shape signal shows a score label (e.g. 5/8). Hover the label to see exactly which components were met:
1. Sweep + CISD (base condition, always 1 point)
2. Real-time SMT divergence against the correlated symbol at the sweep
3. Recent iFVG retest in the same direction
4. Market Structure Shift within the lookback window
5. Premium/Discount alignment (longs in discount, shorts in premium)
6. Higher-timeframe FVG bias alignment (default 15m)
7. Equal highs/lows sweep bonus
8. Killzone timing
The status panel (top right) shows the live state of every component: HTF bias, premium/discount position, killzone state, last sweep, last V-Shape, last MSS, last iFVG retest, last SMT and the score of the most recent signal.
CHART MARKERS
- x-cross: liquidity sweep (dotted line connects the swept swing)
- Small diamond: V-Shape confirmed but below your minimum score
- Score label "V-SHAPE 5/8": V-Shape at or above your minimum score
- Small triangle: iFVG retest
- ENTRY triangle: iFVG retest following a V-Shape Recovery, with SL/TP boxes
- Small circle: SMT divergence at a sweep
- Dashed boxes: inversion FVG zones with dotted CE midline
- Blue background: killzone session
ALERTS
Create ONE alert on this indicator and select "Any alert() function call" as the condition. You will receive dynamic notifications containing the symbol, timeframe, confluence breakdown and the entry/invalidation/target prices of ENTRY signals. Individual static alert conditions are also available for every event type (V-Shape long/short, ENTRY long/short, iFVG retest, SMT).
SETTINGS
- Zone display: "iFVG only" (clean chart, recommended) or all FVGs
- Minimum FVG width as an ATR multiple; inversion detection by close or wick
- Swing pivot length, sweep-to-CISD window, ATR displacement filter
- Every confluence component can be toggled individually (SMT symbol, MSS, premium/discount range length, HTF timeframe, equal H/L tolerance, killzone session)
- Killzone can be used as a score component or as a hard session filter
- Minimum score required for signal labels; R-multiple for the target box; alert toggle
LIMITATIONS - PLEASE READ
The higher-timeframe bias uses the developing HTF candle and may change before that candle closes. All signals are evaluated on bar close. The SL/TP boxes are visualizations of the model's logic, not trade recommendations. This indicator is a charting and educational tool: no indicator alone constitutes a profitable strategy, past behavior does not guarantee future results, and nothing here is financial advice.
Published free and open-source by Gurbetci Trader.
Indicator

Indicator

Strategy

Indicator

Indicator

Indicator

Indicator

Indicator

Best Sessions - New York, London & Asia - Xcelerate TradeXcelerate — Best Sessions: New York, London & Asia | Xcelerate Trade
A professional session-mapping overlay from the Xcelerate Trade team. It highlights the three major forex / index trading windows — Asia, London (Europe) and New York — plus a full daily range toolkit, all anchored to America/New_York (EST/EDT). Built for intraday traders who plan entries around session highs/lows, daily open/close and kill-zone timing.
What you get on the chart
Three session boxes (intraday only)
Each session draws a live box from session open to the current bar, then freezes it as history when the session ends:
Session Default window (EST) Color
Asia
20:00 → 05:00
Yellow
London
03:00 → 12:00
Blue
New York
09:30 → 16:00
Red
Live box — grows with price during the active session (high/low tracked in real time).
Historical boxes — completed sessions saved to chart history (FIFO cap per session).
Outline-only mode — optional per session: border highlight with transparent fill (“Daily Highlights” style).
Session times are fully editable via input.session — adapt them to your broker’s server time or personal kill-zone preferences.
Daily box (00:00 → 24:00 NY)
Current day — live lime box from midnight NY to midnight NY, expanding with the day’s high/low.
Historical days — completed daily ranges saved to history (default keep: 31 days).
Outline-only — optional transparent fill for a cleaner chart.
Daily high / low labels
D Hi and D Lo labels at the exact timestamp of the day’s extreme.
Separate toggles for historical and live labels.
Customizable colors, decimal precision and vertical offset (ticks).
Daily open / close lines
Horizontal Open line (purple by default) and Close/Last line (gray) spanning the full NY trading day.
Optional historical and live price labels on the lines.
Label placement by ticks or percentage offset from the daily range.
Global controls
Show Asia / Europe / New York — master toggles to hide entire sessions without digging into each group.
Per-session history — independent keep limits (default 31 sessions each).
Smart drawing guards — automatic FIFO caps scaled to your timeframe so you never hit PulseWire’s object limits (boxes, lines, labels). Works from 1-second charts up to monthly.
Timezone accuracy
All session detection and daily rollover use America/New_York consistently:
Session time() checks use the NY timezone string.
Daily box boundaries use timestamp(TIMEZONE, …) at 00:00 NY.
Daily open pulled via request.security(..., "1D", open) for alignment with the daily candle.
This keeps Asia / London / NY boxes and the daily box synchronized — no drift between session logic and daily logic.
Suggested settings
Forex (EURUSD, GBPUSD, XAUUSD) on 1m–15m: all three sessions ON, daily box + D Hi/Lo labels ON, open/close lines ON.
US indices (SPX, NQ) on 1m–5m: focus on New York session; optionally hide Asia if your broker’s overnight session is quiet.
Cleaner chart: enable Outline only on sessions and/or daily box; turn off historical labels if you only care about today.
Higher timeframes (1H+): session boxes auto-disable on daily+ charts (isIntraday guard) — only the daily toolkit remains active.
Inputs overview
Group What you control
Session schedules
Asia / London / NY time windows
Colors
Fill + border per session and daily
Daily Box
Historical + live, outline mode
Daily Labels
Hi/Lo labels, colors, offsets
Asia / London / NY
Per-session historical + live toggles
GLOBAL
Master show/hide per session
Daily Lines
Open/Close lines + labels
Promo Banner
Flash timing (minutes hidden / seconds visible)
Notes & disclaimers
Session boxes appear on intraday timeframes only (below 1D). On daily/weekly charts the session engine is disabled automatically.
Session boxes track the high/low range inside the window, not volume or order flow — use them as a time + range reference, not as a signal generator.
Default session times follow common EST conventions; verify against your broker if you trade instruments with different session cuts (e.g. futures RTH vs ETH).
Pine Script v6.
Built and maintained by the Xcelerate Trade team. Asia, London and New York session boxes + daily range, Hi/Lo labels and open/close lines — all in one clean, NY-timezone-aware overlay.
Indicator

Indicator

Indicator

Indicator

Indicator

OmniOMNI — All-in-One Price Action Toolkit
Omni combines six of the most-used intraday tools into a single indicator, so you don't need to stack five separate scripts to build a full picture of the market.
🔹 Hank Dot — Non-Repainting Swing Detection
Marks confirmed swing tops and bottoms with a dot, filtered by minimum swing size (ATR-based) so only meaningful turns get flagged. Fully non-repainting — a dot never moves or disappears once it prints, and it only appears after the turn is confirmed.
🔹 Fair Value Gaps (FVG) + Inverse FVG
Detects 3-candle imbalances on a higher timeframe of your choice and plots them as support/resistance zones directly on your chart. Broken zones can automatically flip color and role (support → resistance, or vice versa) when price closes through them.
🔹 VWAP with Standard Deviation Bands
Session VWAP with two configurable, shaded standard-deviation bands — useful for reading trend-day continuation zones vs. range-day extremes.
🔹 Multi-Timeframe EMAs
Three independently configurable EMAs, each with its own length and timeframe. Optional smoothing turns higher-timeframe EMAs into a gliding line instead of a stepped one.
🔹 Session & Liquidity Levels
Automatically plots Previous Day/Week High-Low, Pre-Market, Asian session, London session, and Opening Range Breakout (ORB) levels — with labels — so key liquidity zones are always visible.
🔹 Bias Table
A 6-factor dashboard (EMA trend, higher-timeframe trend, VWAP position, momentum, market structure, and prior-day position) that tallies into one bullish/bearish score at a glance.
Every input includes an in-depth tooltip explaining what it does and how it's typically used, so it's approachable whether you're new to these concepts or already familiar with them.
⚠️ This is an analysis tool, not financial advice. It is designed to help visualize price structure, liquidity, and confluence — always combine it with your own risk management and trade plan. Indicator

Strategy

Three & Four Bar Reversal PatternThree & Four Bar Reversal Pattern identifies short-term reversal candlestick setups directly on your chart, based on a strict closing-price confirmation rather than just wick penetration — making signals more reliable for intraday and swing trading decisions.
WHAT IT DETECTS
3-Bar Reversal
A classic three-candle reversal:
Bullish: two consecutive bearish candles followed by a bullish candle that closes above the high of the first bearish candle.
Bearish: two consecutive bullish candles followed by a bearish candle that closes below the low of the first bullish candle.
Requiring the close (not just the wick) to break the reference level filters out weaker, unconfirmed reversal attempts.
4-Bar Reversal (optional)
An extended version of the pattern for setups where the reversal takes one extra candle to confirm:
Two small same-direction candles, followed by a transition candle in the opposite direction, followed by a large breakout candle whose body exceeds the combined body size of the previous three candles, and whose close breaks through the high/low of the first candle.
Built-in logic prevents a 4-bar signal from overlapping with an already-completed 3-bar signal on the same candles, so you don't get redundant markers on the chart.
FEATURES
Independent toggles for bullish and bearish signals
Customizable colors for bullish/bearish markers
Optional 4-bar pattern detection, clearly distinguished from 3-bar signals with on-chart labels ("3" / "4")
Configurable reference line (style: solid/dashed/dotted, adjustable width) marking the breakout level
Built-in alert conditions for all four signal types (bullish/bearish, 3-bar/4-bar)
HOW TO USE
Add the indicator to your chart.
Watch for triangle markers below/above candles — these mark confirmed reversal closes.
Enable "4-Bar Pattern Detection" in settings if you also want the extended 4-candle version.
Set alerts on any of the four conditions to get notified in real time.
NOTES
This tool is designed to highlight potential reversal setups, not to generate standalone buy/sell signals. Always combine it with your own risk management, trend context, and confluence factors (support/resistance, volume, higher-timeframe structure, etc.). Past patterns do not guarantee future results. Indicator

Indicator

Indicator

Indicator
