Indicator

Indicator

Swing Trade Defender
You're in a trade. Defender watches it for the five ways swing trades fail — plus an ATR trailing stop — and shows one status: OK, CAUTION, or EXIT.
Finding the trade is the easy half. The hard half is admitting when it stops working — and doing it before a small loss becomes a big one. Swing Trade Defender watches your open trade bar by bar and does the admitting for you.
Set your direction (long or short) and, if you want, your entry price. It handles the rest — it works on its own, nothing else required.
Why five flags instead of one exit signal?
Every one of these signals fires false alarms by itself — an RSI dip, a single heavy-volume red bar, a wick through the 20 EMA.
Real trade failure rarely announces itself through one signal; it shows up as agreement between independent ones: trend, structure, momentum, participation, and volatility.
So Defender treats them as a vote. One or two flags is a warning to pay attention; three is a failed trade by definition — enough independent evidence that the odds have flipped. The one exception is the ATR trail, which triggers EXIT on its own, because a stop is a stop. The voting logic — not any individual component — is the tool.
The five failure flags — each worth 1 point
Trend break — price closes through the 20-EMA (the trend's home line) the wrong way.
Structure break — price takes out the prior swing low (for a long), the first crack in the pattern.
Momentum rollover — RSI falls back through 50 and keeps dropping.
Distribution — a down bar on 1.5× average volume or more: big sellers showing their hand.
Trail hit — price closes through the ATR trailing stop (a chandelier-style stop that ratchets up behind price, 2.5 × ATR-14 by default; ATR = average bar range).
All five flip automatically for shorts — there a close above the MA, a break of the prior swing high , rising RS I, and heavy buying (accumulation) are the danger signs.
How the status reads
OK — no flags. Let it work.
CAUTION (1–2 flags) — an orange triangle marks the bar. Hover it and a tooltip lists exactly which flags are up.
EXIT — 3 or more flags (you can set the threshold), or any trail hit on its own . A red ✕ marks the bar, with a box listing what failed.
Markers sit above the bar for longs and below it for shorts, so they never crowd the side your risk is on.
The status panel
One table shows the whole picture: status, flag count (x/5), each flag's own line (hold/break), the live ATR trail price, your entry, and open P/L when you've set an entry price.
Alerts
Two built-in alert conditions — "Exit signal" and "Caution" — so PulseWire can ping your phone instead of you watching the screen.
Settings — defaults work out of the box
Tuned for swing trades held days to weeks:
Trend MA length (20), swing lookback (8 bars), RSI length (14) and rollover level (50), volume spike multiple (1.5×).
ATR trail — length (14) and multiple (2.5).
Flags needed for EXIT (3 by default, 1–5).
Panel position/size, marker history on/off, optional background shading, dark/light theme, colors.
⚠ Educational risk-management tool. EXIT means the trade has failed by these rules — whether to act is always your decision. It does not place orders, and a flag is not a prediction. Not financial advice. Indicator

Indicator

ICT Entry Model Liquidity Sweep, MSS & FVG [LunqFX]A smart-money entry is never a single signal — it is a sequence. Price runs the stops beyond a swing, structure shifts the other way, and the entry is taken from the imbalance that shift left behind. Most ICT indicators draw one of those pieces and leave you to assemble the rest by hand. This one tracks the whole sequence live and finishes it with an actual trade: entry, stop, target and a quality score that tells you whether the setup was worth taking at all.
❶ THE FOUR STAGES
▸ LIQUIDITY SWEEP — price trades beyond a swing high or low, takes the stops resting there, and closes back inside. The sweep is marked and the level it raided is drawn. This is the manipulation leg, and it is where the stop for the trade will sit.
▸ MSS (MARKET STRUCTURE SHIFT) — after the sweep, price closes through the last short-term swing in the opposite direction. This is the confirmation that the sweep was a reversal and not a continuation. Note that the shift is measured against internal structure, not the major swing: waiting for a major swing to break would put the entry far too late, which is the single most common mistake in automated ICT tools.
▸ FVG ENTRY — the displacement that broke structure leaves a three-candle imbalance. That gap is the entry zone, drawn as a box, because price commonly returns to fill it before continuing.
▸ RISK AND TARGET — the stop goes beyond the sweep extreme, the target is your chosen R multiple. Both are drawn as filled zones running back to the entry, so the whole trade reads as one object instead of a set of loose lines.
❷ SETUP QUALITY 0–100
Not every sequence deserves a trade, and this is where the indicator does something no other entry tool does. Every setup is graded on four measurable properties:
▸ SWEEP DEPTH — how far beyond the level price actually ran, in ATR. A deeper raid means more stops were genuinely taken. ▸ DISPLACEMENT — how decisively the structure was broken, in ATR. A weak break is a weak setup. ▸ FVG SIZE — how large the imbalance is. A bigger gap is a stronger entry. ▸ SPEED — how quickly the shift followed the sweep. A fast reversal is aggressive; a slow one has lost its edge.
The four are blended into a single 0–100 score shown on every entry tag and in the dashboard. Set the minimum quality in the settings and weak sequences simply stop being drawn — you trade the good ones instead of every arrow.
❸ HOW TO TRADE IT
1 — Wait for the SWEEP marker. The dashboard turns amber and reads SWEEP · WAITING MSS. Nothing to do yet: the manipulation has happened but it is not confirmed.
2 — Wait for MSS. When structure shifts, the setup is drawn and the dashboard turns green for a long or red for a short. If structure does not shift within the allowed window, the sweep is discarded and the model resets — no stale signals.
3 — Check the quality score before committing. High scores come from a deep sweep, a decisive break and a clean imbalance. If the number is low, the sequence was technically valid but structurally weak.
4 — Place the trade from the ticket. Entry at the FVG edge, stop beyond the sweep, target at your R multiple. The dashboard shows all three plus the exact risk in price, so the position size follows directly.
5 — Let price come to you. The FVG is a limit entry, not a market entry. If price never returns to the gap, the setup is simply skipped — that is the model working as intended.
❹ HOW IT WORKS
Liquidity swings and internal structure are detected with confirmed pivots, so a level only exists once the bars on both sides of it have closed. A sweep requires a bar to trade beyond the swing and close back inside it, and it is only registered when the shift level is still unbroken — otherwise the sequence could confirm itself on the very next bar. The structure shift requires a close through that internal level within your chosen window. The imbalance is found in the displacement leg using the standard three-candle definition. The stop is the sweep extreme, the target is the entry plus or minus the risk times your R multiple, and setups whose stop would be smaller than a fraction of ATR are rejected as untradeable. The quality score is a weighted blend of the four properties above, each normalised by ATR so the score behaves the same on every symbol and timeframe.
Works on any market and timeframe — forex, gold, indices, crypto and stocks. Intraday charts from 5m to 4h suit the model best, since that is where liquidity raids and structure shifts happen most often.
SETTINGS — liquidity swing length, internal structure length, maximum bars from sweep to shift, R multiple for the target, minimum stop distance, minimum quality, number of setups kept, level extension, FVG and level visibility, candle colouring and dashboard position.
ALERTS — long setup confirmed, short setup confirmed, and any setup confirmed. All fire on closed bars only.
NON-REPAINTING — every stage is validated on bar close and built from confirmed pivots. A setup that has printed never moves, never changes its levels and never disappears.
The four stages are not four indicators bundled together — they are four steps of one entry model, and none of them is tradeable alone. The sweep without the shift is just a wick; the shift without the sweep is just a break; the imbalance without either is just a gap. That is why they belong in a single tool.
This indicator is an educational market-analysis tool, not financial advice. The quality score describes the structure of a setup and does not predict its outcome. Always confirm with your own analysis and manage your risk. Indicator

Indicator

Reversal Trap Probability Bands [BigBeluga]🔵 OVERVIEW
The Reversal Trap Probability Bands is an advanced technical indicator created by BigBeluga to identify and trade fakeout traps around market extremes. Traditional envelope or band indicators often fail because traders blindly enter breakouts that quickly reverse into whipsaw losses. In order to provide a solution to this problem, this indicator combines volatility-based envelope channels with a dynamic probability tracking engine, measuring historical RSI buckets to calculate real-time win probabilities for reversal traps.
The indicator aims to visualize institutional exhaustion and subsequent mean-reversion expansions. The core element of its calculation involves tracking baseline moving averages alongside outer volatility bounds defined as:
upper_band = basis + (multiplier * vola)
lower_band = basis - (multiplier * vola)
where basis is an exponential moving average of length envelope_len , and vola is the ATR volatility measure scaled by multiplier . Higher values of envelope_len and multiplier allow the indicator to filter out routine market noise and isolate major structural exhaustion points.
🔵 FEATURES
The system utilizes a multi-layered matrix structure to provide actionable market intelligence:
1 — Volatility Envelope & Basis Engine
envelope_len = input.int(55, "Envelope Smoothness") : Controls the responsiveness and smoothness of the central baseline.
upper_band & lower_band : Dynamic outer boundaries that shade gradient fills to visualize upper and lower market extremes.
2 — Reversal Trap Detection & RSI Probability Tracking
trap_window = input.int(10, "Trap Window (Candles)") : Defines the maximum candle count allowed outside the bands before invalidating a fakeout setup.
rsi_bucket = math.max(0, math.min(10, math.round(rsi / 10))) : Automatically categorizes momentum into distinct RSI tiers to calculate real-time win probability rates.
3 — Dynamic Target, Stop, & Signal Management
Bull_Stop = ta.lowest(low, 2) - atr & Bear_Stop = ta.highest(high, 2) + atr : Calculates volatility-adjusted safety padding for active trade management.
Signal Labels & Targets: Plots clear entry notifications displaying win probability percentages, along with dashed target and stop lines.
🔵 HOW TO USE
Apart from the basic visualization of volatility extremes, this tool can also act in alternative ways to support decision-making:
Identify Reversal Traps: Wait for price to break outside the upper or lower envelope boundaries and subsequently close back inside within the defined trap_window .
Evaluate Win Probability: Check the probability percentage displayed on the trap signal label (backed by historical RSI bucket tracking) before entering a trade.
Manage Risk with Stops and Targets: Use the projected dashed target lines (anchored to the basis line) and ATR-padded stop lines to execute and protect positions.
🔵 NOTES
Why this implementation is unique:
It moves beyond static band indicators by integrating a self-learning historical database that calculates live win probabilities based on momentum buckets.
The automated target and stop-loss line projection engine provides clear visual roadmaps for every triggered setup.
The script is fully optimized for Pine Script version 6, utilizing high-performance array tracking (`var int bull_total = array.new_int(11, 0)`) for smooth execution.
Note: Because the win probability engine evaluates historical trade performance dynamically in real time, initial signals on a freshly loaded chart may display "Tracking..." until sufficient sample data is recorded.
Indicator

Pulse Range Pulse Range is an adaptive trend filter that builds a dynamic price range around a central tracking line. Instead of continuously following every market fluctuation, the indicator updates its internal state only when price moves beyond an adaptive threshold derived from current market activity.
The core idea behind Pulse Range is to separate meaningful directional movement from ordinary market noise.
Rather than recalculating the center line on every bar, the algorithm keeps it fixed until price exceeds the current adaptive range. Only then is the center line repositioned and the trend state updated.
This approach reduces sensitivity to minor price fluctuations while allowing the indicator to adapt automatically to changing market conditions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✨ Key Features
✅ Adaptive dynamic price range
✅ Step-based center tracking line
✅ Automatic volatility adaptation
✅ Double EMA smoothing of price movement
✅ Optional candle coloring
✅ Optional signal confirmation on bar close
✅ Built-in alert conditions
✅ Open-source Pine Script
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 Design Philosophy
Financial markets spend a significant amount of time moving within normal volatility rather than producing sustained directional moves. Indicators that react to every bar often change direction repeatedly during these periods, creating unnecessary noise.
Pulse Range follows a different philosophy.
Instead of continuously tracking price, it first estimates the current magnitude of normal price movement. As long as price remains inside this adaptive range, the center line keeps its previous position.
Only when price exceeds the calculated threshold does the algorithm update its position.
The characteristic step-like appearance of the center line is therefore a direct consequence of the calculation logic rather than a visual effect.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ Adaptive Range Calculation
The adaptive range is derived from the sequence of absolute price changes between consecutive bars.
These values are processed through two consecutive exponential smoothing stages, producing a stable estimate of current market activity while reducing the influence of isolated spikes and temporary volatility bursts.
The resulting value is then multiplied by the Range Multiplier, allowing the width of the adaptive range to scale automatically with changing market conditions.
As volatility expands, the adaptive range widens.
As volatility contracts, the adaptive range narrows.
This dynamic behavior enables the filter to adjust naturally without relying on fixed price distances.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Center Line Algorithm
The center line is the core component of Pulse Range.
Unlike traditional moving averages, it is not recalculated on every bar and does not continuously follow price.
Instead, it operates as an adaptive holding level.
✔ If price remains inside the adaptive range, the center line keeps its previous position.
✔ If price rises beyond the upper boundary, the center line shifts upward.
✔ If price falls below the lower boundary, the center line shifts downward.
After every adjustment, the center line remains fixed again until price exceeds the newly calculated adaptive threshold.
This significantly reduces unnecessary direction changes during sideways market conditions while remaining responsive to meaningful price movement.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟢 Trend State
Trend direction is determined exclusively by the movement of the center line.
🟢 Green indicates that the center line is moving upward.
🔴 Red indicates that the center line is moving downward.
⚪ If the center line does not change position, the previous trend state is maintained.
The color therefore reflects the state of the adaptive filter itself rather than the position of price relative to another indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚨 Signal Logic
Signals are generated only when the direction of the center line changes.
🟢 Green Signal
The adaptive filter transitions from a bearish state to a bullish state.
🔴 Red Signal
The adaptive filter transitions from a bullish state to a bearish state.
If Confirm Signal On Bar Close is enabled, signals are confirmed only after the current candle has closed.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎨 Visual Components
🟢 Center Line
Represents the current state and direction of the adaptive trend filter.
📊 Adaptive Bands
The upper and lower bands define the adaptive price range surrounding the center line.
As long as price remains inside this range, the center line does not update.
🌈 Range Fill
The shaded area provides a visual representation of the current adaptive range and its response to changing market activity.
🕯 Candle Coloring
Candles can optionally be colored according to the current trend state.
🔺 Signal Markers
Triangles appear only when the center line changes direction, highlighting confirmed state transitions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ Inputs
📌 Source
Selects the price source used for all calculations.
📌 Sampling Period
Controls the smoothing period used to estimate market activity.
Higher values create a more stable filter with fewer state changes.
Lower values increase responsiveness.
📌 Range Multiplier
Controls the width of the adaptive range.
Higher values require stronger price movement before the center line updates.
Lower values make the filter more responsive.
📌 Confirm Signal On Bar Close
Confirms direction changes only after the current candle closes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📖 Practical Usage
Pulse Range is designed to analyze market direction through adaptive price filtering.
During sustained directional movement, the center line progressively follows the developing trend.
When price fluctuates inside the adaptive range, the center line remains unchanged, allowing the indicator to ignore many short-term market fluctuations.
A change in the direction of the center line indicates that price has exceeded the adaptive movement threshold derived from current market activity.
For this reason, signals are generated only after the adaptive filter itself changes state rather than after every local price fluctuation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
• The adaptive range continuously adjusts to changing market activity.
• No fixed price thresholds are used.
• The same calculation logic can be applied across different liquid markets and timeframes.
• Pulse Range can be used either as a standalone trend filter or alongside other forms of technical analysis.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Summary
Pulse Range combines an adaptive price range with a step-based center line to filter insignificant market fluctuations while remaining responsive to meaningful directional movement.
By updating only after price exceeds a dynamically calculated threshold, the indicator automatically adapts to changing volatility and provides a stable representation of market direction without continuously reacting to every price change. Indicator

Indicator

CVD Bollinger BandsCVD SMA Bollinger Bands (Local Reset)
This indicator applies Bollinger Bands directly to the Cumulative Volume Delta (CVD) of each individual bar, providing a statistical framework to detect extreme order‑flow imbalances.
How it works
CVD Calculation
Uses PulseWire's built-in ta.requestVolumeDelta(lowerTimeframe, anchorInput) function. It computes the Volume Delta (buy volume minus sell volume) on a user-defined lower timeframe (e.g., 1‑minute) and accumulates the delta within each anchor period (default: 1 day). At the start of each new anchor period, the accumulation resets to zero. This means the CVD values are not globally cumulative—they reflect net buying/selling pressure only within the current anchor period.
SMA and Bollinger Bands
A simple moving average (SMA) of the CVD is calculated over a user‑defined lookback period (default 20 bars). The sample standard deviation is derived from the squared differences. Two bands are plotted at ±bbWeight standard deviations around the SMA.
Important Notes
Stationarity Assumption – The local‑reset CVD sequence is approximately stationary (if the per‑bar volume‑delta distribution is stable). This satisfies the key assumption behind Bollinger Bands – that the mean and variance are locally constant. In trending markets, the mean may shift slightly, but the rolling window automatically adjusts the center line and bandwidth.
No Accumulation Drift – Unlike global cumulative CVD (e.g., OBV), local reset CVD does not suffer from random‑walk drift. Its mean and variance remain bounded, making Bollinger Bands statistically meaningful even over long periods.
Scale Sensitivity – CVD values depend on the instrument’s volume and bar duration. A Bollinger weight of 2.0 may need adjustment for different symbols or timeframes. Consider scaling by dividing CVD by a moving average of volume if cross‑instrument consistency is required.
False Signals from Volume Spikes – A single bar with abnormally high volume (e.g., news event) can cause a temporary CVD spike, triggering a band touch that may not persist. To reduce noise, combine with volume confirmation or require multiple consecutive touches. Indicator

Indicator

Bias Matrix Pro X WTK# Bias Matrix Pro X — Cinematic Multi-Timeframe Market Bias Engine
## Overview
**Bias Matrix Pro X** is an advanced multi-timeframe market-bias indicator designed to transform complex trend, momentum, volatility, and timeframe-alignment data into one structured and visually intuitive market overview.
Instead of relying on a single moving average, oscillator, or trend signal, the indicator evaluates several independent technical components on up to six customizable timeframes. Each timeframe receives its own directional score, confidence reading, trend-quality assessment, and alignment status.
These individual results are then combined into a weighted aggregate bias ranging from **−100 to +100**.
The goal is not to predict every market movement or generate automatic entries. The indicator is designed to answer a more important contextual question:
**Is the broader market environment currently bullish, bearish, strongly expanding, or balanced?**
Bias Matrix Pro X can be used as a directional filter for discretionary trading systems, price-action setups, liquidity concepts, breakout strategies, pullback entries, trend-following systems, and multi-timeframe analysis.
---
## Core Concept
Every selected timeframe is analyzed through a combination of:
* Fast and slow EMA structure
* Price location relative to the fast EMA
* Fast EMA slope
* RSI regime
* MACD histogram direction
* Supertrend direction
* ADX-based trend-quality adjustment
* Full component-alignment bonus
Each component produces one of three states:
* **+1:** Bullish
* **0:** Neutral
* **−1:** Bearish
The component states are multiplied by their individual importance weights and combined into a raw directional score.
The score is then adjusted by ADX to account for trend quality.
A directional signal occurring in a strong, established market receives more credibility than the same signal occurring in weak or directionless conditions.
The final score is limited to a range between:
* **+100:** Maximum bullish pressure
* **0:** Balanced or conflicting conditions
* **−100:** Maximum bearish pressure
---
# The Bias Engine
## 1. EMA Structure
The indicator compares the fast EMA with the slow EMA.
Default values:
* Fast EMA: 21
* Slow EMA: 55
Interpretation:
* Fast EMA above slow EMA: bullish
* Fast EMA below slow EMA: bearish
* Equal values: neutral
This component represents the underlying trend structure of the selected timeframe.
Its default weight is **25**, making it the most influential individual component in the engine.
---
## 2. Price Location
The current closing price is compared with the fast EMA.
Interpretation:
* Price above the fast EMA: bullish
* Price below the fast EMA: bearish
* Price equal to the fast EMA: neutral
This determines whether price is currently trading on the supportive or opposing side of the local trend average.
Its default weight is **10**.
Price location reacts faster than the EMA structure and can therefore identify short-term pullbacks or early shifts before the slower trend structure changes.
---
## 3. EMA Slope
The indicator measures the difference between the current fast EMA and its value several bars earlier.
Default slope lookback:
* 2 timeframe bars
Unlike a basic rising-or-falling calculation, the slope component uses an ATR-based neutral zone.
A tiny EMA movement is not automatically classified as a meaningful trend.
The default neutral band is:
* 0.04 × ATR
Interpretation:
* EMA rise greater than the neutral band: bullish
* EMA decline greater than the neutral band: bearish
* Movement inside the neutral band: neutral
This reduces unnecessary signal changes during flat or low-volatility conditions.
Its default weight is **15**.
---
## 4. RSI Regime
RSI is used as a directional regime filter rather than as a traditional overbought or oversold signal.
Default settings:
* RSI length: 14
* Bullish threshold: 55
* Bearish threshold: 45
Interpretation:
* RSI above 55: bullish momentum regime
* RSI below 45: bearish momentum regime
* RSI between 45 and 55: neutral momentum regime
The neutral zone helps prevent the indicator from treating every move above or below RSI 50 as a meaningful directional confirmation.
Its default weight is **10**.
---
## 5. MACD Momentum
The MACD histogram is used to measure directional momentum.
Default settings:
* Fast length: 12
* Slow length: 26
* Signal length: 9
Interpretation:
* MACD histogram above zero: bullish
* MACD histogram below zero: bearish
* MACD histogram equal to zero: neutral
This component helps identify whether momentum supports or opposes the broader EMA structure.
Its default weight is **15**.
---
## 6. Supertrend Direction
Supertrend provides an additional volatility-adjusted directional reading.
Default settings:
* ATR length: 10
* Factor: 2.5
Interpretation:
* Bullish Supertrend direction: bullish
* Bearish Supertrend direction: bearish
Its default weight is **15**.
The Supertrend component can help distinguish trending conditions from ordinary price fluctuations around the moving averages.
---
## 7. Full Alignment Bonus
A bonus is added when the following components all point in the same non-neutral direction:
* EMA structure
* Price location
* EMA slope
* MACD momentum
* Supertrend direction
When all five agree, the engine adds an additional directional score.
Default alignment bonus:
* 10 points
This allows fully synchronized conditions to receive a stronger score than markets where only some components agree.
RSI is still included in the main score, but it is not required for the full-alignment bonus.
---
## 8. ADX Quality Adjustment
ADX does not determine bullish or bearish direction.
Instead, it adjusts the strength of the combined directional score.
Default ADX reference:
* 25
The indicator applies an internal multiplier ranging approximately from:
* 0.65 during weak conditions
* Up to 1.10 during stronger conditions
This means:
* Weak trend conditions reduce the final score.
* Strong trend conditions preserve or slightly enhance it.
* Directional signals in low-quality conditions are treated more cautiously.
The final score is capped between −100 and +100.
---
# Multi-Timeframe Weighting
Bias Matrix Pro X supports up to six customizable timeframes.
Default configuration:
* 5-minute: weight 1.0
* 15-minute: weight 1.5
* 1-hour: weight 2.0
* 4-hour: weight 2.5
* Daily: weight 3.0
* Weekly: weight 3.5
Higher timeframes receive more influence by default because they generally represent broader and more persistent market structure.
The aggregate score is calculated as a weighted average:
**Aggregate Score = Sum of timeframe score × timeframe weight ÷ total valid weight**
This prevents a short-term timeframe from automatically carrying the same influence as a daily or weekly timeframe.
All timeframe values and weights can be customized.
A weight of zero effectively removes that timeframe from the aggregate score.
Duplicate timeframes are ignored to prevent accidental double-counting.
---
# Market Regimes
The aggregate score is converted into five possible market regimes.
With the default thresholds:
## Expansion Bull
Displayed when:
**Aggregate score ≥ +55**
This represents strong bullish multi-timeframe alignment.
Typical characteristics may include:
* Bullish EMA structure
* Positive momentum
* Rising EMA slope
* Supportive Supertrend direction
* Stronger ADX conditions
* Agreement across several weighted timeframes
This does not mean price must move upward immediately. It means the broader technical environment strongly favors bullish continuation compared with bearish continuation.
---
## Bullish
Displayed when:
**Aggregate score is between +18 and +54.9**
The market has a bullish directional advantage, but the alignment is less powerful than an Expansion Bull regime.
This condition may appear during:
* Developing bullish trends
* Pullbacks inside larger bullish structures
* Mixed lower-timeframe momentum
* Bullish higher timeframes with temporary short-term weakness
---
## Balanced
Displayed when:
**Aggregate score is between −18 and +18**
Balanced does not necessarily mean that the market is inactive.
It means that the selected timeframes and technical components do not provide a sufficiently strong directional advantage.
Balanced conditions can occur during:
* Consolidation
* Range-bound price action
* Trend transitions
* Conflicting timeframes
* Low-momentum environments
* Pullbacks against a larger trend
Balanced conditions are often where directional systems may experience lower-quality signals.
---
## Bearish
Displayed when:
**Aggregate score is between −18 and −54.9**
The market has a bearish directional advantage, but full bearish expansion is not yet present.
---
## Expansion Bear
Displayed when:
**Aggregate score ≤ −55**
This represents strong bearish multi-timeframe alignment and directional pressure.
---
# How to Read the Dashboard
The dashboard provides one row for every valid selected timeframe.
## TF
Displays the analyzed timeframe.
Examples:
* 5
* 15
* 60
* 240
* D
* W
PulseWire timeframe notation is used.
---
## Weight
Shows how much influence the timeframe has on the aggregate score.
A timeframe with a weight of 3.0 contributes three times as much as a timeframe with a weight of 1.0.
The weight affects the final multi-timeframe result, but it does not change the timeframe’s individual score.
---
## Bias
Displays the directional classification of the timeframe.
* **▲ BULLISH:** Score is above the positive bias threshold
* **▼ BEARISH:** Score is below the negative bias threshold
* **◆ NEUTRAL:** Score remains between the two thresholds
The background color provides immediate visual identification:
* Green: bullish
* Red: bearish
* Amber: neutral
---
## Score
Displays the calculated score for that individual timeframe.
The approximate interpretation is:
* +80 to +100: exceptionally strong bullish alignment
* +55 to +79: strong bullish expansion
* +18 to +54: bullish advantage
* −17 to +17: neutral or conflicting
* −18 to −54: bearish advantage
* −55 to −79: strong bearish expansion
* −80 to −100: exceptionally strong bearish alignment
The score should be interpreted as a directional alignment measurement, not as a probability of a winning trade.
For example, a score of +70 does not mean there is a 70% probability that price will rise.
---
## Power
The Power meter visualizes the absolute size of the timeframe score.
Example:
**████████░░**
A fuller meter means the timeframe has a stronger directional score.
The meter measures strength, while its color shows direction:
* Green meter: bullish power
* Red meter: bearish power
* Amber meter: neutral or balanced condition
A score of +70 and a score of −70 display similar meter lengths, but with different directional colors.
---
## RSI
Displays the current RSI value calculated on that timeframe.
This allows the user to see whether the RSI component is:
* Above the bullish threshold
* Below the bearish threshold
* Inside the neutral zone
---
## ADX
Displays the ADX value and a simplified trend-quality classification.
Possible classifications:
* Low
* Medium
* Good
* High
These labels are calculated relative to the selected ADX reference value.
With the default reference of 25:
* Values well below 25 indicate weaker trend quality.
* Values around 25 indicate established directional conditions.
* Values above the reference indicate stronger trend quality.
ADX measures trend strength, not direction.
A high ADX can occur in both bullish and bearish markets.
---
## Alignment
The Alignment column compares several internal directional components.
### Full
Displayed when the following components all agree in the same non-neutral direction:
* EMA structure
* Price location
* EMA slope
* MACD histogram
* Supertrend
Full alignment represents the highest level of internal directional synchronization.
### Partial
Displayed when EMA structure and price location agree, but the remaining components are not fully synchronized.
### Mixed
Displayed when the internal components conflict.
A bullish timeframe with Mixed alignment may still have a positive score, but the move has less internal agreement than a Full bullish timeframe.
---
# Dashboard Summary
The Summary row combines all valid weighted timeframes.
It displays:
* Number of valid timeframes
* Aggregate bullish, bearish, or neutral state
* Aggregate score
* Aggregate Power meter
* Total bullish timeframe weight
* Total bearish timeframe weight
* Total neutral timeframe weight
The Bull W, Bear W, and Neutral W values represent the sum of timeframe weights classified in each category.
Example:
* Bull W: 7.5
* Bear W: 2.0
* Neutral W: 1.0
This provides more context than a simple count because higher-weight timeframes have greater importance.
---
# Dominance
The live regime label displays a Dominance percentage.
Dominance measures the percentage of total valid timeframe weight belonging to the largest bias group:
* Bullish
* Bearish
* Neutral
Example:
If bullish timeframes represent 70% of the total valid weight, Dominance will display approximately 70%.
Dominance is not the same as the aggregate score.
The aggregate score measures the average directional intensity of all timeframes.
Dominance measures how concentrated the timeframe classifications are in one category.
A market can therefore have:
* High bullish dominance but only a moderate bullish score
* Lower dominance but a strong score from a few heavily weighted timeframes
* High neutral dominance during consolidation
---
# Local Market Reading
The Engine section also displays the current chart timeframe separately.
It includes:
* Local bias
* Local score
* Local RSI
* Local ADX
* Local ADX-quality classification
This makes it possible to compare the current execution timeframe with the broader multi-timeframe environment.
Example:
* Aggregate regime: Expansion Bull
* Local timeframe: Neutral
This may indicate that the broader market remains bullish while the execution timeframe is currently consolidating or pulling back.
Another example:
* Aggregate regime: Bearish
* Local timeframe: Bullish
This may represent a short-term countertrend rally against a broader bearish environment.
---
# Chart Visuals
## Trend Ribbon
The chart displays the fast and slow EMAs from the current chart timeframe.
The area between them is filled to create a visual trend ribbon.
The ribbon color is based on the aggregate multi-timeframe regime:
* Green: bullish aggregate environment
* Red: bearish aggregate environment
* Amber: balanced environment
Important distinction:
The EMA values come from the current chart timeframe, while their color reflects the combined multi-timeframe result.
---
## Supertrend Aura
The current chart timeframe’s Supertrend line is displayed as a softer secondary trend layer.
Its color also follows the aggregate market regime.
This creates a visual connection between local price structure and the broader multi-timeframe bias.
---
## Chart Glow
When enabled, the chart background receives a subtle regime color:
* Green glow: bullish
* Red glow: bearish
* Amber glow: balanced
The glow is deliberately transparent so it can provide directional context without hiding price action.
---
## Candle Tint
When enabled, candle colors are tinted according to the aggregate regime.
The tint intensity is influenced by the local timeframe’s score strength.
This creates a combined visual effect:
* Direction comes from the aggregate multi-timeframe bias.
* Tint intensity is influenced by local confidence.
---
## Bias Shift Markers
The indicator marks changes in the aggregate bias classification.
### BIAS+
Appears when the aggregate state changes into bullish territory.
### BIAS−
Appears when the aggregate state changes into bearish territory.
### Neutral Marker
A small amber marker appears when the aggregate state returns to neutral.
These markers identify regime transitions. They are not intended to be used as standalone entry signals.
A bias shift can occur after part of a market move has already developed because the engine requires sufficient technical confirmation.
---
## Live Regime Label
The label near the most recent candle displays:
* Indicator name
* Current market regime
* Aggregate score
* Dominance percentage
This provides a compact real-time overview without requiring the user to inspect the full dashboard.
---
# Dark Mode and Light Mode
Bias Matrix Pro X includes two complete dashboard themes.
## Dark Mode
Designed for dark PulseWire charts.
It uses:
* Deep navy backgrounds
* High-contrast text
* Gold title elements
* Soft green, red, amber, and blue status panels
## Light Mode
Designed for white or light PulseWire layouts.
It uses:
* Light neutral backgrounds
* Dark readable text
* Softer transparent status colors
* Reduced visual harshness
The selected theme affects the dashboard and live regime label.
Users can also customize:
* Dashboard position
* Dashboard text size
* Dashboard visibility
* Chart glow
* Candle tint
* Trend ribbon
* Live regime label
---
# Confirmed Higher-Timeframe Mode
The setting **Use confirmed higher-TF values only** is enabled by default.
When enabled, higher-timeframe readings use the most recently completed candle from each requested higher timeframe.
This provides stable historical and real-time higher-timeframe values.
Example:
On a 5-minute chart, the 4-hour row will use the last fully completed 4-hour candle rather than the currently developing 4-hour candle.
Advantages:
* More stable multi-timeframe readings
* Reduced higher-timeframe repainting
* More reliable historical comparison
* Better suitability for rule-based filters
Trade-off:
* The higher-timeframe reading updates only after the higher-timeframe candle closes.
* It is intentionally one completed higher-timeframe candle behind the live developing candle.
The current chart timeframe still uses the active chart data and can change until the current chart candle closes.
---
## Unconfirmed Higher-Timeframe Mode
When confirmed higher-timeframe values are disabled, the indicator uses the currently developing higher-timeframe candle.
Advantages:
* Faster response to developing market changes
* Earlier recognition of possible regime shifts
Trade-offs:
* Higher-timeframe values can change before the candle closes.
* Historical readings after a chart reload may differ from what was visible during the live candle.
* Signals are less stable and should be treated as provisional.
For systematic or confirmation-based use, confirmed higher-timeframe mode is generally the more conservative setting.
---
# Lower-Timeframe Protection
The indicator intentionally blocks requested timeframes that are lower than the current chart timeframe.
Example:
* Current chart: 15 minutes
* Requested timeframe: 5 minutes
The 5-minute row will display:
**LTF blocked**
This is intentional.
A simple higher-timeframe request method does not provide a complete and reliable lower-timeframe evaluation when used from a larger chart timeframe.
To analyze the default 5-minute timeframe, the chart should therefore be set to 5 minutes or lower.
Recommended rule:
**Use a chart timeframe that is equal to or lower than the smallest selected dashboard timeframe.**
---
# Suggested Usage
Bias Matrix Pro X is designed primarily as a context and filtering tool.
## Trend-Following Example
A trader may choose to:
* Look for long setups only during Bullish or Expansion Bull regimes.
* Look for short setups only during Bearish or Expansion Bear regimes.
* Reduce activity during Balanced conditions.
* Require the execution timeframe to move back into alignment with the aggregate bias before entering.
---
## Pullback Example
Possible bullish sequence:
1. Aggregate regime is Bullish or Expansion Bull.
2. Higher timeframes remain bullish.
3. Local timeframe becomes Neutral or temporarily Bearish during a pullback.
4. Local momentum begins turning bullish again.
5. The trader applies a separate entry model.
The indicator does not identify the exact pullback entry. It provides the directional environment in which the trader can evaluate the setup.
---
## Breakout Example
Before taking a bullish breakout, a trader may check whether:
* Aggregate score is positive
* Dominance favors bullish timeframes
* Higher-weight timeframes are bullish
* ADX quality is Good or High
* Alignment is Full or Partial
* The local timeframe is not strongly opposing the breakout
---
## Countertrend Warning
If a trader identifies a long setup while the indicator displays:
* Expansion Bear
* Strong negative aggregate score
* High bearish dominance
* Bearish higher-timeframe alignment
The setup is occurring against the broader technical environment.
This does not automatically make the trade invalid, but it identifies the trade as countertrend and potentially higher risk.
---
# Recommended Starting Configuration
For intraday trading, the default configuration provides a broad hierarchy:
* 5-minute: execution context
* 15-minute: short-term structure
* 1-hour: intraday directional structure
* 4-hour: higher-timeframe trend
* Daily: major market regime
* Weekly: long-term context
Users should adjust the selected timeframes and weights to match their trading horizon.
### Scalping Example
* 1-minute chart
* 3-minute
* 5-minute
* 15-minute
* 30-minute
* 1-hour
* 4-hour
Higher weights can be assigned to the 15-minute, 1-hour, and 4-hour timeframes.
### Swing-Trading Example
* 1-hour or 4-hour chart
* 4-hour
* Daily
* Weekly
* Monthly
Lower requested timeframes should not be used below the active chart timeframe.
---
# Important Settings
## Bias Threshold
Controls how much positive or negative score is required before a timeframe is classified as directional.
Default:
* 18
Higher values:
* Produce fewer bullish and bearish classifications
* Increase the neutral range
* Require stronger alignment
Lower values:
* React faster
* Produce more directional classifications
* May create more frequent regime changes
---
## Strong Bias Threshold
Defines when Bullish or Bearish becomes an Expansion regime.
Default:
* 55
This setting affects the regime name and visual classification.
It does not change the basic bullish or bearish threshold.
---
## Component Weights
Every technical component can be weighted independently.
Increasing a component’s weight gives it more influence over each timeframe score.
Examples:
* Increasing EMA Structure favors slower trend confirmation.
* Increasing Price vs Fast EMA makes the system more reactive to local price changes.
* Increasing EMA Slope gives more importance to trend acceleration.
* Increasing RSI emphasizes momentum regime.
* Increasing MACD emphasizes momentum direction.
* Increasing Supertrend emphasizes volatility-adjusted trend direction.
* Increasing Full Alignment Bonus rewards synchronized conditions more strongly.
Weights should be modified carefully.
Extreme weighting can cause one component to dominate the engine and reduce the value of combining several independent measurements.
---
## Timeframe Weights
Timeframe weights determine influence over the final aggregate score.
They do not affect the internal score of the individual timeframe.
A higher weight means the timeframe has greater influence over:
* Aggregate score
* Aggregate bias
* Bullish, bearish, and neutral weight totals
* Dominance
---
# Practical Interpretation Guidelines
## Strongest Bullish Environment
Look for a combination such as:
* Expansion Bull regime
* Positive score above +55
* High bullish dominance
* Higher-weight timeframes bullish
* Good or High ADX quality
* Full alignment on several timeframes
* Local timeframe turning bullish after a pullback
---
## Strongest Bearish Environment
Look for:
* Expansion Bear regime
* Score below −55
* High bearish dominance
* Higher-weight timeframes bearish
* Good or High ADX quality
* Full bearish alignment
* Local timeframe turning bearish after a corrective rally
---
## Caution Environment
Exercise caution when:
* Aggregate regime is Balanced
* Dominance is low
* Higher and lower timeframes conflict
* Most rows display Mixed alignment
* ADX quality is Low
* The aggregate bias changes frequently
* The selected chart timeframe is too high for the configured lower timeframes
---
# Important Limitations
Bias Matrix Pro X is a technical analysis tool, not a complete trading system.
It does not include:
* Automatic entries
* Stop-loss placement
* Take-profit placement
* Position sizing
* Risk management
* Fundamental analysis
* News-event filtering
* Liquidity analysis
* Market-session filtering
* Volume-profile analysis
* Guaranteed non-lagging signals
The indicator combines several lagging and reactive technical measurements.
Because the engine requires confirmation, regime changes may occur after a market move has already started.
Strong bullish conditions can appear close to a temporary top.
Strong bearish conditions can appear close to a temporary bottom.
A high score describes technical alignment, not guaranteed future direction.
The indicator should therefore be combined with:
* A defined entry model
* Clear invalidation logic
* Position sizing
* Maximum-risk rules
* Session awareness
* Economic-news awareness
* Independent testing
---
# Repainting and Real-Time Behavior
With confirmed higher-timeframe mode enabled:
* Completed higher-timeframe readings remain stable.
* Historical higher-timeframe values are based on completed candles.
* The current chart timeframe continues to update while its active candle is open.
* A local score or aggregate score may still change before the current chart candle closes.
With confirmed higher-timeframe mode disabled:
* Developing higher-timeframe values can change during the active higher-timeframe candle.
* Bias states and chart visuals may update before candle confirmation.
* Historical behavior after reloading the chart may differ from what was observed intrabar.
Users who require stable confirmation should evaluate signals after the chart candle closes and keep confirmed higher-timeframe mode enabled.
---
# Final Notes
Bias Matrix Pro X was created to provide a structured visual answer to three questions:
1. **What is the directional condition of each important timeframe?**
2. **How strong and internally aligned is that condition?**
3. **What is the combined weighted market regime?**
The indicator is intentionally information-rich, but the main reading remains simple:
* Green favors bullish conditions.
* Red favors bearish conditions.
* Amber represents balance or conflict.
* Higher absolute scores represent stronger directional alignment.
* Higher dominance represents broader agreement between the selected timeframes.
* Full alignment represents stronger internal synchronization.
* ADX indicates the quality of the directional environment.
Use the indicator as a market-context framework, not as a standalone promise of future performance.
---
## Disclaimer
This indicator is provided for educational and informational purposes only.
It does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument.
Past performance and historical technical alignment do not guarantee future results.
Trading involves substantial risk, including the possible loss of capital. Every user is responsible for conducting independent research, testing the indicator on the relevant market and timeframe, and applying appropriate risk management.
Indicator

JDB trading frameworkThis indicator is a chart-reading and alerting tool built on the public teachings of Dutch trader JDB (@JDB_trading on X). The framework is his; this script is an independent attempt to make it mechanical and scannable. It signals crossroads — it does not give buy or sell advice.
The core: the dominant moving average
Instead of plotting fixed MAs and leaving the interpretation to you, the script determines which MA (20 or 50) price is actually respecting:
It counts consecutive candles on one side of each MA, with a grace setting so a single close through the line doesn't reset the count.
It counts touches that held (with an ATR tolerance).
The shortest MA above the threshold is marked dominant and plotted thick. Two quality tiers: dominant (default 20+ candles) and strongly dominant (70+).
No qualifying MA? The table says not tradeable — which is a signal in itself.
The 200 MA is never a candidate: in this framework it serves as the price target.
Signals
▲▼ Break of the dominant MA on the close, colored by strength (how many MAs break along), with the next MA as target and a suggested stop beyond the breakout candle — the full trade picture in one label.
⚠ Dominant MA under pressure: the first close on the wrong side, before the break is confirmed. The anticipation signal.
● Pullback to the dominant line (first touch only, no repeat noise).
Retracement layer (short setups): a 50–61.8% fibonacci zone that activates only after a downward break of the dominant MA — never on ordinary bull-market dips. Includes the stop level at 69.44% (1/5 between 61.8% and 100%) and both risk/reward variants (to the 0% level and to the 200 MA) calculated in the table. Expires automatically (timeframe-aware).
◆ Double crossroad: the dominant MA falls inside the retracement zone.
🔥 Blow-off warning: 70+ candles above the dominant MA, parabolic extension (ATR-based) and negative RSI divergence occurring together.
▽△ RSI divergences on pivots, with a confirmed bottom signal when a positive divergence is followed by a break above the 20 MA.
Built for watchlists
One alert per symbol ("Any alert() function call") reports every event with ticker, timeframe, target and stop in the message. Fifty tickers, fifty alerts, done. Designed for weekly and monthly charts — this is a position-trading framework, not an intraday tool.
The info table shows the current regime (bull / bear / not tradeable), streak and touch counts, distance to the dominant MA in % and ATR, and the active signal. A legend explains every marker; historical retracement zones can be shown or hidden.
Credits & disclaimer
The trading framework belongs to JDB — follow him at x.com/JDB_trading for the source. This script only mechanizes the published rules; the selection and judgement that make the framework work cannot be coded. Educational tool, no financial advice, no guarantee that any signal is profitable. Test on your own charts before relying on any alert. Indicator

MA Retest StrategyMA Retest Strategy
Overview
MA Retest Strategy is a trend-following system built around a simple but powerful idea: price rarely moves in a straight line — it pulls back to test a moving average before continuing in the direction of the trend. Instead of just plotting two moving averages and leaving you to guess, this indicator turns that pullback-and-continuation behavior into a complete, rule-based trade framework: it detects the retest, marks the exact entry, calculates a volatility-aware stop-loss and take-profit, tracks the outcome of every signal, and even scans four other symbols of your choice for the same setup in real time.
The trend direction is defined by two Exponential Moving Averages (EMA) — a fast one (default length 50) and a slow one (default length 200). Their relationship (fast above slow = uptrend, fast below slow = downtrend) is combined with a retest of the fast EMA: price must pierce through the fast EMA against the trend and then close back on the trend side. That close is the signal.
Trading Logic
Long entry conditions:
1. The fast EMA is above the slow EMA (uptrend).
2. Within the last few bars, price has pierced below the fast EMA (a genuine pullback, not just noise).
3. The current candle closes back above the fast EMA, confirming the retest is over and the trend is resuming.
When all three conditions align, the indicator plots a BUY label, and immediately draws four price levels: Entry, Stop-Loss, Take-Profit, and Breakeven, each as a line with a live price tag on the right edge for easy order placement.
Short entry conditions are the mirror image: fast EMA below slow EMA, a pierce above the fast EMA, and a close back below it.
If price is currently trading between the two moving averages (neither clearly above nor below), no new signal is evaluated — this "no man's land" filter avoids chasing signals in a choppy, undecided market.
Once a setup is triggered, it stays open (as a pending order, then as an active trade once price reaches the entry) until it's resolved by hitting the stop, hitting the target, timing out, or being invalidated by an opposite signal — only one setup per direction is ever open at a time, and an opposite signal automatically cancels whatever is currently active.
Risk Management
The stop-loss is never left to guesswork. You can choose between three calculation methods:
• Swing (High/Low): stop placed at the nearest swing low/high within a lookback window.
• ATR: stop placed at a multiple of the Average True Range from the entry price — automatically adapts to the current volatility of the instrument.
• Percent of Price: a fixed percentage distance from the entry price.
Regardless of the method chosen, a hard risk ceiling (expressed as % of price) prevents the stop from ever being placed unreasonably far away — for example because of a single abnormal wick or a bad tick in the data feed. Swing mode additionally has its own volatility-aware clamp (a maximum deviation expressed in ATR multiples), since raw swing highs/lows are the most exposed to being skewed by one outlier candle.
The take-profit is calculated as a multiple of the initial risk (an "R-multiple"), and a separate breakeven marker line shows where price would need to reach for you to consider moving your stop to entry — because in a mean-reversion-to-trend system like this, once price reaches roughly 1R in your favor, the probability of it snapping back toward the moving average (rather than continuing cleanly to the full target) increases, so protecting the trade at breakeven is a sound practice.
Dual Dashboard System
Statistics Panel — tracks every signal the indicator has generated on the current chart and breaks the results down into Take-Profit, Stop-Loss, and Breakeven outcomes (a stop hit after price already touched the breakeven level is counted separately from a "clean" stop-loss, since in practice you'd have moved your stop by then). You can filter the statistics to the full history, the last N days, or from a fixed date — ideal for quickly gauging how well the current settings are performing on a specific symbol before you commit to trading it.
Symbol Scanner — lets you monitor up to five other symbols for the exact same setup, in real time, without leaving your current chart. For each symbol it shows whether a signal is currently pending or already active, in which direction, and its entry/stop/target levels. Note: the scanner applies the same strategy settings (moving average lengths, stop method, R-multiple, etc.) that are set for the main chart — it is not independently configurable per symbol.
How to Use
1. Open the symbol and timeframe you're interested in, and check the Statistics panel — a strong win rate and consistent R:R suggest the market is currently trending cleanly enough for mean-reversion entries to work.
2. If the recent win rate is high, the market is respecting the moving average structure and the setup is worth trading. If it's dropping, the market may be entering consolidation — better to wait for a cleaner trend to re-establish.
3. Use the plotted Entry/Stop/Take-Profit/Breakeven lines and their price tags to place your actual order.
4. Once price reaches the breakeven marker, consider moving your live stop-loss to entry — this is a discretionary decision the indicator flags for you but does not automate.
5. Use the Symbol Scanner to keep an eye on other assets in your watchlist without switching charts constantly.
Settings Reference
General
• Source — the price series used to calculate both moving averages (default: Close).
Moving Average
• MA fast — length of the fast EMA (default 50).
• MA fast line width — plot thickness of the fast EMA.
• MA slow — length of the slow EMA (default 200).
• MA slow line width — plot thickness of the slow EMA.
• Bull color / Bear color — color of each MA line and of the shaded fill between them (tinted according to current trend direction).
Strategy
• MA Pierce Check Window (bars) — how many recent bars are checked to confirm price genuinely pierced the fast EMA before the retest close (default 3).
• Swing Point Lookback (bars) — lookback window used to find the nearest swing high/low for Swing-mode stops, and also used as part of the warm-up gate before the indicator starts evaluating signals (default 10).
• Take Profit, R (risk multiple) — target distance expressed as a multiple of the initial risk (default 3 = 3R).
• Max Bars in Open Setup (timeout) — if a signal doesn't resolve (neither stop nor target hit) within this many bars, it's force-closed and logged separately as a timeout rather than left open indefinitely (default 300).
• Stop Loss Calculation Method — choose between Swing (High/Low), ATR, or Percent of Price.
• ATR Length — averaging period for the ATR calculation (default 14).
• ATR Multiplier for Stop — multiplier applied to ATR when the Stop mode is set to ATR (default 1.5).
• Stop, % of Entry Price — fixed stop distance used only when the Stop mode is set to Percent of Price (default 1%).
• Max Allowed Risk, % of Price — hard ceiling on stop distance, applied regardless of the selected mode, to protect against abnormal candles or bad data ticks (default 5%).
• Also Cap Swing Stop by ATR (recommended) — an additional, volatility-adaptive safety clamp that applies only in Swing mode, tighter and more responsive than the flat percentage cap.
• Max Swing Stop Deviation, x ATR — multiplier for the clamp above (default 3).
• Move to Breakeven, R (risk multiple) — the R-distance at which the breakeven marker line is drawn (default 1 = 1R).
Visualization
• Show BUY/SELL Labels — toggle the signal labels on the chart.
• Show SL/TP/BE Price Tags on Lines — toggle the live price tags at the right edge of each level line.
• Fill Risk/Reward Zones — toggle the shaded risk/reward boxes.
• BUY Label Color / SELL Label Color — colors of the signal labels.
• Entry Line Color / Stop Loss Line Color / Take Profit Line Color / Breakeven Line Color — colors of the four level lines.
• Reward Zone Color / Risk Zone Color — colors of the shaded zones.
• Entry/SL/TP Line Width — thickness of the level lines.
Statistics
• Show Statistics Panel — toggle the on-chart stats table.
• Panel Position — corner of the chart where the table is drawn.
• Text Size — table font size.
• Statistics Period — All History, Last N Days, or From Fixed Date.
• N Days Back — used when Statistics Period is set to "Last N Days".
• Start Date — used when Statistics Period is set to "From Fixed Date".
Symbol Scanner
• Show Scanner for Other Symbols — toggle the scanner table.
• Symbol 1–5 — the five symbols to monitor.
• Scanner Timeframe — timeframe used for the scan; leave blank to match the current chart's timeframe.
• Scanner Panel Position — corner of the chart where the scanner table is drawn.
• Scanner Panel Text Size — scanner table font size.
Alerts
The indicator includes two ready-to-use alert conditions — Buy signal and Sell signal — that fire once per bar close and include the entry price, stop-loss, take-profit, and their distance in ticks directly in the alert message, so you can act on them without needing to open the chart.
Disclaimer
This indicator is a tool to assist with technical analysis and trade planning — it does not constitute financial advice, and past signal performance shown in the Statistics panel is not a guarantee of future results. Always combine it with your own risk management and market context.
Обзор
MA Retest Strategy — это трендовая система, построенная вокруг простой, но рабочей идеи: цена редко движется по прямой — она откатывается к скользящей средней для ретеста, прежде чем продолжить движение по тренду. Вместо того чтобы просто отрисовать две скользящие средние и оставить трейдера гадать, этот индикатор превращает такое поведение "откат-продолжение" в полноценную систему с чёткими правилами: он находит ретест, отмечает точный вход, рассчитывает стоп-лосс и тейк-профит с учётом волатильности, отслеживает исход каждого сигнала и даже сканирует ещё четыре выбранных вами актива на предмет такой же ситуации в реальном времени.
Направление тренда определяется двумя экспоненциальными скользящими средними (EMA) — быстрой (по умолчанию период 50) и медленной (по умолчанию период 200). Их взаимное расположение (быстрая выше медленной — восходящий тренд, быстрая ниже — нисходящий) сочетается с ретестом быстрой EMA: цена должна проколоть быструю EMA против тренда, а затем закрыться обратно на стороне тренда. Это закрытие и есть сигнал.
Логика торговли
Условия входа в лонг:
1. Быстрая EMA выше медленной EMA (восходящий тренд).
2. За последние несколько баров цена проколола быструю EMA вниз (настоящий откат, а не рыночный шум).
3. Текущая свеча закрывается обратно выше быстрой EMA, подтверждая, что ретест завершён и тренд возобновляется.
Когда все три условия совпадают, индикатор рисует ярлык BUY и сразу же размечает четыре ценовых уровня: вход, стоп-лосс, тейк-профит и безубыток — каждый в виде линии с "живым" ценником у правого края для удобной постановки ордера.
Условия входа в шорт зеркальны: быстрая EMA ниже медленной, прокол быстрой EMA вверх, и закрытие обратно ниже неё.
Если цена в данный момент находится между двумя скользящими средними (не выше и не ниже отчётливо), новый сигнал не рассматривается — этот фильтр "нейтральной зоны" не даёт индикатору гнаться за сигналами на "рваном", неопределившемся рынке.
После срабатывания сетап остаётся открытым (сначала как отложенный ордер, затем как активная сделка после достижения цены входа), пока не будет закрыт по стопу, по тейку, по тайм-ауту или отменён встречным сигналом — в каждый момент времени открыт только один сетап на направление, и встречный сигнал автоматически отменяет текущий активный.
Управление риском
Стоп-лосс никогда не рассчитывается "на глаз". Доступны три метода расчёта:
• Свинг (high/low): стоп ставится на ближайший минимум/максимум в пределах окна поиска.
• ATR: стоп ставится на расстоянии, кратном среднему истинному диапазону (ATR) от цены входа — автоматически подстраивается под текущую волатильность инструмента.
• Процент от цены: фиксированное процентное расстояние от цены входа.
Независимо от выбранного метода, жёсткий лимит риска (в % от цены) не позволяет стопу оказаться неоправданно далеко — например, из-за одиночного аномального фитиля или сбойного тика в данных биржи. У режима "Свинг" есть дополнительный, чувствительный к волатильности предохранитель (максимальное отклонение в множителях ATR), поскольку "сырые" свинг-хаи/лоу сильнее всего подвержены искажению одной нетипичной свечой.
Тейк-профит рассчитывается как кратное исходному риску значение ("R-множитель"), а отдельная линия безубытка показывает, на каком уровне цены имеет смысл задуматься о переводе стопа в точку входа — потому что в системе возврата-к-тренду вроде этой, как только цена проходит примерно 1R в вашу пользу, вероятность отката обратно к скользящей средней (вместо чистого продолжения до полного тейка) возрастает, поэтому защита сделки на безубытке — разумная практика.
Двойная система панелей
Панель статистики — отслеживает каждый сигнал, сгенерированный индикатором на текущем графике, и разбивает результаты на исходы "тейк-профит", "стоп-лосс" и "безубыток" (стоп, сработавший после того как цена уже коснулась уровня безубытка, считается отдельно от "чистого" стоп-лосса, поскольку на практике к этому моменту вы, скорее всего, уже перевели бы стоп). Статистику можно фильтровать по всей истории, последним N дням или с конкретной даты — удобно для быстрой оценки того, насколько хорошо текущие настройки работают на конкретном инструменте, прежде чем начинать торговать по нему.
Сканер монет — позволяет отслеживать до пяти других выбранных активов на предмет точно такой же ситуации в реальном времени, не покидая текущий график. По каждому активу показывается, есть ли сейчас отложенный или уже активный сигнал, в каком направлении, а также его уровни входа/стопа/тейка. Важно: сканер использует те же настройки стратегии (периоды скользящих средних, метод расчёта стопа, R-множитель и т.д.), что заданы для основного графика — отдельной настройки под каждый актив в сканере нет.
Применение
1. Откройте нужный актив и таймфрейм и посмотрите на панель статистики — высокий процент выигрышных сделок и стабильное R:R говорят о том, что рынок сейчас достаточно чисто трендовый для входов по возврату к средней.
2. Если недавний винрейт высокий, рынок соблюдает структуру скользящих средних, и сетап стоит торговать. Если он снижается, рынок может входить в фазу консолидации — лучше дождаться, пока тренд снова выровняется.
3. Используйте отрисованные линии входа/стопа/тейка/безубытка и их ценники для постановки реального ордера.
4. Когда цена достигает отметки безубытка, стоит рассмотреть перевод реального стоп-лосса в точку входа — это решение, на которое индикатор указывает, но не выполняет автоматически.
5. Используйте сканер монет, чтобы следить за другими активами из вашего вотчлиста, не переключаясь постоянно между графиками.
Описание настроек
General (Общие настройки)
• Source — ценовой ряд, по которому рассчитываются обе скользящие средние (по умолчанию — цена закрытия).
Moving Average
• MA fast — период быстрой EMA (по умолчанию 50).
• MA fast line width — толщина линии быстрой EMA.
• MA slow — период медленной EMA (по умолчанию 200).
• MA slow line width — толщина линии медленной EMA.
• Bull color / Bear color — цвет каждой линии MA и заливки между ними (окрашивается в зависимости от текущего направления тренда).
Strategy
• MA Pierce Check Window (bars) — сколько последних баров проверяется на предмет реального прокола быстрой EMA перед закрытием-ретестом (по умолчанию 3).
• Swing Point Lookback (bars) — окно поиска ближайшего свинг-хая/лоу для режима стопа "Свинг", а также используется как часть "прогрева" перед тем, как индикатор начнёт оценивать сигналы (по умолчанию 10).
• Take Profit, R (risk multiple) — целевое расстояние тейк-профита, выраженное как множитель исходного риска (по умолчанию 3 = 3R).
• Max Bars in Open Setup (timeout) — если сигнал не резолвится (не задет ни стоп, ни тейк) за это количество баров, он принудительно закрывается и учитывается отдельно как тайм-аут, а не остаётся открытым бесконечно (по умолчанию 300).
• Stop Loss Calculation Method — выбор между Свинг (high/low), ATR или Процент от цены.
• ATR Length — период усреднения для расчёта ATR (по умолчанию 14).
• ATR Multiplier for Stop — множитель ATR, применяемый, когда метод стопа — ATR (по умолчанию 1.5).
• Stop, % of Entry Price — фиксированное расстояние стопа, используется только в режиме "Процент от цены" (по умолчанию 1%).
• Max Allowed Risk, % of Price — жёсткий лимит расстояния стопа, применяется независимо от выбранного режима, для защиты от аномальных свечей или сбойных тиков в данных (по умолчанию 5%).
• Also Cap Swing Stop by ATR (recommended) — дополнительный, чувствительный к волатильности предохранитель, работающий только в режиме "Свинг", теснее и отзывчивее плоского процентного лимита.
• Max Swing Stop Deviation, x ATR — множитель для указанного выше лимита (по умолчанию 3).
• Move to Breakeven, R (risk multiple) — расстояние в R, на котором рисуется линия отметки безубытка (по умолчанию 1 = 1R).
Visualization
• Show BUY/SELL Labels — вкл/выкл ярлыков сигналов на графике.
• Show SL/TP/BE Price Tags on Lines — вкл/выкл "живых" ценников у правого края каждой линии уровня.
• Fill Risk/Reward Zones — вкл/выкл закрашенных зон риска/прибыли.
• BUY Label Color / SELL Label Color — цвета ярлыков сигналов.
• Entry Line Color / Stop Loss Line Color / Take Profit Line Color / Breakeven Line Color — цвета четырёх линий уровней.
• Reward Zone Color / Risk Zone Color — цвета закрашенных зон.
• Entry/SL/TP Line Width — толщина линий уровней.
Statistics
• Show Statistics Panel — вкл/выкл таблицы статистики на графике.
• Panel Position — угол графика, в котором рисуется таблица.
• Text Size — размер шрифта таблицы.
• Statistics Period — вся история, последние N дней или с фиксированной даты.
• N Days Back — используется, если период статистики — "последние N дней".
• Start Date — используется, если период статистики — "с фиксированной даты".
Symbol Scanner
• Show Scanner for Other Symbols — вкл/выкл таблицы сканера.
• Symbol 1–5 — пять отслеживаемых активов.
• Scanner Timeframe — таймфрейм для сканирования; оставьте пустым, чтобы использовать таймфрейм текущего графика.
• Scanner Panel Position — угол графика, в котором рисуется таблица сканера.
• Scanner Panel Text Size — размер шрифта таблицы сканера.
Алерты
Индикатор включает два готовых условия для алертов — Buy signal и Sell signal — которые срабатывают один раз на закрытии бара и содержат в тексте сообщения цену входа, стоп-лосс, тейк-профит и расстояние до них в тиках, так что действовать по ним можно, не открывая график.
Отказ от ответственности
Этот индикатор — инструмент для технического анализа и планирования сделок, он не является финансовой рекомендацией, а прошлая эффективность сигналов, показанная на панели статистики, не гарантирует результатов в будущем. Всегда сочетайте его использование с собственным управлением риском и оценкой рыночного контекста.
Indicator

Fib Zone Screener# Fib Zone Screener — PulseWire publish description
## Title
Fib Zone Screener
## Short description (one-liner)
Flags when price is inside a Fibonacci retracement zone — direction-aware, so one setup works for both longs and shorts, and built to filter across a whole watchlist in the Pine Screener.
---
## Full description
**Fib Zone Screener** answers one question, per symbol, on every scan: *has price pulled back into a Fibonacci retracement zone right now — and is it a long or a short?*
It reads pure price action (no pivots, no moving averages, no `request.security`), so it stays fast enough to run across an entire watchlist in the **Pine Screener** while still drawing clean, readable zones on a single chart.
### How it works
For the chosen **Lookback**, the script finds the window's **highest high** and **lowest low**, then decides the swing direction from **which extreme is more recent**:
- **High is more recent** → the last leg was up → **long context** (a pullback is a dip to buy).
- **Low is more recent** → the last leg was down → **short context** (a pullback is a bounce to sell).
Retrace is always measured **from that most-recent extreme back toward the origin**, so the same zone numbers describe both sides:
```
Retrace 0.0 = at the extreme (no pullback)
0.5 = halfway back
0.618 = the golden ratio
0.786 = deep pullback
1.0 = fully retraced to the origin
```
Because the measurement flips with direction, **you set the zone once and it works for longs and shorts** — you don't need a separate short version or a mirrored scale.
### Three zones, three flags
The indicator returns three yes/no values — one per zone (all boundaries are inputs):
- **In Zone 1** — default **0.5 – 0.618** (the classic golden pullback zone)
- **In Zone 2** — default **0.618 – 0.786** (deeper pullback)
- **In Zone 3** — default **0.786 – 1.0** (very deep / near full retrace)
Each is `1` when price is inside that zone, `0` otherwise.
### On-chart drawing
The selected window's zones are drawn as **outlined boxes**, labelled with their ratios and colored by direction — **teal on the long side, red on the short side** — so a screener hit looks exactly like a hand-drawn fib. The boxes extend a few bars past the current candle so the latest wicks stay visible.
### Using it in the Pine Screener
1. Save the script and add it to your chart, then **star it as a favorite** — the Pine Screener only lists favorited indicators.
2. Open the **Pine Screener**, choose your watchlist and timeframe, and select **Fib Zone Screener**.
3. Add the columns you want (Manage Columns) and filter, for example:
- **Longs in the golden zone:** `Direction == 1` and `In Zone 1 == 1`
- **Shorts in the golden zone:** `Direction == -1` and `In Zone 1 == 1`
- **Deeper pullbacks:** use `In Zone 2 == 1`
4. Change the **Lookback** or any zone's **From/To** and re-scan to look at a different horizon or depth.
"Last N bars" means N bars of the **screener's timeframe** — scan on Daily for daily swings, on 1h for intraday.
### Screener columns
- **In Zone 1 / 2 / 3** — yes/no (1/0) per zone
- **Direction** — `1` long, `-1` short, `0` none
- **Extreme / Origin** — the swing's recent extreme and its starting point, in price
- **Zone 1/2/3 from $ · to $** — the actual price boundaries of each zone, so you can place orders straight from the scan
### Inputs
- **Lookback** — bars used to define the swing (default 100)
- **Zone 1/2/3 From / To** — retrace boundaries of each zone
- **Draw Zones On Chart** and **Extend Right (bars)** — display controls
### Notes
- Swing detection uses the two extreme points of the lookback window, so it reads the dominant range rather than every minor wiggle — deliberately simple, so it behaves identically across hundreds of symbols.
- No repainting from higher-timeframe requests — everything is computed on the chart's own bars.
Open source. Feedback and suggestions welcome.
Indicator

Indicator

SBP Sideways Range and Structure NavigatorSBP Sideways Range and Structure Navigator is a rule-based market analysis indicator designed to distinguish confirmed sideways consolidation from directional market phases while generating a single alternating sequence of BUY and SALE signals.
This script is an indicator, not a trading strategy. It does not place trades, calculate position size, manage risk, or predict future price movement. All signals should be evaluated together with market context, timeframe, liquidity, and the user's own trading plan.
Methodology
The indicator follows one integrated state-driven analytical workflow rather than combining unrelated indicators.
The sideways engine identifies genuine price compression using multiple market characteristics, including:
Range width relative to ATR
Net price displacement
Price-path choppiness
Regression slope
Directional balance
Candle overlap
Candle-body compression
ADX behaviour
EMA compression
When these conditions agree, a confirmed sideways range is displayed as a fixed yellow box that remains active until a confirmed breakout or breakdown occurs.
Sideways Bias
Each confirmed range is analysed to determine internal directional pressure using EMA alignment, EMA slope, directional movement, and price position within the range.
A bullish assessment generates Bull Bias, while a bearish assessment generates Bear Bias. Bias events must alternate, preventing repeated Bull or Bear Bias signals. Bull Bias is merged into the master BUY engine, while Bear Bias becomes part of the master SALE engine.
Trend Structure Engine
Outside confirmed sideways markets, the indicator evaluates:
Confirmed swing structure
EMA alignment and slope
ATR-normalised EMA separation
Directional movement
ADX strength
Controlled pullbacks
Pullback depth
Candle quality
Price resumption
The objective is to identify structured continuation rather than reacting to every short-term fluctuation.
Master Signal Engine
All qualified signal sources are combined into one master signal router.
BUY signals may originate from:
Bullish trend resumption
Bull Bias
SALE signals may originate from:
Bearish trend resumption
Bear Bias
The router enforces strict signal alternation:
BUY → SALE → BUY → SALE
After a BUY, additional BUY signals are ignored until a SALE occurs, and vice versa. Signal spacing is determined by market conditions rather than a fixed bar delay.
An optional Early Base Breakout BUY can be enabled to identify selected early bullish recoveries while remaining subject to the same master alternation rules.
Inputs
The indicator allows control of:
Sideways range display
Bull/Bear Bias labels
BUY/SALE labels
Label size
Range colours and transparency
Bias colours
BUY/SALE colours
Optional Early Base Breakout BUY
Usage
Yellow boxes highlight confirmed consolidation where directional movement may be limited.
BUY and SALE labels represent qualified analytical events generated by the integrated signal engine. They are informational and should not be interpreted as automatic trading instructions.
Calculation
The script uses confirmed-bar calculations and confirmed pivot information. It does not use future-data lookahead or request.security().
Limitations
Like any price-based analytical tool, performance depends on market conditions. Highly volatile markets, gaps, news events, and sudden regime changes can reduce signal quality. Strict signal alternation intentionally suppresses repeated signals in the same direction, which may omit some re-entry opportunities during strong trends.
Alerts
Short alerts are available for:
Sideways
Bull Bias
Bear Bias
Range Breakout
Range Breakdown
Bias BUY
Bias SALE
Early BUY
BUY
SALE
This indicator is intended to provide a structured visual interpretation of sideways compression, directional bias, market structure, pullbacks, and trend resumption. It is an analytical tool and does not guarantee trading performance or future market direction. Indicator

U.S. Economic Calendar Master - Spectre Trades U.S. Economic Calendar Master - Spectre Trades is a chart-overlay fully customizable indicator that marks major U.S. economic releases directly on the price chart using clear, customizable labels. It includes CPI, PPI, NFP, FOMC decisions, Core PCE, GDP, JOLTS, Retail Sales, ISM reports, ADP employment, Jobless Claims, Durable Goods, Consumer Confidence, housing data, Michigan Sentiment, Import/Export Prices, and the Employment Cost Index.
The purpose of this indicator is to help traders quickly identify sessions that may experience increased volatility, wider spreads, rapid liquidity sweeps, false breakouts, or sudden directional expansion. Instead of constantly switching between the chart and an external economic calendar, traders can see the event name, date, scheduled release time, and selected time zone directly on the chart.
Each event category can be turned on or off independently, and the labels can be customized by title, subtitle, color, text color, transparency, size, placement, date format, time format, and time-zone display. This allows traders to keep the chart clean while showing only the events that are relevant to their market and trading plan.
This indicator may help traders:
Prepare for high-impact trading sessions
Avoid entering trades immediately before scheduled news
Adjust position size and risk around volatile releases
Review historical market reactions to economic events
Improve opening-range, liquidity, VWAP, and market-structure analysis
Separate normal price movement from news-driven volatility
The indicator does not predict the outcome of an economic report or the direction of price. Its purpose is to provide advance awareness and improve risk management by making important economic dates and times visible within the trader’s normal chart workflow.
Disclaimer
This indicator is provided for informational and educational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any financial instrument.
Economic release dates and times may be revised, postponed, canceled, or changed by the issuing organization. Traders should always confirm upcoming events through an official government source or a current economic calendar.
This indicator does not display actual, forecast, or previous economic data, and it does not determine whether a release is bullish or bearish. It does not guarantee increased volatility or predict how the market will react.
Trading futures, stocks, options, forex, and other leveraged products involves substantial risk. Users are solely responsible for their trading decisions, risk management, position sizing, and verification of all scheduled events. Indicator

Edge Profiler - Self-Learning Signal StatisticsAlmost every indicator answers one question: when should I enter. Edge Profiler answers the two questions that actually decide whether an entry is tradable: how far did this exact setup historically go against me before it resolved, and how long did it usually take.
It does that by keeping a record of its own signals on the symbol and timeframe you have open, and turning that record into a stop distance, a target and an expected holding time.
WHAT IT MEASURES
For every signal it has ever produced on the current chart, the script stores four numbers:
MAE, Maximum Adverse Excursion. How far price travelled against the signal before the signal resolved, measured in ATR units so the value is comparable across symbols and volatility regimes.
MFE, Maximum Favourable Excursion. How far price travelled in favour, in the same units.
Duration. How many bars the signal remained the active one.
Outcome. The signal-to-signal return, again in ATR units.
The last N signals are kept, older ones are dropped, so the statistics describe the current regime rather than a market that no longer exists. The sample size is adjustable.
WHAT IT DERIVES
Data Stop. Entry minus the 80th percentile of historical MAE, times the ATR at entry. Read plainly, this is a stop level that 80 percent of past signals on this chart never reached. The percentile is adjustable, so 90 gives a wider and safer stop, 70 a tighter and more aggressive one.
Data Target. Entry plus the median historical MFE. A level that half of past signals reached before resolving. Also adjustable by percentile.
Expected duration. The median bar count of past signals. The panel shows the age of the open signal as a percentage of that median, which flags a move that has already outlived what this setup normally delivers.
Expectancy. The average signal-to-signal return in ATR units. Positive means the engine has historically produced more favourable resolution than adverse on this chart. Negative is a warning, and it is deliberately shown rather than hidden.
Win rate. The share of stored signals whose signal-to-signal return was positive.
WHY EXCURSION STATISTICS AND NOT A BACKTEST
A backtest tells you what a complete rule set produced, and it is only as honest as its exit assumptions. Excursion statistics measure something narrower and more robust: the shape of the move that follows a trigger, independent of any exit rule. That makes the numbers usable no matter how you personally manage the trade. If the median adverse excursion on this chart is 0.4 ATR and you are risking 0.15 ATR, the data is telling you the stop is inside the noise, and no entry technique will fix that.
BRING YOUR OWN SIGNAL
Three transparent entry engines are included, and the statistics profile whichever one is selected:
Volatility Trail. An ATR trailing stop that flips direction when price closes through it. Default.
EMA Cross. Close crossing a single exponential moving average.
Donchian Breakout. Close breaking the highest high or lowest low of the last N bars.
Switching the engine reprofiles everything from scratch on the same chart, which makes it easy to see which of the three has the cleaner statistical footprint on the instrument you actually trade. Two engines with the same win rate can have very different adverse excursion, and that difference is what decides whether a stop survives.
ON THE CHART
Entry line, Data Stop line and Data Target line for the currently open signal.
Shaded risk zone between entry and stop, reward zone between entry and target.
Triangles at each signal.
Bars tinted by the active signal direction.
A panel with the full statistics and the live state of the open signal, including its running MAE and MFE so you can see in real time whether the current move is behaving like its own history or not.
ALERTS
Long signal.
Short signal.
Open signal has moved further against entry than the historical stop percentile.
Open signal has outlived the median duration.
SETTINGS THAT MATTER
Entry Engine. Which signal gets profiled.
Sample Size. How many past signals are kept. Smaller adapts faster and is noisier, larger is more stable and slower to react to a regime change.
Minimum Sample. Statistics stay hidden below this count instead of showing numbers built on four observations. Default 15.
Stop Percentile. The single most consequential setting. It is the trade-off between stop survival and risk size.
READING IT HONESTLY
These are descriptive statistics of past signals on one chart. They are not a forecast and they carry no guarantee. A sample of 20 signals is a hint, not evidence. Statistics drawn from a trending period will misprice risk the moment the market goes sideways, and the percentile you choose is an assumption about how much you are willing to be wrong before you are stopped. Load enough history for the sample to fill, check that expectancy is positive before you take the levels seriously, and treat a negative expectancy reading as the script telling you this engine has no edge here.
This is an analysis tool, not financial advice, and not a trading system on its own. Use it with your own risk management and position sizing. Past behaviour of any method does not guarantee future results. Indicator

AlgoForex PULSE Momentum & Volatility CompassAlgoForex PULSE is a single-pane trend, momentum and volatility read-out. It replaces the usual stack of three separate indicators — a moving average, an oscillator and a volatility gauge — with one adaptive framework drawn directly on price.
WHY IT EXISTS
A fixed-period moving average has one setting and two problems: it lags in a trend and whipsaws in a range. Most traders answer this by adding an oscillator in a lower pane and a volatility filter somewhere else, then spend the session moving their eyes between three places. PULSE folds those three jobs into one object on the chart.
HOW THE BASELINE WORKS
The baseline is an adaptive average driven by an efficiency ratio. For the chosen lookback it measures:
• net directional travel = |price now − price N bars ago|
• total travel = the sum of every bar-to-bar move over the same N bars
The ratio of the two is the efficiency ratio. Near 1, almost all movement went one way, so the average is allowed to accelerate toward price. Near 0, price covered a lot of distance and ended up nowhere, so the average slows down and flattens. The smoothing constant is squared, which makes the transition between the two states sharper than a linear blend.
The practical effect: the line tracks trends closely, then stops reacting to noise when the market goes sideways.
AURORA BANDS
Three ATR-scaled layers are drawn on each side of the baseline and filled with the live trend colour. They serve two purposes at once:
• the WIDTH shows current volatility — the cloud breathes as ATR expands and contracts
• the POSITION of price inside the cloud shows how stretched the move is
A close hugging the outer band is an extended move. A close oscillating around the baseline is a market with no commitment.
TREND STATE (with hysteresis)
The trend does not flip the moment price touches the baseline. It requires a close beyond baseline ± (Trend Trigger × ATR), default 0.5× ATR. This buffer is the difference between a handful of meaningful flips per session and dozens of meaningless ones. Raise it for fewer, slower signals; lower it for a more reactive read.
Flips are marked with and labels.
MOMENTUM SCORE (0-100)
Rather than a second pane, momentum is reduced to one number:
Momentum = 55 × normalised position inside the bands + 45 × RSI
The position component is clamped to ±1 so a single spike bar cannot dominate the reading. The result drives three things: the gauge in the dashboard, the candle colour gradient, and the surge markers (small dots) fired when the score crosses the bullish or bearish levels.
CONVICTION
The dashboard shows the raw efficiency ratio as a percentage. This is deliberately kept separate from the momentum score because the two answer different questions:
• Momentum = which direction, how strongly
• Conviction = how clean that movement was
A high momentum score with low conviction is a move fighting through chop. High on both is the condition worth acting on.
SQUEEZE RADAR
Current ATR is compared against its own percentile over a lookback window (default: bottom 25% of the last 100 bars). While ATR sits in that bottom band the background is tinted, marking compression. The bar where ATR climbs back out is marked with a the expansion point.
Compression tells you nothing about direction, only that the range is unusually tight. Pair it with the trend state for a directional bias.
HOW TO USE IT
1. Read the trend colour first — it sets your bias for the session.
2. Check Conviction. Below roughly 20% the market is not paying trend-followers.
3. Wait for price to pull back toward the baseline rather than chasing the outer band.
4. Treat a squeeze release in the direction of the trend as a timing cue, not a signal on its own.
5. Momentum surge dots confirm strength — they are not standalone entries.
SETTINGS THAT MATTER MOST
• Adaptive Length — the responsiveness of the whole system. Lower = faster.
• Trend Trigger ( ATR) — signal frequency. The single most useful dial here.
• Squeeze Percentile — how rare a "squeeze" should be. Lower = stricter.
ALERTS
Bullish trend flip Bearish trend flip Bullish momentum surge Bearish momentum surge Squeeze started Squeeze release.
NOTES
Works on any symbol and any timeframe. The dashboard is bilingual (English) and can be switched in the settings.
This indicator is an analysis tool. It does not predict price and it is not financial advice. No indicator has an edge on its own — use it inside a plan that includes risk management and position sizing. Past behaviour of any tool does not guarantee future results. Indicator

Strategy

Strategy

KOSPI Last Close & Expectation on EWY### Overview
Since the KOSPI index does not provide overnight/after-hours charting, this tool is designed to help traders analyze overnight price movements by comparing KOSPI with global proxies (such as EWY, US equities, or futures) to estimate the upcoming KOSPI opening price.
### Key Features & How It Works
- **Market-Active Day Detection**: Instead of relying on simple calendar dates, the script determines official market close based on actual trading activity of KOSPI Futures. This ensures reliable performance without errors during weekends or market holidays.
- **Overnight Gap Estimation**: By locking in the chart asset's exact price level at the KOSPI close, traders can easily monitor relative market sentiment and gauge potential opening gaps for the next KOSPI session.
- **Recommended Timeframes**: Optimized for **5-minute (5m)** and **15-minute (15m)** intraday charts for maximum accuracy in capturing the 15:30 KST close.
### Usage & Limitations
1. Apply this script to any target proxy chart (e.g., EWY, US stocks, or crypto).
2. The horizontal baseline marks the exact price level of the target asset when the KOSPI market last closed.
3. Use the current price divergence from this baseline to estimate the direction and magnitude of the next KOSPI open.
*Note: The estimated KOSPI value serves as an analytical reference. Slight discrepancies or tracking errors may occur depending on premium/discount variance, market momentum, and overnight volatility.* Indicator
