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

Bitcoin Halving Compass**Bitcoin Halving Compass** is a clean, timeframe-independent indicator designed to visualize Bitcoin’s recurring halving cycle.
The script marks three key points around each halving:
* **BUY marker** — placed a configurable number of calendar days before the halving
* **HALVING marker** — identifies the historical or estimated halving date
* **SELL marker** — placed the same number of calendar days after the halving
The default setting uses a **500-day offset**, but users can adjust this value from the indicator settings.
### Key Features
* Includes all confirmed Bitcoin halvings from 2012, 2016, 2020, and 2024
* Projects future halving cycles
* Uses calendar timestamps, allowing consistent alignment across intraday, daily, weekly, and monthly charts
* Separates historical halvings from estimated future halvings using different line styles and colours
* Allows users to update the estimated next halving date
* Supports configurable colours, line widths, labels, and visibility settings
* Does not repaint historical event dates
* Does not execute trades or place orders
### How It Works
Bitcoin halvings occur every 210,000 blocks. Historical halving timestamps are stored directly in the script.
Future dates are estimated using an average block interval of approximately 10 minutes. Since actual block production varies, projected future dates may shift over time. Users can update the next estimated halving date through the indicator settings, and all subsequent projections will adjust automatically.
### Suggested Use
This indicator can be used to:
* Study Bitcoin’s long-term market cycles
* Compare price behaviour before and after previous halvings
* Identify recurring accumulation and distribution windows
* Support broader macro and cycle-based analysis
* Create a consistent visual reference across multiple timeframes
### Important Note
The BUY and SELL labels are cycle markers only. They are not guaranteed trading signals, financial advice, or recommendations to enter or exit a position.
Future halving dates are estimates and should be updated as blockchain-based projections change.
Indicator

Indicator

Indicator

Hype Check - Swing: Big Move. Or just HYPE?Is this move actually unusual?
Big candle. Big volume. Everyone suddenly has a thesis.
Cool.
A 4% move in PLTR and a 4% move in KO are not the same event. Over the
last two years PLTR did that once every 4 sessions. KO, once every 125.
Your screener paints both the same shade of green.
something special? NAH.
████░░░░░░ HOLDING THE LOWS
-7.3% from the peak
normal? yes · a normal stretch for QQQ
who's winning nobody · both sides matched
the crowd growing into the fall
next floor 658.20 · 3.4% below, tested twice
above you nothing until 712.40 · 4.6% up
but it closed well off the lows
YEAH . Something unusual is happening.
KINDA . Worth watching. Not enough for a decision.
NAH . Looks dramatic. Statistically, it isn't.
Then it names what the chart is actually doing: BREAKING DOWN, SNAPPING
BACK, HOLDING THE LOWS, COILING, GRINDING UP, RANGE BOUND, and a few more.
THREE THINGS IT DOES DIFFERENTLY
It measures the move, not the calendar. A three day collapse doesn't get
averaged away inside a 20 day window, and a bounce off the low doesn't
erase the fall that came before it.
It sizes levels in the stock's own daily range. Early versions put a
"level" 0.6% away on a stock that routinely moves 8% in a day. Useless.
Now a level only counts if price would have to work to reach it, and the
ones price has turned at more than once are drawn solid.
It will tell you nothing is happening . Most days that is the honest
answer, and most tools won't say it.
YEAH does not mean buy. It means pay attention. A rare move can continue,
reverse or stall, and a great looking setup can still be a bad trade.
No predictions. No magic arrows. No fake certainty.
Rare is not the same as actionable.
Daily swing charts. Free and open source.
Not financial advice.
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

Apex Edge - Wyckoff Exhaustion + Lag CorrelationApex Edge — Wyckoff Exhaustion + Lag Correlation
Two edges, one chart: internal exhaustion meets external confirmation.
Most indicators show you what price is doing. This one goes a layer deeper — it tells you when the move is running out of steam (Wyckoff effort-vs-result), and cross-checks that against what other markets are already telling you before that steam runs out (lag correlation). When both align, you're not just reading price — you're reading the market's exhaustion against a leading signal from a related asset.
The core idea
Wyckoff's Law of Effort vs. Result says: big volume should produce big price movement. When it doesn't — heavy effort, weak result — that's a sign smart money is absorbing supply or demand, and a reversal or pause is brewing. That's the internal signal.
Internal exhaustion alone can still give false signals, though. So this script adds an external check: does a correlated asset (the Dollar Index, VIX, 10-Year Yield, or whatever leads your instrument) show a lagged relationship that supports the same conclusion? When exhaustion and cross-asset correlation line up, the script flags it as genuine confluence.
What it detects
1. Exhaustion (Effort vs. Result)
Compares volume pressure to the price movement it produced:
Effort = current volume ÷ its moving average
Result = the bar's price range ÷ ATR
Exhaustion Ratio = effort ÷ result (boosted when result is near-zero, catching true "big volume, no movement" bars)
Ranked against its own history via percentile rank, so "exhausted" adapts to each instrument's own behaviour rather than a fixed number
2. Springs & Upthrusts
A Spring is a failed breakdown below the range low on a volume spike — often marking accumulation
An Upthrust is the mirror image at the top — often marking distribution
Both require volume to clear a multiple of its average, filtering out noise
3. Sign of Strength / Sign of Weakness (SOS/SOW)
Confirms a spring or upthrust is turning into an actual markup/markdown, not just a failed test that goes nowhere.
4. Accumulation/Distribution boxes
Visual range boxes drawn around the structure each signal is reacting to.
5. Cross-Asset Lag Correlation
For each candidate asset (auto-selected by asset class — DXY, VIX and the US 10Y yield for Forex; VIX, DXY and the 10Y/2Y for Indices; BTC dominance and total crypto cap for Crypto), the script tests your instrument's returns against the candidate's returns shifted back across a range of lags, and keeps whichever lag produced the strongest relationship. This is deliberately a leading-indicator search only — same-bar/concurrent correlation is intentionally excluded, so a candidate only earns a place in the table by predicting your instrument, not just moving alongside it.
Why the correlation dashboard
Correlations aren't static — DXY might lead EURUSD strongly one month and weakly the next. Rather than betting on one hardcoded relationship, the dashboard shows you live, per-candidate: symbol, lag (in bars), and correlation strength, color-coded so a genuinely strong lead stands out from noise.
How to trade it
Don't act on a Spring/Upthrust label alone. It marks a test, not a confirmed turn — treat it as "get interested," not "get in."
Wait for SOS/SOW. This is the market confirming the test held. A Spring followed by SOS is a materially stronger case than the Spring alone.
Use the Exhaustion tag as a warning, not a trigger. It flags disproportionate effort right now — good for tightening stops or hesitating before chasing a breakout, not for blind entries.
Treat the confluence triangle as the highest-conviction signal on the chart. It only fires when a Spring/Upthrust coincides with a genuinely leading cross-asset correlation above your threshold — internal structure and external confirmation agreeing at once.
Check the correlation table's Lag column before trusting a triangle. A low lag (1–3 bars) means a short reaction window. A higher lag gives more breathing room but is often a weaker, less reliable relationship.
No triangle doesn't mean no valid setup. A triangle only appears when the external confirmation clears your threshold — the underlying Wyckoff signal can still be valid without it.
The dashboard is optional
Want pure Wyckoff with none of the extras? Flip off "Show Correlation Dashboard" in settings and the table disappears entirely, leaving a clean chart of springs, upthrusts, SOS/SOW, exhaustion tags, and phase boxes. The cross-asset engine still runs quietly underneath for confluence triangles, but the HUD itself won't take up chart space unless you want it. Indicator

Indicator

Indicator

Indicator

