BarrettFVG Trendline**BarrettFVG Trendline**
BarrettFVG Trendline plots dynamic, self-adjusting liquidity trendlines from swing pivots and flags the moment price breaks structure — giving a clean visual read on trend continuation vs. exhaustion, with built-in alerts for both directions.
**How it works**
- Detects pivot highs/lows over a configurable lookback period and connects consecutive pivots into a sloped trendline (upper resistance line from lower pivots, lower support line from higher pivots).
- Lines auto-extend and re-slope each bar until price closes through them, at which point the line is invalidated and a new one begins forming from the next valid pivot sequence.
- A padded "buffer zone" (ATR-based) is plotted alongside each line and filled, giving a visual cushion rather than a single hard price level.
- When price closes through an active line, the indicator marks a breakout signal (triangle up/down) and fires an alert.
**How to use it**
- Use the trendline breaks as a read on structural shifts — a break of a rising support line can signal loss of upward momentum; a break of a falling resistance line can signal a shift toward buyers regaining control.
- Works on any timeframe and instrument; built and tested primarily on MNQ futures.
- Combine with your own bias/context tools (HTF trend, session levels, order flow) rather than trading breaks in isolation — this indicator identifies structure breaks, it does not predict direction on its own.
**Alerts**
Three alert conditions are built in — right-click the indicator → Add Alert:
- *Breaking Up* — fires when the resistance trendline is broken to the upside
- *Breaking Down* — fires when the support trendline is broken to the downside
- *Any Breakout* — fires on either signal
**Settings**
- Period — pivot lookback length
- Padding — width of the buffer zone around each trendline
- Line colors (up/down)
- Toggle for breakout markers
**Credit**
This script is built on the open-source trendline/breakout logic originally published by **StratifyTrade** ("Liquidity Trendline With Signals"), used and adapted under the terms of its **CC BY-NC-SA 4.0** license. Alert functionality and rebranding added by BarrettFVG.
---
## Disclaimer
*This script is for educational and informational purposes only and does not constitute financial, investment, or trading advice. Trading futures and other financial instruments involves substantial risk of loss and is not suitable for all investors. Past performance, backtested results, or historical signals are not indicative of future results. Always conduct your own due diligence and consult a licensed financial professional before making trading decisions. The creator assumes no liability for any losses incurred from use of this script.*
--- Indicator

Indicator

Indicator

WWPro Liquidity Sweep Ultimate v2 - Clean ChartWWPro Liquidity Sweep Ultimate is a multi-timeframe trading strategy designed to identify liquidity sweeps followed by market-structure confirmation, retracements into key areas, and bullish or bearish candlestick patterns.
The strategy combines higher-timeframe liquidity levels, market-structure breaks, Fair Value Gaps, Fibonacci retracement areas, and ATR-based risk management. Each trade includes a defined entry, Stop Loss, TP1 at a 1:1 risk-to-reward ratio, and TP2 at a 1:2 ratio.
The Clean Chart version displays only the entry, Stop Loss, and Take Profit levels, while all supporting calculations continue to run internally.
Note: The strategy has produced particularly strong backtesting results on Gold (XAU) at lower timeframes. I recommend testing and validating it independently using your own settings, market conditions, commissions, and risk-management rules before using it in live trading. Past performance does not guarantee future results. Strategy

Indicator

Indicator

