stelaraX - Fair Value GapstelaraX – Fair Value Gap
stelaraX – Fair Value Gap is a technical analysis indicator designed to detect, visualize, and manage Fair Value Gaps (FVGs) using a strict three-candle imbalance model. The script identifies bullish and bearish gaps, draws them as zones on the chart, and tracks their mitigation status over time.
For advanced AI-based chart analysis and automated structure interpretation, visit stelarax.com
Core logic
The indicator detects Fair Value Gaps using a three-bar condition:
* bullish FVG when the current low is above the high from two bars ago
* bearish FVG when the current high is below the low from two bars ago
Detected gaps are filtered using minimum size requirements:
* minimum size in ticks
* minimum size as a percentage of price
Each FVG stores its top and bottom boundaries, its midpoint level (Consequent Encroachment), the creation bar, and its current state.
Consequent Encroachment and mitigation
The script can optionally plot the Consequent Encroachment (CE) level, defined as the midpoint of the gap.
Mitigation tracking is supported and can be defined as:
* Touch
* 50 percent retracement to the CE level
* Full fill of the gap
When mitigation occurs, the FVG can:
* remain visible in a mitigated state
* be deleted automatically
* stop extending and close at the mitigation bar
Mitigation styling uses a dedicated color scheme to clearly separate active and mitigated gaps.
Visualization
FVGs are drawn directly on the chart as colored zones:
* bullish FVGs are displayed in green tones
* bearish FVGs are displayed in red tones
Optional features include:
* CE level line with configurable line style
* FVG labels
* automatic extension of active gaps
* configurable maximum age and maximum number of displayed gaps
All colors and display settings are fully customizable.
Dashboard
An optional on-chart dashboard provides a real-time overview of:
* total bullish and bearish FVGs
* mitigated bullish and bearish FVGs
* active (unmitigated) FVGs
* mitigation percentages
Dashboard position and text size are configurable.
Alerts
Alert conditions are available for:
* newly detected bullish FVGs
* newly detected bearish FVGs
Additional real-time alerts can be triggered when an FVG is mitigated.
Use case
This indicator is intended for:
* imbalance and fair value gap mapping
* identifying potential reaction zones and retracement areas
* tracking gap mitigation behavior over time
* multi-timeframe confluence analysis
For a fully automated AI-driven chart analysis solution, additional tools and insights are available at stelarax.com
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
Indicadores y estrategias
Weekly Tightness Near EMA//@version=6
indicator("Weekly Tightness Near EMA", overlay=true)
// ===========================
// INPUT PARAMETERS
// ===========================
tightness_pct = input.float(3.0, "Tightness % Range", minval=0.1, maxval=10.0)
ema_proximity_pct = input.float(5.0, "EMA Proximity %", minval=0.5, maxval=15.0)
small_candle_pct = input.float(5.0, "Small Candle % (body)", minval=0.5, maxval=10.0)
show_ema10 = input.bool(true, "Show 10 Week EMA")
show_ema20 = input.bool(true, "Show 20 Week EMA")
show_signals = input.bool(true, "Show Tightness Signals")
// ===========================
// GET WEEKLY DATA
// ===========================
weekly_close = request.security(syminfo.tickerid, "W", close, barmerge.gaps_off, barmerge.lookahead_off)
weekly_open = request.security(syminfo.tickerid, "W", open, barmerge.gaps_off, barmerge.lookahead_off)
weekly_high = request.security(syminfo.tickerid, "W", high, barmerge.gaps_off, barmerge.lookahead_off)
weekly_low = request.security(syminfo.tickerid, "W", low, barmerge.gaps_off, barmerge.lookahead_off)
weekly_close_1 = request.security(syminfo.tickerid, "W", close , barmerge.gaps_off, barmerge.lookahead_off)
weekly_open_1 = request.security(syminfo.tickerid, "W", open , barmerge.gaps_off, barmerge.lookahead_off)
weekly_high_1 = request.security(syminfo.tickerid, "W", high , barmerge.gaps_off, barmerge.lookahead_off)
weekly_low_1 = request.security(syminfo.tickerid, "W", low , barmerge.gaps_off, barmerge.lookahead_off)
weekly_close_2 = request.security(syminfo.tickerid, "W", close , barmerge.gaps_off, barmerge.lookahead_off)
weekly_open_2 = request.security(syminfo.tickerid, "W", open , barmerge.gaps_off, barmerge.lookahead_off)
weekly_high_2 = request.security(syminfo.tickerid, "W", high , barmerge.gaps_off, barmerge.lookahead_off)
weekly_low_2 = request.security(syminfo.tickerid, "W", low , barmerge.gaps_off, barmerge.lookahead_off)
// Weekly EMAs
weekly_ema10 = request.security(syminfo.tickerid, "W", ta.ema(close, 10), barmerge.gaps_off, barmerge.lookahead_off)
weekly_ema20 = request.security(syminfo.tickerid, "W", ta.ema(close, 20), barmerge.gaps_off, barmerge.lookahead_off)
// ===========================
// CALCULATE CANDLE SIZE
// ===========================
// Calculate body size (close - open) as percentage of price
candle_body_0 = math.abs(weekly_close - weekly_open)
candle_body_1 = math.abs(weekly_close_1 - weekly_open_1)
candle_body_2 = math.abs(weekly_close_2 - weekly_open_2)
candle_body_pct_0 = (candle_body_0 / weekly_close) * 100
candle_body_pct_1 = (candle_body_1 / weekly_close_1) * 100
candle_body_pct_2 = (candle_body_2 / weekly_close_2) * 100
// Calculate full range (high - low) as percentage
candle_range_0 = weekly_high - weekly_low
candle_range_1 = weekly_high_1 - weekly_low_1
candle_range_2 = weekly_high_2 - weekly_low_2
candle_range_pct_0 = (candle_range_0 / weekly_close) * 100
candle_range_pct_1 = (candle_range_1 / weekly_close_1) * 100
candle_range_pct_2 = (candle_range_2 / weekly_close_2) * 100
// Check if all 3 candles are small
small_candle_0 = candle_body_pct_0 <= small_candle_pct
small_candle_1 = candle_body_pct_1 <= small_candle_pct
small_candle_2 = candle_body_pct_2 <= small_candle_pct
all_candles_small = small_candle_0 and small_candle_1 and small_candle_2
// Average candle body size
avg_candle_body = (candle_body_pct_0 + candle_body_pct_1 + candle_body_pct_2) / 3
avg_candle_range = (candle_range_pct_0 + candle_range_pct_1 + candle_range_pct_2) / 3
// ===========================
// CALCULATE TIGHTNESS
// ===========================
// Find highest and lowest of last 3 weekly closes
highest_close = math.max(weekly_close, weekly_close_1, weekly_close_2)
lowest_close = math.min(weekly_close, weekly_close_1, weekly_close_2)
// Calculate range percentage
close_range_pct = ((highest_close - lowest_close) / lowest_close) * 100
// Check if within tightness range
is_tight = close_range_pct <= tightness_pct
// ===========================
// CHECK PROXIMITY TO EMAs
// ===========================
// Distance from EMAs
dist_from_ema10_pct = math.abs((weekly_close - weekly_ema10) / weekly_ema10) * 100
dist_from_ema20_pct = math.abs((weekly_close - weekly_ema20) / weekly_ema20) * 100
// Near EMA conditions
near_ema10 = dist_from_ema10_pct <= ema_proximity_pct
near_ema20 = dist_from_ema20_pct <= ema_proximity_pct
near_any_ema = near_ema10 or near_ema20
// ===========================
// COMBINED SIGNAL (with small candles filter)
// ===========================
tightness_signal = is_tight and near_any_ema and all_candles_small
// ===========================
// PLOT EMAs
// ===========================
plot(show_ema10 ? weekly_ema10 : na, "10 Week EMA", color=color.new(color.blue, 0), linewidth=2)
plot(show_ema20 ? weekly_ema20 : na, "20 Week EMA", color=color.new(color.orange, 0), linewidth=2)
// ===========================
// PLOT SIGNALS
// ===========================
// Background color when tight and near EMA
bgcolor(show_signals and tightness_signal ? color.new(color.green, 90) : na, title="Tightness Signal")
// Plot signal markers
plotshape(show_signals and tightness_signal and not tightness_signal ,
title="Tightness Start",
location=location.belowbar,
color=color.new(color.green, 0),
style=shape.triangleup,
size=size.small,
text="TIGHT")
// ===========================
// DISPLAY TABLE
// ===========================
var table info_table = table.new(position.top_right, 2, 9,
border_width=1,
border_color=color.gray,
frame_width=1,
frame_color=color.gray)
if barstate.islast
// Header
table.cell(info_table, 0, 0, "Weekly Analysis", bgcolor=color.new(color.gray, 70), text_color=color.white, text_size=size.normal)
table.cell(info_table, 1, 0, "Status", bgcolor=color.new(color.gray, 70), text_color=color.white, text_size=size.normal)
// Average candle body size
candle_color = all_candles_small ? color.new(color.green, 85) : color.new(color.red, 85)
table.cell(info_table, 0, 1, "Avg Candle Body", bgcolor=candle_color, text_color=color.white, text_halign=text.align_left)
table.cell(info_table, 1, 1, str.tostring(avg_candle_body, "#.##") + "%", bgcolor=candle_color, text_color=color.white)
// Small candle threshold
table.cell(info_table, 0, 2, "Small Candle <", bgcolor=color.new(color.gray, 90), text_color=color.white, text_halign=text.align_left)
table.cell(info_table, 1, 2, str.tostring(small_candle_pct, "#.#") + "%", bgcolor=color.new(color.gray, 90), text_color=color.white)
// 3 Week Close Tightness
tight_color = is_tight ? color.new(color.green, 85) : color.new(color.red, 85)
table.cell(info_table, 0, 3, "3W Close Range", bgcolor=tight_color, text_color=color.white, text_halign=text.align_left)
table.cell(info_table, 1, 3, str.tostring(close_range_pct, "#.##") + "%", bgcolor=tight_color, text_color=color.white)
// Tightness threshold
table.cell(info_table, 0, 4, "Threshold", bgcolor=color.new(color.gray, 90), text_color=color.white, text_halign=text.align_left)
table.cell(info_table, 1, 4, "<" + str.tostring(tightness_pct, "#.#") + "%", bgcolor=color.new(color.gray, 90), text_color=color.white)
// Distance from 10W EMA
ema10_color = near_ema10 ? color.new(color.blue, 85) : color.new(color.gray, 85)
table.cell(info_table, 0, 5, "From 10W EMA", bgcolor=ema10_color, text_color=color.white, text_halign=text.align_left)
table.cell(info_table, 1, 5, str.tostring(dist_from_ema10_pct, "#.##") + "%", bgcolor=ema10_color, text_color=color.white)
// Distance from 20W EMA
ema20_color = near_ema20 ? color.new(color.orange, 85) : color.new(color.gray, 85)
table.cell(info_table, 0, 6, "From 20W EMA", bgcolor=ema20_color, text_color=color.white, text_halign=text.align_left)
table.cell(info_table, 1, 6, str.tostring(dist_from_ema20_pct, "#.##") + "%", bgcolor=ema20_color, text_color=color.white)
// Near EMA status
near_ema_color = near_any_ema ? color.new(color.green, 85) : color.new(color.red, 85)
near_ema_text = near_any_ema ? "✓ NEAR" : "✗ Far"
table.cell(info_table, 0, 7, "Near EMA", bgcolor=near_ema_color, text_color=color.white, text_halign=text.align_left)
table.cell(info_table, 1, 7, near_ema_text, bgcolor=near_ema_color, text_color=color.white)
// Combined signal
signal_color = tightness_signal ? color.new(color.lime, 70) : color.new(color.gray, 85)
signal_text = tightness_signal ? "🎯 SETUP!" : "No Setup"
table.cell(info_table, 0, 8, "SIGNAL", bgcolor=signal_color, text_color=color.white, text_halign=text.align_left, text_size=size.large)
table.cell(info_table, 1, 8, signal_text, bgcolor=signal_color, text_color=color.white, text_size=size.large)
// ===========================
// ALERTS
// ===========================
alertcondition(tightness_signal and not tightness_signal ,
title="Tightness Setup Alert",
message="Weekly setup detected: Small candles, tight closes, near EMA!")
Four Bollinger Lines - High EMA/WMA + Low EMA/WMA fill no cntrThese are two sets of Bollinger bands, set as the high EMA and a high WMA, and for the second set the Low, EMA and the Low WMA. You can fill the bands for a better visual. Bobszi
Time SessionTime Session is a lightweight indicator to visually highlight up to 3 trading time windows on any chart. It’s built to help you verify sessions precisely (especially when TradingView timezones/session handling can be confusing).
Key Features
3 independent session slots (enable/disable each slot)
Global timezone mode:
EXCHANGE : uses the symbol’s exchange timezone (recommended in most cases)
CUSTOM : use your own timezone string, copy the timezone label shown on your chart (bottom-right corner) and paste it into the CUSTOM field.
Example: `UTC+1`, `UTC+2`, `UTC-5`, etc.
Background highlighting for each slot (custom color + transparency)
Start/End markers at the bottom of the chart:
S1 = Slot 1 Start , E1 = Slot 1 End
S2 = Slot 2 Start , E2 = Slot 2 End
S3 = Slot 3 Start , E3 = Slot 3 End
Data Window debug : `inSlot1`, `inSlot2`, `inSlot3`, `inAny`
How to Use
1. Add the indicator to your chart.
2. Set Timezone Mode to EXCHANGE or CUSTOM .
3. If CUSTOM , paste the chart timezone label (e.g., `UTC+1`)
4. Configure Session Slot 1/2/3 using `HHMM-HHMM` (example: `07:00-18:00`).
5. Use the highlighted background and **S/E markers** to confirm the exact hours.
Good Trading
stelaraX - Williams %RstelaraX – Williams %R
stelaraX – Williams %R is a momentum oscillator designed to identify overbought and oversold market conditions. It measures the position of the current close relative to the highest high and lowest low over a defined lookback period and reacts quickly to changes in market momentum.
This indicator is part of the stelaraX ecosystem, focused on clean technical analysis and AI-supported chart evaluation
stelarax.com
Core logic
Williams %R is calculated over a user-defined period and oscillates between 0 and -100.
Key characteristics include:
* values near 0 indicate overbought conditions
* values near -100 indicate oversold conditions
* the -50 level acts as a momentum midpoint
When Williams %R moves above the overbought threshold, bullish momentum may be stretched. When it moves below the oversold threshold, bearish momentum may be stretched.
Visualization
The script plots:
* the Williams %R line in a separate indicator pane
* a configurable overbought level
* a configurable oversold level
* a midline at -50 for directional context
The area between the overbought and oversold levels is visually highlighted, making extreme momentum conditions easy to identify.
Use case
This indicator is intended for:
* identifying overbought and oversold market conditions
* spotting potential momentum reversals
* confirming short-term trend exhaustion
* divergence analysis between price and momentum
* timing entries and exits in ranging or trending markets
For traders who want to combine classical oscillators with modern AI-driven chart analysis, additional tools and insights are available at stelarax.com
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
RSI(5) on RSI(14)RSI(5) on RSI(14)
This indicator is displayed in a separate pane and works on all timeframes.
It combines a classic RSI with a secondary RSI calculated on the RSI values themselves, allowing deeper analysis of momentum and internal strength.
Indicator Logic
The indicator consists of two components:
RSI (period 14) calculated from price data (default: Close).
RSI (period 5) calculated on the values of RSI(14), equivalent to Previous Indicator’s Data in MetaTrader.
This structure helps to:
identify overbought and oversold zones using the primary RSI,
observe acceleration, deceleration, and momentum shifts inside the RSI itself using the secondary RSI.
Visualization
RSI(14) is plotted as a configurable colored line.
RSI(5) on RSI(14) is plotted as a thin black line on top of the main RSI.
The indicator scale is fixed between 0 and 100.
Levels
20 and 80 — configurable oversold and overbought levels:
adjustable values,
customizable color,
line width,
line style (solid, dashed, dotted).
50 level:
black,
thin,
dashed,
acts as a mid-level equilibrium reference.
Inputs
Users can adjust:
RSI(14) period,
RSI(5) period,
price source for RSI(14),
colors and line widths,
level values and styles for 20 / 80.
Use Cases
This indicator can be used for:
momentum and strength analysis,
detecting internal RSI momentum shifts,
trend confirmation and filtering,
standalone oscillator analysis or as part of a larger trading system.
stelaraX - Bollinger BandsstelaraX – Bollinger Bands
stelaraX – Bollinger Bands is a classic volatility-based indicator designed to visualize price dispersion around a moving average. The script plots the Bollinger Bands directly on the chart, allowing traders to assess volatility, potential mean reversion zones, and dynamic support and resistance levels.
For advanced AI-based chart analysis and automated volatility interpretation, visit stelarax.com
Core logic
The indicator calculates Bollinger Bands using three core components:
* a simple moving average as the basis line
* an upper band calculated by adding a multiple of standard deviation
* a lower band calculated by subtracting a multiple of standard deviation
The period length and standard deviation multiplier are fully configurable, allowing adaptation to different markets and timeframes.
Visualization
The script plots:
* the basis moving average line
* the upper Bollinger Band
* the lower Bollinger Band
The area between the upper and lower bands can be filled with a semi-transparent color to clearly highlight the active volatility range. All colors are customizable for optimal chart integration.
Use case
This indicator is intended for:
* volatility analysis and expansion or contraction detection
* identifying overextended price conditions
* mean reversion and breakout strategies
* dynamic support and resistance analysis
* multi-timeframe volatility assessment
For a fully automated AI-driven chart analysis solution, additional tools and insights are available at stelarax.com
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
% from 50 SMAThis calculates how much in percentage terms the current price is above or below simple 50 MA
Trend Strength + SSL Channel TableHOW TO READ THIS (POWERFUL COMBO)
Trend Strength = timing
SSL Channel = directional bias
Best trade conditions:
Bullish Trend + Strong/Medium + SSL Bullish
Bearish Trend + Strong/Medium + SSL Bearish
Avoid:
Exhaustion + SSL disagreement → chop / fakeouts
This table is now a high-quality trade filter, not just information.
Sakalau02 (10 Sessions)Market Sessions – 10 Customizable Sessions
This indicator plots up to 10 fully customizable market sessions directly on the chart.
Each session can be individually configured with its own time range, color, and label, and is displayed as a dynamic box that automatically tracks the session high and low.
Features
Up to 10 fully customizable trading sessions
Individual session time, color, and name customization
Automatic session high / low tracking
UTC-based session logic with optional weekend filtering
Clean and lightweight visual design for intraday analysis
Well suited for ICT / Smart Money Concepts (SMC) trading
Designed for flexibility and clarity, this indicator allows traders to adapt session analysis to their own trading style while keeping the chart clean and easy to read.
Big Tech AI vs AI Semi Market Cap
Recently, Big Tech stocks have faced downward pressure due to growing concerns over whether they can sustain massive AI CapEx and ultimately achieve monetization. In contrast, AI-related semiconductor stocks—the direct recipients of these investment funds—are rebounding and gaining momentum.
Some market participants compare this flow to the Dot-com bubble era. I created this script to track in real-time whether a true "Market Cap Flipping" (reversal) is occurring between the AI Service providers (Big Tech) and the AI Infrastructure providers (Semiconductors).
This indicator aggregates and compares the total Market Capitalization (Price × Shares Outstanding) of two distinct groups:
🟦 Big Tech (AI Solutions & Services): The companies spending heavily on AI infrastructure.
🟧 AI Semiconductors (Hardware & Infra): The companies benefiting from Big Tech's CapEx.
Real-time Comparison: Visualizes the aggregate value of both sectors on a single chart to spot divergence or convergence.
Cap Flipping Watch: Easily identify if the "Hardware" sector's valuation overtakes the "Solution" sector.
Percentage Ratio: Displays a label showing the Semiconductor sector's size relative to Big Tech (e.g., "Semi is 60% of Tech").
Customizable Tickers: You can toggle individual companies On/Off in the settings to adjust your basket.
Big Tech: MSFT, GOOGL, AMZN, META, AAPL, TSLA, PLTR, ORCL, ADBE
AI Semi: NVDA, TSM, AVGO, AMD, MU, ARM, ASML, ANET, MRVL
If the Orange Line (Semi) rises while the Blue Line (Tech) falls/stagnates, it indicates the market is favoring "Infrastructure Builders" over "Service Providers."
Use this to gauge the maturity of the AI investment cycle.
MTF RSI Confluence (3 TFs) + Table + AlertsThis indicator displays RSI confluence across three user-selectable timeframes in a single oscillator pane. It's designed to help you quickly confirm whether momentum conditions (overbought/oversold/neutral) align across multiple time horizons before acting.
What it does
- Plots three RSI lines at once, each sourced from a different timeframe (defaults: 5m / 15m / 1H ).
- Applies independent overbought/oversold thresholds per timeframe , so each RSI can be evaluated with its own rules.
- Shows a color-coded table summarizing:
- timeframe
- RSI value
- status (OVERBOUGHT / NEUTRAL / OVERSOLD)
- that timeframe's OB/OS levels
- Highlights the pane background when there is full confluence:
- All 3 overbought (red tint)
- All 3 oversold (green tint)
- Provides alert conditions when all three timeframes agree on overbought or oversold.
How it works (key logic)
- RSI is calculated per timeframe using request.security() with lookahead=barmerge.lookahead_off to avoid forward-looking values.
- Each timeframe's RSI is classified:
- RSI >= Overbought → Overbought
- RSI <= Oversold → Oversold
- otherwise → Neutral
- Confluence triggers when all three statuses match (all overbought or all oversold).
- Signals/alerts are gated by barstate.isconfirmed so the confluence events only trigger on confirmed bars (reduces repaint-like behavior on the current forming bar).
How to use it
1. Add to chart (works on any symbol: crypto, forex, indices, stocks).
2. Configure:
- RSI Length (1–200)
- TF1 / TF2 / TF3 (any TradingView timeframe string)
- OB/OS per timeframe with input constraints:
- Overbought: 50–100
- Oversold: 0–50
- Optional: enable/disable the table and choose its position.
3. Interpret output:
- RSI line colors reflect status (red = overbought, green = oversold, gray = neutral).
- Table provides an at-a-glance confluence dashboard.
- Use alerts for "all oversold" or "all overbought" as a filter for entries/exits or as a regime warning.
Recommended usage
- Works well on lower chart timeframes (1m–15m) to confirm setups with a higher timeframe (e.g., 1H / 4H).
- Typical approach:
- Look for all-oversold confluence during uptrends (potential pullback exhaustion).
- Look for all-overbought confluence during downtrends (potential bounce exhaustion).
- Consider pairing with trend context (moving averages, market structure) to avoid counter-trend signals.
What makes it useful/original
- Combines three MTF RSI readings + independent thresholds into one pane and a compact table, reducing chart clutter.
- Uses non-forward-looking MTF data (lookahead_off) and confirmed-bar gating for more reliable confluence alerts.
- Clear "traffic light" style status labeling to support fast discretionary decisions and alert-driven workflows.
Disclaimer
This script is for educational and informational purposes only and does not constitute financial advice. Alerts and signals are based on historical/hypothetical calculations and do not guarantee future results. Always manage risk and validate signals within your own trading plan.
Adjustable Average Dollar Volume ( Mashrab)Institutional Shadow Hunter. It’s not just a volume bars; it’s a X-ray for the "Big Money" flow.
The Logic: Trading the Vacuum
Standard volume tells you how many shares moved. This indicator tells you how much cash was committed. When the market goes quiet, the Shadow appears. When the "Smart Money" strikes, the Shadow vanishes.
1. The Stealth Phase (The Shadow)
When you see shading below the Average Line, the stock is in a liquidity vacuum.
The Signature: Small, shaded bars indicate "Quiet Accumulation."
The Elite Move: Look for the shadow to get as thin as possible—this is the Volatility Contraction (VCP) right before a massive expansion.
2. The Strike (The Breakout)
The moment the shading disappears, the stealth phase is over.
The Signature: A solid, bright bar towering above the Average Line.
The Elite Move: If this "unshaded" bar happens as the price breaks a pivot point, you have a 99% conviction "Home Run" entry.
3. The Bull Test (Institutional Defense)
Use the shadow to distinguish between a "crash" and a "rest."
The Logic: If the price pulls back but the bars stay shaded and low, no big funds are selling. It’s just a "shakeout" of weak hands before the next leg up.
Al Brooks H2/L2 IndicatorWhat This Indicator Is
This is a price-action execution tool based on Al Brooks concepts.
Its job is not to find every H2 or L2 — it filters aggressively to show only the ones worth trading.
Think of it as answering one question in real time:
“Is this H2 / L2 good enough to take?”
What It Detects
1️⃣ H2 / L2 (Second-Entry Pullbacks)
H2 = second attempt up in a bull trend
L2 = second attempt down in a bear trend
Uses confirmed pivots, so signals do not repaint
2️⃣ A+ Signal Bar Quality
A signal only qualifies if the breakout bar is strong:
Adequate range relative to ATR
Large body
Close near the extreme
Optional follow-through confirmation
Weak bars are ignored.
3️⃣ Trend vs Trading Range Filter
The indicator skips trades in Trading Ranges by checking:
Flat EMA slope
Price chopping around the EMA
Heavy bar overlap
This removes the majority of low-probability H2/L2s.
4️⃣ Microchannel Suppression (Late Trends)
If the trend is overextended (tight microchannel):
H2/L2 signals are skipped
Prevents buying the top or selling the bottom
5️⃣ Wedges & Flags (Brooks Context)
When applicable, trades are tagged as:
W = Wedge pullback (3 pushes)
F = Flag (tight channel pullback)
W+F = both present
These are context tags, not extra signals.
What It Shows on the Chart
✅ Tradable Signals
UP → Long H2
DN → Short L2
Printed only when all filters pass
Clearly anchored to price
These are the only trades the script recommends.
🔔 Alerts
Alerts fire only on tradable setups
No alerts for skipped or marginal signals
Suitable for live execution
What It Does Not Do
It does not predict outcomes
It does not trade for you
It does not show every H2/L2
It intentionally removes most setups so you focus on quality, not frequency.
How to Trade With It (Recommended)
Only act on UP / DN labels
Confirm nearby support/resistance visually
Use Brooks-style risk:
Stop beyond signal bar
Skip trades near measured-move targets
Ignore everything else
Bottom Line
This indicator is a professional-grade Brooks execution filter.
It helps you:
Trade fewer setups
Avoid trading ranges
Avoid late trends
Focus on A+ second entries only
TSX Sector ETF Overlay// --- Plot Data with Standard Colors ---
plot(xiu, title="TSX 60", color=color.white, linewidth=2)
plot(xfn, title="Financials", color=color.blue, linewidth=2)
plot(xeg, title="Energy", color=color.orange, linewidth=2)
plot(xma, title="Materials", color=color.yellow, linewidth=2)
plot(xgd, title="Gold Miners", color=color.yellow, linewidth=1)
plot(xit, title="Tech", color=color.purple, linewidth=2)
plot(xre, title="REITs", color=color.red, linewidth=2)
plot(xut, title="Utilities", color=color.green, linewidth=2)
plot(xst, title="Staples", color=color.teal, linewidth=2)
Trinity Scalping Direction DashbaordTrinity Scalping Dashboard – User Guide
**Purpose**
This indicator shows whether the current price is above or below the 5-period EMA across five key timeframes (5 min, 15 min, 1 hour, 4 hour, Daily).
It highlights when all five timeframes are aligned in the same direction (all bullish or all bearish), giving a clear "Buy", "Sell", or "No Trade Zone" signal.
**What the indicator displays**
- A dashboard table appears in one corner of the chart
- Each row shows one timeframe
- Text says "Above - Bullish" (green) or "Below - Bearish" (red) depending on whether current price is above or below the 5 EMA on that timeframe
- The bottom row shows the overall signal:
- **Buy** → all 5 timeframes are bullish (price > 5 EMA on every TF)
- **Sell** → all 5 timeframes are bearish (price < 5 EMA on every TF)
- **No Trade Zone** → mixed alignment (not all timeframes agree)
**Customizing the indicator**
- **EMA Period** — default is 5, but you can change it (e.g. to 8, 9, 13, etc.)
- **Colors** — adjust Bullish (green), Bearish (red), and No Trade (yellow) colors to your preference
- **Table Position** — choose Top Right, Bottom Right, or Bottom Left
- **Text Sizes** — separately control the size of the timeframe rows and the signal row (Tiny → Huge)
- **Header** — shows "Options Direction Dashboard" at the top of the table (you can edit the text in the code if desired)
**How to read the signal**
- **Strong Buy** — entire table green + bottom row says **Buy**
- **Strong Sell** — entire table red + bottom row says **Sell**
- **No clear direction** — mixed colors + bottom row says **No Trade Zone**
Only trade in the direction of the **full alignment** (all rows same color) for highest-probability setups.
**Alerts**
Three alert conditions are built-in:
1. **Buy Signal** — triggers when all timeframes become bullish
2. **Sell Signal** — triggers when all timeframes become bearish
3. **Signal Change** — triggers any time the overall signal changes (Buy ↔ Sell ↔ No Trade)
To set an alert:
- Right-click on the chart → **Add Alert**
- In **Condition**, select this indicator
- Choose one of the three conditions (Buy Signal / Sell Signal / Signal Change)
- Set frequency to **Once Per Bar Close** (recommended for most users)
- Customize notification (email, SMS, webhook, etc.)
**Best practices**
- Use for scalping when all EMA align and only take trades in the direction of the alignment.
- Use on higher timeframes (1H, 4H, Daily) for swing/position trading and use the smaller timeframe to time entries
- Combine with your existing price action, support/resistance or other filters
- The strongest setups occur when the signal flips from No Trade → Buy or No Trade → Sell
Institutional Liquidity MapInstitutional Liquidity Map: Detailed Description
The Core Phi losophy: Mapping vs. Predicting
This indicator serves as a Microstructure Navigation System. Unlike retail indicators that rely on lagged mathematical formulas (like RSI or MACD), this tool identifies the areas of high-interest where institutional orders are clustered. It focuses on the mechanics of liquidity provision and rebalancing, allowing you to see where the "Smart Money" has left a footprint.
Key Modules & Institutional Meaning
Confirmed Liquidity (BSL & SSL): These are the structural anchors. They represent "Liquidity Pools" where retail stop-losses are heavily concentrated. Institutions drive price into these zones to generate the counter-party volume needed to fill their large positions.
Institutional Order Blocks (OB): This module identifies the exact candle where accumulation or distribution occurred. It specifically looks for displacement—a move so fast and strong that it confirms institutional intent rather than retail noise.
Fair Value Gaps (FVG) / Imbalances: When price moves too rapidly, it creates a "hole" in the price action where orders weren't fully matched. The market views these as inefficiencies; price is naturally drawn back to these zones to "rebalance" before continuing the trend.
Liquidity Sweeps (Stop Runs): This identifies the "Trap." It marks instances where price wicks past a confirmed high or low to trigger stops, only to close back within the range. This is often the precursor to a massive reversal.
Best Use Case Scenarios
1. The High-Probability "Confluence Cluster"
The most powerful way to use this indicator is by looking for the overlapping of modules.
The Scenario: You see a BSL Sweep occur at a Previous Day High, immediately followed by a Bearish Order Block and a Bearish FVG.
The Strategy : Use the FVG/OB zone as your "Sell Zone." This cluster indicates that institutions have trapped buyers at the high and are now aggressively pushing price lower.
2. Re-entry via "FVG Rebalancing"
When the market is in a strong trend (like your LINK screenshot), price often leaves gaps.
The Scenario: A strong impulsive move breaks structure, leaving an active FVG box.
The Strategy: Do not chase the candle. Wait for the indicator to show price returning to fill that box. This retest of the imbalance is often the safest entry point for trend continuation.
3. Target Selection using "Liquidity Pools"
Retail traders often set arbitrary take-profit targets (e.g., 2%). Institutional traders target Liquidity.
The Scenario: You are in a Short trade.
The Strategy: Look for the nearest Confirmed SSL (Sell-Side Liquidity) line. This is your target. Price is magnetically drawn to these levels because that is where the most sell-stops are located, providing the liquidity for you to exit your short (by buying back) with minimal slippage.
4. Daily Bias Anchor (Session VWAP)
Use the Session VWAP as your "Line in the Sand."
The Strategy: If price is above VWAP, only look for Bullish Order Blocks and SSL Sweeps. If price is below VWAP, prioritize Bearish Order Blocks and BSL Sweeps. This ensures you are always trading in alignment with the institutional "Fair Value" for the day.
Global Session AlertsSee liquidity shifts before they happen. Session & market structure alerts, plotted X minutes early.
Global Session Alerts: Multi-Time-zone (Configurable Lead)
Clean, intraday session and structure alerts plotted directly on your chart: X minutes before the event, fully configurable.
This indicator draws vertical dotted lines + labels for key market sessions, rhythm shifts, and close mechanics, helping you anticipate liquidity and volatility before it hits.
Sessions
Asian Open / Close
London Open / Close
NY Open / Close
Rhythm / Structure
10:00am Reversal / Trend
Wall Street Lunch
PM Session
Power Hour
Close Mechanics
Pre-Close
HOOD Effect
Closing Cross
Features
Configurable lead time (minutes before event)
Editable event times + label text
Vertical or horizontal labels
Adjustable label size & offset
Per-group color + opacity
IANA timezone support (DST-aware)
Optional TradingView alerts
Intraday-only, non-repainting
Automatic cleanup (count-based & time-based)
Designed for SPX / ES / NQ / 0DTE scalpers who care about when the market moves, not just where.






