Previous Week High/Low CandlePrevious Week High/Low Candle — with Quadrants
Marks the two candles that defined the previous week's trading range and turns each into a reference zone for the current week.
What it plots
High-candle box (red): the exact candle that printed last week's highest high. The box spans that candle's full range — wick to wick.
Low-candle box (green): the candle that printed last week's lowest low, drawn the same way.
Both boxes extend to the right, so they sit as live support/resistance across the current week.
Quadrants
Each box is divided at 25 %, 50 % and 75 % of its range. The 50 % midline is the primary reference — price often reacts there before committing to the full box. The 25/75 lines mark the shallow and deep halves for finer entries. All three are drawn in dark tones so they stay readable against the pale fill.
Why the candle, not the whole week
A weekly high/low is created by a single candle — that candle's body and wick are where the actual rejection happened. Marking just that candle gives a tight, tradeable zone instead of a week-wide band.
Behaviour
Only the last completed week is shown; the levels roll forward automatically at each weekly open.
Built for the 1H chart, works on any intraday timeframe.
Fully configurable: colours, fill and border transparency, quadrant visibility and line style, right-extension, and labels with prices.
Indicator

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

Kiron Q-Trend Gold ProKiron Q-Trend Gold Pro is a trend-following and confluence indicator designed primarily for gold trading, particularly XAUUSD.
It substantially expands the original Q-Trend concept by combining a stateful ATR-adjusted trend line with a weighted confirmation engine. Instead of classifying a signal as “strong” simply because price opened near the top or bottom of a historical range, this version evaluates multiple independent market conditions before producing a qualified signal.
The indicator combines:
Q-Trend direction
Higher-timeframe trend
Session VWAP
ADX and directional movement
ATR volatility regime
RSI and MACD momentum
Confirmed market structure
Breaks of structure
Candle quality
ATR-based stop-loss and target projections
The purpose is not to predict every market move. It is designed to filter out low-quality conditions and highlight situations where several forms of technical evidence agree.
Core concept
The indicator is built around a stateful Q-Trend line.
The line starts from the midpoint of the highest and lowest source values over the selected trend period. It then moves higher or lower in ATR-adjusted increments when price travels sufficiently far from its previous value.
This creates a directional trend state:
Green Q-Trend line: bullish trend state
Red Q-Trend line: bearish trend state
Grey Q-Trend line: neutral or insufficient trend information
A change in the Q-Trend direction can become a possible trade trigger, but a signal is only qualified when the enabled filters also agree.
Weighted confluence engine
Every bullish and bearish setup receives a score from 0 to 100.
The default weighting is:
Component Weight
Q-Trend direction and quality 20
Higher-timeframe trend 15
VWAP alignment 15
ADX and directional movement 15
ATR volatility regime 10
Momentum 15
Market structure 10
Total 100
The bullish and bearish scores are calculated separately.
A score is not a guaranteed probability of success. An 85 score does not automatically mean an 85% win rate. It means that a large proportion of the indicator’s technical conditions are aligned in that direction.
Signal grades
Signals are grouped into the following grades:
Score Grade General interpretation
85–100 A+ Premium confluence
80–84 A Strong confluence
75–79 B+ Good confluence
70–74 B Moderate confluence
60–69 C Weak or incomplete alignment
Below 60 No Trade Insufficient confluence
The default Gold Intraday preset requires a score of at least 75.
For more selective trading, traders may raise the minimum score to 80 or 85.
Components explained
1. Q-Trend engine
The Q-Trend line is adjusted using ATR.
Price must move beyond the previous trend line by a specified ATR distance before the trend line advances or changes direction.
The ATR multiplier controls sensitivity:
Lower multiplier: faster signals, more noise
Higher multiplier: slower signals, fewer reversals
Lower trend period: more responsive
Higher trend period: smoother and slower
The rewritten engine separates:
the current trend state;
a genuine trend-direction change;
a continuation setup.
This avoids treating every candle above or below the threshold as a new crossover.
2. Higher-timeframe trend
The higher-timeframe filter compares a fast EMA and a slow EMA using the most recently completed higher-timeframe candle.
A bullish higher-timeframe condition normally requires:
Fast EMA above slow EMA
Higher-timeframe close above the fast EMA
Fast EMA rising
A bearish condition normally requires the opposite.
The higher-timeframe data is intentionally based on completed candles. This reduces the risk of signals changing because the current higher-timeframe candle is still developing.
Preset defaults:
Preset Trading chart Higher-timeframe filter
Gold Scalping M3–M5 M15
Gold Intraday M15–H1 H1
Gold Swing H4–D1 D1
3. Session VWAP
VWAP represents the session’s volume-weighted average price.
The indicator can require:
Bullish alignment
Price above VWAP
VWAP rising
Price not excessively extended above VWAP
Bearish alignment
Price below VWAP
VWAP falling
Price not excessively extended below VWAP
The maximum VWAP distance setting helps reduce late entries after price has already moved too far away from its session average.
This is especially useful on gold, where London and New York session expansions can produce sharp moves followed by fast mean reversion.
4. ADX and directional movement
ADX measures trend strength, while +DI and −DI indicate directional dominance.
A bullish ADX condition can require:
ADX above the minimum threshold
ADX below the maximum entry threshold
+DI above −DI
Optionally, ADX rising
A bearish condition can require:
ADX above the minimum threshold
ADX below the maximum entry threshold
−DI above +DI
Optionally, ADX rising
The maximum ADX filter is intended to reduce entries after a trend has already become extremely extended.
ADX measures trend strength, not direction. Direction comes from the relationship between +DI and −DI.
5. ATR volatility regime
The current ATR is compared with its own moving baseline.
This identifies whether volatility is:
too low;
within a normal tradable range;
unusually extreme.
The default acceptable range is:
Minimum ATR ratio: 0.80
Maximum ATR ratio: 2.50
A ratio below 0.80 indicates relatively quiet conditions.
A ratio above 2.50 indicates volatility that is significantly greater than its recent baseline. This may occur during major economic releases, sudden geopolitical events or extended breakout candles.
The purpose of this filter is to avoid trading when price is either too inactive or dangerously unstable.
6. Momentum engine
Momentum is assessed using RSI and MACD.
A bullish momentum condition normally requires:
RSI above the bullish threshold
RSI below the maximum long-entry level
MACD line above the signal line
MACD histogram above zero
RSI and MACD histogram rising, when slope confirmation is enabled
A bearish momentum condition normally requires the reverse.
Default RSI thresholds:
Bullish threshold: 52
Bearish threshold: 48
Maximum RSI for a new long: 76
Minimum RSI for a new short: 24
This creates a neutral region between 48 and 52 and reduces entries when RSI is already extremely stretched.
7. Market structure
The indicator identifies confirmed swing highs and swing lows using pivot calculations.
It evaluates:
Higher highs
Higher lows
Lower highs
Lower lows
Bullish breaks of structure
Bearish breaks of structure
A bullish break of structure occurs when price closes above the latest confirmed swing high.
A bearish break of structure occurs when price closes below the latest confirmed swing low.
Because swing pivots require candles to the right of the pivot, the swing is only recognised after it is confirmed. The indicator does not know a pivot exists at the exact moment the high or low first forms.
This confirmation delay is intentional and avoids treating every temporary high or low as meaningful structure.
Signal types
Trend-change signal
A trend-change signal occurs when the Q-Trend direction changes from bearish or neutral to bullish, or from bullish or neutral to bearish.
The signal must also pass the selected confluence filters and minimum score.
Continuation signal
A continuation signal attempts to identify a pullback within an established trend.
For a bullish continuation, the indicator looks for conditions such as:
Existing bullish Q-Trend
Recent interaction with the Q-Trend line or VWAP
Price returning above the relevant reference
Close above the previous candle’s high
Bullish filters and score aligned
A bearish continuation uses the opposite conditions.
Continuation mode can be disabled by selecting:
Trend Change Only
Signal confirmation
The default setting is:
Confirm Signals at Candle Close: On
With this enabled, signals are not treated as final until the current candle closes.
This is strongly recommended.
During a live candle, price can temporarily move above or below a threshold and then reverse before the bar closes. Candle-close confirmation reduces intrabar signal flickering, although it also produces slightly later entries.
For alerts, using Once Per Bar Close is recommended.
Trade framework
When a qualified signal occurs, the indicator can plot:
Entry
Stop
Target 1
Target 2
Target 3
The initial entry is based on the signal candle’s closing price.
The stop can include:
ATR-based distance
Latest confirmed swing high or swing low
Additional ATR swing buffer
For a long trade, the indicator uses the lower of:
the ATR stop;
the buffered swing-low stop.
For a short trade, it uses the higher of:
the ATR stop;
the buffered swing-high stop.
Default targets are:
Target 1: 1R
Target 2: 2R
Target 3: 3R
Here, R means the distance between the entry and stop-loss.
These projected levels are a framework, not a guarantee that each target will be reached. Traders should still consider nearby support, resistance, liquidity, session highs and lows, and major news events.
Dashboard
The dashboard displays the current state of the main components.
It includes:
Market bias
Dominant score
Trade grade
Q-Trend direction
Distance from Q-Trend in ATR
Higher-timeframe trend
VWAP position
Distance from VWAP
ADX value
DI direction
ATR regime
RSI and momentum direction
Structure direction
Recent break of structure
Active trade state
Current signal state
Dashboard interpretation
ELIGIBLE
The dominant directional score is at or above the selected minimum score.
This does not necessarily mean a new trade signal has occurred. It means market conditions are sufficiently aligned for that direction.
FILTERED
The dominant score is below the required threshold.
WAIT
Conditions may be aligned, but no qualifying trend-change or continuation trigger has occurred on the current candle.
NEW LONG or NEW SHORT
A qualifying trigger has occurred and the enabled filters have passed.
Recommended gold settings
Gold Intraday — recommended starting configuration
Best starting chart:
XAUUSD M15
Settings:
Preset: Gold Intraday
Signal mode: Trend Change + Continuation
Minimum score: 75
Premium score: 85
Confirm signals at candle close: On
Directional candle required: On
Strong candle body required: Off
Higher-timeframe trend: On
VWAP: On
ADX and DI: On
Minimum ADX: 18
ATR regime: On
ATR ratio: 0.80 to 2.50
Momentum: On
Market structure: On
Stop distance: 1.50 ATR
Targets: 1R, 2R and 3R
This uses H1 as the higher-timeframe trend filter.
Gold Scalping
Suggested chart:
M3 or M5
Preset behaviour:
Trend period: 100
Q-Trend ATR length: 10
ATR multiplier: 0.80
HTF: M15
HTF EMA: 20/50
Minimum ADX: 17
Minimum score: 80
Stop distance: 1.20 ATR
Scalping produces more signals and more market noise. A minimum score of 80 or higher is recommended.
Spread, slippage and execution speed become much more important on lower timeframes.
Gold Swing
Suggested chart:
H4
Preset behaviour:
Trend period: 250
Q-Trend ATR length: 21
ATR multiplier: 1.30
HTF: Daily
HTF EMA: 50/200
Minimum ADX: 20
Minimum score: 75
Stop distance: 2.00 ATR
Swing signals are less frequent and require wider stops and greater patience.
Suggested trading process
Long setup
A high-quality long setup generally contains:
Q-Trend is bullish.
Higher-timeframe EMA structure is bullish.
Price is above session VWAP.
VWAP is flat-to-rising.
+DI is above −DI.
ADX is above the minimum threshold.
ATR regime is valid.
RSI and MACD momentum are bullish.
Market structure is bullish or a bullish BOS recently occurred.
The signal candle closes bullish.
The score is at least 75.
There is sufficient room before the next major resistance.
Short setup
A high-quality short setup generally contains:
Q-Trend is bearish.
Higher-timeframe EMA structure is bearish.
Price is below session VWAP.
VWAP is flat-to-falling.
−DI is above +DI.
ADX is above the minimum threshold.
ATR regime is valid.
RSI and MACD momentum are bearish.
Market structure is bearish or a bearish BOS recently occurred.
The signal candle closes bearish.
The score is at least 75.
There is sufficient room before the next major support.
How not to use the indicator
Do not enter a trade solely because a BUY or SELL label appears.
Avoid treating:
the score as a statistical win probability;
the projected targets as guaranteed outcomes;
the trend line as support or resistance in every market;
a single BOS marker as sufficient confirmation;
an A+ label as permission to ignore risk.
The indicator may perform poorly during:
narrow sideways conditions;
sudden news spikes;
abnormal spreads;
low-liquidity periods;
sharp V-shaped reversals;
price gaps;
broker-feed irregularities;
heavily extended trends.
Gold can move sharply during economic releases such as CPI, PCE, NFP, FOMC decisions and speeches from major central-bank officials. Technical confirmation cannot remove event risk.
Risk-management guidance
No technical indicator can ensure profitability.
A sensible process may include:
Risking only a small, predefined percentage per trade
Avoiding entries immediately before high-impact news
Waiting for candle-close confirmation
Checking nearby support and resistance
Avoiding trades with inadequate reward-to-risk
Testing the settings on the exact symbol and broker feed being traded
Recording results separately for London, New York and Asian sessions
Accounting for spread, commission and slippage
The ATR stop and targets are analytical projections. Position size must be calculated independently according to account size and acceptable risk.
Repainting and confirmation notes
The indicator does not intentionally use future market information to create historical trade signals.
Higher-timeframe EMA values are based on completed higher-timeframe candles.
Swing highs and lows are only recognised after the required right-side candles have completed. This means structure confirmation is delayed, but confirmed pivots are more reliable than unconfirmed turning points.
When candle-close confirmation is enabled, qualified signals are only final after the current chart candle closes.
Users should understand that:
live, unconfirmed values can change during a candle;
confirmed pivot structure necessarily appears after the pivot itself;
historical performance may differ from real-time execution because of spread and slippage.
Alerts included
The indicator includes alert conditions for:
Qualified long
Qualified short
A+ long
A+ short
Bullish Q-Trend direction change
Bearish Q-Trend direction change
Bullish break of structure
Bearish break of structure
Target 1 reached
Target 3 reached
Stop reached
For trade signals, the recommended alert frequency is:
Once Per Bar Close
Alerts only begin after they have been created through PulseWire’s alert interface.
Important limitation
This script is an indicator, not a backtested strategy.
It does not automatically account for:
commission;
spread;
slippage;
partial profit-taking;
break-even stop movement;
trailing stops;
simultaneous stop and target contact within the same candle;
exact intrabar order sequence;
broker execution differences.
A separate Pine strategy version would be required for systematic historical testing.
Suggested publication disclaimer
Disclaimer: This indicator is provided for educational and analytical purposes only. It does not constitute financial advice, investment advice or a recommendation to buy or sell any financial instrument. Trading gold, forex, futures, CFDs and other leveraged products involves substantial risk. Past performance and historical signals do not guarantee future results. Users are responsible for testing the indicator, evaluating its suitability and applying appropriate risk management.
Credits and licence
The original Q-Trend concept was created by tarasenko_.
This version substantially rewrites and expands that concept with higher-timeframe analysis, VWAP, ADX, volatility-regime analysis, momentum, market structure, weighted scoring and risk projections.
Indicator