Levels MarkerLevels Marker is an all-in-one intraday price-action toolkit that combines
several commonly-used reference levels and market-structure tools into a
single indicator — no need to load five separate scripts.
█ FEATURES
🔹 Previous Day High / Low (PDH / PDL)
Automatically plots yesterday's high and low as horizontal lines with labels.
Valid for the entire current trading day and refreshes at the start of each
new session.
🔹 Asian Session High / Low
Tracks the high and low formed during a fully customizable session window
(default 05:30–11:30, Asia/Kolkata). Once the session ends, the level freezes
and remains visible as a fixed reference for the rest of the day.
🔹 Pivot-Based Support / Resistance
Detects swing highs/lows using an adjustable pivot strength and plots the
most recent levels (configurable count) as horizontal support/resistance
lines.
🔹 BOS / CHoCH (Market Structure)
Automatically identifies:
- BOS (Break of Structure) — trend continuation
- CHoCH (Change of Character) — potential trend reversal
Drawn as dashed lines with labels the moment price closes beyond the last
swing high/low.
🔹 Trend Direction Label
A live label in the corner of the chart shows the current structural bias:
▲ BULLISH / ▼ BEARISH / NEUTRAL.
🔹 Built-in Alerts
Four ready-to-use alert conditions appear directly in PulseWire's native
"Create Alert" dropdown:
- PDH Cross
- PDL Cross
- Asian High Cross
- Asian Low Cross
Each one fires only on a confirmed candle CLOSE beyond the level (not a
simple wick touch), which helps cut down on false/noise alerts.
█ CUSTOMIZATION
Every component can be shown/hidden and recolored independently:
- PDH / PDL
- Asian Session High / Low (with custom session + timezone)
- Support / Resistance (pivot strength + max levels shown)
- BOS / CHoCH (independent toggles, colors, label size)
- Trend label on/off
- Label distance from the last bar (so labels don't overlap price action)
█ HOW TO USE
1. Add the indicator to your chart.
2. Open Settings and enable/disable whichever levels you want to track.
3. Right-click the chart → Add Alert → select this indicator as the
Condition → choose one of the 4 built-in cross alerts.
This script is intended as a clean, configurable reference-level toolkit
for intraday traders working with daily/session-based key levels and basic
market structure (BOS/CHoCH), without needing to combine multiple
separate indicators.
⚠️ DISCLAIMER
This script is for educational and informational purposes only. It does
not constitute financial, investment, or trading advice, and should not
be relied upon for making trading or investment decisions. Past
performance of any strategy or level is not indicative of future results.
Trading and investing in financial markets involves substantial risk of
loss and is not suitable for every investor. You are solely responsible
for any trades or investment decisions you make. Always do your own
research and consult a licensed financial advisor before making any
trading decisions.
The author accepts no liability whatsoever for any direct or indirect
loss arising from the use of this script. Indicator

Indicator

Multi-Symbol Trend ScreenerDESCRIPTION
The Multi-Symbol Trend Screener is a powerful dashboard designed to analyze multiple stocks simultaneously using some of the most widely used trend-following and momentum indicators.
Instead of opening individual charts one by one, this indicator scans up to 20 different symbols and displays their current technical condition inside a clean and easy-to-read table.
Each stock is evaluated using six independent technical conditions:
• Price above EMA 20
• Price above EMA 50
• Price above EMA 200
• RSI above 50
• SuperTrend in Bullish Trend
• MACD Histogram above Zero
Every condition is displayed as either:
▲ Bull
or
▼ Bear
At the end of every row, the indicator calculates a Trend Score out of 6, allowing traders to quickly identify which stocks have the strongest overall bullish momentum.
This dashboard is suitable for:
• Swing Traders
• Positional Traders
• Momentum Traders
• Trend Following Strategies
• Stock Watchlist Analysis
• Daily Market Scanning
Because all calculations are performed using PulseWire's request.security() function, the dashboard continuously monitors all selected symbols without requiring multiple chart windows.
The indicator does not generate Buy or Sell signals. Instead, it acts as a market scanner that helps traders shortlist strong stocks before performing their own analysis.
━━━━━━━━━━━━━━━━━━━━
USER INPUTS :
Stock Selection
• Stock 1 = NSE:CDSL
• Stock 2 = NSE:RELIANCE
• Stock 3 = NSE:VEDL
• Stock 4 = NSE:TCS
• Stock 5 = NSE:BEL
• Stock 6 = NSE:BHEL
• Stock 7 = NSE:TATAPOWER
• Stock 8 = NSE:TATASTEEL
• Stock 9 = NSE:ITC
• Stock 10 = NSE:LT
• Stock 11 = NSE:HDFCBANK
• Stock 12 = NSE:ICICIBANK
• Stock 13 = NSE:SBIN
• Stock 14 = NSE:INFY
• Stock 15 = NSE:HCLTECH
• Stock 16 = NSE:MARUTI
• Stock 17 = NSE:ADANIENT
• Stock 18 = NSE:ONGC
• Stock 19 = NSE:WIPRO
• Stock 20 = NSE:AXISBANK
Indicator Settings
• EMA 1 Length = 20
• EMA 2 Length = 50
• EMA 3 Length = 200
• RSI Length = 14
• SuperTrend Length = 10
• SuperTrend Factor = 3
Table Settings
• Table Position = Top Right
• Table Size = Normal
Colors
• Table Background Color = #131722
• Header Background Color = #1E2A45
• Accent Color = #26C6DA
• Text Color = #D8DEE9
• Bullish Color = #00E676
• Bearish Color = #FF5252
━━━━━━━━━━━━━━━━━━━━
WHY IT IS UNIQUE:
• Scans 20 symbols simultaneously inside a single dashboard.
• Combines Trend, Momentum, and Moving Average analysis into one table.
• Uses six different technical confirmations instead of relying on a single indicator.
• Calculates an overall Bullish Score (0–6) for every stock, making ranking much easier.
• Eliminates the need to switch between multiple charts.
• Fully customizable watchlist so users can monitor their own stocks.
• Lightweight implementation by calculating multiple indicators in a single request.security() call for each symbol.
• Clean color-coded interface that allows users to identify market strength within seconds.
━━━━━━━━━━━━━━━━━━━━
HOW USER CAN BENEFIT FROM IT:
• Save significant chart analysis time by monitoring multiple stocks at once.
• Quickly identify the strongest trending stocks before entering a trade.
• Remove weak stocks from your watchlist using objective technical conditions.
• Compare multiple stocks side by side using identical indicator settings.
• Build a momentum-based watchlist for swing or positional trading.
• Improve trade selection by waiting for multiple indicators to align.
• Reduce emotional decision making by following predefined technical conditions.
• Use the Trend Score as an additional confirmation before taking a trade.
• Easily monitor changing market conditions throughout the trading session.
• Works well as a stock screener alongside your existing trading strategy.
━━━━━━━━━━━━━━━━━━━━
Disclaimer
This indicator is developed for educational and informational purposes only. It should not be considered financial, investment, or trading advice.
The indicator does not guarantee future performance or profitable trades. Always perform your own research and risk management before making any trading decisions.
Past performance is not indicative of future results.
Indicator

SMT Divergence Matrix [JOAT]════════════════════════════════
SMT DIVERGENCE MATRIX
════════════════════════════════
Smart Money Technique divergence, automated. This tool watches your chart symbol against up to two correlated reference assets and flags the moment they disagree at a swing — the classic footprint of one market failing to confirm another. When your chart carves a new low that a correlated market refuses to match, that non-confirmation is highlighted as a potential turn.
▎ WHAT IT DOES
It compares swing highs and lows on your chart to the same swings on two reference instruments and looks for SMT divergence — where the assets normally move together but split at a pivot. Each qualifying event is drawn as a connector line between the two chart pivots, tagged with a BUY or SELL pill, and paired with an optional ATR-based stop and target zone. A dashboard reports live correlation, structure, and which reference triggered.
▎ HOW IT WORKS
• Swing detection — confirmed pivot highs and lows are located on the chart using a configurable left/right pivot length . Larger values isolate more significant swings.
• Reference sync — the same high/low/close series are pulled for up to two reference assets on your chart's timeframe, guarded against invalid symbols.
• Bullish SMT — the chart prints a lower low while a correlated reference prints a higher low . That failure to confirm the downside is read as bullish non-confirmation.
• Bearish SMT — the chart prints a higher high while a correlated reference prints a lower high , reading as bearish non-confirmation.
• Either reference can trigger — a signal fires from whichever asset fails to confirm; the dashboard shows REF1, REF2, or both.
• Correlation filter — rolling correlation between chart and reference is measured over a lookback. SMT only makes sense when assets normally track together, so signals can be restricted to references whose correlation is currently at or above a minimum.
• Confirmation filter — the triggering bar can be gated by RSI momentum turning in the signal direction, by a directional candle close, by both , or by nothing.
• Cooldown — a minimum bar gap between same-direction signals prevents clustering, and the engine never fires a buy and sell on the same bar.
• Trade zones — on each signal, entry is taken at the close, stop is placed a chosen ATR multiple away, and the target is projected at your risk/reward ratio. The zones live-extend to the right each bar and freeze the moment price touches the stop or target.
▎ HOW TO USE IT
• Set Reference Asset 1 and 2 to instruments that genuinely correlate with your chart (index futures, sector peers, a lead/lag pair). The technique is only meaningful when the assets normally move together.
• A BUY pill below price marks bullish non-confirmation; a SELL pill above price marks bearish non-confirmation. The pill text names the reference that triggered.
• The divergence line connects the two chart pivots involved, so you can see the exact swings being compared.
• Treat the red zone as risk (entry-to-stop) and the blue/violet zone as reward (entry-to-target). Use them as a visual framework, not a mechanical order.
• Combine signals with your own read of market structure, session timing, and key levels rather than trading them in isolation.
▎ KEY SETTINGS
• Engine — swing pivot length, the two reference symbols and their enable toggles, and correlation lookback.
• Filters — confirmation mode (None / RSI / Candle / Both), RSI length, positive-correlation requirement with a minimum threshold, and signal cooldown.
• Trade Model — show ATR SL/TP toggle, ATR length, stop distance in ATR multiples, risk/reward target, and a cap on drawn setups for performance.
• Visuals — divergence lines, signal labels, pivot markers, label size, custom bull/bear colors, an optional candle zone-reader, and a session VWAP with ±σ bands.
• Dashboard — show toggle, position, and text size.
▎ DASHBOARD
The panel reports correlation state and value for each reference (Strong+, Positive, Weak, Negative, Strong−, or OFF), the last SMT side with the triggering reference, current market structure (HH / HL / LH / LL), running bull/bear counts , total divergences , live signal status , and current ATR .
▎ ALERTS
• Bullish SMT — chart lower low versus a correlated higher low.
• Bearish SMT — chart higher high versus a correlated lower high.
Both include ticker and interval placeholders in the message.
▎ NOTES
• Works on any symbol and any timeframe; references are read on the chart's own timeframe.
• Signals are based on confirmed pivots, which require the configured right-side bars to close before a swing is validated.
• Colored candles and VWAP bands are off by default for a clean chart, and the drawn-setup cap keeps performance stable.
• Reference data uses non-lookahead requests and tolerates invalid symbols without breaking the script.
For research and education only. This is not financial advice. No indicator predicts the future, on-chart signals and counts are illustrative of historical behavior only, and past behavior does not guarantee future results. Always manage your own risk.
Made with passion by JackOfAllTrades ⚡ Indicator

Indicator

5min ORB + Ripster EMA Clouds**5-Min ORB — Opening Range Breakout (with 1-Min Precision)**
This indicator marks the opening range of the session and highlights breakouts above or below it. While the range itself is built from the first 5 minutes of trading, you view and trade it on the **1-minute chart** for sharper entries and cleaner signals.
**Why use 1-minute candles**
Running this on a 1-minute timeframe gives you five candles inside the opening range instead of one. That means:
- You see exactly how the range forms — whether buyers or sellers dominated the open.
- Breakout timing is more precise, since a 1-min close through the level triggers sooner than waiting on a full 5-min candle.
- Stops and entries can be tighter, because you're reacting to smaller price increments.
- You catch fast momentum moves early, which matters most in the first 15–30 minutes when volatility is highest.
The trade-off: 1-minute charts produce more noise, so confirmation (a candle *close* beyond the level, not just a wick) becomes more important to avoid getting faked out.
**Understanding the clouds**
The "clouds" are the shaded zones the indicator paints on your chart. They give you instant visual context without reading exact price numbers:
- **The opening-range cloud** — the shaded box between the ORB high and ORB low. This is your no-man's-land. Price chopping inside this cloud means the market hasn't picked a direction yet, so most traders stay flat until price escapes it.
- **The bullish cloud (above the range)** — shades green (or your chosen color) once price breaks and holds above the ORB high. It signals the buyers are in control and marks the zone where long setups are valid.
- **The bearish cloud (below the range)** — shades red once price breaks below the ORB low, signaling seller control and the zone for short setups.
Think of the clouds as a traffic-light system: inside the range = wait, above = long bias, below = short bias. They keep you on the right side of momentum and stop you from fighting the trend.
**How to use it**
Let the first 5 minutes complete on your 1-minute chart to form the range. Watch for a 1-min candle to close outside the opening-range cloud. When price pushes into the bullish cloud, look for longs; when it drops into the bearish cloud, look for shorts. Combine with volume and higher-timeframe trend for the strongest setups.
*This tool is for educational purposes only and is not financial advice. Always backtest and manage risk before trading live.* Indicator

Engulfing Failed Zone [8 Types]Engulfing Failed Zone
Most engulfing tools show you where a pattern formed. This one shows you where it broke.
The script finds confirmed engulfing patterns and then keeps watching them. When price later
closes back through the far side of the pattern's Base candle, the pattern is invalidated and
the area it occupied is drawn as a failed zone, from the Base candle to the exact candle that
broke it.
A failed pattern is not noise. It marks a level where one side committed, was proven wrong,
and left an area behind that price often reacts to again.
WHAT MAKES THIS DIFFERENT
1. It tracks invalidation, not formation.
A normal engulfing indicator stops working the moment the pattern prints. This script treats
the pattern as an open structure and follows it forward until something breaks it. Only the
broken ones are drawn, so the chart shows failures rather than signals.
2. Failure is defined by the close, not by a wick.
A candle may spike through the Base candle and recover. That is not a failure here. The
breaking candle has to CLOSE beyond the level, and it has to be the correct color: a Red
candle closing below the Base Low breaks a Buy Engulfing, a Green candle closing above the
Base High breaks a Sell Engulfing.
3. Failed zones are sorted into eight types, not two.
The failure inherits the identity of the pattern that failed. A liquidity sweep engulfing that
fails is a different event from a plain two candle engulfing that fails, and the script keeps
them separate so you can study or filter them independently.
4. Only the first failure is drawn.
Once a pattern breaks, it is done. Later candles closing through the same level are not drawn
again, which keeps the chart readable instead of stacking boxes on one level.
THE PATTERNS BEING TRACKED
A candle is Green when close is greater than open, Red when close is less than open, and a
Doji when close equals open. A Doji is neither. Only fully closed candles are read, and the
running candle is never used.
Regular engulfing (2 candles)
R Buy EG
Red Base candle, and the very next candle is Green and closes above the Base candle's High.
R Sell EG
Green Base candle, and the very next candle is Red and closes below the Base candle's Low.
E-Regular engulfing (3 or more candles)
ER Buy EG
Red Base candle followed by a run of consecutive Green candles. The run must contain at least
2 Green candles, and confirmation happens when one of them closes above the Base candle's
High. A single Red candle appearing before confirmation cancels the run. Doji candles are
skipped: they neither count toward the run nor break it.
ER Sell EG
Green Base candle followed by a run of at least 2 consecutive Red candles, one of which closes
below the Base candle's Low. A single Green candle cancels the run. Doji candles are skipped.
If the very first candle after the Base already closes through it, that is by definition a
Regular pattern, so E-Regular requires the second candle or later to break the level. One Base
candle can therefore never produce both a Regular and an E-Regular pattern.
Type 1: the same four patterns plus a liquidity sweep
Type 1 adds one requirement. Before the close breaks through one side of the Base candle,
price must have traded through the opposite side.
T1 R Buy EG
An R Buy EG where the Confirm candle's Low is at or below the Base candle's Low.
T1 R Sell EG
An R Sell EG where the Confirm candle's High is at or above the Base candle's High.
T1 ER Buy EG
An ER Buy EG where at least one Green candle in the run has a Low at or below the Base
candle's Low. Any candle of the run qualifies, including the Confirm candle itself.
T1 ER Sell EG
An ER Sell EG where at least one Red candle in the run has a High at or above the Base
candle's High. Any candle of the run qualifies, including the Confirm candle itself.
The sweep is always measured against the Base candle, never against another candle in the run.
WHAT COUNTS AS A FAILURE
After a pattern confirms, the script scans forward one candle at a time.
A Buy Engulfing fails when a Red candle closes strictly below the Base candle's Low.
A Sell Engulfing fails when a Green candle closes strictly above the Base candle's High.
The scan begins on the candle after the Confirm candle, so a pattern is never judged by its
own confirmation. The first candle that meets the condition becomes the Failure candle, and
the zone is drawn from the Base candle across to it. Nothing is drawn for patterns that are
still intact.
That gives eight failed zone types in total: R Buy EG Failed, R Sell EG Failed, ER Buy EG
Failed, ER Sell EG Failed, and the four Type 1 versions of the same.
READING THE CHART
Each failed pattern draws a rectangle covering the Base candle's full High to Low range,
stretched horizontally from the Base candle to the candle that broke it.
Colors follow the OUTCOME, not the original direction. This is worth reading twice:
- A Buy Engulfing that failed is drawn in the bearish color. The buyers committed and lost, so
the area above is now resistance, and its label sits above the zone.
- A Sell Engulfing that failed is drawn in the bullish color. The sellers committed and lost,
so the area is now support, and its label sits below the zone.
In other words the zone is colored by who is in control after the failure, which is the
information you actually trade from.
The border tells you which pattern failed:
Solid border: a Regular pattern, confirmed by the very next candle
Dashed border: an E-Regular pattern, confirmation was delayed over several candles
Thin, softened border: a plain pattern, no sweep
Thick, crisp border: Type 1, a liquidity sweep occurred before confirmation
Type 1 zones are also filled more solidly, so the stronger patterns stand out when several
zones sit close together.
A separate line marks the broken edge of the Base candle: the Low for a failed Buy Engulfing,
the High for a failed Sell Engulfing. This shows at a glance which side of the pattern gave
way, and it is the level price most often returns to.
Each zone carries a label with its pattern tag, pointing at its own zone, so it is always
clear which label belongs to which rectangle.
A summary table in the corner counts how many of each type were found in the current scan
window, split into Buy EG and Sell EG columns. The counts include types that are currently
hidden, so the table always reflects what the market actually printed rather than what is
switched on.
SETTINGS
Scan
- Scan Length: how many closed candles are scanned backwards from the latest bar. The running
candle is always excluded.
Pattern Types
- An individual on and off switch for each of the eight failed zone types.
Zone Style
- Buy EG Failed Zone and Sell EG Failed Zone: the two zone colors. Defaults follow the outcome
logic described above.
- Zone Transparency: fill transparency of a plain Regular or E-Regular failed zone.
- Type 1 Extra Opacity: how much more solid Type 1 zones are filled compared to the value
above.
- Highlight Broken Edge, and its color: marks the side of the Base candle price closed
through.
Labels
- Show Labels, Label Size, and Label Distance from Zone as a percentage of the Base candle
height. Increase the distance on noisy charts so labels clear the candles.
Summary Table
- Show, position, and size of the corner table.
ALERTS
Eight alert conditions are available, one per failed zone type:
R Buy EG Failed, R Sell EG Failed, T1 R Buy EG Failed, T1 R Sell EG Failed, ER Buy EG Failed,
ER Sell EG Failed, T1 ER Buy EG Failed, T1 ER Sell EG Failed.
An alert fires on the candle that completes the failure. Each message carries the pattern tag,
the symbol, the timeframe and the closing price. The script also sends the same messages
through the alert function, so the "Any alert() function call" alert type can deliver every
failure through a single alert.
All alerts are evaluated only after a candle has fully closed.
Internally, every confirmed engulfing is held in a list and each closed candle is checked
against that list. This is what allows a failure to be reported the moment it happens, without
rescanning the whole history on every bar.
REPAINTING
This script does not repaint.
- Detection reads confirmed candles only. The scan starts one bar behind the latest bar, so
the candle that is still forming is never part of any calculation.
- Every alert signal is written so that it can only become true once a candle has finished.
Price moving inside an open candle cannot make a signal appear and then disappear.
- Zones are rebuilt on the last bar using confirmed history. A drawn zone does not move,
change color or change type afterwards. It only leaves the chart when it falls outside the
Scan Length window.
When you create an alert, PulseWire may show a caution banner saying the indicator can
repaint. That banner appears automatically for any script that uses the built in bar state
variables, no matter how they are used, because the platform cannot check the intent behind
them. This script uses them for the opposite purpose: one of them is what restricts every
signal to bar close, and the other is what redraws the zones efficiently on the final bar.
Choosing "Once Per Bar Close" when creating the alert is still recommended.
NOTES AND LIMITATIONS
- Nothing is drawn for a pattern that has not failed. An empty chart means the engulfing
patterns in that window are all still intact, which is information in itself.
- Increasing Scan Length raises the number of drawing objects. PulseWire caps these at 500
boxes, 500 labels and 500 lines, and the oldest objects are dropped once a cap is reached.
The default value is chosen to stay well inside those limits on normal charts.
- A very short Scan Length can hide zones whose Base candle sits outside the window even
though the failure is recent. If failures seem to be missing, raise the Scan Length.
- For alerts, the number of patterns tracked at once is capped, and the oldest are released
first. In practice patterns fail or age out long before this matters.
- Detection is purely structural. It reports where a pattern broke and nothing more. It does
not rank failures by quality, measure what happened afterwards, or produce entries, targets
or stops.
- Doji candles are treated as neutral by design. They never act as a Base candle and never
break an E-Regular run. On symbols and timeframes that print many Doji candles this makes
runs slightly more tolerant than a strict same color rule would be.
HOW TO USE IT
A failed engulfing zone marks a level where one side of the market committed and was proven
wrong. Traders commonly watch these areas for:
- Broken supply and demand zones that price returns to and respects from the other side
- Areas where a reversal attempt was flushed out before the move continued
- Momentum shifts, since a failed reversal often precedes a strong continuation
Type 1 failed zones are worth separating out. There the pattern first grabbed liquidity, then
confirmed, and then still failed, which is a different story from a clean pattern simply being
overrun.
These zones are reference areas, not entry signals on their own. Use them alongside higher
timeframe structure, your own support and resistance mapping, and proper risk management.
DISCLAIMER
This indicator is a pattern detection tool. It is not financial advice and it makes no claim
about profitability. Trading involves risk. Always apply your own analysis and risk management. Indicator

APB Pair Trade Direct - Cointegration🔰 APB PRO - Cointegration Pair Trading (Fool-Proof)
📌 What is this?
APB stands for "A Prueba de Bolu2" (Spanish for "Fool-Proof" - with all due respect 😉).
This is a professional Pair Trading indicator that does all the heavy lifting for you. It automatically calculates cointegration, correlation, and provides crystal clear BUY and SELL signals directly on your chart.
You don't need to be a mathematician, a statistician, or a coding expert. Just look at the arrows and the background color. The indicator does the rest.
🎯 How Does It Work?
The indicator analyzes the spread of the pair you have open on your chart (e.g., BTC/ETH, SOL/ETH, LINK/BTC, etc.) and calculates:
Historical Mean → Where the pair should normally trade.
Standard Deviations → When the pair is extremely cheap or expensive.
Real-time Cointegration → Whether the pair is behaving stably or erratically.
When the spread moves too far from its mean, the indicator alerts you with a clear arrow signal.
🟢🔴 SIGNALS (Fool-Proof)
Signal Interpretation Recommended Action
🟢 GREEN arrow pointing UP with "BUY" The pair is at the FLOOR (cheap). Spread hit the lower limit. BUY the pair (expecting mean reversion up)
🔴 RED arrow pointing DOWN with "SELL" The pair is at the CEILING (expensive). Spread hit the upper limit. SELL the pair (expecting mean reversion down)
🟩 GREEN background ✅ Cointegration ACTIVE. The pair is stable. SAFE TO TRADE (signals are valid)
🟥 RED background ❌ Cointegration INACTIVE. The pair is erratic or trending. BETTER TO WAIT (indicator will NOT give signals)
⚙️ PARAMETERS (Only 2 to Adjust)
Parameter Recommended Value What It Does
Analysis Period 100 Number of candles for mean and deviation calculation. Higher = more stable but slower.
APB Sensitivity 2.0 Controls signal frequency.
• 1.5 = More signals (aggressive)
• 2.0 = Balanced (recommended)
• 2.5-3.0 = Fewer signals (conservative)
Advanced Filters (Optional)
Parameter Recommended Value What It Does
🔒 Activate Cointegration Filter true Filters signals when the pair is unstable. Keep this ON.
📐 Slope Period 20 How many candles to measure stability. (Default is fine)
📏 Slope Threshold 0.05 Lower = more strict. 0.03 is very strict. (Default is fine)
📊 CONTROL PANEL (Real-Time Info)
The panel in the top-right corner shows you everything you need at a glance:
Data What It Means
Deviation % How far the pair has moved from its mean (in percentage).
🔴 Ceiling (SELL) Upper limit. If spread reaches this → SELL signal.
🟢 Floor (BUY) Lower limit. If spread reaches this → BUY signal.
🔒 Cointegration ✅ ACTIVE = good to trade.
❌ INACTIVE = better to wait.
📐 Slope Close to 0 = stable pair. Far from 0 = trending (cointegration broken).
🚀 Which Pairs Work Best?
This indicator is designed for cryptocurrency pairs with high liquidity and historical correlation:
Pair Recommendation
BTC/ETH ⭐⭐⭐⭐⭐ (Most stable and reliable)
ETH/BTC ⭐⭐⭐⭐⭐ (The inverse, equally good)
SOL/ETH ⭐⭐⭐⭐ (Good, but more volatile)
LINK/BTC ⭐⭐⭐⭐ (Works well in cycles)
MATIC/ETH ⭐⭐⭐ (Adjust sensitivity lower)
BNB/ETH ⭐⭐⭐ (Similar to SOL/ETH)
AVAX/ETH ⭐⭐⭐ (Adjust sensitivity)
⚠️ Does NOT work well on:
Low-liquidity pairs
Highly volatile memecoins (DOGE, SHIB, PEPE)
Pairs with extreme trend movements
🔔 Automatic Alerts
The indicator includes native alerts so you never miss an opportunity:
Alert Message
🟢 APB BUY SIGNAL "🟢 APB BUY: Pair is cheap with active cointegration. Go LONG!"
🔴 APB SELL SIGNAL "🔴 APB SELL: Pair is expensive with active cointegration. Go SHORT!"
To activate: In PulseWire, go to "Alerts" → "Create Alert" → Select the condition → Done.
💡 Pro Tips for Best Results
1. Only Trade When Background is GREEN
If the background is red, the indicator won't give signals. This is a protection mechanism. Don't force trades when cointegration is broken.
2. Don't Trade Every Signal
Wait for the arrow to appear on a green background with decent volume. The best setups are when the spread touches the limit and the market is calm.
3. Use the Right Timeframe
Timeframe Best For
1h - 4h Swing trading (days to weeks)
15m - 30m Day trading (hours)
1m - 5m ❌ Too much noise. Avoid.
4. Adjust Sensitivity Per Pair
Pair Recommended Sensitivity
BTC/ETH 2.0 (perfect)
SOL/ETH 2.2 - 2.5 (avoid false signals)
LINK/BTC 2.0 - 2.2
Volatile pairs 2.5+ (more selective)
5. Watch the Slope
If you see the slope spiking (far from 0), it means the pair is in a strong trend and cointegration is breaking. Wait for it to stabilize before trading.
🧠 How Is It Calculated? (For the Curious)
Normalization → Price is divided by its moving average to put it on a percentage scale.
Spread → The percentage deviation of the price from its mean.
Limits → Mean ± (Sensitivity × Standard Deviation).
Cointegration → Measured by the spread's slope over a short period. If the slope is close to 0, the pair is stable.
Signals → Triggered when the spread crosses the limits AND cointegration is active.
📜 Technical Details
Aspect Details
Version 2.0 (Direct Pair)
Pine Script v6 (Compatible with PulseWire)
Author APB Community
Recommended Timeframes 1h, 4h, 1D
Recommended Cryptos BTC, ETH, SOL, LINK, MATIC, BNB, AVAX
Overlay Yes (shows directly on price chart)
❓ Frequently Asked Questions
Q: Can I use this on stocks or forex?
A: Technically yes, but it's optimized for cryptocurrencies due to their higher volatility and correlation patterns.
Q: Why are there no signals even when the spread hits the limits?
A: Because the cointegration filter is active and the pair isn't stable. This is a safety feature to protect you from false signals.
Q: What does "Slope" mean in the panel?
A: It measures the speed of the spread movement. Close to 0 = stable (cointegrated). Far from 0 = trending (cointegration broken).
Q: Can I disable the cointegration filter?
A: Yes, set "Activate Cointegration Filter" to false in the advanced parameters. But I don't recommend it unless you're an experienced trader.
Q: Why is the background red/ green?
A:
🟩 GREEN = Cointegration ACTIVE → Valid signals.
🟥 RED = Cointegration INACTIVE → No signals (wait).
⭐ Rating
Aspect Score
Ease of Use ⭐⭐⭐⭐⭐ (Fool-Proof)
Accuracy on BTC/ETH ⭐⭐⭐⭐⭐
Accuracy on Altcoins ⭐⭐⭐⭐ (Adjust sensitivity)
Signal Clarity ⭐⭐⭐⭐⭐
Beginner Friendly ⭐⭐⭐⭐⭐
Professional Quality ⭐⭐⭐⭐
⚠️ DISCLAIMER (Important!)
This indicator is a TOOL for analysis, NOT a guarantee of profits.
Pair Trading reduces risk but does not eliminate it.
Cryptocurrencies are extremely volatile and can break cointegration during extreme events (news, hacks, regulations, black swan events).
Always use proper risk management:
Set stop-losses
Use appropriate position sizing
Never risk more than you can afford to lose
Test the indicator in PAPER TRADING before using real money.
Past performance does not guarantee future results. Trade responsibly.
🙏 Acknowledgments
Thank you for using APB PRO - Cointegration Pair Trading!
Remember the golden rule: The best trades are the ones you DON'T take when the market isn't clear. The red background is your friend - it tells you to wait.
May the spread always return to its mean! 🚀📊
💬 Feedback & Community
If you find this indicator useful:
⭐ Leave a like on the publication
💬 Share your experience in the comments
🔄 Repost to help other traders
Questions or suggestions? Drop a comment and I'll get back to you!
🏷️ Tags
Pair Trading Cointegration Spread Mean Reversion BTC/ETH Cryptocurrencies Trading Signals APB Fool-Proof Statistical Arbitrage Crypto Trading Swing Trading Day Trading Pine Script v6 Algorithmic Trading Indicator

MHIDa EMA-Stretch Pullback SuiteA Pine Script v6 indicator that helps you notice pullbacks (retracements) inside an uptrend. A single Depth knob switches between shallow dips (soft thresholds), deep dips (strict thresholds), and double dips (a second dip close after the first) - and the setup only lights up while price is inside the bull (above a long EMA gate).
What it does: the tool measures how stretched price is below its mean using one of three classic families - RSI, Bollinger Bands, or Z-score - and highlights the recovery candle after a dip. The Depth knob picks how strict the dip must be: Shallow (soft thresholds, a small dip, quick snap-back), Deep (strict thresholds, a more pronounced stretch), Double Dip (a second shallow dip within N bars of the first, often read as a retest).
How it is calculated: for each family the script compares the previous bar against a threshold (RSI below a level, close below a Bollinger band, or a Z-score below a level), then requires a green recovery candle (close above the previous close) to confirm. An EMA gate (default length 100) keeps the highlight off when price is not above this long average, so you do not read dips outside an uptrend. A reference EMA20 return-to-mean marker is drawn for educational context only, separate from the dip setup itself.
How to use it: add it to your chart, pick the Depth knob and the dip family that matches what you want to study, and watch how the highlighted bars line up with your own read of the trend. All inputs are free and the defaults are a starting point, not a tuned configuration.
This is a context and study tool, not a trading signal and not financial advice. It is not a stand-alone winner: it only highlights visual context and promises nothing. Any decision, and any evaluation of whether a view is useful, is entirely yours. Indicator

Market Structure HH/HL/LH/LL + MTF Trend TableWHAT IT DOES
This indicator marks swing structure - higher highs, higher lows,
lower highs, lower lows - draws a horizontal level line from every
swing point, and adds a multi-timeframe trend table that stays
visible regardless of the chart's timeframe.
WHAT IS DIFFERENT ABOUT IT
Two design decisions set it apart from the usual structure scripts.
First, swings are detected on closing prices by default, not on
wicks. The structure drawn on a candle chart is therefore identical
to the structure of the same instrument's line chart. Most structure
tools read highs and lows, which means the picture changes the moment
you switch chart type. A wick-based mode is available as an option
for those who want it.
Second, the structure drawing is bound to the chart's own timeframe.
Every timeframe is enabled separately and carries its own maximum
line length in bars - 30 for weekly, 40 for daily, 200 for 4H by
default - so higher timeframe levels do not clutter an intraday
chart. The trend table is independent of that and always reports
weekly, daily and 4H no matter where you are.
HOW THE LEVELS BEHAVE
Each swing point receives a line that extends to the right until one
of two things happens: price closes through it, or the timeframe's
maximum bar count is reached. Breaks are evaluated on closed bars
only, so an intrabar spike that is reversed before the close does not
terminate a level.
Two optional filters change what stays on the chart:
Only unbroken levels - line and label are removed the moment a level
is crossed, leaving only the levels that have not been taken yet.
Only relevant points (enabled by default) - keeps every point of the
current trend leg. In an uptrend that means all HH and HL back to the
low the move originated from, including highs that have already been
broken. The whole set is cleared only when the trend reverses, and
collection then starts in the opposite direction.
THE TREND TABLE
Trend is derived from breaks of structure: a close above the last
swing high sets UP, a close below the last swing low sets DOWN.
Each row compares two states - the trend as of the last closed bar,
and the trend right now. While they agree the cell reads UP or DOWN.
When price is breaking the opposite level and the candle is still
open, the cell reads UP SWITCH DOWN in orange. If the bar closes that
way it becomes a plain DOWN on the next bar; if price recovers before
the close, the switch state disappears by itself and leaves no mark
in the history.
Weekly, daily and 4H are always present. Monthly, 1H, 30m, 15m, 5m
and 1m can be added individually. The table can sit in any of the
four corners, with an offset setting that keeps it clear of
PulseWire's own chart buttons.
SETTINGS - THE INTERFACE IS IN GERMAN
General (Allgemein)
Pivot: Bars links / rechts - pivot strength, bars left and right.
Left filters noise, right controls how quickly a point is
confirmed. They are deliberately separate.
Berechnungsbasis - calculation basis: Close (line chart) or
High/Low (wicks)
Nur relevante Punkte (aktueller Trendabschnitt) - only relevant
points (current trend leg)
Nur ungebrochene Level (gebrochene loeschen) - only unbroken
levels, delete broken ones
Sonst: Linie beim Kreuzen beenden - otherwise end the line at the
cross
Linien anzeigen / Labels anzeigen - show lines / show labels
Max. gespeicherte Strukturpunkte - maximum stored structure points
Structure timeframes (Struktur-Timeframes)
aktiv | max. Linienlaenge in Bars - active | maximum line length
in bars
Bars - bars
Sonstige TFs - other timeframes
Structure appearance (Darstellung Struktur)
Label HH / HL, Label LH / LL - label colors
Linienfarbe / Breite - line color / width
Linienstil - line style: Solide (solid), Gestrichelt (dashed),
Gepunktet (dotted)
Labelgroesse - label size: Winzig (tiny), Klein (small), Normal,
Gross (large)
Trend table (Trend-Tabelle)
Trend-Tabelle anzeigen - show trend table
Position - Links oben (top left), Rechts oben (top right),
Links unten (bottom left), Rechts unten (bottom right)
Abstand vom Rand (Leerzeilen) - offset from the corner, in empty
rows
Textgroesse - text size
Hintergrund - background color
NOTES AND LIMITATIONS
A swing point is confirmed only after the number of bars set under
"rechts" has closed. With the default of 1, the newest point on the
live bar can still move or disappear until that bar closes. This is
inherent to pivot detection rather than a defect. Raise the right
value if you need points to be final once printed.
Requesting a timeframe lower than the chart's for the trend table -
5m rows on a daily chart, for example - returns dependable data only
for the most recent value. Higher timeframes viewed from a lower
chart are not affected by this.
The indicator describes structure. It generates no entries, no
targets, no directional advice and makes no claim about profitability.
-- Deutsch --
Der Indikator markiert die Swing-Struktur (HH, HL, LH, LL), zieht von
jedem Punkt eine Levellinie nach rechts und zeigt eine
Multi-Timeframe-Trendtabelle, die auf jedem Chart-Zeitrahmen sichtbar
bleibt.
Die Pivots rechnen standardmaessig auf Schlusskursen statt auf Wicks.
Dadurch ist das Bild im Kerzenchart identisch mit dem Linienchart -
der Unterschied zu den meisten Struktur-Skripten, die auf Hoch und
Tief lesen. Die Struktur wird nur auf den Zeitrahmen gezeichnet, die
in den Einstellungen aktiv sind, jeweils mit eigener maximaler
Linienlaenge. Jede Linie endet beim Kreuzen oder beim Erreichen
dieser Laenge, wobei der Bruch nur auf geschlossenen Kerzen gewertet
wird.
Der Trend leitet sich aus dem Strukturbruch ab. Laeuft ein Bruch
gerade, ist die Kerze aber noch offen, steht in der Tabelle
UP SWITCH DOWN in Orange. Schliesst die Kerze so, wird daraus ein
sauberes DOWN, dreht der Kurs vorher zurueck, verschwindet der
Hinweis rueckstandsfrei.
Der Indikator beschreibt Struktur. Er liefert keine Einstiege, keine
Ziele und keine Richtungsempfehlung. Indicator

Indicator

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

Trend Pullback Cross - CoreWHAT IT DOES
Marks bars where price reclaims the fast EMA while the intermediate trend and momentum backdrop are supportive, and the symbol clears a minimum liquidity requirement.
This is an entry filter. It marks a condition on the chart. It does not size a position, place a stop, or decide an exit.
HOW IT WORKS
Four conditions must be true on the same bar for a marker to print:
1. TREND
The mid EMA (default 20) must be at or above the slow EMA (default 50). This restricts signals to symbols whose intermediate trend is not already rolling over.
2. TRIGGER
The close crosses back above the fast EMA (default 10) after being below it on the previous bar. This is the timing component: it fires on the bar where price reclaims the short-term average rather than at an arbitrary point.
3. MOMENTUM
RSI (default 14) must be at or below the configured cap (default 66). Note this is a ceiling, not a floor. The intent is not to confirm strength, since the trend filter already does that, but to reject bars where the move is already extended and the reclaim is happening late.
4. LIQUIDITY
The 20-bar simple average of volume must be at or above the configured minimum (default 15000). Without this, the script produces signals on counters where the entry cannot realistically be filled at the marked price.
WHY THESE FOUR TOGETHER
Each condition removes a different failure mode, and the combination is what matters rather than any single component.
A fast EMA reclaim on its own fires constantly in sideways price action, because price oscillates across a short average by definition. Adding the trend filter removes reclaims that occur inside a downtrend, where the average is falling and the cross means little.
That pair still leaves a common problem: a reclaim that arrives after the move has already run. The RSI ceiling addresses that specific case, which is why it is configured as an upper bound rather than the usual lower bound.
The liquidity floor is separate from signal quality. It exists because a technically valid signal on an illiquid counter is not a tradable one, and screening it out afterwards is more work than filtering it here.
SETTINGS
All four filters can be switched off independently. Turning them off one at a time on a chart you know is the fastest way to see what each one removes and what it costs you in missed signals.
All EMA lengths, the RSI length and cap, and the volume threshold and averaging period are configurable. EMA plotting can be turned off if you already have moving averages on your chart.
The three EMAs are plotted by default. The signal itself prints as a small circle below the qualifying bar.
An alert condition is included and fires on the same bar as the marker.
USAGE NOTES
Built with daily-timeframe swing setups on equities in mind. The logic itself is timeframe-agnostic, but the default volume threshold assumes daily bars and will need adjusting on intraday charts.
The marker on the current bar is provisional until that bar closes, since the close is part of the trigger condition.
LIMITATIONS
The script identifies a condition. It has no view on what happens after the bar it marks, and no filter here prevents a signal from failing. Position sizing, stop placement, and exits are left entirely to the trader.
Nothing in this script predicts price. Indicator

Zero Noise LevelsThe Previous Highs and Lows, Outlined. Nothing else.
What it does
- Marks the completed previous day, week, and month high and low — six levels, never more.
- Each level anchors at the candle that actually made it and extends forward until price trades through it — then it greys out and stops. A sweep counts on the wick: any trade through the level retires it, even if the candle closes back inside.
- When a new day, week, or month begins, its levels replace the old pair. Nothing accumulates — the cleanup is structural, not a setting.
- Levels come from completed periods only, so they never repaint. Each level takes the more extreme of the official candle and what your chart actually printed — on stock charts showing extended hours, the line sits on the wick you can see.
- Theme: Auto / Dark / Light — change any swatch and your color wins on every theme.
What it deliberately doesn't do
- No signals, no alerts, no arrows — a deliberate omission in the free tools, not an oversight. A previous high is context, not a trade call. The trade is yours.
Settings
- Levels: Previous Day / Previous Week / Previous Month, each an independent toggle
Style: theme, colors, line width and style, level tags, watermark — all optional
Futures, stocks, and FX. Each level shows on any chart timeframe at or below its own period.
For informational and educational purposes only — not financial advice. Trading involves substantial risk of loss; past performance does not guarantee future results. Indicator

Zero Noise KillzonesThe Killzones, outlined. Nothing else. The ICT killzones drawn cleanly, with each one's high and low carried forward as levels.
What it does
- Outlines the killzones: Asia (20:00–00:00), London (02:00–05:00), New York AM (09:30–11:00), New York Lunch (12:00–13:00, off by default), and New York PM (13:30–16:00) — all pinned to New York time, so daylight-saving changes are handled automatically on any chart, in any timezone.
- A separate forex set — Asia, London Open, New York Open (07:00–10:00), London Close (10:00–12:00) — off by default, so forex traders have the complete set in one place. NY AM and NY Open overlap by design: different windows that share 30 minutes.
- When a killzone closes, its high and low carry forward as levels. A level stays lit and keeps extending until price trades through it — then it greys out and stops. A sweep counts on the wick: any trade through the level retires it, even if the candle closes back inside. A wick through a level is information — that's the definition, on purpose.
- Days Kept bounds how long anything lives on the chart. Nothing accumulates forever.
- Custom windows: up to seven of your own sessions, any HHMM–HHMM window (midnight wraps handled), in any timezone.
What it deliberately doesn't do
- No signals, no alerts, no arrows — a deliberate omission in the free tools, not an oversight. A killzone high is context, not a trade call. The trade is yours.
Settings
- Killzones: five futures windows plus the four-window forex set, each an independent toggle
- Extend Highs & Lows: Until Swept (levels carry forward) or Session End (outlines only)
- Custom: timezone + up to seven custom windows
- Theme: Auto / Dark / Light — change any swatch and your color wins on every theme
- Line width, fill, tags, Days Kept (1–5), watermark — all optional
Futures, stocks, and FX, on any intraday chart up to 1h — above 5m, windows are rebuilt from 1-minute data for exact alignment.
For informational and educational purposes only — not financial advice. Trading involves substantial risk of loss; past performance does not guarantee future results. Indicator

Zero Noise Opening RangePure structure. Zero noise.
The opening range, outlined. Nothing else.
What it does
Sessions: New York (09:30 ET), London (08:00 UK), Asia (09:00 Tokyo) — one, all three, or a custom open time and timezone. Each session is tracked independently.
Range length: the first 5m, 15m, 30m, or 1h of the open, or a custom length.
Extend Until: Break Confirmation (default) freezes the range when a candle of your confirmation timeframe (1m–30m) closes outside it. Closed candles only — wicks don't count, nothing repaints. Session End runs the range to the close regardless of breaks.
Every range ends at its market's close (NY 16:00 ET, London 16:30 UK, Tokyo 15:30 JST).
Broken ranges grey out (optional), so live levels stay obvious.
Works on any intraday chart up to 1h. Above the range length, the range is rebuilt from 1-minute data for exact alignment.
What it doesn't do
No signals, no alerts, no arrows. An opening range is context. The trade is yours.
Settings
Session: New York / London / Asia (Tokyo) / All 3 / Custom (default: All 3)
Opening range: 5m / 15m / 30m / 1h / custom minutes
Break confirmation candle: 1m to 30m (default 5m)
Midline, fill, grey-out, tags, days kept, watermark — all optional
Futures, stocks, and FX. A notice panel flags any invalid setting.
For informational and educational purposes only — not financial advice. Trading involves substantial risk of loss; past performance does not guarantee future results. Indicator

Regression VectorRegression Vector
The Regression Vector is a trend visualization tool that converts a Linear Regression calculation into a directional arrow. Instead of displaying the traditional regression line, this indicator draws a single vector representing the overall direction, strength, and angle of price movement over a user-defined lookback period.
A built-in Consolidation Range also highlights periods of low directional movement, making it easy to distinguish between trending and ranging markets at a glance.
Features
• Draws a Linear Regression vector over the selected lookback period.
• Automatically colors the vector based on market conditions.
• Green = Bullish trend.
• Red = Bearish trend.
• Orange = Consolidation.
• Adjustable Consolidation Range measured in degrees.
• Optional angle label displays the regression angle in degrees.
• Adjustable arrow width.
• Optional right-side extension to project the regression direction into future bars.
How It Works
The indicator calculates the Linear Regression value at both the beginning and end of the selected lookback window.
These two regression values become the endpoints of the vector.
The arrow represents:
• Direction of the trend
• Magnitude of the regression slope
• Approximate trend angle
If the calculated angle falls within the user-defined Consolidation Range, the arrow turns orange to indicate that the market is moving with relatively little directional momentum.
Because the calculation is based on Linear Regression rather than individual candles, the vector filters much of the market noise while still responding to changes in trend.
How to Calibrate
The Lookback setting controls the sensitivity of the regression.
• Smaller values (10–30)
• Faster response
• More sensitive to short-term swings
• Better for scalping and lower timeframes
• Medium values (40–80)
• Balanced responsiveness
• Suitable for most intraday trading
• Larger values (100+)
• Smoother regression
• Focuses on major market direction
• Better for swing trading and higher timeframes
The Consolidation Range determines how flat the regression angle must be before the market is considered to be consolidating.
• Smaller values (2°–5°)
• Only very flat markets are classified as consolidation.
• Medium values (5°–10°)
• Balanced detection suitable for most markets.
• Larger values (10°–20°)
• More market conditions are classified as consolidation.
Adjust both settings together until the indicator reflects the trend duration and market behavior you want to analyze.
Best Uses
• Identifying overall market direction
• Detecting consolidation before breakouts
• Measuring trend strength
• Filtering countertrend trades
• Confirming momentum before entering positions
• Comparing trend quality across different markets and timeframes
Tips
• Steeper angles generally indicate stronger directional momentum.
• Orange arrows indicate periods where the regression angle remains within your selected consolidation threshold.
• Combining the Regression Vector with support/resistance, market structure, or moving averages can improve trade confirmation.
The Regression Vector is designed to provide a simple visual representation of trend direction, trend strength, and consolidation, making it easy to assess market conditions at a glance without overcrowding your chart.
Indicator
