Chỉ báo
Đường Trung bình trượt
Reverse AVWAP: Institutional Anchor DiscoveryStop guessing your anchors. Let the algorithm find them for you.
Most traders use the Anchored VWAP (AVWAP) the same way: they pick an obvious swing high, swing low, or earnings gap, anchor a line to it, and wait to see if price reacts. But what if we flipped the script? What if we took a significant current price level and mathematically scanned history to find exactly which hidden dates are defending it?
Introducing the Reverse AVWAP.
This indicator acts as an investigative tool for market structure and volume memory. By targeting a specific date or your current real-time chart bar, the script calculates backward, scanning thousands of bars to find the exact historical anchor points where an AVWAP drawn from them converges perfectly with your target price.
How It Works
Instead of projecting forward, this script reverse-engineers the volume profile:
Dynamic Target Selection: Choose to run the calculation from a fixed Target Date or toggle Use Last Chart Bar as Target to dynamically track live, real-time convergence on your current candle.
Historical Matrix Scan: The algorithm searches back in time, calculating the exact AVWAP from every single historical bar up to your target.
Threshold Matching: If a historical AVWAP lands within your custom proximity threshold (e.g., ±2.5% or ±3.5%) of the target price, it flags that date as a valid "Anchor."
Stitched Curve Generation: It draws the historical VWAP curves connecting those hidden anchors directly to your target.
Key Features
Macro First vs. Micro First Scanning: Choose your search direction. Macro First scans from the oldest historical data forward, prioritizing dominant multi-year structural pivots (like All-Time Highs or major cyclical bottoms). Micro First scans from recent data backward, focusing on short-term accumulation zones.
Smart Anti-Clustering: Includes a "Minimum Bars Between Anchors" filter. If the market forms a major rounded peak or flat consolidation, this prevents the script from grabbing 5 consecutive days on the same structure. It forces the algorithm to find distinct, uniquely significant pivot origins.
Up to 15 Historical Curves: Automatically color-codes and plots multiple unique historical AVWAP curves that converge on your target price.
Precision Divergence Labels: Drops clean visual tags on the discovered anchors, showing you exactly how close the historical AVWAP came to your target price down to the decimal percentage.
Under the Hood (Engine Optimizations)
Calculating thousands of historical AVWAPs iteratively would normally trigger a Pine Script timeout or cause massive lag. This indicator utilizes a heavily optimized architecture to bypass TradingView's native limitations:
O(1) Time Math: It uses rolling arrays to track the cumulative sums of Volume and Price × Volume. By subtracting cumulative historical values from current ones, it solves the AVWAP equations instantly in constant time per bar.
Bulletproof Line-Chain Renderer: TradingView’s standard polyline engine frequently suffers from canvas rendering drops when drawing long curves across thousands of bars. This script implements a custom, lightweight rendering engine that segments standard lines into roughly 80 dynamically downsampled links per anchor. The result is a buttery-smooth curve that never fails to render, no matter how far back the anchor sits.
Memory Management: Includes a dedicated garbage-collection routine that wipes and redraws canvas objects on live ticks, keeping your chart clean, responsive, and completely free of visual flickering.
Usage Tips
The History Loading Shortcut: Pine Script can only analyze data that is actively loaded into your browser session. If you are looking for a macro anchor from years ago, use the TradingView "Go to" shortcut (Alt + G on Windows, Option + G on Mac) and enter a past date. This forces the servers to load the historical bars instantly, allowing the script to find the anchor immediately.
Validation: If you see a breakout, run the Reverse AVWAP. If multiple historical volume anchors perfectly align with your current price, you have high-conviction proof of a major institutional volume node. You can then use those newly discovered anchor dates to project standard AVWAPs forward into the future.
Chỉ báo
ScalpMap - EMA Pivot TargetsScalpMap is a lightweight target-mapping tool designed for NQ scalping. It highlights nearby pivot-derived scalp levels on the correct side of EMA bias.
Asset designed for:
NQ / MNQ futures
Recommended timeframe:
15 seconds to 1 minute, depending on volatility.
In higher volatility conditions, lower timeframes may provide more responsive levels.
In lower volatility conditions, higher timeframes may help reduce noise.
The tool uses EMA34 as the main directional filter. When price is trading above the EMA with sufficient separation, the bias favours long-side setups. When price is trading below the EMA with sufficient separation, the bias favours short-side setups.
The plotted levels are generated from two pivot layers:
Tight close-based pivots for local structure.
Wider wick-based pivots for larger rejection points.
Pivot levels are filtered to reduce clutter and avoid plotting multiple levels too close together. Levels can also flip from resistance to support, or support to resistance, after confirmed close-through behaviour. This helps the tool focus on the most relevant levels around current price.
Core trade logic:
Take trades only on the correct side of the EMA.
Avoid entries directly into clustered levels where price is likely to chop producing lower R trades whilst the EMA is rounding.
Look for cleaner impulse scalp opportunities when price breaks through level and has open space toward the next spread-out target.
Visual guide:
Blue levels mark upper targets / resistance-side levels.
Red levels mark lower targets / support-side levels.
The orange line is the EMA34 bias line.
This script is intended as a visual decision-support tool only. It does not provide buy or sell signals and should be used together with your own trade plan and risk management.
Chỉ báo
Trend Confluence FilterTrend Confluence Filter
This is scripted to combine multiple separate indicators — moving average alignment, VWAP, and yesterday's levels — that are often used together into a single overlay, each with adjustable inputs.
What's on the chart:
Session VWAP — Primary signal and institutional reference
EMA 9 / 21 ribbon — 9 and 21 EMA lines with a green/red dynamic ribbon that flips from green or red when EMA is 9/21 or 21/9
SMA 20 / 50 / 200 — Long-term structure at a glance
Yesterday's high, low, and close — Benchmark reference
Dashboard table — Color-coded based on current price vs. each MA and VWAP
Signals:
Bullish: SMAs stacked up 20/50/200, 1-5M (Intraday) or 15M (Swing) candle closing above the VWAP with a green ribbon, very bullish on an expanding ribbon (9 EMA trending up more strongly than the 21)
Bearish: Mirror the above
Trade in the direction of the SMA stack. Take the pullback signal when it holds near VWAP or a prior-day level — that confluence is part of the whole idea.
No advanced logic or PT's/SL's built in to keep it simpler and more generalized.
Script by // © TylerisTrading
Chỉ báo
EMA 40 Pullback Pyramid StrategyEMA 40 Pullback Pyramid Strategy
EMA 40 Pullback Pyramid Strategy is an educational trend-following strategy designed to study long-side entries around a rising 40-period Exponential Moving Average, with optional pullback re-entry logic, ADX trend-strength filtering, and EMA cross-based entry/exit conditions.
This is a strategy script, not a prediction tool and not financial advice. It is intended for research, backtesting, and forward-testing only. Historical results are hypothetical and can differ significantly from live trading due to slippage, commissions, liquidity, order execution, symbol behavior, timeframe selection, and market regime changes.
What the strategy does
The strategy uses the 40-period EMA as its main directional reference.
The EMA color changes according to its slope:
- Green EMA: the EMA is rising.
- Red EMA: the EMA is falling.
- Gray EMA: the EMA is flat or unchanged.
The strategy can enter long positions when selected bullish conditions occur and can close positions when selected bearish or exit conditions occur.
Core logic
1. EMA 40 trend direction
The strategy calculates a fast EMA using the selected EMA length. The default value is 40.
A bullish trend condition exists when the EMA is rising. A bearish condition exists when the EMA is falling.
The original base entry occurs when the EMA changes from not rising to rising, and ADX is above the selected minimum threshold.
2. ADX trend-strength filter
The strategy uses DMI / ADX to filter weak trend conditions.
A trade can qualify only when ADX is above the selected ADX threshold. The default threshold is 20.
This filter is intended to reduce entries during weak or sideways market conditions, but it does not eliminate false signals.
3. Pullback re-entry logic
When enabled, the pullback module looks for price to retrace toward the EMA by a selected ATR-based distance and then recover above the EMA.
The pullback condition uses:
- ATR length.
- Pullback distance multiplied by ATR.
- Recovery candle logic, where the candle closes above the EMA and closes above its open.
This feature is designed to study additional entries during an existing upward EMA trend. Because pyramiding is enabled, these pullback signals can add to an existing long position depending on the strategy settings.
4. EMA 40 cross signals
The strategy includes optional EMA cross buy/sell logic.
The cross detection mode can be:
- Close mode: uses close crossing above or below the EMA.
- Wick mode: uses wick interaction with the EMA followed by a close on the opposite side.
When “Use EMA cross signals in strategy orders” is enabled, these signals can participate in actual strategy entries and exits. When disabled, they can be used only as visual reference signals.
5. Minimum bars between entries
The strategy includes a minimum-bars-between-entries setting. This helps reduce immediate repeated entries and gives users control over signal spacing.
6. Pyramiding
The strategy uses pyramiding to allow multiple long entries when qualifying conditions appear. This is mainly intended to study whether adding into a trend after pullbacks improves or worsens the tested behavior.
Users should review this setting carefully. Pyramiding increases exposure and can materially increase both potential returns and potential drawdowns.
Default strategy properties
The script uses the following default strategy properties:
- Initial capital: 1,000
- Position sizing: percent of equity
- Default order size: 33% of equity
- Pyramiding: 3
- Commission: 0.1%
- Slippage: defined in the strategy settings
- Bar magnifier: disabled
- Calculate on every tick: disabled
- Process orders on close: disabled
These settings are included for testing purposes only. They may not be suitable for every market, timeframe, or trader. Users should adjust position sizing, commission, slippage, pyramiding, and test date range to reflect realistic conditions for the instrument being tested.
Important backtesting note
TradingView strategy results are simulations based on historical bar data. They are not live trading results.
Backtest results can change significantly depending on:
- Symbol
- Timeframe
- Date range
- Commission
- Slippage
- Liquidity
- Spread
- EMA length
- ADX threshold
- ATR length
- Pullback multiplier
- Minimum bars between entries
- EMA cross mode
- Whether EMA cross signals are used for orders
- Pyramiding setting
- Market regime
Users should test the strategy on a sufficiently large sample of trades and across different market conditions before drawing conclusions. A small number of trades is not enough to evaluate a strategy reliably.
How to use it
A practical workflow is:
1. Select the symbol and timeframe to test.
2. Use a realistic date range that includes different market conditions.
3. Review whether the strategy produces a sufficient number of trades.
4. Adjust commission and slippage to match the market being tested.
5. Review the impact of position size and pyramiding on drawdown.
6. Compare results with and without pullback re-entry.
7. Compare results with and without EMA cross signals being used for strategy orders.
8. Forward-test before considering any real-world use.
Inputs
Date Range
- Start Date: first date included in the test.
- End Date: last date included in the test.
Moving Average
- Fast EMA Length: controls the EMA used for trend direction, pullbacks, and cross signals.
DMI / ADX
- DI Length: DMI calculation period.
- ADX Smoothing: smoothing period for ADX.
- ADX minimum to trade: minimum ADX value required for qualifying trend entries.
Pullback Re-entry
- Enable pullback re-entry: enables or disables ATR-based pullback entries.
- Pullback distance × ATR: controls how close price must pull back toward the EMA.
- ATR Length: ATR period used for pullback distance.
Signal Control
- Minimum bars between entries: controls spacing between entries.
EMA 40 Cross Signals
- Use EMA 40 cross buy/sell signals: enables visual EMA cross signals.
- EMA cross detection mode: chooses Close mode or Wick mode.
- Use EMA cross signals in strategy orders: determines whether EMA cross signals affect actual strategy orders.
Visual elements
The script plots:
- The EMA line, colored by slope.
- Base entry markers.
- Pullback add-entry markers.
- Optional EMA cross buy/sell markers.
- Hidden ADX and ADX threshold plots available for reference.
Limitations
This strategy is long-side focused and does not create independent short positions.
The strategy can underperform during sideways or choppy market conditions, even with the ADX filter.
EMA-based systems are inherently lagging because moving averages react to prior price data.
ADX can confirm trend strength but does not determine trade direction by itself.
Pullback and pyramiding logic can increase exposure and may increase drawdown.
No strategy setting can guarantee profitability or future performance.
Recommended use
This strategy is best used as an educational framework for testing EMA trend continuation, ATR-based pullback re-entry, ADX trend-strength filtering, and pyramiding behavior.
It should be used with realistic backtesting assumptions, conservative risk controls, and additional independent analysis before any trading decision.
Chiến lược
Dual MA Gradient [Gabremoku]Dual MA Gradient is a clean dual moving average overlay designed to highlight not only MA direction and crossover, but also the degree of separation between the two averages through a dynamic gradient ribbon.
The script uses two configurable moving averages and transforms their relationship into a visual ribbon that reacts to:
bullish alignment
bearish alignment
neutral compression
Instead of relying only on a simple crossover, the indicator helps show whether the two averages are:
crossing,
compressing,
or expanding apart
That makes it useful as a compact trend-structure tool for traders who want an at-a-glance read on direction and relative momentum.
What it shows
📈 Two configurable moving averages — each MA can be set independently using:
EMA or SMA
custom length
custom source
🌈 Directional gradient ribbon — the space between the two averages is divided into layered fills that create a smooth visual ribbon.
🟦 Bullish separation — when the fast MA is above the slow MA, the ribbon shifts to bullish color.
🟨 Bearish separation — when the fast MA is below the slow MA, the ribbon shifts to bearish color.
⚪ Compression state — when the spread between the two MAs becomes small enough, the ribbon fades into a neutral state to signal contraction.
🏷️ Status label — optional live label shows the active state:
Compression
Bullish Separation
Bearish Separation
⭕ Cross markers — optional markers can be shown when bullish or bearish MA crosses occur.
Core logic
The indicator is built around three simple but useful ideas:
Which MA is on top
How far apart the two MAs are
Whether the spread is strong enough to be directional or too tight and neutral
A moving average crossover occurs when a shorter-period average crosses a longer-period average, and it is commonly used to identify trend shifts or signal changes in directional bias.
This script goes a step further by emphasizing the spread between the averages. That matters because ribbon spacing is often used as a visual clue for trend structure: when averages are compressed, the market may be in transition or contraction, while a wider directional ribbon can reflect stronger alignment.
How to read it
A practical reading method is:
Compression = the two averages are close together, market may be transitioning or losing directional clarity
Bullish separation = the fast MA is above the slow MA and the ribbon is opening upward
Bearish separation = the fast MA is below the slow MA and the ribbon is opening downward
In many moving-average frameworks:
the cross helps identify the directional shift
the spacing helps evaluate whether that shift is weak or established
a tight ribbon often suggests indecision or a developing transition
Features
✅ Dual moving average framework
✅ SMA or EMA selection for both lines
✅ Fully customizable lengths
✅ Dynamic layered ribbon between MAs
✅ Bullish / bearish / neutral compression states
✅ Optional MA line display
✅ Optional live status label
✅ Optional crossover markers
✅ Built-in bullish and bearish crossover alerts
Notes
This indicator is designed as a trend-visualization tool rather than a complete standalone strategy. Like all moving-average systems, it is inherently lagging, so it is generally more useful for confirming structure and directional bias than for predicting reversals in isolation.
Author: Gabremoku
Pine Script v6
Chỉ báo
Compass | AnonycryptousCompass | Anonycryptous
Description & user manual
Credits
The weekly psychological level calculation in this indicator is based on open-source code originally published on TradingView. The original script was created by plasmapug. Continued development was done by infernixx, Peshocore, and xtech5192 in collaboration with TradersReality. Significant modifications have been made to integrate this component into the Compass framework.
Why this indicator is different
Most indicators answer one question. A moving average tells you the trend direction. An oscillator tells you momentum. A session box tells you the time. A volume indicator tells you participation. Each one is useful. None of them tells you where you are.
Before placing a trade, a trader needs to answer several questions simultaneously. What session is active and what does that mean for the type of price action to expect? Where does the macro trend stand? Is volume confirming the move or contradicting it? Are there open imbalances nearby that price may return to? How much of the day's expected range has already been consumed? Where are the key structural levels — pivots, the daily open, prior week references?
Answering each of these questions separately requires stacking tool after tool until the chart becomes unreadable. Compass answers all of them at once.
It is not a signal indicator. It does not fire arrows or tell you when to buy or sell. What it does is something more fundamental: it gives you a complete read of the market environment before any decision is made. Sessions, trend, volume, imbalances, range levels, pivots, psychological references — all in one overlay, all configurable, all on one chart.
The design philosophy is orientation first. Decision second. Compass tells you where you are. What you do with that is your responsibility.
Important notice
Compass does not generate trading signals.
It does not tell you when to buy or sell.
It does not predict market direction.
It does not replace your trading strategy or your own analysis.
All illustrative examples in this manual are for educational purposes only and are not trading recommendations.
All trading decisions remain entirely with the user.
Always apply your own judgment and manage your own risk.
1. Overview
Compass is a comprehensive market context indicator that combines eleven independent analysis frameworks into one unified overlay. Every component is individually toggleable. Six presets are included for different trading styles, from fast scalping to full multi-component analysis.
What it includes:
- Five-EMA suite with adaptive cloud around the EMA 50
- EMA crossover system with configurable signals and candle coloring
- Stochastic RSI background alerts with four alert types and RSI divergence detection
- PVSRA volume vector candle analysis with zone tracking and configurable thresholds
- Eight global market sessions with automatic DST awareness
- Average daily, weekly, and monthly range levels with 50% midpoints
- Classic pivot points with mid-point levels
- Daily open reference line with historical opens
- Fair value gap detection with partial absorption tracking
- Weekly psychological level tracking
- Live dashboard with eighteen data points across all active components
2. EMA suite
Five exponential moving averages are plotted simultaneously: EMA 5, EMA 13, EMA 50, EMA 200, and EMA 800. Together they cover short-term momentum, medium-term trend direction, macro trend, and long-term structural bias.
The EMA 50 is wrapped in a dynamic cloud calculated from two standard deviations of price. The cloud expands during volatility and contracts during consolidation. A widening cloud indicates active price discovery. A thinning cloud indicates equilibrium or compression before a directional move.
The EMA 200 is the primary macro bias filter. Price above it defines a broadly bullish environment. Price below it defines a broadly bearish environment. This is shown in the dashboard at all times.
The EMA 800 provides long-term structural context, particularly useful on mid to higher timeframes where it marks the gravitational center of multi-month price structure.
All five EMA lengths are configurable. Each has individual color and transparency controls. An EMA label option displays the current value at the right edge of each line.
3. EMA cross system
The EMA cross tracks a configurable fast EMA crossing a configurable slow EMA and marks the crossover bar. All candles after a cross continue in the direction of that cross until the opposite cross fires.
Three display modes are available: show both the fast and slow EMA lines, show a single consolidated EMA line, or hide the EMA lines entirely while keeping the crossover signals visible.
This component is a trend state indicator, not a trade trigger. A bull cross does not mean buy. It means the short-term trend has shifted upward relative to the medium-term average.
Signals and candle coloring can be toggled independently.
4. Stochastic RSI
The stochastic RSI component runs a standard stochastic RSI calculation and generates background color alerts based on crossover conditions at configurable band levels.
Four alert types are available, each independently toggleable:
Middle band crossover — K line crosses D line near the 50 level. Indicates a possible trend shift in momentum.
Overbought/oversold crossover — K line crosses D line from overbought or oversold territory. Indicates a potential reversal from an extreme.
Entering overbought — K line crosses above the upper band. Indicates that momentum has moved into overbought territory.
Entering oversold — K line crosses below the lower band. Indicates that momentum has moved into oversold territory.
The dashboard displays the current stochastic RSI state and the RSI value. RSI appears in green when above the midline and in red when below. Regular bullish and bearish divergence is detected automatically and shown in the dashboard as a directional label. When divergence is active, a thin reference line appears on the price chart marking the divergence candles.
5. PVSRA volume vector analysis
PVSRA analysis colors candles based on volume relative to the 10-bar average and the relationship between volume and candle spread.
Four vector types:
Green vector — bullish bar where volume is at or above the green/red threshold (default 200% of the 10-bar average), or where volume multiplied by spread is the highest of the last 10 bars. Indicates strong bullish institutional participation.
Red vector — same conditions on a bearish bar. Indicates strong bearish institutional participation.
Blue vector — bullish bar where volume is at or above the blue/violet threshold (default 150% of average). Indicates elevated bullish volume below the institutional threshold.
Violet vector — same conditions on a bearish bar. Indicates elevated bearish volume.
Grey — no vector conditions met. Normal volume.
Both thresholds are configurable directly from the settings panel. Blue and violet signals are strictly exclusive from green and red — a bar cannot qualify for both simultaneously.
Vector candle zones draw boxes at each vector candle location and remain active until price moves through the zone, marking areas where elevated institutional activity was detected at the time the candle formed.
The PVSRA override input allows a different symbol to be used for the volume calculation. This is useful when the charted instrument has unreliable volume data, such as CFDs, perpetual swaps, or instruments where the primary volume is on a related market.
6. Market sessions
Eight global trading sessions are tracked simultaneously, each with automatic DST awareness. Sessions are displayed as expanding boxes with high and low lines and a real-time label showing the session open.
Sessions included:
- London: 08:00–16:30 UTC
- New York: 14:30–21:00 UTC
- Tokyo: 00:00–06:00 UTC
- Hong Kong: 01:30–08:00 UTC
- Sydney: 22:00–06:00 UTC
- EU brinks: 08:00–09:00 UTC
- US brinks: 14:00–15:00 UTC
- Frankfurt: 07:00–16:30 UTC
DST is handled automatically for London, New York, and Sydney. No manual adjustment is needed. Each session can be toggled individually, and box color, transparency, and label color are fully configurable per session.
Session context matters because market behavior differs significantly depending on which participants are active. London and New York overlap produces the highest volume and fastest price movement. Tokyo and Sydney sessions tend to consolidate. The brinks windows mark the transition periods where session highs and lows often form.
7. Range levels
Three statistical range frameworks measure the expected price range for the current period based on historical averages.
Average daily range (ADR) — the expected high and low for the current trading day. When price reaches the ADR level, the day's expected range has been consumed. Moves beyond the ADR are extension moves that occur with lower statistical probability and often mean-revert. The dashboard shows ADR % used — how much of today's expected range has already been consumed. Above 80% indicates the day is approaching its expected limit.
Average weekly range (AWR) — the same concept applied to the current week. Useful for assessing how much room the week has left to move.
Average monthly range (AMR) — the same concept applied to the current month. Provides macro context for position sizing and target expectations.
Each framework includes a 50% midpoint level marking the center of the expected range. The ADR measure from daily open option calculates the range starting from that day's open price rather than the statistical high, making the levels static for the entire day.
All three frameworks have individual lookback period inputs, color controls, line styles, and label toggles.
8. Pivot points
Classic pivot points are calculated from the prior day's high, low, and close. Levels include PP, R1/S1, R2/S2, R3/S3, and M mid-point levels between each major level.
Pivot points provide structural reference for the current session. Price above PP defines a broadly bullish day structure. R levels act as potential resistance targets. S levels act as potential support targets. M levels provide intermediate precision references between major pivots.
All levels can be toggled individually. Lines extend rightward from the prior session and can optionally extend in both directions. Each level has individual color and line style controls.
9. Daily open
A horizontal line marks the current day's opening price. This is one of the most referenced structural levels among short-term traders because it defines the starting point for the day's price discovery.
Price above the daily open reflects a bullish session bias. Price below reflects a bearish session bias. When price oscillates around the daily open without committing direction, the session is in balance — a lower probability environment for trend trades.
Historical daily opens can optionally be shown as reference for prior day context.
10. Fair value gaps
A fair value gap is a three-bar imbalance where price moved through a range without leaving two-sided trade — the low of the upper candle is above the high of the lower candle (bullish gap) or vice versa (bearish gap). These areas represent unfinished business where the market may return to achieve balance.
Gaps are filtered by a minimum width threshold expressed as a multiple of ATR. Gaps narrower than the threshold are excluded. Partial absorption is tracked — as price returns into the gap, the fill color changes to show how much of the imbalance has been recovered.
Fully mitigated gaps can be kept on the chart as historical reference or deleted automatically to maintain a clean view.
11. Psychological levels
Weekly psychological levels mark the prior week's high and low as calculated by a specific session-anchored method. These levels represent deliberate structural references where participants have previously committed size — breakouts and rejections around these levels tend to be more intentional than random price noise.
Three GMT offset options accommodate the session anchor calculation for different global market structures. Two mode options are available: crypto (weekly reset on Saturday Sydney open) and forex (weekly reset on Monday Tokyo open).
12. Settings reference
Preset
- Custom: full manual control over all settings.
- Clean scalper: sessions, EMA suite, FVG, subtle candle coloring. Low noise.
- Full context: everything on, medium transparency. Best for analysis.
- Signal focus: EMA cross, stoch RSI background, PVSRA bar color prominent. Rest subtle.
- Minimal: sessions, daily open, ADR only. No signals.
- PVSRA pro: PVSRA and vector candle zones central. EMA 200 and 800 only.
Global settings
- Master opacity offset (custom preset only): shifts all transparency values simultaneously.
- Show bull/bear label text: shows or hides text on EMA cross signal triangles.
EMA suite
- Show EMA suite and labels
- Individual EMA color and transparency controls
- EMA cloud fill and border transparency
- EMA line width
EMA cross
- Show EMA cross signals
- Fast EMA, slow EMA, and consolidated EMA lengths
- Show both EMAs or consolidated only
- Bull, bear, and neutral colors and transparency
- Cross EMA line width
Stochastic RSI
- Show stochastic RSI background alerts
- RSI length and stochastic length
- Overbought and oversold band levels
- Individual alert type toggles (four types)
- Alert colors and transparency
- RSI divergence lookback period
- Divergence line color and width
PVSRA
- Vector colors (red, green, violet, blue, regular up/down)
- Green/red threshold (× average volume, default 2.0)
- Blue/violet threshold (× average volume, default 1.5)
- Include spread filter for green/red classification
- Override symbol toggle and input
- Show vector candle zones with transparency and width settings
Candle coloring
- Enable candle coloring
- Coloring mode: EMA cross / PVSRA / EMA 200 / off
- Bull and bear candle color and transparency
Market sessions
- Show market sessions
- Session timezone
- Show sessions on weekends
- Session high/low line style and width
- Per session: toggle, box color, transparency, label color
Range levels
- Show ADR, AWR, AMR (individual toggles)
- Lookback periods for each
- Show 50% midpoint levels
- Measure from daily open (ADR only)
- Color, transparency, line width, line style, labels
Pivot points
- Show PP, R1/S1, R2/S2, R3/S3, M levels individually
- Show labels
- Extend lines both directions
- Individual level colors and line styles
- Pivot line width
Daily open
- Show daily open
- Show label
- Show historical daily opens
- Color, transparency, line width
Fair value gaps
- Show fair value gaps
- Width filter (ATR multiplier)
- Extend to current bar
- Bullish and bearish FVG colors
- Mitigation fill colors
- Keep historical FVGs after mitigation
Psychological levels
- Show psy levels and labels
- Show historical psy levels
- GMT offset (GMT+1, GMT+2, GMT+3)
- Psy type: crypto or forex
- High and low colors and transparency
Dashboard
- Show dashboard
- Position: top left, top right, bottom left, bottom right
- Size: tiny, small, normal
13. Dashboard reference
The dashboard provides eighteen live data points across all active components:
Session — the currently active market session.
EMA cross — current EMA cross direction: bull or bear.
EMA 200 — whether price is above or below the EMA 200.
Stoch RSI — current stochastic RSI condition.
RSI — current RSI value, colored green above midline and red below.
RSI divergence — active bullish or bearish divergence, or none.
PVSRA — current candle vector type.
ADR % used — how much of today's expected daily range has been consumed.
FVG active — count of open unmitigated fair value gaps and mitigation percentage.
Psy level — whether price is above or below the prior week's psychological level.
Timezone — active session timezone setting.
VCZ active — count of active vector candle zones above and below current price.
Pivot PP — current pivot point value.
Daily open — current daily open price and direction.
14. How to use
14.1 Initial setup
Select a preset that matches your primary trading style. Adjust the session timezone to match your location or your primary exchange. If you trade an instrument with unreliable volume data, enable the PVSRA override and set it to a correlated liquid instrument. Set the ADR lookback period to your preference — 14 days is a standard starting point. For FVGs, set the width filter to 0.5 or higher to exclude minor gaps.
14.2 Reading the dashboard
The dashboard is the fastest way to orient yourself on a new chart or a new session. Check session, EMA cross direction, EMA 200 position, stoch RSI state, and ADR consumed before anything else. Five seconds to a full picture of where the market stands.
14.3 Reading the chart
Check EMA alignment. When EMA 13, EMA 50, and EMA 200 are stacked in the same direction, the trend is more significant than a single crossover. Divergence between them reflects a transition or competing timeframe pressures.
Check ADR percentage. Below 50% means the day has statistical room to move. Above 80% means the day is near its expected limit and extension moves are less probable.
Look for open FVGs near current price. An unmitigated FVG in the direction of the prevailing trend is a precision reference area where price has historically returned.
Check the psy level. If price is approaching the prior week's high or low, be aware that participant behavior around those references tends to be deliberate.
14.4 Timeframe guide
1 minute to 3 minutes — clean scalper preset, candle coloring set to EMA cross.
5 minutes to 15 minutes — clean scalper or signal focus preset.
30 minutes to 1 hour — full context preset, use ADR and pivot points.
4 hours to daily — full context or minimal preset.
14.5 Tips
PVSRA override — use when your broker's volume data is unreliable, when you trade a CFD or derivative with synthetic volume, or when you want spot market volume for a futures chart.
Master opacity offset — adding 10 to 20 increases overall transparency and dims the chart if it feels cluttered. Subtracting 10 to 20 makes all elements more prominent. This shifts all transparency values simultaneously without changing individual settings. Only active in custom preset.
Not every component needs to be active at once. Most traders will find three to four components provide the context they need for their specific setup.
15. Disclaimer
This indicator is provided for educational and informational purposes only.
Nothing in this document constitutes financial advice or any form of trading recommendation.
Trading financial instruments involves substantial risk of loss.
Past performance is not indicative of future results.
You may lose all of your invested capital.
All trading decisions are made entirely by the user.
Use at your own discretion.
Chỉ báo
Multi EMA (5, 13, 26, 50, 100, 200)This is a single indicator which plots EMA 5,13,26,50,100 and 200
Chỉ báo
27.05.2026***
Before presenting this project, I would like to express my sincere gratitude to all the developers, traders, coders, researchers, and members of the TradingView community whose ideas, indicators, concepts, and open-source contributions helped inspire this work.
Modern technical analysis is built upon decades of shared knowledge.
Every moving average, volatility model, market structure concept, liquidity theory, trend engine, and smart-money framework exists because countless traders decided to share their discoveries with others.
This indicator is not the product of a single isolated idea.
It is the result of studying, combining, refining, and evolving many approaches developed by talented authors across the trading community.
Special appreciation goes to the creators and researchers behind:
* Supertrend algorithms
* ATR-based volatility systems
* Supply & Demand methodologies
* Fair Value Gap concepts
* Smart Money Concepts (SMC)
* Volume analytics
* Multi-timeframe trend models
* Session-based trading frameworks
* Institutional liquidity mapping techniques
Open-source collaboration is one of the greatest strengths of the TradingView ecosystem.
The willingness of traders to publish ideas, share code, test concepts, and improve each other’s work continues to push technical analysis forward.
This project was created with respect for that spirit of collaboration.
Thank you to everyone whose work, directly or indirectly, contributed to the development of this indicator.
***
# 3ST NR — Advanced Non-Repainting Market Structure & Trend Engine
The **3ST NR** indicator is a complete institutional-style trading framework built around a triple Supertrend architecture, market condition analysis, ranked supply & demand zones, liquidity imbalance detection, multi-timeframe EMA mapping, and session-aware filtering.
Designed for traders who want more than simple buy/sell signals, this system transforms raw price action into a fully contextual trading environment.
---
## Core Concept
At the heart of the indicator are **three independent Supertrend engines** with different ATR sensitivities:
* Fast Supertrend → short-term momentum
* Mid Supertrend → directional confirmation
* Slow Supertrend → macro trend structure
A bullish state appears when the fast and mid Supertrends align upward.
A bearish state appears when both align downward.
Unlike many retail indicators, the script uses:
* confirmed candles only
* `barstate.isconfirmed`
* no future-looking calculations
* non-repainting logic
This creates stable and reliable market structure signals.
---
# Market Intelligence Engine
The script does not blindly trade every signal.
Instead, it evaluates the quality of the environment using a dynamic market engine:
## Trend Detection
Trend strength is calculated using:
* ATR volatility
* distance from EMA 21
* normalized momentum
The market is automatically classified into:
* **TREND**
* **MIX**
* **CHOP**
This allows traders to avoid low-quality ranging conditions.
---
# Volume Classification Engine
Volume is analyzed relative to a 20-period moving average.
The system categorizes activity into:
* LOW
* NORMAL
* HIGH
* SPIKE
This creates optional institutional participation filters, helping traders focus only on moments where real liquidity enters the market.
---
# Smart Session Engine
The indicator is fully session-aware.
It recognizes:
* New York Session
* London Session
* Asia Session
* US Pre-Market
Optional filters allow trading only during the highest-liquidity market windows.
This is especially powerful for:
* index futures
* NASDAQ
* forex
* scalping environments
---
# Multi-Layer EMA Structure
The script overlays multiple EMA systems simultaneously:
## Intraday EMAs
* EMA 9
* EMA 20
* EMA 62
* EMA 200
## Higher Timeframe Daily EMAs
* Daily EMA 3
* Daily EMA 9
* Daily EMA 20
* Daily EMA 50
* Daily EMA 100
* Daily EMA 200
This creates a complete multi-timeframe trend map directly on lower timeframes.
The higher timeframe EMAs act as:
* institutional support/resistance
* trend magnets
* reversal zones
* momentum confirmation layers
---
# Dynamic Daily Levels
The indicator automatically plots:
* Daily Open
* High of Day (HOD)
* Low of Day (LOD)
These levels dynamically update throughout the session and extend across the chart.
They serve as:
* liquidity references
* intraday breakout zones
* mean reversion levels
* trend continuation triggers
---
# Ranked Supply & Demand System
One of the most advanced parts of the script is the adaptive supply & demand engine.
The indicator:
* detects swing pivots
* builds dynamic zones
* ranks them using a proprietary scoring system
* continuously updates strength based on:
* mitigation
* volume
* trend alignment
* touch count
* age
* volatility
Zones are automatically classified as:
* strong support
* weak support
* strong resistance
* weak resistance
* mitigated zones
* broken zones
Each zone includes:
* visual strength bars
* bullish/bearish dominance percentages
* mitigation tracking
* automatic cleanup logic
The system behaves similarly to institutional order-flow mapping.
---
# Fair Value Gap Detection (FVG)
The script also detects non-repainting Fair Value Gaps.
Bullish and bearish imbalances are automatically drawn when inefficient price delivery occurs between candles.
These zones help traders identify:
* liquidity voids
* inefficiencies
* continuation structures
* smart-money displacement
---
# Intelligent Dashboard
A built-in real-time dashboard displays:
* current market condition
* volume state
* active session
* trend strength
* bullish/bearish status
This creates a compact decision-making center directly on the chart.
---
# Non-Repainting Philosophy
The entire system is designed around signal stability.
Key anti-repaint mechanisms include:
* confirmed candle validation
* no future bar references
* `lookahead_off`
* closed-bar signal confirmation
* structural pivot validation
This makes the indicator suitable for:
* live trading
* alerts
* automation
* strategy development
* discretionary execution
---
# Best Use Cases
The indicator performs exceptionally well in:
* NASDAQ scalping
* index futures
* forex intraday trading
* momentum trading
* session breakout strategies
* smart money concepts
* trend continuation systems
Especially effective on:
* 1-minute
* 3-minute
* 5-minute
* 15-minute charts
---
# Key Features Summary
* Triple non-repainting Supertrend engine
* Adaptive market state detection
* Volume intelligence filters
* Session-based filtering
* Multi-timeframe EMA structure
* Dynamic Daily Open / HOD / LOD
* Ranked Supply & Demand zones
* Zone strength scoring system
* Mitigation tracking
* Broken structure detection
* Fair Value Gap engine
* Real-time dashboard
* Institutional-style market mapping
---
# Final Philosophy
3ST NR is not just another indicator.
It is a complete market structure framework combining:
* trend analysis
* liquidity mapping
* volatility analysis
* volume confirmation
* institutional zones
* session timing
* smart-money concepts
The goal is simple:
Filter noise.
Visualize structure.
Trade with context.
Chỉ báo
ITF26 BB Fade SOL 1mITF26 B1 — BB Fade SOL 1m
═════════════════════════════════════════════════════════════
Este es el sistema que llevé al ITF26 Ibiza (21 mayo 2026) y
con el que quedé 1ª y 2ª en las rondas 1 y 2 y de 5ª de la general.
Lo publico tal cual lo opero, sin retoques post-torneo.
────────────────────────────────────────────────────────────
QUÉ HACE
────────────────────────────────────────────────────────────
Mean reversion intradía sobre BITGET:SOLUSDT.P en 1 minuto / 5 minutos.
Opera UN solo bloque al día, de 40 minutos:
14:00–14:40 UTC (16:00–16:40 hora Madrid).
Fuera de esa ventana, el sistema no está expuesto al mercado.
Cuando el precio se extiende hasta tocar la Banda de Bollinger
durante ese bloque, entramos a fade (dirección contraria):
· Toque banda superior → SHORT con LIMIT en la banda
· Toque banda inferior → LONG con LIMIT en la banda
· Take-profit → media móvil central
· Sin stop loss → cierre forzado al final del bloque
────────────────────────────────────────────────────────────
POR QUÉ FUNCIONA — 3 IDEAS
────────────────────────────────────────────────────────────
1. VENTANA ACOTADA
40 minutos al día. Coincide con el pre-cash open de US,
ventana de posicionamiento previo donde abunda la
reversión y escasea el trending sostenido.
2. FADE CONTRA-EXTENSIÓN
Las Bandas de Bollinger miden volatilidad reciente. Un
toque a banda en marco pequeño suele ser ruido y revertir
a la media. No siempre, pero suficiente para tener edge
en este nicho temporal.
Importante: las bandas se calculan con un bar de retraso
(lagged). Esto elimina el look-ahead bias. La señal es
ejecutable en tiempo real exactamente como en el backtest.
3. SIN STOP, EXIT TEMPORAL
El stop implícito es el tiempo. Si el trade no revierte
al midband en 40 minutos, cierra a mercado. Esto evita
stops "ajustados" que se barren con ruido intradía.
────────────────────────────────────────────────────────────
PARÁMETROS
────────────────────────────────────────────────────────────
Indicador : Bandas de Bollinger (20, 2) lagged
Entry : LIMIT al nivel exacto de la banda
Take-profit: LIMIT en media móvil central
Time exit : Cierre a mercado al minuto 40 del bloque
Bloque : 14:00–14:40 UTC, lunes a viernes
Sizing : 125% equity por defecto (ajustable 10–300%)
Comisión : 0.02% | Slippage: 1 tick
─────────────────────────────────────────────────────────────
NOTA METODOLÓGICA — LEE ANTES DE OPERAR
────────────────────────────────────────────────────────────
Este sistema fue construido para un torneo de UN día. Los datos
de validación son las semanas previas al evento, no años.
Es deliberado, no es un atajo.
Saber el CLIMA de Madrid (60 días de lluvia al año, en
promedio) no te sirve para decidir si mañana llevas paraguas.
Para mañana necesitas el PRONÓSTICO. Misma ciudad, dos
herramientas distintas, dos horizontes distintos.
Yo no necesitaba un sistema que funcionara durante 5 años.
Necesitaba uno que funcionara el 21 de mayo a las 14:00 UTC.
Si segmentas el backtest del año completo verás esto:
· IS estricta (May 25 – Feb 26, 10 meses): PF ~1.00
· Cola favorable (Abr–May 26): PF muy alto
· Año completo (12 meses): PF 1.26
El edge real está concentrado en ciertos regímenes. Operarlo
always-on te da PF 1.26 sobre un año. Operarlo cuando el
régimen es favorable (que es lo que entrené) te da mucho más.
Quien lo use debe entender esto y no esperar PF constante
en todos los regímenes. Re-corre el backtest en tu propia
ventana y decide si te encaja y te sirve de ejercicio/aprendizaje.
─────────────────────────────────────────────────────────────
BACKTEST DE REFERENCIA
─────────────────────────────────────────────────────────────
BITGET:SOLUSDT.P en 5m, periodo 26 mayo 2025 – 26 mayo 2026
(1 año completo, sizing 200%):
Trades : ~245
Win rate : ~73%
Profit Factor : 1.26
Max drawdown : ~3.1%
Sesión del torneo ITF26 final (21 mayo 2026):
Profit Factor : 1.69 — 5º puesto general
─────────────────────────────────────────────────────────────
CÓMO USARLO
─────────────────────────────────────────────────────────────
1. Aplicar al chart BITGET:SOLUSDT.P en 5m.
2. El bloque interno opera en UTC (14:00–14:40)
independientemente de la zona horaria de tu chart.
Si configuras el chart en UTC verás el bloque
resaltado correctamente.
3. Ajusta el input "Sizing (% equity)" a tu riesgo.
4. La tabla on-chart en esquina inferior derecha muestra:
bloque activo · señal del día · PnL abierto · minutos
restantes.
═════════════════════════════════════════════════════════════
NOTA METODOLÓGICA — HORIZONTE DE VALIDACIÓN
═════════════════════════════════════════════════════════════
Este sistema nació para un torneo de un día (ITF26, mayo 2026)
y fue construido con datos de las semanas previas al evento.
Quedó 5º en el ranking general con PF 1.69 en la sesión del
torneo.
Después del torneo, lo probé como sistema always-on durante 1
año (May 2025 – May 2026). Resultados: PF 1.26, hit 73%.
Decente, pero NO el PF 1.69 del torneo.
¿Por qué?
Porque un sistema construido para ganar un día concreto no es
lo mismo que un sistema construido para operar todos los días
durante años. Son problemas distintos con horizontes distintos.
Es como saber el clima de Madrid (60 días de lluvia al año)
versus saber si llueve mañana en Madrid. Para tu armario
anual: clima. Para llevar paraguas mañana: pronóstico. Misma
ciudad, herramientas distintas.
Si segmentas el backtest:
- IS estricta (May 25 – Feb 26, 10 meses): PF ~1.00
- Cola Apr–May 2026 (régimen favorable): PF muy alto
- Año completo: PF 1.26 (promedio ponderado)
El sistema en su versión publicada (v7, sin filtros de
régimen) funciona, pero la ventaja real está concentrada en
ciertos regímenes de mercado y ciertas ventanas temporales.
Quien lo opere debe entender esto y no esperar PF constante.
═════════════════════════════════════════════════════════════
─────────────────────────────────────────────────────────────
USO RESPONSABLE
─────────────────────────────────────────────────────────────
► Valida el backtest tú mismo siempre.
► El sistema NO tiene stop loss fijo. Si esto choca con
tu gestión de riesgo, este sistema no es para ti.
► El sizing 125-200% implica apalancamiento. Ajusta a la baja
según tu tolerancia.
► Los resultados pasados no garantizan rendimientos futuros.
────────────────────────────────────────────────────────────
DISCLAIMER
────────────────────────────────────────────────────────────
Script publicado con fines educativos y de investigación.
No constituye recomendación de inversión ni asesoramiento
financiero personalizado.
La autora no es asesora financiera registrada. Cualquier
decisión de operar este sistema con capital real es
responsabilidad exclusiva del usuario.
El trading de instrumentos apalancados —especialmente
perpetuos de criptomonedas— conlleva riesgo sustancial de
pérdida del capital invertido. Nunca arriesgues capital
que no puedas permitirte perder.
La autora no se responsabiliza de pérdidas, daños o
perjuicios derivados del uso de este script.
═════════════════════════════════════════════════════════════
Sistema desarrollado y operado en el ITF26 Ibiza, mayo 2026.
— Mariel Lang Sáez
Trade It Simple
Chiến lược
Chỉ báo
Leno Logic Stack: BOS & CHoCHThe current script uses a fixed lookback. For your specific volume-based setups, you may want to add a volume > ta.sma(volume, 20) condition within the if statements to ensure that the structure break is "validated" by institutional participation.
Integration: Since you are tracking the interaction between price action and the VWMA 20, you could add a condition where a BOS label only prints if the close is above the ta.vwma(close, 20).
Chỉ báo
Roy Fibonacci Zone MeterROY FIBONACCI ZONE METER
Roy Fibonacci Zone Meter is an advanced Fibonacci-based market structure and zone strength indicator designed to help traders visualize market positioning, trend direction, support & resistance interaction, and real-time Fibonacci pressure zones in a clean and mobile-friendly dashboard.
Unlike traditional Fibonacci retracement tools that require manual drawing, this indicator automatically creates a dynamic Fibonacci channel using live market range detection and transforms it into a smart probability-based zone meter system.
This indicator is specially optimized for TradingView mobile users with a compact dashboard layout that minimizes chart clutter while still providing powerful market structure analysis.
━━━━━━━━━━━━━━━━━━
FEATURES
• Automatic Fibonacci Channel
• Smart Zone Strength Meter
• Uptrend / Downtrend / Sideway Detection
• Real-Time Price Position Analysis
• Dynamic Support & Resistance Zones
• Active Fibonacci Zone Detection
• Market Mode Analysis
• EMA Trend Filter
• Mobile-Friendly Compact Dashboard
• Dynamic Fibonacci Heatmap
• Zone Interaction Probability System
━━━━━━━━━━━━━━━━━━
FIBONACCI STRUCTURE
The indicator automatically calculates Fibonacci zones using the highest and lowest market range based on the selected lookback period.
Main Fibonacci Zones:
• 1.000 → Extreme Resistance
• 0.764 → Upper Resistance Zone
• 0.618 → Sell Pressure Zone
• 0.500 → Equilibrium / Golden Zone
• 0.382 → Mid Support Zone
• 0.236 → Lower Support Zone
• 0.000 → Extreme Support
━━━━━━━━━━━━━━━━━━
HOW TO READ THE INDICATOR
1. TREND
The Trend section automatically detects current market direction.
• UPTREND
→ Buyers are dominant.
• DOWNTREND
→ Sellers are dominant.
• SIDEWAY
→ Market is ranging without strong direction.
━━━━━━━━━━━━━━━━━━
2. ACTIVE ZONE
Shows the current Fibonacci area where price is trading.
Example:
0.382 ↔ 0.500
This means price is currently moving between the 0.382 and 0.500 Fibonacci zones.
━━━━━━━━━━━━━━━━━━
3. POWER
Displays the strongest Fibonacci interaction level currently affecting the market.
Example:
99% VERY STRONG
This means price is heavily interacting with an important Fibonacci zone and reaction probability is high.
━━━━━━━━━━━━━━━━━━
4. POSITION %
Shows where current price is located within the entire Fibonacci range.
Example:
• 80%+ → Near upper resistance
• 50% → Equilibrium zone
• Below 30% → Near support area
━━━━━━━━━━━━━━━━━━
5. MARKET MODE
The indicator detects current market behavior.
Possible readings:
• ACCUMULATION
→ Sideway / balance market.
• BULL FLOW
→ Healthy bullish continuation.
• BULL EXP
→ Strong bullish expansion.
• BEAR FLOW
→ Healthy bearish continuation.
• BEAR EXP
→ Strong bearish expansion.
━━━━━━━━━━━━━━━━━━
6. BIAS
Shows current market bias.
Possible readings:
• BUY AREA
• SELL AREA
• TAKE PROFIT AREA
• NEUTRAL
• WAIT
This helps traders identify possible market conditions without relying on traditional buy/sell signals.
━━━━━━━━━━━━━━━━━━
7. FIB ZONE METER
The Fibonacci Zone Meter displays the interaction strength between current price and each Fibonacci level.
Higher percentage means:
• Price is closer to that Fibonacci level
• Market interaction is stronger
• Higher probability of support/resistance reaction
Example:
0.382 → 99%
This means price is strongly interacting with the 0.382 support zone.
━━━━━━━━━━━━━━━━━━
HOW TO USE
BEST METHOD:
1. Identify overall trend direction
2. Observe Active Zone location
3. Watch which Fibonacci zone has highest strength
4. Combine with:
• Price Action
• Volume
• EMA Trend
• Market Structure
• Liquidity Sweep
• Higher Timeframe Confirmation
━━━━━━━━━━━━━━━━━━
EXAMPLE USAGE
UPTREND:
• Wait for retracement into:
• 0.382
• 0.500
• 0.618
• Look for bullish candle confirmation.
DOWNTREND:
• Wait for pullback into resistance zones.
• Watch for bearish rejection.
SIDEWAY MARKET:
• Trade inside support & resistance ranges carefully.
━━━━━━━━━━━━━━━━━━
BEST TIMEFRAMES
• Scalping → M1 / M5
• Intraday → M15 / M30
• Swing → H1 / H4
• Position → Daily
━━━━━━━━━━━━━━━━━━
DISCLAIMER
This indicator is designed for educational and analytical purposes only. Always use proper risk management before entering any trade.
Chỉ báo
Polar Auto Fibonacci Pro - [Rehan Khanani]Polar AutoFib Pro
Polar AutoFib Pro is a professional all-in-one trading indicator that combines two powerful systems into a single clean overlay—a trend-following buy/sell signal engine and an automatic Fibonacci retracement tool. No need to juggle multiple indicators; everything you need is right here on the chart.
─────────────────────────────
HOW IT WORKS
─────────────────────────────
This indicator runs two engines simultaneously:
Engine 1 — PolarEdge Signal System
Generates high-probability Buy and Sell signals by combining three confirmations:
1. EMA 200 — The primary trend filter. When the price is above the EMA, the system looks for Buy setups. When the price is below, it looks for Sell setups. This keeps you trading with the dominant trend at all times.
2. Supertrend — A dynamic volatility-based band that confirms trend direction. The green band confirms bullish momentum; the red band confirms bearish momentum.
3. RSI (Relative Strength Index) — Used as a momentum trigger. A BUY signal fires when RSI crosses up from the oversold zone (default 30). A SELL signal fires when RSI crosses down from the overbought zone (default 70).
All three conditions must align simultaneously—this triple-confirmation logic filters out weak and false signals.
Engine 2 — Auto Fibonacci Retracement
Automatically detects the most recent swing high and swing low using pivot point calculations, then draws the complete Fibonacci retracement grid in real time — no manual drawing required.
The indicator identifies whether the last major pivot was a high or a low, determines the swing direction, and plots all key levels accordingly. When a new swing forms, the levels update automatically.
─────────────────────────────
FIBONACCI LEVELS INCLUDED
─────────────────────────────
0 / 0.236 / 0.382 / 0.5 / 0.618 / 0.786 / 1
1.618 / 2.618 / 3.618 / 4.236
Each level is independently toggleable with its own color control. You can show values as decimals or as percentages. Labels can be positioned on the left or right side of the chart. Line extension can be set to Left, Right, or Both directions.
─────────────────────────────
KEY FEATURES
─────────────────────────────
- Triple-confirmation Buy/Sell signals (EMA + Supertrend + RSI)
- Automatic Fibonacci retracement — no manual drawing needed
- Real-time swing detection using pivot high/low logic
- Dynamic trend background (subtle green/red shading behind candles)
- 11 fully customizable Fibonacci levels with individual color pickers
- Toggle each Fib level on/off independently
- Show prices and/or level values on labels
- Labels position: Left or Right
- Line extension: Left, Right, or Both
- Reverse Fib direction toggle
- Works on all assets: Forex, Crypto, Commodities, Indices, Stocks
- Works on all timeframes
- 6 built-in alert conditions (see Alerts section below)
─────────────────────────────
SETTINGS GUIDE
─────────────────────────────
Group 1 — PolarEdge Signal Settings
- Trend Baseline EMA: Period for the main trend filter (default 200)
- RSI Length: RSI calculation period (default 14)
- RSI Overbought Level: Sell trigger threshold (default 70)
- RSI Oversold Level: Buy trigger threshold (default 30)
- Show EMA 200: Toggle the EMA line on/off
- Show Supertrend Bands: Toggle the Supertrend lines on/off
Group 2 — Auto Fibonacci Settings
- Pivot Depth: Number of bars to look back for swing detection (default 10). Lower = more sensitive, Higher = fewer but stronger pivots
- Reverse Fib Direction: Flips the Fib measurement direction
- Extend Left / Right: Controls how far Fib lines extend on the chart
- Show Prices: Displays exact price on each level label
- Show Level Values: Displays the Fib ratio on each level label
- Level Format: Choose between decimal values or percentage display
- Labels Position: Place labels on the Left or Right side
Group 3 — Fibonacci Levels
- Toggle each of the 11 levels individually
- Customize the value and color of every level
─────────────────────────────
ALERT CONDITIONS (6 Total)
─────────────────────────────
1. BUY Alert — fires on every confirmed Buy signal
2. SELL Alert — fires on every confirmed Sell signal
3. Any Signal — fires on either Buy or Sell
4. Fib 0.618 Cross — price crosses the Golden Ratio level
5. Fib 0.5 Cross — price crosses the midpoint level
6. Fib 0.382 Cross — price crosses the key retracement level
To activate: click the alarm clock icon on the indicator, select your desired condition, and set your notification method.
─────────────────────────────
HOW TO USE
─────────────────────────────
Step 1 — Identify trend direction using the EMA 200 and the background color. Green background means bullish bias; red background means bearish bias.
Step 2 — Watch for a BUY or SELL label to appear. This confirms all three conditions (EMA, Supertrend, RSI) have aligned.
Step 3 — Use the automatically drawn Fibonacci levels to plan your entry, stop loss, and take profit targets. Common setups: enter near the 0.382 or 0.5 retracement, target the 0 or -0.236 extension, stop below the 0.618 or 0.786 level.
Step 4 — Set alerts on your preferred Fibonacci levels to be notified when price reaches key zones.
─────────────────────────────
RECOMMENDED TIMEFRAMES
─────────────────────────────
- Scalping: 1m, 5m, 15m
- Intraday: 30m, 1H
- Swing Trading: 4H, Daily
- Position Trading: Weekly
The indicator adapts to any timeframe automatically.
─────────────────────────────
DISCLAIMER
─────────────────────────────
This indicator is a technical analysis tool designed to assist in identifying potential trading opportunities. It does not guarantee future results. Always apply proper risk management and conduct your own analysis before entering any trade. Past signal performance is not indicative of future results.
Chỉ báo
Jose Daily EMA 9/21/50/100/200Jose Daily EMA 9/21/50/100/200 plots fixed daily exponential moving averages on any chart timeframe. The indicator displays the 9, 21, 50, 100, and 200-day EMAs using daily data, so the levels remain based on the daily timeframe even when viewing intraday charts such as 1-minute, 5-minute, or 15-minute.
This tool is useful for identifying higher-timeframe trend direction, dynamic support and resistance, pullback zones, and key reaction areas during intraday trading. The shorter EMAs help track momentum, while the 50, 100, and 200-day EMAs provide broader market context.
Key features:
Fixed daily EMA levels
Works on any chart timeframe
Includes 9, 21, 50, 100, and 200-day EMAs
Helpful for scalping, day trading, breakout trading, and trend analysis
Designed to avoid EMA changes when switching chart timeframes
Chỉ báo
UT Bot Alerts + 200 EMA FilterThis indicator optimizes the classic UT Bot Alerts logic by fusing it with an institutional-grade trend filter (200 EMA). While the standard UT Bot is incredibly powerful at catching micro-trends, it is notoriously prone to severe "choppy market" losses and false entries when a market consolidates.
This script solves that vulnerability. It dynamically filters out counter-trend noise, ensuring you only receive execution-ready signals that align with the macro momentum of the market.
Chỉ báo
Chỉ báo
[ A L P H A X ] SURGEAlphaX SURGE — Liquidity Sweep + Market Structure + Premium/Discount Confluence Engine: Smart Money Concepts with 6-Layer Institutional Entry System, HTF Bias Filter & Order Block Detection
AlphaX SURGE is a professional-grade smart money concepts system built around the three foundational mechanics that drive institutional price delivery: liquidity sweeps, market structure shifts, and premium/discount zone positioning. Where most SMC indicators simply draw labels on a chart, SURGE integrates these concepts into a live 6-layer confluence scoring engine that only fires when a genuine liquidity grab, a confirmed structure event, correct PD zone positioning, higher timeframe bias alignment, squeeze momentum, and volume delta pressure are all pointing in the same direction simultaneously. The result is a system that reads the market the way institutional traders do — not chasing breakouts, not entering on arbitrary crossovers, but waiting for the precise sequence of events that precedes the highest-probability directional moves. Designed for active traders across crypto, forex, gold, and indices on any timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏦 The Smart Money Framework — How Institutions Move Price
To understand AlphaX SURGE, you first need to understand the three-phase institutional trade cycle that the system is designed to detect.
Phase 1 — Liquidity Accumulation:
Institutions need massive order size. They cannot fill that size at a single price — they need a pool of counterparty orders. Retail stop losses clustered below swing lows (sell-side liquidity) and above swing highs (buy-side liquidity) are that pool. Before a major directional move, institutions deliberately push price into these liquidity pools to trigger stops and fill their positions against the retail orders being stopped out.
Phase 2 — Structure Shift:
After the liquidity grab, the institution has filled its position. Now price reverses aggressively. This reversal breaks the prior market structure — creating either a Change of Character (CHoCH) if it reverses the previous trend, or confirming a Break of Structure (BOS) continuation if it aligns with the existing trend. The structure event is the confirmation that the liquidity sweep was genuine, not noise.
Phase 3 — Delivery:
With positions filled and structure confirmed, the institution delivers price to its target. This delivery phase is what SURGE is designed to capture — entering at the moment the sweep and structure confirmation align with the broader institutional context.
AlphaX SURGE does not simply detect these phases independently. It requires them to occur in the correct sequence and within a qualifying multi-layer confluence environment before any signal fires.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💧 Liquidity Sweep Detection
The sweep detection engine identifies the moment institutions grab liquidity from a significant swing level. Every swing high and swing low is tracked in real time using a configurable pivot length (default: 5 bars). These levels represent the two most important current liquidity pools — the sell-side liquidity (SSL) below the most recent swing low, and the buy-side liquidity (BSL) above the most recent swing high.
Bull Liquidity Sweep (SSL Grab):
The bar's low extends below the tracked swing low level by at least the minimum sweep wick threshold (default: 0.05× ATR)
The bar closes back above the swing low level — confirming the wick was a grab, not a genuine breakdown
The bar closes bullish (close above open) — confirming buying pressure on the reversal close
Bear Liquidity Sweep (BSL Grab):
The bar's high extends above the tracked swing high level by at least the minimum wick threshold
The bar closes back below the swing high level
The bar closes bearish — confirming selling pressure on the reversal close
The minimum sweep wick filter is a critical quality gate. Without it, any bar that briefly touches a swing level and reverses would register as a sweep. The ATR-normalized wick requirement ensures the grab extended far enough below or above the level to genuinely trigger stop orders — not just grazed the level on low momentum.
Sweep recency: To accommodate the reality that entry signals often develop one bar after the sweep rather than on the sweep bar itself, SURGE accepts sweeps from the current or immediately preceding bar. This one-bar lookback prevents missed entries on fast-moving setups where the structure confirmation fires on the bar immediately following the sweep candle.
Visual output: Every confirmed sweep is marked with a diamond shape — yellow-green below the bar for bull sweeps, red above for bear sweeps — providing instant visual identification of every liquidity grab on the chart.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 Market Structure Engine — BOS & CHoCH
The market structure engine runs a real-time tracking system for the current structural trend and identifies every significant structure event as it occurs.
Structural trend tracking:
The engine continuously tracks the most recent confirmed swing high and swing low. When price closes above the most recent swing high, a bullish structure break is detected. When price closes below the most recent swing low, a bearish structure break is detected. The structural trend variable updates on every such event — shifting between bullish (1) and bearish (-1) states.
Change of Character (CHoCH):
A CHoCH occurs when a structure break happens in the opposite direction of the current structural trend. A bullish CHoCH means price was in a bearish structural trend and has now broken above a swing high — the character of the market has changed. A bearish CHoCH is the inverse. CHoCH events are the highest-quality structure signals in the system — they represent a genuine reversal of the institutional order flow direction. Labeled on the chart in orange.
Break of Structure (BOS):
A BOS occurs when a structure break aligns with the current structural trend — a continuation event. A bullish BOS in a bullish trend confirms the uptrend is intact. A bearish BOS in a bearish trend confirms the downtrend continues. Labeled on the chart in yellow-green (bull) or red (bear).
Signal type control:
Two settings independently toggle which structure types can trigger signals:
Allow CHoCH Reversal Setups — enables signals on trend-reversal structure events. These are typically the highest-reward setups but require the sweep and confluence conditions to be exceptionally strong
Allow BOS Continuation Setups — enables signals on trend-continuation structure events. These are typically higher-frequency and occur within established directional flows
Both can be enabled simultaneously, giving SURGE the ability to detect both reversal and continuation setups across all market conditions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📦 Order Block Detection & Visualization
Every confirmed structure event automatically spawns an Order Block — the institutional supply or demand zone that preceded the structure break. Order blocks represent the price range where the institutional position was built before the delivery move.
How order blocks are spawned:
When a bullish CHoCH or bullish BOS is confirmed, SURGE looks back up to the configured lookback period (default: 12 bars) to find the most recent bearish candle prior to the structure break — the last selling candle before the institutional buying move began. The high and low of that candle become the bull order block zone.
When a bearish CHoCH or bearish BOS is confirmed, SURGE looks back to find the most recent bullish candle — the last buying candle before the institutional selling move began. That candle's range becomes the bear order block zone.
Why this candle: The last opposing candle before a major directional move is where institutions were absorbing the final counterparty orders. It is the true origin of the move — and the zone where unfilled institutional orders are most likely to remain, making it the natural magnet for price on any retest.
Order block visualization: Each order block is rendered as a semi-transparent box extending forward by the configured number of bars (default: 20). Bull order blocks are shaded yellow-green; bear order blocks in red. The most recent active order block of each direction is tracked by the confluence system.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚖ Premium / Discount Zone Engine
The Premium/Discount framework is one of the most powerful filtering tools in institutional price action analysis. It answers a simple question: is price currently cheap or expensive relative to the recent dealing range?
Dealing range calculation:
On every bar, SURGE calculates the highest high and lowest low over the configured range length (default: 50 bars). The midpoint of this range is the Equilibrium level — the 50% point of the current dealing range, plotted as a purple dotted line on the chart.
Discount zone: Price at or below equilibrium. From an institutional perspective, price is cheap — this is where smart money buys. Bull entries in discount align with the institutional buying thesis.
Premium zone: Price at or above equilibrium. Price is expensive — this is where smart money sells. Bear entries in premium align with the institutional selling thesis.
Why this filter dramatically improves accuracy: A bullish sweep and structure confirmation at premium prices is a low-quality setup — you are buying at the top of the range where institutions are looking to distribute, not accumulate. The same bullish setup in discount is a structurally superior entry — buying at the institutional accumulation zone where the reward-to-risk profile is fundamentally better. The PD zone filter enforces this discipline automatically, blocking counter-PD setups before they reach the confluence gate.
The PD filter can be toggled off for traders who prefer to trade all qualifying setups regardless of range position — useful on strongly trending markets where price consistently stays on one side of equilibrium.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📡 HTF Bias Filter — Multi-Timeframe Alignment
The Higher Timeframe Bias filter is one of the most consequential filters in the entire system. A setup that occurs against the higher timeframe trend is a counter-trend trade — it may look compelling on the current timeframe but is fighting the dominant institutional flow.
How it works:
SURGE pulls two EMAs from the configured higher timeframe (default: 60-minute) — a fast EMA (default: 21) and a slow EMA (default: 55). When the fast HTF EMA is above the slow HTF EMA, the higher timeframe trend is bullish. When below, it is bearish.
Bull bias: Fast HTF EMA above slow HTF EMA — the higher timeframe institutional flow is upward. Bull setups on the current timeframe are with-trend trades.
Bear bias: Fast HTF EMA below slow HTF EMA — the higher timeframe flow is downward. Bear setups are with-trend trades.
The power of HTF alignment in SMC trading: A bullish sweep and CHoCH on M5 in the direction of a confirmed H1 uptrend is a fundamentally different trade from the same setup occurring against an H1 downtrend. The HTF filter ensures SURGE only fires setups where the current timeframe structure event is aligned with the broader institutional delivery direction — the single highest-quality filter available for SMC-based systems.
The HTF timeframe is fully configurable. For M1–M5 scalping, H1 is the default. For M15–H1 trading, H4 or Daily is recommended.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 The 6-Layer Confluence Engine
All six layers score independently on every bar. A signal only fires when the score meets the configured minimum (default: 4 of 6), the sweep condition is active, a qualifying structure event has occurred, and the ADX, session, and cooldown conditions are met.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 1 — Liquidity Sweep
The foundational layer. Awards 1 point when a qualifying liquidity sweep (SSL for bull, BSL for bear) has occurred on the current or immediately preceding bar. This layer is also a hard requirement — regardless of the confluence score, no SURGE signal can fire without a recent sweep. This is the event that initiates the institutional sequence. Without a genuine liquidity grab, the setup is not a SURGE setup.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 2 — Market Structure
Awards 1 point when the current structural trend agrees with the signal direction — a bullish structural trend for bull signals, bearish for bear. The structure layer also enforces the structure type requirement : a qualifying CHoCH or BOS must have occurred (subject to the Allow CHoCH / Allow BOS settings) for a signal to fire. Structure is both a scoring layer and a hard prerequisite, identical to the sweep requirement.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 3 — Premium / Discount Zone
Awards 1 point when price is in the correct PD zone for the signal direction — discount for bull signals, premium for bear signals. When the PD filter setting is off, this layer always votes in favor. This layer encodes the institutional value positioning principle: buy cheap, sell expensive.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 4 — HTF Bias
Awards 1 point when the higher timeframe EMA structure agrees with the signal direction. This is the multi-timeframe alignment layer — the most macro of the six confluence inputs. When HTF bias is disabled in settings, this layer always votes in favor.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 5 — Squeeze Momentum
The TTM Squeeze momentum layer — identical to the implementation in Pulse Scalper and VOID. When the Bollinger Band/Keltner Channel squeeze fires with directional momentum (positive and rising for bull, negative and falling for bear), this layer votes. The orange squeeze background tint provides pre-signal awareness when energy is compressing. A SURGE setup that coincides with a squeeze release means the SMC structure event and the breakout energy event are occurring simultaneously — one of the highest-quality convergences the system can detect.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 6 — Volume Delta
The proprietary volume pressure model — splitting each candle's volume into estimated bull and bear components, confirmed by OBV slope. This layer confirms that real institutional capital flow is behind the sweep and structure move. A liquidity sweep with no volume delta confirmation is a weak, potentially algorithmic sweep. A sweep with strong volume delta agreement means genuine order flow drove the grab — the highest-quality sweep condition.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏷 Signal Firing Logic
A SURGE signal fires when all of the following are simultaneously true:
A qualifying liquidity sweep occurred on the current or immediately preceding bar (hard requirement — independent of scoring)
A qualifying structure event (CHoCH or BOS per settings) has confirmed the structural direction (hard requirement)
Confluence score meets or exceeds the configured minimum (default: 4 of 6)
VWAP bias confirms — price above VWAP for bull, below for bear (when VWAP filter is enabled)
ADX confirms a trending market above the minimum threshold
Session filter confirms active market hours
Signal cooldown has elapsed since the last signal in the same direction (default: 10 bars)
Edge triggering: The signal fires only on the bar the conditions first become true — not repeatedly while they remain true. Each triangle is a distinct, fresh setup event.
Score label: Every signal prints the live confluence count (e.g., 5/6 or 6/6 ) directly on the chart so you know the quality of every setup at a glance.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Sweep-Anchored Stop Loss Placement
SURGE includes a purpose-built stop loss mode specifically designed for liquidity sweep setups: SL Beyond Sweep Wick (default: on).
When enabled, the stop loss for a bull entry is placed at the tracked swing low level (the level that was swept) minus an ATR buffer. For a bear entry, the stop is placed at the tracked swing high level plus an ATR buffer.
Why this is the structurally correct stop for sweep setups: The sweep wick represents the maximum extent of the institutional grab. If price returns below the swept swing low (bull) and closes there, the sweep thesis is invalidated — institutions were not grabbing that liquidity for a reversal, the level was genuinely broken. Placing the stop at the swept level is therefore not an arbitrary distance — it is the exact price at which the setup's core premise is proven wrong.
When this setting is off, the stop reverts to a standard ATR distance from the entry bar's low or high.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🛡 Dynamic ATR Exit System
Stop Loss: Placed at the swept swing level (when enabled) or bar extreme, plus an ATR buffer (default: 1.3×). Your structural invalidation boundary.
TP1 — Partial Target (50%): 2.0× ATR from entry — slightly wider than the Pulse Scalper and VOID defaults, reflecting the higher-conviction, lower-frequency nature of SURGE setups. Scale out 50% here and move the remainder to breakeven.
TP2 — Full Target: 3.8× ATR from entry. Full position exits on TP2 hit. A labeled TP marker appears on the chart.
ATR Trailing Stop: Dynamic stop advancing with price every bar at 1.6× ATR behind the current bar's extreme. Plotted as a live orange line. In genuine institutional delivery moves following a sweep, price frequently extends well beyond the fixed TP2 — the trail captures this extension without predetermining a ceiling on the gain.
All exit levels are plotted as live lines for the duration of the trade and cleared automatically on exit.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Dashboard
The real-time dashboard displays the complete internal state across four sections, updated on every bar.
STRUCTURE
Trend — current market structure state: ▲ BULLISH, ▼ BEARISH, or — RANGE. This reflects the confirmed structural trend as tracked by the BOS/CHoCH engine
Liquidity — live sweep detection status: ▲ SSL SWEEP (sell-side grab, bullish signal) or ▼ BSL SWEEP (buy-side grab, bearish signal). Updates in real time on sweep bars
PD Zone — current premium/discount position: ◧ DISCOUNT, ◧ PREMIUM, or — EQ (at equilibrium). Color-coded yellow-green for discount, red for premium
HTF / SESSION
HTF Bias — higher timeframe EMA alignment: ▲ BULL or ▼ BEAR. Confirms whether the macro institutional flow supports the current setup direction
Session — ✓ ACTIVE or ✗ OFF. Confirms whether the session filter is open for signals
ADX — live ADX value with ✓ or ✗ pass/fail indicator
CONFLUENCE
Momentum — squeeze and directional momentum state: ⚡ SQZ (squeeze building), ▲ or ▼ for directional momentum, or — for flat
Vol Delta — volume pressure direction: ▲ BULL, ▼ BEAR, or —
Bull Score — live 0–6 score. Background highlights yellow-green when threshold is met
Bear Score — live 0–6 score. Background highlights red when threshold is met
POSITION
Position — ▲ LONG, ▼ SHORT, or — FLAT with background color highlight
Stop Loss — active SL level (sweep-anchored or ATR-based), color-coded by direction
TP1 — active first take-profit level
Bars in Trade — bars elapsed since entry
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Chart Visual System
◆ Diamond (below bar, yellow-green) — bull liquidity sweep confirmed. SSL grabbed with close back above the swing low
◆ Diamond (above bar, red) — bear liquidity sweep confirmed. BSL grabbed with close back below the swing high
CHoCH ▲ / CHoCH ▼ label (orange) — Change of Character detected. Trend reversal structure event
BOS ▲ / BOS ▼ label (yellow-green / red) — Break of Structure detected. Trend continuation structure event
▲ Triangle (below bar) — bull SURGE entry. All conditions met
▼ Triangle (above bar) — bear SURGE entry. All conditions met
Score Label (e.g. 5/6) — confluence count at signal time on every entry triangle
Order Block Boxes — semi-transparent zones marking institutional supply and demand origins. Yellow-green for bull OBs, red for bear OBs
Liquidity Level Lines — dashed lines projecting the current swing high (sell-side liquidity, red dashed) and swing low (buy-side liquidity, yellow-green dashed) forward
Equilibrium Line (purple dots) — the 50% midpoint of the current dealing range
EMA Ribbon Fill — yellow-green fill during bull EMA structure, red during bear, gray during flat
VWAP Line (purple) — optional, toggleable session VWAP
Orange Squeeze Background — active during Bollinger/Keltner squeeze compression
Yellow-green background tint — active during open long trades
Red background tint — active during open short trades
SL / TP1 / TP2 / Trail Lines — all four exit levels plotted live for the duration of every trade
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX SURGE — Step by Step
Step 1 — Establish Context Before the Session
Check the dashboard: what is the current structural trend and HTF bias? If both show the same direction, you have macro confluence — prioritize setups in that direction
Check the PD Zone row: is price currently in discount (favor longs) or premium (favor shorts)? Price at equilibrium is the lowest-quality PD position — wait for it to develop to one side
Note where the liquidity level lines are on the chart — these dashed lines mark exactly where the next sweep targets are sitting
Step 2 — Watch for a Sweep Diamond
A yellow-green ◆ diamond below the bar signals an SSL grab — the sweep phase has occurred. The system is now in active scan mode for a SURGE signal
A red ◆ diamond above the bar signals a BSL grab
The sweep is the trigger for your attention — not the entry signal. The entry comes next
Step 3 — Confirm the Structure Event
Watch for a CHoCH or BOS label to appear following the sweep. A CHoCH after a sweep is the highest-quality sequence — institutional grab followed by genuine trend reversal confirmation
Check the confluence scores on the dashboard. After a sweep, the bull or bear score should be climbing toward the threshold as the structure, PD, and momentum layers align
Step 4 — Enter on the SURGE Triangle
A ▲ triangle confirms all conditions are met for a long. A ▼ triangle confirms all conditions for a short
Read the score label. A 6/6 signal means every layer — sweep, structure, PD zone, HTF bias, momentum, and volume — are all aligned simultaneously. These are the highest-conviction setups SURGE produces and warrant full position size
A 4/6 or 5/6 signal is still a valid SURGE entry — standard position size, strict stop management
Step 5 — Manage with Live Exit Lines
The SL line is your swept level invalidation. If the sweep level is retaken cleanly, the setup thesis is gone
Watch the orange trail line advance with price as the institutional delivery move develops
At TP1, scale out 50% and move the remainder to breakeven — let the trail capture the full delivery
Step 6 — Exit and Reset
A TP marker confirms TP2 reached — full exit and system reset
An SL marker confirms stop or trail triggered — close the position and wait for the next sweep event to develop
Do not re-enter on impulse after a stopped trade. The swept level that was just violated is now the new liquidity target for the next setup. Wait for the next clean sweep and structure sequence
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying Low-Quality Conditions — When Not to Trade
Stand aside when:
HTF Bias opposes the setup direction — a bullish sweep and CHoCH against an H1 downtrend is a counter-trend reversal trade. The institutional macro flow is working against you. These setups fail at a much higher rate than with-trend entries
PD Zone is wrong for the direction — a bull setup in premium or a bear setup in discount means you are entering at the institutionally unfavorable side of the range. Wait for price to correct to the appropriate zone
Sweep occurred but no CHoCH or BOS followed — a sweep without structure confirmation means the liquidity grab did not produce a genuine reversal or continuation. The institution may have filled only part of its position. Wait for structure to develop
ADX ✗ — the market is not trending. SMC concepts work best in directional markets. In ranging conditions, sweeps are frequently noise events rather than institutional accumulation
Score stuck at 2 or 3 of 6 after a sweep — the confluence environment is too fragmented. Too many layers are disagreeing. A sweep in isolation is not a trade
Multiple sweeps in rapid succession without entry signals — choppy markets produce repeated liquidity grabs in both directions. The confluence gate will block most of these, but the underlying message is that the market is in an oscillating range — not the institutional delivery environment SURGE is designed for
Structure trend and HTF bias are both — or FLAT — no clear institutional direction exists. No SURGE setup can develop until structural bias is established
What to do:
Wait for HTF bias and structural trend to align in the same direction — this is the macro setup condition for the highest-quality SURGE signals
Wait for price to reach the correct PD zone for the anticipated direction before the sweep occurs — the ideal sequence is: price in discount, SSL sweep, bullish CHoCH, 5–6/6 confluence signal
Watch the liquidity level lines — price approaching a level is the pre-alert that a sweep may be imminent. Prepare your confluence scan as price approaches those lines
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
💧 Real-time liquidity sweep detection — identifies SSL and BSL grabs with minimum ATR wick filter and close-back confirmation, eliminating noise sweeps
📐 Full market structure engine — tracks swing highs and lows, detects CHoCH and BOS events, maintains a live structural trend state
📦 Automatic order block detection — spawns OB zones on every confirmed structure event, marking the exact institutional origin of each move
⚖ Premium/Discount zone filter — enforces institutionally correct entry positioning using a dynamic equilibrium level across the recent dealing range
📡 HTF bias filter — pulls a dual-EMA structure from a configurable higher timeframe to confirm macro institutional flow alignment
🧠 6-layer confluence gate — Sweep, Structure, PD Zone, HTF Bias, Squeeze Momentum, and Volume Delta must reach the minimum score threshold before a signal fires
📊 Live confluence scoring — bull and bear scores updated every bar, displayed on the dashboard before any signal appears
🔀 CHoCH / BOS signal type control — independently enable reversal setups, continuation setups, or both
🎯 Sweep-anchored stop loss — places the SL at the structural invalidation level (the swept swing point) rather than an arbitrary ATR distance
⚡ TTM Squeeze integration — Bollinger/Keltner compression detection flags pre-breakout energy with orange background tint and dashboard state
📈 Proprietary volume delta model — estimates institutional order flow pressure without exchange-level data, confirmed by OBV slope
🌐 VWAP session bias — enforces institutional session direction alignment on every signal
🛡 Dynamic ATR trailing stop — orange line advances with price every bar, capturing full institutional delivery moves beyond the fixed TP2
💹 Liquidity level lines — dashed projections of the current swing high and swing low showing exactly where the next liquidity pools sit
📊 22-row live dashboard — Structure, HTF/Session, Confluence, and Position sections updated in real time
🔔 12 alert conditions — sweep events, CHoCH events, entry signals, TP1/TP2 hits, and stop hits for both directions
🎨 Fully cohesive dual-tone color system — yellow-green for all bullish elements, red for all bearish, orange for squeeze and trail, purple for VWAP and equilibrium
⚙ Fully configurable — all pivot lengths, OB parameters, PD range, HTF timeframe and EMA periods, confluence minimum, ADX threshold, exit multipliers, session window, and all colors are independently adjustable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Structure & Liquidity
Swing Pivot Length — bars used for pivot high/low detection. Controls the significance of swing levels tracked for sweeps and structure (default: 5)
Show BOS / CHoCH Labels — toggle structure event labels on the chart
Show Liquidity Levels — toggle the dashed swing high and swing low projection lines
Liquidity Line Extend — how many bars forward the liquidity level lines project (default: 25)
Min Sweep Wick (ATR x) — minimum wick extension beyond the swing level required to register a sweep (default: 0.05× ATR)
Order Blocks
Show Order Blocks — toggle OB zone boxes on or off
Max Order Blocks — maximum OBs stored in memory simultaneously (default: 25)
OB Extend (bars) — how many bars forward OB boxes project (default: 20)
OB Lookback Bars — how many bars back to search for the origin candle when spawning an OB (default: 12)
Premium / Discount
Show Equilibrium Line — toggle the dealing range midpoint line
Dealing Range Length — bars used to calculate the high/low range for PD zone positioning (default: 50)
Require Correct PD Zone — when on, longs require discount positioning and shorts require premium positioning (default: on)
HTF Bias
Use HTF Trend Filter — toggle the higher timeframe bias requirement
HTF Timeframe — the higher timeframe to pull EMA data from (default: 60-minute)
HTF Fast EMA — fast EMA period on the HTF (default: 21)
HTF Slow EMA — slow EMA period on the HTF (default: 55)
EMA Ribbon
Fast / Slow / Signal EMA — triple ribbon periods (defaults: 8 / 21 / 50)
Show EMA Ribbon — toggle ribbon fill and line plots
Squeeze Momentum
BB Length / BB Mult — Bollinger Band parameters (defaults: 20 / 2.0)
KC Length / KC Mult — Keltner Channel parameters (defaults: 20 / 1.5)
Momentum Length — linear regression momentum period (default: 12)
Volume Delta
Volume MA Length — EMA smoothing for volume estimates (default: 14)
OBV Slope Length — lookback for OBV slope directionality (default: 10)
VWAP
Use VWAP Filter — when on, requires price to be on the correct VWAP side for each signal direction
Show VWAP Line — toggle VWAP line on the chart
Confluence Gate
Min Layers Required — minimum confluence votes needed for a signal (default: 4 of 6)
Session Filter — toggle active hours restriction
Active Session — configurable session window (default: 0700-2000)
Signal Cooldown — minimum bars between consecutive signals in the same direction (default: 10)
Allow CHoCH Reversal Setups — enables signals on trend-reversal structure events
Allow BOS Continuation Setups — enables signals on trend-continuation structure events
ADX Filter
Use ADX Filter — toggle the trend quality gate
ADX Length — calculation lookback (default: 14)
ADX Minimum — threshold below which all signals are suppressed (default: 18)
Exit Settings
ATR Length — lookback for all ATR exit calculations (default: 10)
SL ATR Mult — ATR buffer beyond the swept swing level (default: 1.3)
TP1 ATR Mult — first take-profit distance (default: 2.0)
TP2 ATR Mult — full exit target distance (default: 3.8)
Use ATR Trailing Stop — toggle dynamic trailing stop
Trail ATR Mult — trailing distance from current bar's extreme (default: 1.6)
Show Exit Levels — toggle all exit level lines
SL Beyond Sweep Wick — anchors stop to the swept swing level (default: on)
Display
Show Confluence Score Label — prints live score on every signal triangle
Show Dashboard — toggle the full dashboard
Dashboard Position — Top Left / Top Right / Bottom Left / Bottom Right
Colors
Bull / Bull Bright — yellow-green family for all bullish signals, fills, and labels
Bear / Bear Bright — red family for all bearish signals, fills, and labels
Squeeze — orange for squeeze tint and trailing stop line
EMA Fast / Slow / Signal — individual EMA line colors
Ribbon Fill Bull / Bear / Flat — ribbon fill colors for each trend state
Buy-Side / Sell-Side Liquidity — liquidity level line colors
Bull / Bear Order Block — OB box fill and border colors
Equilibrium Line — dealing range midpoint color (default: purple)
VWAP Line — VWAP plot color
BOS Bull / BOS Bear / CHoCH — structure label colors
Bull / Bear Sweep Marker — sweep diamond colors
SL / TP / TP2 / Trail Lines — individual exit level line colors
Long Zone BG / Short Zone BG — active trade background tints
Bull / Bear Label Text — score label text colors
Dash Text / Dash BG / Dash Header / Dash Section / Dash Frame — full dashboard color control
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions (12 total)
Liquidity Alerts
Bull Liquidity Sweep — sell-side liquidity grabbed, watch for long setup development
Bear Liquidity Sweep — buy-side liquidity grabbed, watch for short setup development
Structure Alerts
Bull CHoCH — bullish Change of Character confirmed, structural trend shifting to bullish
Bear CHoCH — bearish Change of Character confirmed, structural trend shifting to bearish
Entry Alerts
Bull SURGE Entry — all conditions met: sweep, structure, confluence, ADX, session
Bear SURGE Entry — all conditions met for a short institutional sweep entry
Exit Alerts
Bull TP1 Hit — scale out 50% of long position
Bull TP2 Hit — full long position exit
Bull Stop Hit — stop loss or trail triggered on long
Bear TP1 Hit — scale out 50% of short position
Bear TP2 Hit — full short position exit
Bear Stop Hit — stop loss or trail triggered on short
All alert messages are formatted as const strings for clean webhook and notification platform integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Recommended Settings by Instrument & Timeframe
The default configuration is optimized for XAUUSD, major forex pairs, and crypto on M1–M15 :
Min Layers at 4/6 — strong confluence while accounting for the complexity of the 6-layer system
HTF at 60-minute — provides meaningful higher timeframe context for intraday M1–M15 setups
Sweep wick at 0.05× ATR — sensitive enough to catch genuine institutional grabs without registering micro-noise sweeps
SL Beyond Sweep Wick on — structurally anchored stop placement at the institutional invalidation level
Allow CHoCH and BOS both on — captures both reversal and continuation setups in the full range of institutional delivery scenarios
For other instruments or timeframes, adjust:
Higher timeframes (H1, H4) — set HTF to Daily or Weekly, increase Swing Pivot Length to 8–10, increase TP2 to 5.0–6.0× ATR, raise Min Confidence to 5/6
Crypto (BTC, ETH) — increase Min Sweep Wick to 0.1–0.15× ATR to filter out the higher frequency of noise sweeps in volatile crypto sessions, increase KC Mult to 2.0
Indices (NAS100, US30) — tighten session to 09:30–16:00, increase ADX minimum to 22, set HTF to H4 for intraday M5–M15 trading
CHoCH-only mode — disable Allow BOS Continuation, raise Min Layers to 5/6. This produces the fewest signals but each represents a genuine trend reversal with maximum institutional evidence
More signals — lower Min Layers to 3, reduce Cooldown, disable PD Zone requirement, disable HTF filter
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
🏦 Smart money concepts and ICT methodology traders — SURGE is the quantitative implementation of the core SMC trading sequence: liquidity grab, structure shift, PD zone entry. Everything you execute manually in an SMC framework is automated and filtered here
🥇 Gold (XAUUSD) and forex traders — institutional order flow mechanics are most consistent and powerful on these instruments. Default settings are calibrated for gold intraday
📊 Multi-timeframe traders — the HTF bias filter is built for traders who use higher timeframe confluence as a core component of their trade selection process
🎯 Traders who want to stop buying highs and selling lows — the PD zone filter enforces the discipline of buying in discount and selling in premium, the foundational institutional positioning principle
🧠 Systematic traders — the 6-layer confluence score provides a fully quantified quality metric for every setup, replacing subjective SMC judgment with objective numerical scoring
📈 Traders who want to trade with institutions, not against them — every component of SURGE — the sweep detection, structure engine, PD zone, HTF filter, order blocks, and liquidity lines — is designed to identify and align with genuine institutional order flow
⚠ Traders who struggle with SMC subjectivity — traditional SMC analysis requires significant discretion. SURGE removes that discretion by encoding the rules objectively and applying them consistently on every bar across all instruments and timeframes
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — the indicator is non-repainting by design. Structural trend tracking, sweep detection, and confluence scoring all finalize on confirmed bars only
The swing pivot detection has an inherent offset of swingLen bars — a pivot is only confirmed after swingLen bars have passed to the right of the pivot bar. This is standard for pivot-based systems and is not repainting — it is real-time confirmation
Order blocks are spawned on structure confirmation bars. The OB origin candle is the most recent opposing candle within the lookback window prior to the structure event — representing the genuine institutional origin zone
The structural trend variable is persistent — once a bullish trend is established by a BOS/CHoCH, it remains bullish until a bearish structure break occurs. This means the structure layer can remain in a favorable state across many bars between signals
Maximum 500 labels and 500 lines and 300 boxes are rendered. On very active low-timeframe charts with long history, oldest labels, order block boxes, and liquidity lines may be removed by TradingView's rendering limits
The VWAP calculation resets at each session start. On 24-hour crypto instruments, consider disabling the VWAP filter for best system behavior
The Trade Status section tracks position direction from signal to exit within the chart session — it does not connect to your broker or brokerage account
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal type does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who understand that price moves to take liquidity before it moves to deliver value — and who want a system precise enough to be positioned for that delivery every time.
Chỉ báo
Daily/Weekly EMA or SMA w Colour SelectorTook pavankjadda 'Daily/Weekly EMA or SMA' and added a colour selector for the MA's. Use this to see the daily/weekly MA's on lower timeframes.
Chỉ báo
MTF Confluence Dashboard (EMA + RSI + Volume)A multi-timeframe confluence scoring system designed for futures (built and tested on MNQ). Instead of generating signals from a single indicator on a single timeframe, it scores 4 timeframes independently and only flags Buy/Sell when they align.
How it works
Each timeframe (3m, 5m, 15m, 30m) is scored on three components:
EMA Ribbon (7/13/20/50) — bullish when stacked up, bearish when stacked down
RSI (13-period) — bullish above 60, bearish below 40
Volume — confirms direction when volume spikes above 1.5× the 20-bar average
Each component scores +1, 0, or -1, giving each timeframe a score from -3 to +3. The four timeframe scores are summed into a total confluence score from -12 to +12.
Signal logic:
ALIGNED BUY / SELL labels print on the chart when the confluence score crosses ±5
The dashboard table on the right shows live signals for each timeframe, macro trend (above/below 200 EMA), and the overall confluence
A built-in whipsaw filter prevents Buy → Sell → Buy flip-flops by requiring the score to reset to neutral before allowing opposite signals
Built-in features:
Customizable EMA, RSI, and volume settings
Adjustable confluence thresholds
Toggleable EMA plotting on chart
Four alert conditions (Aligned Buy/Sell, Lean Buy/Sell)
Repaint-safe (uses confirmed higher-timeframe data only)
Best used as:
A confluence checker, not an autopilot. ALIGNED signals tell you when multiple timeframes agree on direction — strongest in trending markets, weakest in chop. Pair with your own price action read and risk management.
Notes:
Works best on futures or exchange-traded instruments where volume data is real
Default settings tuned for MNQ on the 5m chart but adjustable for any market/timeframe
MADE USING CLAUDE AI
Chỉ báo
EMAs + VWAPThis indicator will add the 9, 20, 50, and 200 EMA, as well as VWAP, to your chart.
The EMAs can be adjusted to any number and color.
I grew tired of adding 4 different EMAs and VWAP to my charts, so I added them all to 1 indicator.
Chỉ báo
Multi MA Framework [Gabremoku]Multi MA Framework is a flexible multi-moving-average overlay built for traders who want a clean and fully customizable MA workspace directly on the chart.
The indicator lets you plot up to four independent moving averages, each with its own:
visibility toggle
length
MA type
color
This makes it useful for traders who want to combine fast and slow averages, compare SMA vs EMA behavior, or build a personalized trend framework without loading multiple separate indicators.
What it shows
📈 Up to 4 Moving Averages — each line can be configured independently and displayed only when needed.
⚙️ SMA or EMA per line — choose the moving average type separately for each MA. SMA gives equal weight to all values in the period, while EMA gives more weight to recent prices and typically reacts faster to change.
🏷️ End Labels — optional right-side labels show each MA name, type, and length.
☁️ Cloud Fills — optional fills between:
MA 1 / MA 2
MA 3 / MA 4
These clouds help visualize alignment and separation between faster and slower averages.
Core idea
This script is designed as a moving average framework, not a rigid strategy.
Moving averages are commonly used to:
identify trend direction
smooth noisy price action
monitor dynamic support and resistance
compare short-term and long-term market structure
By allowing different lengths and SMA/EMA choices on every line, the script makes it easy to create your own structure, for example:
fast trend stack
swing trend map
long-term bias model
crossover-based workflow
How to use
A practical way to use the framework is to combine shorter and longer averages.
For example:
a shorter MA can track immediate momentum
a medium MA can define swing direction
a longer MA can define higher-level trend bias
When multiple moving averages align in the same direction, traders often interpret that as stronger trend structure. Crossovers between faster and slower averages are also widely used to monitor possible trend shifts, although they are lagging by nature.
Example setups
Here are some common ways this framework can be configured:
Trend stack: 10 EMA / 20 EMA / 50 EMA / 200 SMA
Swing trader view: 20 EMA / 50 SMA / 100 SMA / 200 SMA
Minimal structure: show only 2 lines and enable one cloud
Cross comparison: use SMA on one line and EMA on another with the same or similar length to compare responsiveness
Because EMA reacts faster and SMA is smoother, combining both can help balance responsiveness and stability.
Features
✅ Up to 4 fully independent moving averages
✅ SMA or EMA selection for each line
✅ Custom length for each MA
✅ Custom color for each MA
✅ Visibility toggle for every line
✅ Adjustable line width
✅ Optional right-side end labels
✅ Optional MA1/MA2 cloud fill
✅ Optional MA3/MA4 cloud fill
✅ Clean chart overlay design
Notes
This indicator is best used as a custom trend structure tool rather than a standalone signal engine. Moving averages are inherently lagging indicators, so they are most effective when used to define context and trend bias rather than predict reversals on their own.
Author: Gabremoku
Pine Script v6
Chỉ báo
21 EMA Bounce + VRVP + RSISummary of what's in the code:
Daily 21 EMA: The main signal line for bounces.
Daily 55 EMA: Used to ensure you only trade in the direction of the long-term trend.
RSI Filter: Filters out signals when momentum is weak or over-extended.
Volume Profile (VRVP): Automatically draws a profile of the last 200 bars with a Red POC (Point of Control) line.
Candle Patterns: Detects Pin Bars and Engulfing patterns at the EMA for extra confirmation.
Chỉ báo






