Nested FVG ProNested FVG Pro identifies a specific ICT confluence — a 1-minute Fair Value Gap forming inside an active 5-minute Fair Value Gap — and manages a complete multi-contract trade plan around each signal, with journalling that models how automated orders actually fill rather than assuming ideal prices.
HOW IT WORKS
5-minute context. The script aggregates 1-minute bars into rolling 5-minute candles and scans each completed triplet for a displacement gap: a bullish FVG (BISI) exists where the current candle's low sits above the high from two candles back; bearish (SIBI) is the mirror. Gaps must exceed a minimum size in points — set against your stop distance, so an imbalance smaller than meaningful displacement never becomes context. Qualifying zones are drawn and tracked.
Zone lifecycle. A zone is invalidated when price closes through its far side. Invalidated zones are not deleted immediately: they stop extending, dim, and remain on the chart for a configurable number of bars so past signals can be audited, and they are never removed while a trade is open. An active-zone cap per direction prevents stacking — in a sustained trend, zones pointing with the trend are never closed through, so without a cap they accumulate all session and progressively bias signal generation toward chasing the move.
Inversion mode (IFVG). A gap that price has closed through has failed. ICT treats the violated gap as flipped: a bullish FVG closed below becomes resistance, a bearish FVG closed above becomes support. In IFVG mode the invalidation event flips the zone's direction instead of retiring it, and signals are then taken as price returns into the zone from the other side. Inverted zones are colour-coded distinctly, expire on a configurable age, and retire permanently if closed through a second time. Signal Source selects virgin gaps, inverted gaps, or both.
1-minute trigger. On each confirmed 1-minute bar the script tests for a fresh 1-minute FVG using the same three-candle definition and its own minimum size. A signal fires only where that gap sits inside an eligible 5-minute zone of matching direction, within a proximity tolerance in points around the zone boundaries. The premise: a small-timeframe imbalance printing inside a larger unmitigated imbalance marks continuation pressure in the direction of the higher-timeframe displacement.
Signal gating. Cooldown between signals; a hardcoded one-trade-at-a-time block; an exchange-session filter; six independently configurable time windows with editable start and end times in a selectable timezone; and a daily loss limit in dollars that blocks new signals once reached. The daily reset and zone purge are driven by a change of CME trade date rather than a session-transition test, so they behave correctly regardless of whether bars print during the session gap.
Trade management. Each signal is managed as a ladder measured in points from the entry: a stop, a partial exit that optionally moves the stop to break-even, a main target, an extended target, and an optional fourth-contract runner target. All distances and per-level contract counts are inputs. A per-trade dollar maximum-loss exit closes the position on a confirmed bar if unrealised loss breaches the limit.
Optional entry laddering. Position size can be split across up to three legs — the signal bar's close, consequent encroachment (the 50% level of the 1-minute gap), and the gap's far edge — all sharing one structural stop, so each deeper leg risks fewer points than the one before. Fills are position-weighted and exit quantities are capped to what actually filled, so a trade that displaces immediately never sends exits for contracts it never bought. The trade-off is explicit: setups that run straight to target fill the smallest size while setups that retrace fill the largest.
Execution-modelled journalling — what makes this different. Most signal trackers book trades at exact level prices. In live automation, alerts fire once per bar close and fill as market orders, so real fills land at the trigger bar's close rather than at the level touched intrabar. This script separates plan levels, which drive the triggers, from booked fills, which drive the accounting: with fill booking enabled, every entry and exit in the Trade Tracker, Hourly and Weekly tables is recorded at the trigger bar's close plus a configurable per-fill slippage, and round-turn commissions are netted from every result. Levels can be anchored to the entry fill rather than the gap boundary, so a 20-point stop is 20 points from the price paid. Break-even moves to the position's weighted average fill, matching what a broker-side breakeven order does. The result is a journal that reconciles with a broker statement instead of an idealised one.
A/B variant lab. A read-only shadow journal replays every signal a second time under a different partial distance and break-even rule, reporting both policies side by side with the difference between them. It places no orders and never touches the live journal — it answers whether an exit-policy change would have helped on your own history rather than a hypothetical one.
MODES
Runner off: 3-contract exit ladder, flat at the extended target. Runner on: a 4th contract rides to the runner target.
Entry ladder off: one full-size entry. On: up to three scale-in legs sharing one stop.
Signal Source: FVG, IFVG, or Both.
A/B lab off by default.
AUTOMATION (OPTIONAL)
The script emits complete JSON webhook payloads for every event — entry with quantity, order type and an optional attached stop so a real protective order rests at the broker; partial with an optional broker-side breakeven action; break-even scratch; each target; stop; and emergency exit — with quantities computed from the position-sizing inputs. One alert with the condition "Any alert() function call" drives all of it. Manual traders can ignore this entirely and trade the on-chart levels.
HOW TO USE
Apply to a 1-minute chart — the script builds its own 5-minute context, and other chart timeframes will not behave correctly. Set your ladder distances and dollar-per-point for the instrument, choose your windows and timezone, set the minimum gap sizes and proximity in points relative to your stop, and set the daily and per-trade loss limits. Signals print as triangles with the full R/R ladder drawn to the right; the Trade Tracker logs every signal's outcome net of modelled costs.
LIMITATIONS & NOTES
Outcome detection is evaluated on confirmed bars; live automated fills are bar-close market orders, which is precisely what the execution-modelled tables account for.
The analytics model execution. A broker statement remains the ground truth.
All distances are in points and are calibrated per instrument. Moving between instruments of different volatility requires rescaling every point input.
Entry laddering requires add-to-position support in your webhook platform.
This is a technical analysis and automation tool, not financial advice. Past behaviour of any configuration does not guarantee future results. Test on simulated accounts before risking capital.
The source is open — read it, fork it, adapt it. If you change the detection or the accounting, the tables will tell you what the change did.
Indicator

Indicator

Strong PWH PWL Zones | ProjectSyndicateStrong PWH PWL Zones
Strong PWH PWL Zones power-ranks the weekly levels that price keeps reacting to. For every week it plots the prior week's High, Low, Golden Pocket (the 50–61.8% retracement of the previous week's range) and Equilibrium as clean equal-height zones, then scores each High and Low 0–10 from measurable level quality — so you instantly know which previous-week level is likely to hold and which is likely to break. Where most PWH/PWL tools stop at drawing the level, this one tracks what price actually does to it: every extreme is followed through its full lifecycle from INTACT to SWEPT to ACCEPTED to FAILED BREAK, and the zone recolours as it goes. Anchor switchable between Weekly, Bi-Weekly and Monthly.
⬛ Core Framework
◾ Power-Ranking System (0–10) — every PWH and PWL earns a live grade from seven weighted factors: prior-week volume vs its baseline, range significance vs AWR, the rejection close (how far price closed off the extreme), distance from round numbers, isolation from recent weeks' extremes, stop-run context, and body-built extreme. Every weight is exposed and auto-normalised, so you can zero any factor you don't accept and the remaining ones rescale to fill the gap. Read the scoring provenance note below before you lean on the number.
◾ In-Zone Strength Labels — each level carries its grade inside the band: stars, the X.X/10 score, and a tier (FORMING → WEAK → MODERATE → STRONG → ELITE). Quality reads instantly without a separate panel.
◾ Previous Week Golden Pocket — the prior week's 50–61.8% fib zone, plotted automatically as the mean-reversion pocket where intraweek pullbacks so often stall.
◾ Equilibrium & Premium / Discount — the prior range's 50% line, with optional tinting of the premium and discount halves, so you always know which side of the weekly range you're trading from.
◾ Uniform AWR Zone Height — every zone (High, Low, Golden Pocket) is normalised to one identical AWR-based thickness, centred on its level, for a consistent look on any instrument.
◾ Period Separators — a full-height divider at the first bar of every anchor period, so each weekly block is visually bounded and you can never misread which week a level belongs to.
⬛ Level Lifecycle Engine
The heart of this build. A prior-week level isn't a static line — it has a life, and the state it's in tells you what to do with it.
▪️ INTACT — price has not resolved the level in either direction. ▪️ SWEPT — a wick pushed past the Sweep Trap line but the bar closed back inside the level. The stop-hunt happened and failed. ▪️ ACCEPTED — a close pushed beyond the Acceptance line. This is a real break, not a wick. ▪️ FAILED BREAK — price accepted beyond the level and then closed back inside it. Historically the highest-conviction reversal condition on the chart, and the one most tools never show you.
Each transition recolours the zone, retags its label, and prints an event marker on the bar that caused it. Twelve of the thirteen alerts are wired to these events, so you can be notified the moment a level changes character rather than hunting for it manually.
⬛ Weekly-Specific Layers
◾ Virgin Level Magnets — a prior-week extreme that the following week never traded into is unfilled business. It gets promoted to a persistent projection that survives the display cull and keeps reaching right until price finally tags it, then freezes at the tag bar so the interaction stays on the record. These are the levels price tends to travel back for.
◾ Sweep Trap & Acceptance Lines — two dashed levels above the PWH and two below the PWL. The amber Sweep Trap sits just beyond the level to mark the stop-hunt zone; the red Acceptance line sits further out to mark where a move becomes a genuine break rather than a wick. Both are fully offset-adjustable in AWR terms, and both feed the lifecycle engine directly — they are not decoration.
◾ Range Extension Targets — a measured continuation target projected beyond each extreme, sized from the prior week's own range, for when acceptance does hold.
◾ Opening Gap Tracking — the gap between the prior week's close and the new week's open, gated by a minimum AWR size so noise is ignored, with live fill tracking and a relabel the moment it closes.
⬛ Presentation & Control
◾ Strength-Shaded Fill — stronger levels render more opaque while weak ones stay faint, so the chart shows which levels carry weight before you read a single score.
◾ Score Filter — hide every level below a threshold so the chart only carries what earned its place. Purely visual: hidden levels are still tracked by the lifecycle engine, still fire alerts, and can still become magnets.
◾ Native Alerts (13) — zone touches for PWH, PWL and Golden Pocket; dedicated touches of STRONG (≥7/10) PWH and PWL; sweeps above PWH and below PWL; acceptance either side; failed breaks either side; virgin level tagged; opening gap filled.
◾ Fully Customisable — anchor period, scoring weights and normalisers, zone height, golden-pocket fib bounds, sweep/acceptance/extension offsets, separator style, magnet style and cap, gap threshold, colours, transparency, label text and size, and round-number step.
◾ Object-Budget Safe — at the heaviest setting (30 periods, every module on) the script draws well inside PulseWire's 500-object limits, so nothing silently drops off the left edge of your chart.
⬛ Scoring Provenance — read this before you trust the number
Being straight with you about what has and hasn't been measured, because the score is only useful if you know what's behind it.
▪️ Five factors carry directions validated on DAILY data across FX and metals datasets — volume, range significance, rejection close, round-number distance and isolation. In that work, low-scored daily levels reacted meaningfully less often than high-scored ones. ▪️ Those directions have not been re-validated on weekly ranges. They are carried into this build as a reasoned prior, not as a measured weekly edge. Weekly levels are a different animal — fewer samples, wider ranges, different participants — and the daily result is not a promise that it transfers. ▪️ Two factors are structural priors and have not been backtested at all. Stop-run context (a week that took out the previous week's extreme and closed back inside it) and body-built extreme (an extreme built by candle bodies rather than a lone wick) come from market-structure reasoning, not from a study. ▪️ This is why every weight is exposed. Set the two new factors to 0 for the validated-direction subset, or reweight anything you disagree with. The score rescales automatically.
⬛ Repainting — what locks and what doesn't
▪️ Level geometry and scores are non-repainting. They lock in from the completed prior period and never change. Zones span exactly one period and close cleanly at the boundary — no bleed into the next week. ▪️ Lifecycle states evaluate against live price. On the currently forming bar a state can advance and its marker print before the bar closes, and the state will not step back down if price retreats within that same bar. On all closed bars the states reflect actual closes. If you want state changes to be strictly close-confirmed, wait for the bar close before acting on a live transition.
⬛ Why this is different
Most "previous week high/low" tools draw three equal-weight lines and leave you to guess which one matters. This one grades each level from prior-week behaviour, then keeps watching it — so you're not only told which level is worth respecting, you're told what price has already done to it. A STRONG level still INTACT is a level to fade. The same level flipped to FAILED BREAK is a reversal already in progress. And a virgin magnet sitting above an untouched high is where price is likely to reach for next.
🚀 Apply to Gold (XAUUSD), Silver, Forex, Crypto and Indices. Use a chart timeframe below your chosen anchor — H1 to H4 suits the weekly anchor well. The script warns you on-chart if your chart timeframe isn't lower than the anchor, since it can't resolve intra-period behaviour otherwise.
⬛ How To Trade It — Three Approaches
The score decides which approach fits; the lifecycle state tells you when it's live.
1) Sweep → Failed Break → Reversal (fade the trap) — use on STRONG / ELITE levels (≥7)
Best when the PWH or PWL is rated STRONG or ELITE.
▪️ Wait for price to push through the previous-week level and tag the amber Sweep Trap line beyond it — the liquidity grab that takes stops. The zone turns to its SWEPT tone and a marker prints. ▪️ Look for failure to reach or hold the red Acceptance line — the move stalls inside the trap band and prints rejection back through the level. ▪️ Entry: on the reversal back inside the level (a close back below PWH / above PWL). ▪️ Stop: just beyond the Acceptance line — if price closes there, the trap thesis is wrong and it's a genuine break. ▪️ Targets: Equilibrium and the Golden Pocket first, then the opposite previous-week level. ▪️ Strongest variant: let the level go to ACCEPTED and then flip to FAILED BREAK. You give up the best price but you're trading a break that has already been rejected rather than anticipating one. Use the Failed break alerts for this.
2) Acceptance Breakout → Trade With the Move — use on WEAK / MODERATE levels
Best when the level is rated WEAK or MODERATE, or formed on low prior-week volume.
▪️ Wait for a decisive break that closes beyond the red Acceptance line on expanding volume — not a single wick. The zone turns to its ACCEPTED tone. ▪️ The Sweep Trap line being cleared and held is your confirmation it's a real break, not a stop-hunt. ▪️ Entry: in the direction of the break on the close beyond the Acceptance line, or on a retest of the broken level. ▪️ Stop: back inside the level, beyond the Golden Pocket. ▪️ Targets: the Range Extension Target, trailing as the move extends. ▪️ A broken PWH flips to support, a broken PWL flips to resistance — the old level often becomes the retest entry. Watch for FAILED BREAK: if it appears, the flip has failed and you're on the wrong side.
3) Virgin Magnet Targeting — a weekly-only play
▪️ Identify a virgin magnet — a prior-week extreme the following week never reached, still projecting right. ▪️ Treat it as a destination rather than an entry. It gives your approach-1 and approach-2 trades a logical target that is defined by unfinished business rather than by a fixed multiple. ▪️ Use the Virgin level tagged alert to know the moment the magnet is reached, which is often exactly where a completed move runs out of fuel.
Rule of thumb: ⭐ STRONG/ELITE → expect a reaction, trade the trap reversal. ⭐ WEAK/MODERATE on volume → expect follow-through, trade the acceptance break. ⭐ FAILED BREAK → the market has already told you; trade the rejection.
⚠️ IMPORTANT NOTICE: This indicator identifies previous-week levels, grades them, and frames trap vs breakout scenarios. It should NOT be used as a standalone signal for entering trades. Five of the seven scoring factors carry directions validated on daily data and re-validated on nothing; two are untested structural priors. Always combine this tool with your own strategy, price-action analysis and risk management to confirm setups. Past statistical behaviour does not guarantee future results. 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

Strategy

[SkuldX] Trading Sessions + ADR TargetsSkuldX Trading Sessions + ADR Targets — Unified Session & Statistical Range Intelligence
by SkuldX Trading Systems
What is it?
SkuldX Trading Sessions + ADR Targets combines two of the most powerful concepts in intraday technical analysis into a single overlay indicator. It visualizes all four major trading sessions with their High, Low, and Midpoint levels — and simultaneously projects statistically-derived daily price targets using the Average Daily Range. Instead of switching between multiple tools, you get the complete session and volatility picture on one chart.
Session visualization
The indicator tracks four sessions using New York timezone with automatic DST adjustment:
🟠 Asian Session — 19:00–04:00 NY . The accumulation phase where liquidity is built. Asian High and Low define the range that London and New York will interact with.
🔵 London Session — 03:00–12:00 NY . The first major institutional session. Often initiates the directional move of the day by breaking Asian range boundaries.
🟢 New York Session — 09:30–16:00 NY . Highest liquidity. Most significant price moves and OI events occur here.
🟡 London + NY Overlap — 09:30–12:00 NY . The most volatile window of the trading day. Both institutional pools active simultaneously.
Each session displays its High, Low, and optional Midpoint as horizontal lines that extend across the chart for the duration of that session. Historical sessions remain visible for backtesting and pattern recognition.
ADR Target levels
The Average Daily Range is calculated as the simple mean of completed daily High minus Low values over your chosen period. From this single number, the indicator projects price targets in two distinct modes — both can be active simultaneously.
Mode 1 — Daily Open targets
Projects the ADR symmetrically above and below the 00:00 NY daily open:
Open + ADR — the statistical upside limit for the day
Open - ADR — the statistical downside limit for the day
This mode tells you where price is expected to reach if the day moves in either direction from its opening price.
Mode 2 — Asian High/Low targets
Projects the ADR from the Asian session extremes after the Asian session closes at 04:00 NY:
Asian Low + ADR — the bullish daily target. If the day is trending up, this is where price statistically exhausts itself after departing from the Asian floor.
Asian High - ADR — the bearish daily target. If the day is trending down from the Asian ceiling, this is the statistical destination.
This mode is more practical for intraday directional trading because it accounts for where the day actually started its directional move rather than where the clock rolled over to midnight.
Mode 3 — Both simultaneously
Shows all four levels at once. The Daily Open zone (solid fill) and the Asian target zone (lighter fill) overlay each other. When they converge at similar prices, those confluences carry significantly higher weight as targets and reversal points.
Zone fill
The shaded area between the Bull and Bear target for each mode gives an immediate visual read on today's expected range. Price inside the zone has statistical room to move in either direction. Price approaching the zone boundary indicates potential exhaustion.
Range Used %
Each ADR label shows how much of the average daily range has already been consumed today — for example Open+ 72% used. This answers the core intraday question: how much room does the market have left?
Below 50% — substantial range remaining, directional moves viable
50–80% — range being consumed, watch ADR levels for slowdowns
Above 90% — statistical exhaustion, high reversal or consolidation risk
Above 100% — unusual expansion day, often news or institutional driven
Alerts
A configurable alert fires when the daily range consumed exceeds your threshold. The message includes the ADR value, percentage consumed, and both Asian target levels — giving full context without needing to check the chart.
Settings reference
Session groups — each session has independent color, label, and H/L/Mid level toggles
Level Line Width / Style — visual style for session H/L/Mid lines
Show Midpoint Level — toggle the session midpoint line
Show ADR Targets — master toggle for all ADR levels
ADR Period (days) — how many completed days to average. Default 14. Use 5 for recent volatility, 20 for longer-term reference.
ADR Base Mode — Daily Open / Asian High/Low / Both
ADR Target Color — color for all ADR target lines and fills
Show Zone Fill — toggle the shaded zone between bull and bear targets
Fill Transparency — opacity of the zone fill
Show ADR Labels — toggle right-edge labels
Show Range Used % — include consumption percentage in labels
Label Offset — horizontal distance from last bar to labels
ADR Line Width / Style / Label Size — visual customization
Enable Exhaustion Alert / Alert Threshold % — configure the range exhaustion notification
How to use it in practice
Reading the day before it starts — when Asian session closes at 04:00 NY, the Asian Bull and Bear targets appear immediately. Combined with the London Bias (did London open above or below Asian Mid?), you have a directional hypothesis and a statistical price target before London and NY even reach full activity.
Identifying high-probability targets — when an ADR target level aligns with a session High or Low from a previous session, that confluence becomes a significant reference. For example, if Asian Bull Target coincides with the previous day's London High, price reaching that area carries double the structural significance.
Managing trades — use ADR targets as take-profit references. If price is approaching Asian Bull Target with 85%+ range consumed, the statistical case for further upside deteriorates. Consider taking profit rather than holding for extension.
Filtering entries — avoid entering new directional longs when price is already near the ADR Bull Target with high range used. The edge has diminished. Wait for a fresh session reset.
Overlap as the trigger — the Overlap zone (09:30–12:00 NY) highlighted in yellow is where ADR targets are most frequently reached or rejected. Watch how price behaves at ADR levels during this window. A clean rejection at Asian Bull Target during Overlap with declining momentum is a high-probability reversal setup.
Combining with OI data — if price reaches Asian Bull Target while OI Delta shows Short Squeeze conditions, the move is likely unsustained. If price reaches the same level with Bullish Trend OI, the day may extend beyond the statistical average.
Why 00:00 NY as the daily open
Crypto trades 24/7 without a traditional open. The New York midnight open is used as the anchor because it aligns with institutional risk resets and matches the TDO reference used across the full SkuldX suite. All session times use America/New_York timezone with automatic DST handling — no manual adjustment needed across summer and winter.
Built for SkuldX ecosystem
SkuldX Trading Sessions + ADR Targets is the central context layer of the SkuldX suite. Session structure and statistical range targets combined with OI Delta signals, Level Patterns reactions, and FVG analysis provide a complete institutional picture of where price is likely to move, pause, or reverse on any given day. Indicator

Aurum 2M BOSCHOCH First FVG Strategy # Aurum 2M BOS/CHOCH — First FVG Strategy
## Overview
**Aurum 2M BOS/CHOCH — First FVG Strategy** is a systematic market-structure strategy designed primarily for the **2-minute timeframe**.
The strategy combines:
* confirmed swing-point detection,
* Break of Structure (BOS),
* Change of Character (CHOCH),
* EMA-based directional filtering,
* momentum continuation confirmation,
* the first directional Fair Value Gap,
* limit entry at the 50% FVG level,
* predefined Stop Loss and Take Profit distances,
* visual Entry–SL–TP trade boxes,
* entry-fill alerts.
The objective is to identify structured continuation opportunities after a confirmed market-structure break while avoiding entries against the dominant EMA 200 direction.
This strategy is intended for systematic research, backtesting, alert generation, and disciplined execution. It does not guarantee profitability.
---
## Recommended Timeframe
The strategy was designed for the:
**2-minute chart**
By default, new entries are blocked on other timeframes.
This restriction can be disabled in the settings, but changing the timeframe significantly alters:
* market-structure sensitivity,
* pivot confirmation delay,
* FVG frequency,
* trade duration,
* Stop Loss relevance,
* overall backtest results.
For meaningful testing, each instrument and timeframe should be evaluated separately.
---
## Supported Instrument Profiles
The strategy includes automatic or manual parameter profiles for:
* Gold: GC, MGC, XAU and similar symbols
* Nasdaq: NQ, MNQ, NAS100, US100, USTEC and similar symbols
* S&P 500: ES, MES, SP500, US500 and similar symbols
* Dow Jones: YM, MYM, US30 and similar symbols
* Custom instruments
When the **Auto** profile is selected, the strategy attempts to identify the instrument from its root symbol or ticker.
If the instrument is not recognized, the strategy uses the Custom profile.
### Default Stop Loss and Take Profit distances
* Gold: 10-point Stop Loss and 10-point Take Profit
* Nasdaq: 50-point Stop Loss and 50-point Take Profit
* S&P 500: 100-point Stop Loss and 100-point Take Profit
* Dow Jones: 100-point Stop Loss and 100-point Take Profit
* Custom: 10-point Stop Loss and 10-point Take Profit
These values are starting parameters only. They should not be treated as universally optimal settings.
---
# Strategy Logic
## 1. Confirmed swing points
The strategy identifies market structure using confirmed pivot highs and pivot lows.
A pivot is only accepted after the required number of candles on its right side has closed. Therefore, the strategy does not retroactively create a tradable signal on the historical pivot candle.
Default pivot configuration:
* 3 candles on the left
* 3 candles on the right
Higher pivot values produce fewer but more significant structural levels.
Lower pivot values produce more signals but may increase market noise and false structure breaks.
---
## 2. BOS and CHOCH detection
A bullish structural break occurs when price breaks the latest confirmed swing high.
A bearish structural break occurs when price breaks the latest confirmed swing low.
The strategy classifies the event as:
### Break of Structure — BOS
A break that continues the previously recognized structural direction.
### Change of Character — CHOCH
A break occurring against the previously recognized structural direction, potentially indicating a change in market behavior.
The user can choose to accept:
* BOS and CHOCH,
* BOS only,
* CHOCH only.
---
## 3. Structure-break confirmation
The strategy provides two confirmation methods:
### Candle close
A bullish break requires the candle to close above the confirmed swing high.
A bearish break requires the candle to close below the confirmed swing low.
This is the more conservative setting and is generally recommended for reducing false breaks.
### Wick violation
A bullish break requires the candle high to trade above the confirmed swing high.
A bearish break requires the candle low to trade below the confirmed swing low.
The wick-based condition is still evaluated only after the candle has closed, but it usually produces more signals and may be more sensitive to liquidity sweeps.
---
## 4. EMA 200 directional filter
The EMA 200 defines the primary directional bias.
### Long setups
Long setups are allowed only when the closing price is above the EMA 200.
### Short setups
Short setups are allowed only when the closing price is below the EMA 200.
This prevents the strategy from opening trades directly against its defined long-term directional filter.
---
## 5. Optional EMA 50 alignment
An additional EMA alignment filter can be enabled.
When enabled, the strategy requires:
### Long
Price above EMA 50, with EMA 50 above EMA 200.
### Short
Price below EMA 50, with EMA 50 below EMA 200.
This filter can reduce the number of trades and may remove some countertrend or early-reversal entries.
However, stronger filtering does not automatically produce better results. It may also cause the strategy to enter later or miss the beginning of a new trend.
---
## 6. Continuation candle
A structure break alone is not sufficient to create an entry.
The candle immediately following the BOS or CHOCH candle must confirm continuation in the same direction.
For a bullish setup, the continuation candle must have a bullish body.
For a bearish setup, the continuation candle must have a bearish body.
The strategy provides two continuation modes:
### Close beyond the BOS/CHOCH candle close
The continuation candle must close further in the direction of the break than the closing price of the structure-break candle.
### Close beyond the BOS/CHOCH candle extreme
The continuation candle must close beyond the high or low of the structure-break candle.
The second option is more restrictive and may reduce weaker continuation setups.
If the immediately following candle does not confirm continuation, the setup is cancelled.
---
## 7. First Fair Value Gap
After a valid structure break and continuation confirmation, the strategy identifies the first directional three-candle Fair Value Gap.
### Bullish FVG
A bullish FVG exists when the current candle’s low is above the high from two candles earlier.
### Bearish FVG
A bearish FVG exists when the current candle’s high is below the low from two candles earlier.
The FVG must meet the configured minimum size in ticks.
The strategy can use the first valid directional FVG formed:
* on the structure-break candle,
* on the continuation candle,
* after the continuation candle within the configured search limit.
It does not continuously replace the first FVG with later gaps.
---
## 8. Entry at the FVG midpoint
The strategy calculates the midpoint of the selected FVG and places a limit order at the 50% level.
### Long entry
A buy limit order is placed at the midpoint of the bullish FVG.
### Short entry
A sell limit order is placed at the midpoint of the bearish FVG.
The existence of a pending limit order does not mean that a trade has been opened.
A position is recognized only after the PulseWire broker emulator fills the order.
If the selected FVG midpoint was already touched before the required continuation was confirmed, the setup is rejected. This prevents the strategy from placing a historical or retroactive entry.
---
## 9. Pending-order cancellation
An unfilled limit order may be cancelled when:
* the directional EMA bias is lost,
* an opposite structure break occurs,
* the allowed session ends,
* the backtest range ends,
* the pending-order validity period expires,
* the setup becomes structurally invalid.
The default pending validity is 30 candles.
This parameter should be adapted to the normal retracement behavior of the selected market.
A very long validity period may allow entries after the original setup has lost relevance.
A very short validity period may cancel valid retracements before price returns to the FVG.
---
# Position Management
## Stop Loss
The Stop Loss is calculated from the actual filled entry price, not only from the originally planned limit price.
For long positions, the Stop Loss is placed below the filled entry.
For short positions, the Stop Loss is placed above the filled entry.
The distance is determined by the selected instrument profile.
## Take Profit
The Take Profit is also calculated from the actual filled entry price.
For long positions, the target is placed above the entry.
For short positions, the target is placed below the entry.
The default configuration uses a 1:1 reward-to-risk ratio, but the Stop Loss and Take Profit values can be configured independently.
## Pyramiding
Pyramiding is disabled.
Only one position or one pending entry setup can be active at a time.
## End of backtest
The strategy can automatically close an open position when the selected backtest end date is reached.
---
# Visual Trade Presentation
The strategy can display:
* EMA 50,
* EMA 200,
* directional EMA background,
* active FVG boundaries,
* pending midpoint entry,
* Entry–Take Profit reward box,
* Entry–Stop Loss risk box,
* Entry line,
* Stop Loss line,
* Take Profit line,
* entry labels,
* closed-trade result in points and R,
* strategy status panel,
* optional diagnostic markers.
The position boxes are generated from the actual simulated fill price.
This is important because a pending limit price and the final broker-emulator fill are not always equivalent under every market and backtesting configuration.
---
# Alerts
The strategy is designed to generate alerts only when an entry order is actually filled.
It does not intentionally generate alerts for:
* setup detection,
* BOS or CHOCH detection,
* FVG formation,
* pending limit-order creation,
* Stop Loss execution,
* Take Profit execution,
* backtest-end position closure.
## Recommended PulseWire alert configuration
When creating an alert, select:
**Order fills only**
The entry message may contain:
* trade direction,
* planned entry price,
* planned Stop Loss,
* planned Take Profit,
* Stop Loss distance,
* Take Profit distance,
* reward-to-risk ratio,
* BOS or CHOCH classification,
* selected instrument profile,
* actual fill price,
* ticker,
* timeframe,
* order ID.
Always verify alert behavior in simulation before connecting alerts to external execution software.
---
# Non-Repainting Design
The main structural logic is evaluated on confirmed candles.
The strategy:
* uses confirmed pivot points,
* does not backdate entries to historical pivot candles,
* evaluates BOS and CHOCH after candle confirmation,
* requires the next completed candle to confirm continuation,
* rejects an FVG entry if its midpoint was already reached before confirmation,
* calculates active trade levels from the actual simulated fill,
* does not use future-looking security calls.
However, confirmed pivots naturally introduce a delay because a pivot requires candles on its right side before it becomes known.
This delay is not repainting. It is part of the confirmation methodology.
---
# How to Potentially Improve Strategy Effectiveness
There is no single setting that will improve every market and every period. Increasing the number of filters may improve historical win rate while reducing trade frequency, increasing entry delay, or creating overfitted results.
The following modifications should be tested independently.
## 1. Use session filtering
The strategy may perform differently during low-liquidity and high-liquidity periods.
Potentially useful windows include:
* London open,
* New York open,
* London–New York overlap,
* the first hours of the main futures session.
Instead of trading from 09:00 to 22:00 continuously, compare individual session windows.
For Nasdaq and US indices, the New York session may produce more meaningful displacement but also greater volatility.
For Gold, London and New York activity should be evaluated separately.
Do not assume that the session producing the highest win rate will also produce the highest net profit.
---
## 2. Compare BOS-only and CHOCH-only performance
BOS and CHOCH represent different market conditions.
BOS setups may perform better during established trends.
CHOCH setups may capture earlier reversals, but they can also produce more false directional changes.
Test separate reports for:
* BOS only,
* CHOCH only,
* BOS and CHOCH combined.
The most effective setup type may differ between Gold, Nasdaq, S&P 500, and Dow Jones.
---
## 3. Test candle-close structure confirmation
Using candle closes instead of wick violations can reduce false breakouts caused by liquidity sweeps.
This may improve signal quality but will usually produce fewer and later setups.
Compare:
* net profit,
* profit factor,
* maximum drawdown,
* average trade,
* number of trades,
* consecutive losses,
rather than judging the change only by win rate.
---
## 4. Increase the minimum FVG size
Very small FVGs may represent market noise rather than meaningful displacement.
Increasing the minimum FVG size can remove weaker imbalances.
A more robust approach is to relate the required FVG size to current volatility instead of using only a fixed number of ticks.
For example, a future version could require the FVG to represent a minimum percentage of ATR.
This would allow the filter to adapt to changing volatility.
---
## 5. Add a displacement filter
Not every structure break represents strong institutional-style displacement.
A possible improvement is to require the BOS/CHOCH or continuation candle to meet conditions such as:
* body size greater than a percentage of ATR,
* body larger than the recent average candle body,
* limited opposite wick,
* candle close near its directional extreme,
* increased volume relative to a moving average.
This may help remove weak breaks but must be tested carefully because strict displacement rules can eliminate valid early entries.
---
## 6. Test stricter EMA alignment
Enabling the EMA 50 and EMA 200 alignment may improve performance during directional markets.
Potential long condition:
Price above EMA 50, EMA 50 above EMA 200, and both averages rising.
Potential short condition:
Price below EMA 50, EMA 50 below EMA 200, and both averages falling.
The disadvantage is that moving averages are lagging. A strict filter may enter after a significant portion of the move has already occurred.
---
## 7. Add a higher-timeframe bias
A 2-minute setup can be filtered using a higher timeframe such as:
* 5-minute,
* 15-minute,
* 1-hour.
Possible filters include:
* higher-timeframe EMA 200 direction,
* higher-timeframe market structure,
* previous-day high and low,
* current-day open,
* session opening range,
* premium and discount zones.
A higher-timeframe filter can reduce trades against broader market direction, but using too many conditions may create a highly selective and overfitted system.
---
## 8. Optimize Stop Loss and Take Profit separately
A fixed 1:1 reward-to-risk ratio is not automatically optimal.
Compare multiple configurations, for example:
* 1:0.75,
* 1:1,
* 1:1.25,
* 1:1.5,
* 1:2.
A lower win rate can still produce better results when the average winning trade is sufficiently larger than the average losing trade.
Similarly, a higher win rate may still be unprofitable if losses are larger than winners after costs.
The best configuration should be selected using out-of-sample results, not only the highest historical net profit.
---
## 9. Consider volatility-based risk levels
Fixed point distances behave differently in quiet and highly volatile conditions.
A future version could calculate Stop Loss and Take Profit using:
* ATR,
* recent swing distance,
* FVG size,
* structure-break candle range,
* session volatility.
For example, an ATR-based Stop Loss may prevent the strategy from using an unrealistically tight stop during high volatility.
The disadvantage is that wider volatility-adjusted stops can increase monetary risk unless position size is reduced accordingly.
---
## 10. Add liquidity-context filters
The strategy may be improved by requiring a meaningful liquidity event before BOS or CHOCH.
Possible examples include:
* sweep of a confirmed swing high or low,
* sweep of the Asian session high or low,
* sweep of the previous-day high or low,
* equal highs or equal lows,
* failed breakout followed by structural displacement.
This could reduce entries occurring in the middle of an unstructured range.
However, liquidity-sweep definitions must be objective. Visually attractive historical examples can be difficult to translate into consistent, non-repainting rules.
---
## 11. Reduce stale limit-order entries
An FVG entry may become less relevant as time passes.
Possible improvements include:
* reducing pending-order validity,
* cancelling after a new same-direction structure break,
* cancelling after price moves too far from the entry,
* cancelling when the FVG is partially or fully mitigated,
* cancelling after a fixed number of session minutes.
This can prevent late fills, but overly aggressive cancellation may remove profitable deep retracements.
---
## 12. Use realistic execution costs
The default strategy configuration uses zero commission and zero slippage.
Before evaluating performance, configure realistic:
* commission per contract,
* exchange and clearing fees,
* spread,
* slippage,
* data-feed differences,
* contract specifications.
This is especially important on a 2-minute strategy, where transaction costs can materially change the final result.
A strategy that is profitable before costs may become unprofitable after realistic execution assumptions.
---
# Recommended Validation Process
A reliable evaluation should include:
1. In-sample optimization on one historical period.
2. Out-of-sample testing on a later untouched period.
3. Walk-forward testing across multiple market regimes.
4. Separate testing for each instrument.
5. Separate testing for long and short positions.
6. Testing with realistic commission and slippage.
7. Analysis of results by session and time of day.
8. Analysis of BOS and CHOCH separately.
9. Testing during trending, ranging, and high-volatility periods.
10. Forward testing on a simulated account.
Do not select settings solely because they generate the highest historical profit.
More robust settings usually produce acceptable results across several neighboring parameter values rather than one isolated “perfect” combination.
---
# Important Backtesting Notes
PulseWire backtests are simulations.
Historical results may be affected by:
* broker-emulator assumptions,
* intrabar price-path assumptions,
* historical data quality,
* contract rollovers,
* spread,
* slippage,
* commission,
* instrument-specific tick size,
* differences between futures, CFDs, and spot symbols.
The strategy uses Bar Magnifier when supported, but this does not make simulated fills identical to live execution.
Results obtained on one data provider or symbol should not automatically be expected on another.
---
# Risk Disclaimer
This strategy is provided for educational, research, and analytical purposes only.
It is not financial advice, investment advice, or a recommendation to buy or sell any financial instrument.
Past performance does not guarantee future results.
Trading futures, CFDs, indices, commodities, and leveraged instruments involves substantial risk. Losses may exceed the amount expected from a historical backtest.
Before using the strategy with real capital:
* verify all settings,
* confirm contract and point values,
* configure realistic trading costs,
* test alerts,
* perform forward testing,
* define maximum daily and total risk,
* use position sizing appropriate to your account.
The user remains fully responsible for every trading and risk-management decision.
Strategy

Scallop Asc-Inv Scanner [Free]A scallop, ascending-inverted is a shallow, rounded dip mid-uptrend that resolves back to new highs -- as opposed to a full round-trip back down to the starting point, which is a different, unrelated pattern. This scanner draws the shape (left rim, dome high, pullback low, breakout level) as it forms, bar by bar, causally -- no look-ahead.
HOW IT WORKS:
1) A causal % ZigZag confirms swing highs and lows only after price has moved away from them -- no future data used.
2) A confirmed swing low ("left rim") followed by a confirmed rise of at least a user-set minimum into a swing high marks a candidate "dome high."
3) A partial pullback off the dome high, followed by a recovery back above the dome high, confirms the breakout and completes the shape.
GOOD TO KNOW:
- Visual detection only. Does not include entry signals, stop-loss/target levels, or trading alerts.
- Validated on S&P 500 constituents, cross-validated on the S&P 400. Works on any PulseWire chart, but has only been backtested on these large- and mid-cap US equity universes -- no evidence either way for small-caps, forex, crypto, or international exchanges.
- All inputs (ZigZag reversal %, min rise into dome %, min pullback %, max bars) are adjustable in the settings.
For informational and educational purposes only. Not investment advice. Past performance of any backtested pattern does not guarantee future results. Indicator
