Multi-Timeframe Trend & AlignmentComprehensive Technical Overview: Multi-Timeframe Trend & Alignment Pro
This custom script is an institutional-grade technical analysis dashboard designed for professional traders who demand multi-timeframe confirmation, structural alignment, and real-time performance tracking directly on their chart canvas. By unifying multiple Exponential Moving Averages (EMAs), Simple Moving Averages (SMAs), HTF (Higher Timeframe) momentum oscillators, and performance metrics into a single dynamic interface, the script eliminates chart clutter and provides an immediate read on market structure.
Key Architectural Features
Dual Moving Average Suite: Supports up to 10 customizable EMAs and 10 customizable SMAs, allowing traders to track short-term scalping triggers alongside long-term structural baselines simultaneously.
Dynamic Table Matrix: Automatically aggregates active moving averages, sorts them by price value in real time, calculates distance metrics (points and percentage from current price), and dynamically adjusts background coloring based on structural alignment.
Multi-Timeframe (MTF) Intelligence: Incorporates robust higher-timeframe metrics via request.security, evaluating trend health across EMAs, MACD, ADX trend strength, SuperTrend direction, and RSI without repainting issues.
Performance Percentage Tracking: Automatically computes and displays Day-to-Day (DTD), Week-to-Week (WTD), Month-to-Month (MTD), Year-to-Date (YTD), and 1-Year rolling performance benchmarks.
Clean Visual Management: Features native price scale label projections and conditional toggle controls to ensure a distraction-free trading workspace.
Input Customization Guide
Global Settings
Source: The price source used for all moving average calculations (default is close).
HTF Trend Timeframe: Selects the reference timeframe for higher-timeframe trend context (e.g., Daily, 4-Hour, Weekly).
EMA / SMA Settings
Show / Length / Width / Color: Inline controls to toggle individual averages on/off, adjust lookback lengths, set line thickness (1–4), and assign distinct color profiles.
Display Controls
Show Alignment Table: Toggles the real-time on-screen data matrix.
Show Performance %: Appends DTD, WTD, MTD, YTD, and 1-Yr return metrics to the summary table.
Show HTF Trend Metrics: Appends higher-timeframe technical indicators (MACD, ADX, SuperTrend, RSI) to the dashboard.
Trading Strategies & Practical Applications
Trend Stack Confluence: When shorter-length moving averages cleanly stack above longer-length averages while price holds above key HTF baselines, the table shifts to a bullish-aligned background, signaling institutional accumulation.
Mean Reversion & Distance Tracking: Use the Dist (Pts / %) column in the real-time table to gauge overextension. Extreme percentage deviations from core moving averages (like the 50 or 200 period lines) often highlight prime mean-reversion entries or profit-taking zones.
Multi-Timeframe Filter: Pair the primary chart execution with the embedded HTF metrics. Taking long setups only when the HTF EMA stack and SuperTrend register as bullish ensures alignment with dominant macro order flow. インジケーター

AMD Structure Map [AxeAlgo]AMD Structure Map
============================================
------------------------------------------------------------
WHAT THIS SCRIPT DOES
------------------------------------------------------------
AMD Structure Map automatically detects the Accumulation → Manipulation →
Distribution cycle on any chart, in real time, and draws each phase as its
own labeled zone directly on the candles — so the market's own three-act
structure is visible as it forms, instead of something you have to
eyeball yourself after the fact.
This is a pattern-recognition and structure-labeling tool. It identifies
and visualizes market structure per the AMD model. It does not predict
future price direction, it does not generate buy or sell signals, and
nothing it draws should be treated as a trading recommendation.
------------------------------------------------------------
BACKGROUND — WHAT "AMD" MEANS
------------------------------------------------------------
AMD is a way of reading price action as three sequential acts:
Accumulation is a period where price contracts into a range while orders
build on both sides of the market. Manipulation is a deliberate-looking
move beyond that range — far enough, and on enough volume, to run the
stop-losses and breakout orders sitting just outside it — that then fails
and closes back inside. Distribution is the real, sustained move that
follows, expanding in the opposite direction of that failed move.
The core idea is that the Manipulation phase exists to create liquidity:
a move beyond an obvious range draws in breakout traders and triggers
stops on the other side, providing the volume needed for the real
directional move that follows. Whether or not you subscribe to that
interpretation, the three-part sequence — range, false break, real break
— is a recurring, observable structure across most liquid markets and
timeframes, and this script exists to detect it mechanically and
consistently rather than by eye.
------------------------------------------------------------
HOW EACH PHASE IS DETECTED
------------------------------------------------------------
ACCUMULATION is flagged by genuine volatility contraction: a fast-length
ATR reading meaningfully below its own slow-length ATR baseline, averaged
over a short recent window rather than judged off a single bar, combined
with a minimum range width relative to current volatility. This rules out
both a lone quiet tick being mistaken for real compression and micro-noise
ranges being mistaken for a real base. Once contraction is confirmed, the
zone locks to the highest high and lowest low of the seed window and does
not move afterward.
MANIPULATION is a liquidity sweep: a wick that pierces beyond the
Accumulation range by a minimum distance, on volume above this specific
cycle's own frozen baseline (measured from its own seed window, not a
constantly-rolling average that would otherwise get distorted by the
sweep's own volume spike), that closes back inside the range within a
short window of bars. It does not have to reverse on the exact same bar
it pierced — it is given a handful of bars to do so, since real liquidity
sweeps do not always resolve instantly. The moment a sweep confirms, the
script labels the zone with an Expected Direction: opposite the side that
was swept, since that is what the AMD model itself defines Distribution to
be. If price later sweeps the OPPOSITE side too, before the range
resolves, that second sweep supersedes the first and the call flips —
capped at one such re-arm, since a range swept a third time no longer
looks like a clean setup.
DISTRIBUTION is a confirmed break — by distance and by volume, both judged
against that same frozen baseline — in the direction the Manipulation
phase called. Only at that point is the cycle logged as complete. A break
in the SAME direction as the earlier sweep is logged separately and
honestly as "Manipulation Failed," since the expected reversal did not
occur — the script does not force an incomplete or contradictory sequence
into the AMD narrative just because a Manipulation event happened
somewhere in the range's history.
------------------------------------------------------------
ON THE EXPECTED DIRECTION LABEL
------------------------------------------------------------
The "Expected Direction" shown on the Manipulation zone is a direct
restatement of the AMD model's own definition, not an independent
forecast: Distribution is, by definition, the move opposite the side that
got swept. It carries no probability estimate, is not back-tested, and is
not a trade instruction. It is confirmed or denied by the same real
price-and-volume break logic used everywhere else in the script — nothing
is assumed true until price actually does it.
------------------------------------------------------------
WHAT YOU SEE ON THE CHART
------------------------------------------------------------
Each phase is drawn as its own colored zone box with a label. The
Accumulation zone appears the moment contraction confirms. The
Manipulation zone appears the moment a sweep confirms, labeled with the
Expected Direction. The Distribution zone appears ONLY once the break
genuinely confirms in that expected direction — it is sized to the
Accumulation range's own width rather than to whatever the breakout bar's
own volatility happened to produce, then grows to track the real move for
a limited window before freezing in place, so it always reads as a
proportionate rectangle rather than an arbitrary spike or a box that
keeps expanding indefinitely.
A cycle that does not complete — a Manipulation that failed to lead to a
real Distribution break, or a breakout with no Manipulation ever detected
beforehand — is marked with a single small flag rather than a full zone
box, since nothing pattern-like actually happened there. A small signal
also marks the exact first candle a genuine Distribution phase begins on.
An optional session-window highlight is available for traders who want to
see which cycles are forming inside a specific trading session.
------------------------------------------------------------
DASHBOARD
------------------------------------------------------------
A compact corner table shows the current phase and its status, the
current Expected Direction, an optional higher-timeframe bias reading
(a simple moving-average slope check on a timeframe you choose, shown
purely as background context and never used to filter or alter
detection), and a running Follow-Through Rate.
The Follow-Through Rate is a historical tally, going back to when the
chart loaded, of how often this chart's own past Manipulation calls
actually went on to confirm into a real Distribution break versus failing
or the range simply expiring. It is not a win rate, not the result of a
back-tested strategy, and not a claim about the cycle currently forming.
The percentage is intentionally hidden until a minimum number of cycles
have been observed, so a small handful of outcomes is never presented as
a statistically meaningful rate.
------------------------------------------------------------
INPUTS
------------------------------------------------------------
A single Detection Sensitivity dial (Loose / Normal / Strict) governs
every underlying threshold at once — the seed window length, the required
depth of volatility contraction, the sweep depth and volume requirements,
and the breakout distance and volume requirements. Loose finds more
cycles at looser quality; Strict finds fewer, higher-conviction cycles
only.
Beyond that, every visual element can be toggled or recolored
independently: the zone boxes, the phase labels, the Expected Direction
label, the Distribution start signal, the Follow-Through Rate row, the
higher-timeframe bias row, the session highlight, and the on-chart legend.
A "completed cycles only" mode is also available, which hides everything
while a cycle is still forming and only draws it — retroactively, all at
once — if and when it actually completes the full sequence.
------------------------------------------------------------
CALCULATION AND REPAINT BEHAVIOR
------------------------------------------------------------
All detection logic runs exclusively on confirmed, closed bars. Nothing is
decided from an intrabar wick on the currently forming candle. A sweep
candidate's return window is evaluated bar by bar as it actually happens,
never by looking ahead. A confirmed Manipulation call can be superseded
later within the same range by the one-time re-arm described above, but
only by an equally real, fully confirmed opposite-side sweep — never
speculatively, and never by revising a call that has already led to a
resolved outcome. Once a range resolves, or a zone's phase has finished,
its boundaries are not redrawn or repainted. Higher-timeframe data is
requested with lookahead explicitly disabled, so historical bars never
change; only the still-forming higher-timeframe candle can naturally
update until it itself closes, which is standard behavior for any
multi-timeframe context reading and is not repainting in the sense of
historical values changing after the fact.
------------------------------------------------------------
LIMITATIONS
------------------------------------------------------------
This script is a structure-labeling tool, not a trading system. It has no
concept of risk management, position sizing, or trade execution, and it
does not account for spread, slippage, commissions, or liquidity
conditions specific to any individual broker or exchange. Detection
quality depends heavily on the instrument, timeframe, and chosen
sensitivity setting — a setting well suited to one market or timeframe may
under- or over-detect on another, and some manual tuning of the
sensitivity dial is expected. Past detected cycles, and the Follow-Through
Rate built from them, describe what has already happened on this specific
chart and are not a guarantee of how future cycles on the same chart, or
on any other chart, will behave.
------------------------------------------------------------
DISCLAIMER
------------------------------------------------------------
This script detects and labels historical and current market structure
per the AMD model only. Nothing it displays is a probability of future
price direction, a guarantee, or a buy or sell instruction — a
Manipulation event describes a liquidity sweep that has already happened,
not a prediction of what comes next, and a Distribution zone is only ever
drawn once the corresponding break has already confirmed. The Expected
Direction label is a restatement of the pattern's own definition, not a
forecast. The Follow-Through Rate is a tally of what has already happened
to this chart's own past Manipulation calls, typically a modest sample
size, and should not be read as a win rate or as investment advice.
Trading involves substantial risk of loss and is not suitable for every
investor. Nothing in this script or its description constitutes financial,
investment, or trading advice, and past structure detected by this
script is not indicative of future results. Use at your own discretion
and risk.
インジケーター

Volatility RegimeVolatility Regime
OVERVIEW
This indicator classifies the current market into one of three volatility regimes — Low, Medium, or High — and displays them in a separate panel below the price chart. Rather than measuring volatility in absolute terms, it evaluates how current volatility compares to its own recent history, so the classification adapts automatically to any instrument and timeframe without needing manual recalibration.
METHODOLOGY
Volatility is calculated as the standard deviation of logarithmic returns over a user-defined lookback period. That value is then compared to its own distribution over a longer historical window using a percentile rank calculation. The result is a 0-100 reading showing where current volatility stands relative to its own recent history, rather than relying on a fixed, one-size-fits-all threshold that would behave differently across instruments.
COMPONENTS
- Volatility Percentile Rank line: plots the 0-100 percentile reading of current volatility, colored according to the active regime.
- Threshold lines: two dashed horizontal lines mark the Low and High volatility thresholds (default 33 and 66), both adjustable.
- Panel background shading: the background of the indicator panel is tinted according to the active regime for quick visual reference.
- Regime label: a label on the most recent bar displays the current regime as text (LOW / MEDIUM / HIGH).
REGIMES
- Low Volatility Regime: percentile rank at or below the low threshold. Current volatility is compressed relative to its recent history.
- Medium Volatility Regime: percentile rank between the two thresholds. A transitional or average volatility state.
- High Volatility Regime: percentile rank at or above the high threshold. Current volatility is expanded relative to its recent history.
PURPOSE
This tool adds volatility context to trading decisions rather than generating direct buy or sell signals. Market behavior tends to differ meaningfully across volatility regimes, and being aware of the active regime can help with position sizing, stop placement, and identifying which type of setups are more likely to be relevant at a given time.
HOW TO USE IT
- Check the current regime shown in the panel before evaluating a setup on the main chart.
- Consider adjusting position size and stop-loss distance according to the active regime — wider stops and smaller size are generally more appropriate in high volatility conditions, and the opposite in low volatility conditions.
- A prolonged Low Volatility Regime can indicate the market is compressing and may be approaching an expansion phase.
- Volatility Length, Percentile Rank Lookback, and both threshold levels are adjustable in the settings to fit different instruments and timeframes.
NOTES
This indicator is a contextual tool intended to support discretionary or systematic analysis. It does not predict market direction and should be used alongside a broader trading methodology and proper risk management. インジケーター

STOC - Super Cycle Price Structure v2.0STOC – Super Cycle Price Structure | Initial Release
STOC – Super Cycle Price Structure combines trend alignment, rolling support and resistance, volatility contraction, and price-action signals in a single chart overlay. It helps traders study developing trends, identify potential breakout and pullback setups, and monitor weakening price structure.
Trend Structure
• Customizable 21-period Fast EMA and 50-period Base EMA.
• Customizable 150-period and 200-period SMAs.
• Trend cloud and background shading for market context:
- Green: Price above the Base EMA, with the Base EMA above the 150 SMA, the 150 SMA above the 200 SMA, and the 200 SMA rising versus 20 bars earlier.
- Yellow: Price and the Base EMA above the 200 SMA, without full bullish alignment.
- Red: Conditions outside the two bullish classifications. This does not independently confirm a downtrend.
Support, Resistance and Setup Detection
• R1: Highest high over the resistance lookback, excluding the current candle.
• S1: Lowest low over the support lookback, excluding the current candle.
• Configurable base-depth and ATR-contraction thresholds.
• Optional breakout volume confirmation, using volume relative to its 50-period average.
Signal Guide
• BO — Breakout: Price crosses above rolling resistance while the full bullish trend filter is active. The optional relative-volume filter applies when enabled.
• PB — Pullback: Price touches or moves below the Fast EMA, then closes above it with a bullish candle while the full bullish trend filter remains active.
• Orange Dot — Contraction Begins: Marks the start of a qualifying volatility-contraction condition within the configured base-depth limit, with price above the 200 SMA.
• X — Trend Exit: Price crosses below the Base EMA, highlighting potential trend weakness.
The contraction marker is a simplified volatility-contraction screen; it does not verify a complete multi-swing VCP pattern. Breakout signals do not require a preceding contraction marker.
Customization and Alerts
Toggle moving averages, trend cloud, background shading, support/resistance, and signal markers. Adjust lookback periods, contraction sensitivity, base-depth limits, and breakout-volume requirements.
Separate alert conditions are available for breakouts, pullbacks, and Base EMA exits.
Optional percentage reference bands are calculated from the previous chart candle’s close. They are illustrative levels, not exchange-defined circuit limits.
Usage Notes
All lengths refer to bars on the selected chart timeframe. Signals can change while the current candle is forming; use Once Per Bar Close when configuring alerts for closing-bar evaluation. Pullback signals may repeat and exit markers are independent of previous entry signals.
Disclaimer: For educational and informational purposes only. This indicator does not guarantee profitable outcomes or constitute investment advice. Apply independent analysis, position sizing, and risk management.
インジケーター

Supertrend + Fibonacci OTE Grid & Bands [BigBeluga]🔵 OVERVIEW
The Supertrend + Fibonacci OTE Grid & Bands is an advanced technical analysis indicator designed by BigBeluga to combine trend-following Supertrend mechanics with dynamic Fibonacci retracement grids and volatility-based channel bands directly on the chart. Traditional Supertrend systems rely solely on stop lines, often missing optimal retracement zones (OTE) during trend pullbacks. To solve this limitation, this script integrates dual operating modes—anchored OTE grids that project Fibonacci levels across active trend swings, and continuous Fibonacci channel bands scaled by Average True Range (ATR).
The indicator visualizes trend direction, dynamic stop losses, shaded OTE zones, and proximity-highlighted grid levels. The core calculations track trend swings using customizable ATR lookbacks, compute proportional Fibonacci levels (0.0 to 1.0), and dynamically adjust line widths and colors when price approaches specific thresholds. Custom color palettes, bar/candle color toggles, and label configurations allow traders to fine-tune visual settings across various timeframes and asset classes.
🔵 HOW IT WORKS
The system operates through an integrated architecture where each component dynamically influences chart behavior:
1 — Supertrend Trend & Swing Engine
Stop Loss Line & Fills: Computes volatility-scaled Supertrend lines using ATR parameters, plotting colored stop-loss streams with gradient area fills.
Trend Extreme Tracking: Automatically tracks trend highs and lows upon trend direction flips to anchor structural Fibonacci calculations.
2 — Dual Fibonacci Modes (OTE Grid & Bands)
OTE Grid Mode: Projects an anchored Fibonacci retracement grid (0.0, 0.236, 0.382, 0.500, 0.618, 0.705, 0.786, 1.000) across the active trend swing, complete with a shaded Optimal Trade Entry (OTE) zone between the 0.618 and 0.786 levels.
Fibonacci Bands Mode: Plots continuous, ATR-scaled channel bands extending outward from the Supertrend line using proportional ratio offsets.
3 — Proximity Highlight & Styling Engine
Price Proximity Detection: Measures distance between price and individual grid levels using ATR multipliers to dynamically highlight active levels with distinct colors and thicker line widths.
Visual Customization: Supports bar and custom candle coloring by trend, adjustable line styles (Solid, Dotted, Dashed), and dynamic right-edge price labels.
🔵 HOW TO USE
Apart from serving as a comprehensive trend and retracement mapping tool, the indicator can be applied in several ways:
Follow Trend Momentum: Stay aligned with prevailing market direction by monitoring the Supertrend line color and trend-colored candles/bars.
Identify OTE Retracement Zones: In OTE Grid mode, monitor the shaded zone between the 0.618 and 0.786 Fibonacci levels for potential trend continuation entries during pullbacks.
Track Key Level Interactions: Watch for automatic color highlights and width changes on grid levels as price approaches critical Fibonacci thresholds.
🔵 SETTINGS
The indicator includes several customizable configuration groups to tailor calculations and visual styling to your trading style:
General Settings: Select between OTE Grid and Fibonacci Bands modes, toggle right-edge price/ratio labels, choose grid line styles (Solid, Dotted, Dashed), adjust grid highlight distance thresholds via ATR multipliers, and enable dimming for non-OTE levels.
Supertrend Parameters: Configure the ATR Period and Multiplier to adjust the sensitivity and distance of the core stop-loss line.
Fibonacci Bands Parameters: Define the ATR period and outer band multiplier specifically used when operating in Fibonacci Bands mode.
Main Styling & Colors: Set bullish and active price highlight colors, and toggle bar/candle coloring based on the active trend direction.
Fibonacci Level Settings: Enable or disable individual Fibonacci ratios (0.000, 0.236, 0.382, 0.500, 0.618, 0.705, 0.786, 1.000) and customize their individual display colors.
🔵 NOTES
Why this implementation is unique:
It merges classic Supertrend stop mechanics with both anchored OTE grids and continuous Fibonacci channel bands.
Features dynamic price proximity highlighting and custom linefill engines optimized for Pine Script version 6.
Provides extensive modular inputs for styling, level visibility, and operational mode switching.
インジケーター

JFX Structure FibJFX Structure Fib
ENGLISH
JFX Structure Fib is a multi-timeframe market-structure and automatic Fibonacci retracement framework designed for discretionary traders. It does not generate BUY/SELL signals or manage trades. Its purpose is to organize higher-timeframe directional context, confirmed chart-timeframe structure breaks, and retracement levels into one clean workflow.
HOW IT WORKS
1. Adaptive bias timeframe
By default, the script automatically assigns a higher bias timeframe according to the active chart timeframe. Examples include M5 -> H1 and M15 -> H4. A Custom mode is also available for users who prefer a different higher-timeframe relationship.
2. Confirmed higher-timeframe bias
The bias engine reads confirmed higher-timeframe structure. An optional Structure + EMA mode can require both structural direction and EMA alignment. The higher-timeframe values are based on completed higher-timeframe bars to reduce discrepancies between historical and realtime behavior.
3. Valid chart-timeframe BOS
The script displays only BOS events that meet its structural rules. A valid BOS requires a confirmed close through a confirmed swing that has not already been counted as broken, alignment with the active higher-timeframe bias, and a valid opposite structural swing after the broken swing to serve as the impulse origin.
4. BOS-origin impulse tracking
After a valid BOS, the script tracks the continuing impulse rather than fixing the Fibonacci endpoint immediately. The impulse extreme remains dynamic until price produces the configured confirmed retracement. This reduces arbitrary Fibonacci anchoring while an impulse is still extending.
5. Automatic Fibonacci lock
When the retracement threshold is confirmed, the impulse is locked and the script plots four configurable Fibonacci retracement levels. Defaults are 0.618, 0.705, 0.790, and 0.886. The chart displays ratio values only, without prices.
6. Fibonacci history
Completed or superseded Fibonacci structures can be retained as bounded historical references. Users can choose how many recent Fibonacci structures remain visible. Historical levels are visually muted so the active structure remains easy to identify.
7. Compact dashboard
The dashboard summarizes the chart-to-bias timeframe mapping, confirmed higher-timeframe bias, current structural direction, Fibonacci state, and retained Fibonacci history.
HOW TO USE IT
- Apply the indicator to the timeframe on which you want to analyze structure.
- Leave Bias timeframe mode on Auto for the default multi-timeframe mapping, or select Custom if your framework uses a different higher timeframe.
- A bullish or bearish BOS is displayed only when the script's validity conditions are satisfied.
- After the post-BOS impulse retraces by the configured lock threshold, the Fibonacci structure becomes fixed and its retracement levels are displayed.
- Use the Fibonacci levels as location/context within your own trading plan. The script intentionally does not define entries, stop losses, take profits, or expected performance.
KEY SETTINGS
- Bias timeframe mode: Auto or Custom.
- Bias method: Structure or Structure + EMA.
- Bias and chart-structure pivot sensitivity.
- Use newest valid BOS: allows a newer valid BOS to supersede the current structure.
- Structure invalidation: close or wick beyond the impulse origin.
- Fibonacci lock retracement.
- Four customizable Fibonacci ratios.
- Optional minimum impulse size measured in ATR.
- Fibonacci history count.
- Optional bias/chart swing reference levels.
- BOS, Fibonacci, dashboard, and alert visibility controls.
ORIGINALITY AND PROTECTED-SOURCE RATIONALE
BOS, market structure, and Fibonacci retracement are established concepts and are not claimed as original inventions. The original contribution of this script is the specific workflow and implementation that connects adaptive higher-timeframe bias, valid BOS filtering, post-break structural-origin selection, dynamic impulse tracking, confirmed retracement locking, bounded Fibonacci lifecycle/history, and a chart-focused visual state model. The source is protected to preserve this implementation while allowing the community to use the indicator freely.
LIMITATIONS
- Confirmed pivots require right-side bars before a swing is known. This means structure detection intentionally has confirmation delay.
- The higher-timeframe bias uses completed higher-timeframe information, so it will react more slowly than an indicator using an unfinished higher-timeframe candle.
- The automatic timeframe mapping is a practical default, not a universal rule. Different instruments or trading plans may require Custom mode.
- BOS validity depends on the selected pivot sensitivities. Very low settings can identify more minor structure; higher settings can identify fewer but broader swings.
- Fibonacci levels describe retracement location only. They do not establish that price will reverse from a level.
- The script does not calculate trade entries, stop losses, take profits, win rate, profit factor, or profitability.
- A newer valid BOS can replace the active structure when that option is enabled.
- Market behavior varies by instrument, timeframe, volatility regime, session, data feed, and execution environment.
Use the indicator as an analytical framework and validate its behavior on the instruments and timeframes relevant to your own process before relying on it for live decisions.
BAHASA INDONESIA
JFX Structure Fib adalah framework market structure multi-timeframe dan automatic Fibonacci retracement untuk discretionary trader. Indikator ini tidak memberikan sinyal BUY/SELL dan tidak mengatur posisi trading. Tujuannya adalah menyusun higher-timeframe bias, valid chart-timeframe BOS, dan retracement Fibonacci dalam satu workflow yang bersih dan mudah dibaca.
CARA KERJA
1. Adaptive bias timeframe
Secara default indikator memilih bias timeframe yang lebih tinggi berdasarkan timeframe chart aktif. Contohnya M5 -> H1 dan M15 -> H4. Mode Custom tetap tersedia jika pengguna ingin menggunakan hubungan timeframe yang berbeda.
2. Confirmed higher-timeframe bias
Bias membaca structure dari higher timeframe yang sudah confirmed. Mode Structure + EMA dapat digunakan untuk meminta alignment tambahan dari EMA. Data higher timeframe berasal dari candle yang sudah selesai agar perilaku historical dan realtime lebih konsisten.
3. Valid chart-timeframe BOS
Indikator hanya menampilkan BOS yang memenuhi aturan structure. BOS harus terjadi melalui confirmed close pada confirmed swing yang belum pernah dihitung sebagai broken, searah dengan higher-timeframe bias, serta memiliki opposite structural swing yang valid setelah swing yang di-break untuk menjadi origin impulse.
4. BOS-origin impulse tracking
Setelah valid BOS, indikator tetap mengikuti extreme impulse selama impulse masih berkembang. Endpoint Fibonacci belum langsung dikunci. Extreme baru dikunci setelah terjadi confirmed retracement sesuai threshold yang dipilih.
5. Automatic Fibonacci lock
Setelah retracement threshold terkonfirmasi, Fibonacci dikunci dan empat retracement level ditampilkan. Default: 0.618, 0.705, 0.790, dan 0.886. Chart hanya menampilkan angka ratio Fibonacci tanpa harga.
6. Fibonacci history
Fibonacci yang telah selesai atau digantikan dapat disimpan sebagai historical reference. Jumlah history dapat diatur oleh pengguna dan tampilannya dibuat lebih redup daripada Fibonacci aktif.
7. Compact dashboard
Dashboard menampilkan mapping chart timeframe ke bias timeframe, confirmed HTF bias, current structure, status Fibonacci, dan jumlah history yang sedang disimpan.
PENGGUNAAN
- Pasang indikator pada timeframe yang ingin digunakan untuk membaca structure.
- Gunakan Auto untuk mapping timeframe default, atau Custom jika menggunakan framework multi-timeframe sendiri.
- BOS bullish/bearish hanya muncul jika seluruh aturan validasinya terpenuhi.
- Setelah impulse pasca-BOS mengalami retracement sesuai threshold, Fibonacci dikunci dan level retracement ditampilkan.
- Gunakan Fibonacci sebagai area location/context dalam trading plan Anda sendiri. Indikator sengaja tidak menentukan entry, stop loss, take profit, atau ekspektasi hasil trading.
ORIGINALITAS DAN ALASAN SOURCE DILINDUNGI
BOS, market structure, dan Fibonacci retracement merupakan konsep yang sudah umum dan tidak diklaim sebagai penemuan baru. Nilai original script ini terletak pada workflow dan implementasinya: adaptive HTF bias, valid BOS filtering, pemilihan structural origin setelah break, dynamic impulse tracking, confirmed retracement lock, bounded Fibonacci history, serta visual state yang dibangun menjadi satu framework. Source dilindungi untuk menjaga implementasi tersebut sementara indikator tetap dapat digunakan gratis oleh komunitas.
KETERBATASAN
- Confirmed pivot membutuhkan sejumlah candle di sisi kanan sehingga swing diketahui dengan delay yang disengaja.
- Bias HTF menggunakan candle HTF yang sudah selesai sehingga lebih lambat dibandingkan metode yang membaca unfinished HTF candle.
- Auto timeframe mapping adalah default praktis dan bukan aturan universal.
- Sensitivitas BOS tergantung pada pivot settings yang digunakan.
- Fibonacci hanya menunjukkan lokasi retracement dan tidak menjamin reversal.
- Indikator tidak menghitung entry, SL, TP, win rate, Profit Factor, atau profitabilitas.
- Valid BOS yang lebih baru dapat menggantikan active structure jika opsi tersebut diaktifkan.
- Hasil visual dan perilaku structure dapat berbeda menurut instrument, timeframe, volatility regime, session, dan data feed.
Gunakan indikator sebagai analytical framework dan lakukan validasi pada instrument serta timeframe yang sesuai dengan proses trading Anda sebelum menggunakannya dalam keputusan live.
インジケーター

Liquidity & FVG Engine MTF [Pro]Liquidity & FVG Engine MTF
OVERVIEW
This tool watches price the way a discretionary ICT trader watches it: it keeps track of untouched swing highs and lows across several timeframes at once, flags the moment one of those levels actually gets taken out, and then looks for the Fair Value Gap that tends to show up right after that liquidity grab. Instead of forcing you to flip between chart timeframes to manually mark highs and lows, it does that bookkeeping for you and leaves a clean, readable map of what has been swept, what is still resting, and where price left a gap on its way through.
HOW IT THINKS
Every time a pivot high or low forms on any of the timeframes you enable (1H and 4H by default, with Daily, Weekly and a custom timeframe also available), the script stores it as a pending liquidity level and marks it with a dot. That level stays on the chart, untouched, until price actually interacts with it.
When price takes out a level, the indicator does three things at once. It fades the dot into a swept line so you can see exactly where and when liquidity was taken. It checks the impulse that caused the sweep for a Fair Value Gap, since sweeps and gaps tend to travel together in this kind of price action. And if no gap is found immediately, it keeps watching the next several candles for a reversal gap to form, on the theory that the real move often shows up a few bars after the initial grab, not on the sweep candle itself.
SESSION LIQUIDITY
On top of the swing based levels, the script builds its own Asia and London session ranges directly from the UTC session hours, independent of your broker's timezone or the exchange your chart is set to. The high and low of each session become liquidity levels in their own right, and get swept and reacted to exactly like any swing high or low.
MITIGATED FVGs, EXPLAINED
A gap does not disappear the moment price touches it. What this indicator calls "mitigated" is simply a Fair Value Gap that has been revisited by price after it formed. The box does not vanish when that happens. It turns grey, gets tagged "Mitigated", and is kept on your chart as history rather than being deleted.
The reason that matters is that a mitigated gap is not necessarily a dead gap. Some get tapped once and hold, becoming the base of the next leg. Others get tapped and sliced straight through. Keeping the grey boxes visible for a while lets you scroll back and actually see which behaviour happened at that location, instead of having the evidence erased the instant it stops being "active". You control how many of these grey boxes stay on your chart at once through the history setting, so you can keep as much or as little of that visual record as you want without cluttering the chart forever.
A PRACTICAL WAY TO USE IT
None of this is a signal generator that tells you to buy or sell. It is a map, and the way most people use a map like this is roughly the same three step read every time.
Note which liquidity level is still sitting untouched nearby, on whichever timeframe you trust for bias. An untouched high or low is a magnet until it isn't.
Wait for the sweep itself. A wick that pierces the level and a close that snaps back inside it is a very different event from a candle that just closes through and keeps going, so pay attention to which sweep mode you have configured and what actually happened on that candle.
Look at what the indicator draws immediately after the sweep. A fresh, opposite direction Fair Value Gap appearing in the following bars is the classic follow through many ICT style traders look for as confirmation that the sweep was a genuine reversal event rather than the start of a continuation.
From there, how a person actually structures the trade is personal. Some will look to enter on the first retracement into that fresh gap, treating its edge as an entry zone with a stop beyond the sweep wick. Others prefer to wait for a shift in short term structure after the gap forms before committing, using the gap as confluence rather than as the trigger itself. Either way, the mitigated gap history is useful here too, since it lets you go back and study how price has behaved around similar gaps at similar levels earlier in the session, which is a quick way to build a feel for whether the pair or symbol you're trading tends to respect these zones cleanly or chop through them.
Treat every level and every gap as one piece of evidence, not a standalone signal. The most convincing setups tend to be where a session liquidity sweep, a higher timeframe level, and a fresh FVG all line up in the same place at the same time, rather than any single one of them appearing in isolation.
SETTINGS AT A GLANCE
Pivot Left and Right Bars control how sensitive swing detection is. Lower values catch more, smaller swings.
Merge Tolerance lets nearby levels from different timeframes combine into a single label instead of stacking duplicate dots on top of each other.
Sweep Detection Mode switches between a strict wick and close ICT style sweep, or a looser touch based definition.
Up to five independent timeframes can be enabled for swing liquidity, each with its own colour and label.
Asia and London session ranges can be toggled on or off independently, with their own colours.
The FVG engine has its own ATR based minimum and maximum size filters, so you can exclude gaps that are too small to matter or too large to be realistic entries.
Visual and memory settings let you cap how many active levels, historical swept lines, and mitigated FVGs stay on the chart at once, keeping things readable on lower timeframes over long sessions.
ALERTS
Two alert conditions are built in. One fires the moment any liquidity level is swept. The other fires when a Fair Value Gap forms following a sweep. Both can be wired into TradingView's standard alert system so you do not have to watch the chart tick by tick.
A NOTE ON RISK
This script is a decision support tool, not a trading signal or a promise of future performance. It plots historical and current price behaviour so you can build and test your own approach around it. Always use proper risk management and position sizing, and treat any strategy built around it as something to validate on your own before trading it with real capital. Nothing in this description or in the indicator constitutes financial advice.
インジケーター

QC Radar - Multi-Timeframe Price Action [QuantCrawler]Track more. Display less.
QC Radar combines supply/demand origin zones, market structure, and fair value gaps across multiple timeframes with a proximity dashboard designed to keep the chart readable.
Instead of displaying every tracked zone at once, Radar prioritizes areas near current price. More distant areas continue updating in the background and become eligible for display as price approaches.
What makes Radar different?
Radar separates tracking from display.
An area can remain active without occupying chart space. The dashboard shows nearby zones, their exact ranges, distance from price, proximity status, and whether they are currently drawn or hidden.
This lets you follow higher-timeframe context while keeping your execution chart focused.
Main features
Multi-timeframe tracking
Use the chart timeframe plus two configurable higher-timeframe layers. Each layer can independently display structure/origin zones, FVGs, or both.
For example, track 15-minute and hourly areas while viewing a 1-minute or 5-minute chart.
Local and major structure
Two swing scales identify confirmed structure events:
• Break: a close beyond a confirmed swing that continues—or initially establishes—the structure direction.
• Shift: a structure break in the opposite direction.
Badges identify the timeframe and swing scale. Optional spacing and connectors help separate overlapping annotations.
Candle-anchored supply and demand
Following a confirmed structure break, Radar searches for the nearest qualifying opposite-direction candle within its search window.
Demand zones use that candle’s low through its upper body edge. Supply zones use its lower body edge through its high.
These are mechanically defined potential reaction areas, not measurements of resting institutional orders.
Fair value gaps
Radar identifies three-candle true fair value gaps:
• Bullish: the third candle’s low is above the first candle’s high.
• Bearish: the third candle’s high is below the first candle’s low.
Boundaries use those exact candle prices. Optional tick-size and ATR filters exclude smaller gaps without changing their dimensions.
FVGs can retire on first touch, midpoint reached, or full fill, evaluated using later completed candles on their own timeframe.
Proximity dashboard
Distances are measured to the nearest zone edge, with zero distance while price is inside.
Statuses include:
• INSIDE
• CLOSE
• NEAR
• WATCH
Choose points, percentage, or chart ATR as the distance unit. Chart visibility and dashboard range have separate controls, alongside a combined chart-zone limit.
Relative volume
Optional origin-volume labels compare the originating candle’s volume with the average of its preceding 20 source-timeframe candles.
A reading of 0.82x means volume was 18% below that average. This is not buy/sell delta or accumulated zone volume.
Getting started
The default setup enables chart-timeframe and 15-minute tracking. The second higher-timeframe slot defaults to one hour and starts disabled.
Proximity defaults are:
• CLOSE within 25 points
• Chart areas within 75 points
• Dashboard areas within 225 points
• Maximum four areas drawn
• Six dashboard rows
Adjust these distances for your instrument and chart timeframe based on your trading preference.
Dashboard size, position, and row count are in the first Inputs section.
Hover-help explanations are included throughout the settings.
Important behavior and limitations
Radar uses confirmed candles for structure and zone lifecycle changes. Higher-timeframe updates are applied at the first chart-bar close following the completed source candle.
Confirmed pivots require subsequent candles. Zones and structure lines are therefore visually anchored back to their origins after confirmation; they were not necessarily available at the timestamp where their drawing begins.
Proximity readings update with price, while invalidation and FVG retirement follow their confirmed source-timeframe rules.
Display limits, overlap filtering, and available history affect which areas are visible. Hidden does not mean invalidated, and the indicator does not maintain an unlimited historical archive.
Use standard time-based intraday candles. Enabled higher timeframes must be higher than—and exact multiples of—the chart timeframe.
QC Radar is a visual analysis tool. It does not place orders, provide guaranteed reactions, or establish profitability. Use independent analysis and risk management. インジケーター

Adaptive Market Regime MapAdaptive Market Regime Map is a chart-overlay context tool that separates directional conditions from volatility conditions. It is designed to help traders describe the current market environment without presenting buy or sell signals.
WHAT IT SHOWS
The indicator organizes market context into two layers:
• Directional regime: Bullish, Bearish, or Neutral
• Volatility state: Compressed, Normal, or Expanding
A layered corridor is plotted around an adaptive equilibrium line. Its width responds to ATR, while its color and intensity reflect the current directional regime and measured trend strength.
In bullish conditions, the lower half of the corridor is emphasized as support context. In bearish conditions, the upper half is emphasized as resistance context. These areas are descriptive context zones, not fixed support or resistance levels and not trade-entry signals.
HOW IT WORKS
The directional engine combines:
• the distance between a fast EMA and the equilibrium EMA, normalized by ATR;
• the slope of the equilibrium EMA, also normalized by ATR;
• path efficiency, calculated from net movement relative to total movement over the selected window.
The resulting directional score is bounded and compared with the Trend Threshold to classify the market as Bullish, Bearish, or Neutral.
The volatility engine compares current ATR with a moving baseline of ATR:
• below the Compression Ratio: Compressed
• above the Expansion Ratio: Expanding
• between both thresholds: Normal
The dashboard displays the current regime, normalized strength, volatility state, and the number of bars spent in the current directional regime.
HOW TO USE IT
Use the map as a context filter alongside your own analysis:
• Bullish indicates persistent positive directional structure.
• Bearish indicates persistent negative directional structure.
• Neutral indicates that directional strength is below the selected threshold.
• Compressed indicates volatility below its recent baseline.
• Expanding indicates volatility above its recent baseline.
The corridor can also provide visual context around the equilibrium line. Price moving outside the corridor does not, by itself, constitute a breakout or reversal signal.
INPUTS
Regime Engine
• Fast Length: Period of the faster EMA used in directional separation.
• Equilibrium Length: Period of the central EMA used for the corridor.
• Slope Lookback: Bars used to measure the equilibrium slope.
• Efficiency Length: Window used to compare net movement with total path movement.
• ATR Length: ATR period used for normalization and corridor width.
• Volatility Baseline: Window used for the rolling ATR baseline.
• Spread Weight and Slope Weight: Relative contribution of both directional components.
Classification
• Trend Threshold: Minimum absolute directional score required for a bullish or bearish regime.
• Compression Ratio: ATR-to-baseline ratio below which volatility is classified as compressed.
• Expansion Ratio: ATR-to-baseline ratio above which volatility is classified as expanding.
Regime Corridor
• Inner Zone ATR and Outer Zone ATR: Width of the two corridor layers.
• Show Outer Context Zone: Displays or hides the lighter outer layer.
• Show Equilibrium Line: Displays or hides the central line.
• Color Transition Bars: Controls how quickly a new regime color reaches full intensity. This affects presentation only.
• Tint Candles By Regime and Tint Chart Background: Optional visual context, disabled by default.
State Changes
• Label Confirmation Bars: Number of persistent state bars required before a label is displayed.
• Same-Label Minimum Distance: Minimum distance between labels of the same type.
• Neutral labels are optional and disabled by default.
ALERTS
The script provides five alert conditions:
• Market Regime Changed
• Bullish Regime Started
• Bearish Regime Started
• Compression Started
• Expansion Started
Alerts are confirmed on bar close by default. Label confirmation is separate from alert timing, so the optional label delay does not delay the corresponding regime alert.
REALTIME AND REPAINTING BEHAVIOR
The script does not use higher-timeframe requests, future data, offsets into the future, or lookahead logic. Historical classifications are calculated from information available on each bar.
On an open realtime bar, price, ATR, the corridor, and the displayed regime can change as new ticks arrive. With Confirm Alerts On Bar Close enabled, alerts trigger only after the bar is confirmed. This is the recommended setting for stable alert behavior.
LIMITATIONS
• This is an indicator, not a strategy or automated trading system.
• It does not predict future price movement.
• Bullish and bearish states are contextual classifications, not trade recommendations.
• The corridor provides volatility-scaled context and does not define fixed support or resistance levels.
• Results depend on symbol, timeframe, data quality, and selected parameters.
• Very short history can produce a warmup state until all calculations are available.
• Non-standard chart types use synthetic chart prices and may behave differently from standard OHLC charts.
ORIGINALITY
This script is an original implementation. Its distinctive contribution is the combination of an ATR-normalized directional engine, path-efficiency weighting, separate volatility classification, asymmetric regime-context zones, and a compact state dashboard in one causal chart overlay. インジケーター

Equalhigh EMA SignatureEqualhigh — EMA Signature v2
### User Manual
**Equalhigh — EMA Signature v2** is an adaptive statistical support indicator designed to identify the EMA that a specific asset historically respects the most.
Instead of assuming that EMA 20, 50, 100, or 200 is automatically relevant, the indicator scans a configurable range of EMA periods and determines which one has historically produced the most reliable price rebounds.
The objective is to identify the asset's own **EMA Signature**.
---
## Concept
Different securities often react to different moving-average periods.
One stock may repeatedly rebound from EMA 21, another from EMA 34, another from EMA 57.
This indicator attempts to quantify that behavior by testing many EMA candidates and ranking them according to their historical effectiveness as dynamic support.
The strongest EMA is plotted directly on the chart.
The second-best EMA can also be displayed.
---
## How It Works
For every EMA candidate, the indicator looks for historical support tests.
A valid support test requires price to approach the EMA from above and enter a tolerance zone around the EMA.
Once the EMA is touched, the indicator observes the following candles and evaluates whether price produces a meaningful rebound.
Each EMA is evaluated using several statistics:
* Number of historical tests
* Number of successful rebounds
* Hit rate
* Average rebound magnitude
* Frequency of support breakdowns
* Statistical confidence
* Sample size
The highest-ranked EMA becomes the current **EMA Signature**.
---
# EMA Signature Score
The indicator does not simply choose the EMA with the highest raw win rate.
A result such as:
**EMA 137: 2 successful rebounds out of 2 = 100%**
should not automatically beat:
**EMA 34: 23 successful rebounds out of 30 = 76.7%**
The first result has too little statistical evidence.
For this reason, Equalhigh — EMA Signature uses a composite score.
### Score structure
* **65% — Statistical reliability**
* **15% — Rebound strength**
* **10% — Sample depth**
* **10% — Support integrity**
Statistical reliability uses a **Wilson lower confidence bound**, which penalizes very small samples.
This makes the ranking significantly more robust than a simple hit-rate comparison.
---
# Main Chart Elements
## Best EMA Signature
The strongest historical EMA is plotted as the main highlighted line.
The label displays:
**EMA period**
and
**Signature Score**
Example:
> ★ EMA 34
> Score 76.8
This means EMA 34 currently has the strongest statistical support profile among all EMA periods tested.
---
## Second-Best EMA
The second-highest-ranked EMA can optionally be displayed.
This is useful because some securities do not have one unique support EMA, but rather a cluster of closely related EMA periods.
For example:
* EMA 32
* EMA 34
* EMA 38
may all rank highly.
This can indicate a broader **dynamic support zone** rather than one exact mathematical line.
---
# Top 5 Dashboard
The dashboard ranks the five strongest EMA candidates.
### EMA
EMA period being evaluated.
Example:
**34**
means EMA 34.
---
### SCORE
The Equalhigh EMA Signature Score.
Higher values indicate stronger historical evidence that the EMA acts as dynamic support.
A practical interpretation:
| Score | Interpretation |
| -------: | --------------------- |
| 75+ | Very strong signature |
| 65–75 | Strong |
| 55–65 | Moderate |
| 45–55 | Weak |
| Below 45 | Low confidence |
These levels should be interpreted comparatively rather than as absolute probabilities.
---
### TESTS
Number of historical support interactions detected for the EMA.
A larger sample generally increases confidence.
An EMA with 25–40 tests is statistically much more meaningful than one with only 3–5 tests.
---
### HIT
Percentage of historical EMA tests that produced the required rebound.
Example:
**78.6%**
means that approximately 79% of detected support tests met the selected rebound criteria.
---
### AVG
Average maximum rebound after successful EMA tests.
Example:
**+6.3%**
means successful historical tests produced an average maximum rebound of approximately 6.3% during the selected evaluation window.
---
### BREAK
Percentage of support tests where price clearly lost the EMA.
Lower is generally better.
Example:
**10.7%**
indicates relatively strong support integrity.
---
### BULL
Historical success rate when the support test occurred during the indicator's bullish market regime.
This allows the user to compare general EMA behavior with behavior during favorable market conditions.
---
# Rebound Detection
A support interaction is not counted simply because the candle touches the EMA.
The indicator checks several conditions.
### 1. Approach from above
Price must approach the EMA from above.
This is important because the indicator is specifically searching for **dynamic support**, not resistance.
---
### 2. EMA touch zone
Price does not need to touch the EMA perfectly.
A tolerance based on ATR is used.
This is more realistic than requiring exact contact because markets rarely reverse at mathematically perfect levels.
---
### 3. Support must remain valid
Price is allowed to temporarily move slightly below the EMA.
However, a sufficiently large close below the EMA is treated as a support failure.
---
### 4. Rebound confirmation
After the EMA interaction, price must rise by the selected minimum percentage within the selected evaluation window.
Example:
**Minimum rebound = 3%**
**Evaluation window = 10 bars**
A successful test requires price to produce at least a 3% rebound during the following 10 candles.
---
# Settings
## Minimum EMA
Defines the shortest EMA included in the scan.
Default:
**10**
---
## Maximum EMA
Defines the longest EMA included in the scan.
Default:
**250**
---
## EMA Step
Controls the distance between tested EMA periods.
Example:
Minimum EMA = 10
Maximum EMA = 250
Step = 5
The indicator tests:
10, 15, 20, 25, 30...250
### Recommended
Use:
**5** for fast exploration
**2** for normal use
**1** for maximum precision
A Step of 1 allows unusual signatures such as:
EMA 37
EMA 43
EMA 61
to be discovered.
---
# Statistical Lookback
Defines how much historical data is used to evaluate each EMA.
Default:
**750 bars**
On a Daily chart, this represents roughly three years of trading history.
A longer lookback provides more observations but may include outdated market behavior.
A shorter lookback adapts faster to structural changes but reduces sample size.
---
# EMA Touch Tolerance — ATR
Defines how close price must come to the EMA to qualify as a support test.
Default:
**0.20 ATR**
ATR-based tolerance automatically adapts to the volatility of the security.
This makes the indicator more transferable between low-volatility stocks and highly volatile assets.
---
# Maximum Break Tolerance — ATR
Determines how far price may close below the EMA before the support is considered broken.
Default:
**0.35 ATR**
Increasing this value allows more temporary undercuts.
Decreasing it makes support validation stricter.
---
# Rebound Evaluation Window
Number of bars available for price to confirm a rebound.
Default:
**10 bars**
On a Daily chart:
10 bars ≈ two trading weeks.
---
# Minimum Rebound %
Defines the minimum move required for an EMA interaction to be classified as successful.
Default:
**3%**
For volatile securities, a larger requirement may be appropriate.
For defensive or low-volatility securities, a smaller value may be preferable.
---
# Minimum Number of Tests
Defines the minimum historical sample required before an EMA can qualify for the ranking.
Default:
**5**
Increasing this value makes the model more selective.
For long historical datasets, values between **7 and 10** may provide stronger statistical confidence.
---
# Touch Cooldown
Prevents several consecutive candles around the same EMA from being counted as separate independent support events.
Default:
**5 bars**
Without a cooldown, one prolonged consolidation around an EMA could artificially create many support tests.
---
# Suggested Daily Settings
For most liquid equities:
| Setting | Suggested value |
| -------------------- | --------------: |
| Minimum EMA | 10 |
| Maximum EMA | 250 |
| EMA Step | 2 |
| Statistical Lookback | 750 |
| Touch Tolerance | 0.20 ATR |
| Break Tolerance | 0.35 ATR |
| Rebound Window | 10 bars |
| Minimum Rebound | 3% |
| Minimum Tests | 5 |
| Cooldown | 5 bars |
---
# Practical Workflow
A useful workflow is to start with:
**EMA 10 → 250**
**Step = 5**
This quickly identifies the broad area where the strongest EMA may exist.
For example, the results may show:
EMA 30
EMA 35
EMA 40
as the strongest group.
The user can then change:
**Step = 1**
to perform a finer scan.
The final result may reveal something such as:
> EMA 34 — Score 77
This becomes the asset's current **EMA Signature**.
---
# How to Use the Indicator
EMA Signature should generally be treated as a **support context tool**, not as a standalone buy signal.
The setup becomes more interesting when price approaches the Best EMA while other factors confirm the level.
Examples include:
* Rising volume on the rebound
* Bullish candle structure
* Relative strength improvement
* Previous horizontal support
* Gap support
* Fair Value zone
* Oversold momentum
* Positive market regime
* Higher-timeframe trend alignment
The strongest opportunities generally occur when several independent forms of support converge around the same price level.
---
# Example
Suppose the indicator identifies:
**EMA 36**
with:
* Score: 78
* Tests: 27
* Hit rate: 81%
* Average rebound: +6.4%
* Break rate: 11%
Price then falls back toward EMA 36.
This does **not** mean the stock has an 81% probability of rising.
It means that, according to the historical rules selected in the indicator, EMA 36 has produced successful rebounds in approximately 81% of comparable historical interactions.
The current market context still matters.
---
# Why the Best EMA Can Change
EMA Signature is adaptive.
The best EMA may change because:
* volatility changes,
* market regime changes,
* the stock enters a stronger trend,
* institutional behavior changes,
* historical observations are added,
* old observations leave the lookback window.
For example:
EMA 50 may dominate during a slow long-term trend.
Later, EMA 21 may become dominant during a strong momentum phase.
This is intentional.
---
# Important Statistical Considerations
Historical interactions are not fully independent events.
EMA periods are also highly correlated.
For example:
EMA 34 and EMA 35 will naturally produce similar values.
Therefore, the indicator should not be interpreted as discovering a mathematically unique "perfect EMA".
A group such as:
EMA 32
EMA 34
EMA 36
should often be interpreted as a **support family or support zone**.
---
# Limitations
The indicator is based on historical price behavior.
It cannot anticipate:
* earnings surprises,
* profit warnings,
* regulatory decisions,
* macroeconomic shocks,
* geopolitical events,
* takeover announcements,
* major fundamental changes.
A historically strong EMA can fail abruptly when market conditions change.
The model also does not prove causality.
Price may appear to react to an EMA because the EMA overlaps with another important technical or fundamental price level.
---
# Best Use
Equalhigh — EMA Signature v2 is particularly useful for:
* Pullback trading
* Trend continuation setups
* Swing trading
* Dynamic support analysis
* Finding non-standard EMA periods
* Comparing support quality between securities
* Identifying repeated institutional price behavior
* Locating potential re-entry zones after a trend pullback
---
## Final Principle
Traditional technical analysis asks:
> **Does this stock respect EMA 20, EMA 50 or EMA 200?**
Equalhigh — EMA Signature asks a different question:
> **Which EMA has this stock actually respected the most?**
The indicator then lets the historical data provide the answer.
---
**Equalhigh — EMA Signature v2**
*Adaptive EMA discovery through statistical rebound analysis.*
**Disclaimer:** This indicator is provided for research and educational purposes only. Historical statistical behavior does not guarantee future performance and should not be considered financial advice.
インジケーター

Fibonacci Cloud | Multi-Timeframe Fibonacci ScannerFibonacci Cloud stacks three independent retracement grids (short, medium, and long lookback windows) on top of each other and watches for the moments when price sits near multiple levels from multiple grids at once.
The idea is simple: a fib level that only shows up on one lookback length is easy to dismiss as coincidence, but a zone where the short-term 0.618 lines up with the medium-term 0.5 and the long-term 0.382 is a lot harder to ignore. The script counts how many of the fifteen tracked levels price is currently touching (within a configurable tolerance band) and only considers a trade when that confluence count clears your threshold.
From there, two optional filters can sharpen the signal further: an EMA trend filter (only take longs above the trend line, shorts below it) and an RSI momentum filter (skip longs when momentum is deeply negative, skip shorts when it's deeply positive). Both are off/loose by default so the confluence logic itself stays the star of the show — tighten them if you want fewer, higher-conviction trades.
Features
Three-lookback Fibonacci confluence engine (15 levels tracked simultaneously)
Adjustable confluence tolerance and minimum-overlap threshold
Optional EMA trend filter with clean directional fill
Optional RSI momentum filter (confirmation-style, not fade-style)
Long-only / short-only / both trade direction control
Fixed % stop-loss with configurable R:R take-profit
Minimal two-tone visual design — trend fill, soft confluence background tint, triangle entry markers
Built-in alert conditions for both long and short signals
Tips
Start loose (Min Confluent Levels = 1, wide tolerance) to see how many setups the confluence engine finds on your instrument, then tighten gradually rather than starting strict and wondering why trade count is low.
The three lookback lengths (default 20/50/100) are tunable — pairing a short scalping lookback with a much longer swing lookback tends to produce more meaningful confluence zones than three lookbacks bunched close together.
Try disabling the trend filter entirely on ranging instruments and re-enabling it on trending ones — this single toggle changes the strategy's character more than almost any other input.
Backtest the R:R and stop % together rather than in isolation; a looser confluence threshold usually pairs better with a tighter R:R target.
Warnings
This is a mean-reversion/confluence-zone tool, not a breakout system — it will underperform in strongly trending, low-pullback conditions.
Backtest results are historical and do not guarantee future performance. Past performance shown in the strategy tester does not account for slippage, liquidity gaps, or execution differences on your specific broker/exchange.
The looser default settings favor trade frequency over precision — verify the win rate and expectancy for your instrument and timeframe before trading it live.
This script is provided for research and educational purposes only and is not financial advice.
ストラテジー

Algogram Trend IdentifierAlgogram Trend Identifier (ATI) is an advanced oscillator designed to identify trend direction, momentum strength, volatility shifts, and potential reversal points. It uses Arnaud Legoux Moving Average (ALMA) applied to percentage price changes, wrapped in Root Mean Square (RMS) dynamic bands, and features built-in divergence detection.
Key Features:
* ALMA Percentage Change Engine: Smooths price percentage changes using ALMA to eliminate lag while reducing noise.
* Dynamic RMS Volatility Bands: Automatically adjusts band boundaries based on recent volatility to define overbought, oversold, and trend continuation zones.
* Preset Profiles: Built-in presets for 5m, 15m, 30m, 1h, and Daily timeframes that automatically apply optimized calculation parameters.
* Divergence Detection Engine: Detects regular bullish and bearish divergences between price and oscillator fractals, drawing custom lines and dots.
* Consolidation Detection: Visual thresholds highlight periods of market squeezes and low-volatility consolidation.
* Multiple Alert Triggers: Pre-configured alert conditions for threshold crossings, zero-line breaches, trend switches, and divergences.
How It Works:
1. Trend Calculation: Measures smoothed percentage change via ALMA to establish a core directional oscillator line.
2. Dynamic RMS Bands: Calculates upper and lower bands using root mean square volatility to gauge strong directional breakout momentum versus consolidation ranges.
3. Trend States:
* Green Zone: Strong bullish momentum above the upper RMS band.
* Red Zone: Strong bearish momentum below the lower RMS band.
* Consolidation: Oscillator activity within inner threshold bounds indicates sideways ranges.
4. Divergence Signals: Automatic detection plots dots and trendlines whenever price makes higher highs/lower lows that diverge from oscillator peaks.
Inputs and Settings:
* Preset: Quickly switch between 5 Minute, 15 Minute (Default), 30 Minute, 1 Hour, and Daily parameters.
* Trend Calculation Settings: Adjust ALMA length, offset, sigma, and smoothing bars.
* Threshold Settings: Custom upper/lower boundary levels (Default: 60 / -60).
* Consolidation Settings: Adjust upper and lower thresholds for identifying low volatility (Default: 20 / -20).
* Divergence Settings: Toggle divergence visualization, lookback length, line thickness, and shape styles.
How to Use:
* Trend Continuation: Trade in the direction of the color-coded oscillator when it expands outside the RMS bands.
* Range / Reversal Trading: Look for divergence dots near extreme upper or lower thresholds to anticipate trend exhaustion or reversals.
* Squeeze / Expansion: Watch for the oscillator breaking out of inner consolidation thresholds after a low-volatility period.
インジケーター

CHoCH Fib Setup [Almaghamsi]CHoCH Fib Setup is an educational overlay indicator that combines Change of Character (CHoCH) detection with Fibonacci retracement and extension levels.
The script is designed to help traders study one structured workflow on a single chart:
Identify a CHoCH on the current timeframe.
Draw Fibonacci levels on the impulse that produced that CHoCH.
Highlight a 0.5-0.618 pullback zone as a study area for potential entries.
Project extension targets at 1.272, 1.414, 2, 1.618 and 2.618.
Optionally filter setups with a higher-timeframe structure bias.
This is not a buy/sell signal service and it does not place trades. It is a visual study tool.
What the script does
The script uses pivot highs and lows to track the latest swing points. A bullish CHoCH is marked when price breaks above the last relevant swing high after a non-bullish bias. A bearish CHoCH is marked when price breaks below the last relevant swing low after a non-bearish bias. Users can require a close beyond the level or allow a wick break.
After a valid CHoCH, the script anchors a Fibonacci range to that impulse:
Retracement levels: 0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0
Entry study zone: 0.5 to 0.618
Stop-loss line at the opposite extreme of the impulse
Extension targets: 1.272, 1.414, 1.618 ,2 and 2.618
Each level is printed with its ratio and the actual price.
An optional higher-timeframe module reads the same structure logic on a user-selected timeframe. When enabled, long Fibonacci setups are drawn only if HTF bias is bullish, and short setups only if HTF bias is bearish. Counter-trend CHoCH events can still appear as faded labels ending with "x".
The settings panel is bilingual (English / Arabic), with English first. On-chart labels default to English and can be switched to Arabic.
Why this combination exists
CHoCH, Fibonacci retracements, Fibonacci extensions, and multi-timeframe bias are established public concepts. This script does not invent those concepts. Its purpose is to keep them in one readable workflow so the user does not have to draw the Fib range manually after every CHoCH.
The script is original as a packaged study layout: aligned CHoCH-to-Fib mapping, optional HTF gating, price labels on targets, and a bilingual interface. It does not claim to reverse-engineer any closed-source vendor tool.
How to use
Add the indicator to a standard candlestick chart.
Choose a working timeframe. Example: 15 minutes for entries.
Enable the HTF filter if desired and set a larger interval. Example: 60 on a 15-minute chart.
Wait for a CHoCH in the direction of the HTF bias.
Use the 0.5-0.618 box only as a pullback study zone, not as an automatic order.
Treat the red line as a structural invalidation reference, not a broker order.
Treat 1.272 / 1.414 / 1.618 /2 /2.618 as measured extension references only.
Confirm context with your own analysis and risk limits.
Limitations
Pivot length changes the CHoCH results. This is a simplified swing-break model and not a full Smart Money Concepts suite. It does not plot order blocks, FVGs, or liquidity pools. HTF bias can change until the higher-timeframe bar closes. The script keeps the latest aligned Fibonacci setup, not unlimited history. Pivot confirmation needs right-side bars, which is normal for pivot logic. There is no win rate because this is an indicator, not a strategy().
Disclaimer
This script is provided for education and chart study only. It is not investment advice, financial advice, trading advice, or a recommendation to buy or sell any instrument. Markets involve a high risk of loss. Past behavior around CHoCH or Fibonacci levels does not predict future results. Users are responsible for their own decisions, position sizing, and local regulations.
Open-source note
This publication is open-source so users can inspect the logic. If you reuse parts of the code in a public script, credit this publication and add a meaningful improvement before publishing.
مؤشر CHoCH Fib Setup أداة تعليمية على الشارت تجمع بين اكتشاف تغيير صفة الحركة (CHoCH) ومستويات فيبوناتشي للتصحيح والامتداد.
الهدف هو دراسة مسار واحد على نفس الشارت:
تحديد CHoCH على الفريم الحالي.
رسم فيبوناتشي على موجة الاندفاع التي صنعته.
تظليل منطقة 0.5 إلى 0.618 كمنطقة دراسة للدخول المحتمل.
إسقاط أهداف 1.272 و 1.414 و 1.618 و 2 و2.618.
إمكانية فلترة السيتب باتجاه الفريم الأعلى.
هذه ليست خدمة توصيات ولا تفتح صفقات تلقائيًا. هي أداة بصرية للدراسة.
ماذا يفعل المؤشر
يستخدم قممًا وقيعانًا محورية لتتبع آخر نقاط التأرجح. يُعلَّم CHoCH الصاعد عند كسر آخر قمة محورية بعد انحياز غير صاعد، والهابط عند كسر آخر قاع محوري بعد انحياز غير هابط. يمكن اشتراط الإغلاق أو السماح بكسر الظل.
بعد CHoCH صالح يُثبَّت فيبوناتشي على الموجة، مع منطقة 0.5-0.618 وخط إبطال عند طرف الموجة وأهداف امتداد 1.272 و 1.414 و 1.618 و 2 و 2.618، وكل مستوى يظهر مع سعره.
فلتر الفريم الأعلى اختياري. عند تفعيله يُرسم سيتر الشراء فقط إذا كان الفريم الأعلى صاعدًا، وسيتر البيع فقط إذا كان هابطًا. أحداث CHoCH المخالفة يمكن أن تظهر باهتة وتنتهي بـ x.
لوحة الإعدادات ثنائية اللغة والإنجليزية أولًا. نصوص الشارت افتراضيًا بالإنجليزية ويمكن تحويلها للعربية.
لماذا هذا التجميع
المفاهيم عامة ومعروفة. المؤشر لا يدّعي اختراعها. الغرض جمعها في مسار واحد حتى لا يُرسم الفيبو يدويًا بعد كل CHoCH. الأصالة في التغليف: ربط CHoCH بالفيبو، فلتر الفريم الأعلى، السعر على الأهداف، وواجهة ثنائية اللغة.
طريقة الاستخدام
أضف المؤشر على شارت شموع قياسي، اختر فريم العمل، فعّل الفلتر إن أردت، وانتظر CHoCH مع اتجاه الفريم الأعلى. صندوق 0.5-0.618 منطقة دراسة فقط، والخط الأحمر مرجع إبطال، والأهداف مراجع قياس. أكّد دائمًا بتحليلك وحدود المخاطرة.
القيود
النتيجة تتغير مع طول المحور. النموذج مبسّط ولا يرسم كتل أوامر ولا فجوات قيمة عادلة. انحياز الفريم الأعلى قد يتغير قبل إغلاق شمعة ذلك الفريم. لا توجد نسبة نجاح لأن هذا مؤشر وليس استراتيجية.
إخلاء المسؤولية
هذا المؤشر للتعليم ودراسة الشارت فقط، وليس استشارة استثمارية ولا توصية بشراء أو بيع أي أداة. التداول ينطوي على مخاطر خسارة مرتفعة، والسلوك السابق لا يتنبأ بالنتائج المستقبلية. المستخدم مسؤول عن قراراته وحجم المخاطرة والأنظمة المحلية.
ملاحظة المصدر المفتوح
نُشر السكربت مفتوح المصدر لمراجعة المنطق. إذا أعدت استخدام أجزاء منه في منشور عام، اذكر هذا المنشور وأضف تحسينًا حقيقيًا قبل النشر. インジケーター

EMA 50x200 Cross Trend Barometer The 50/200 moving-average cross is one of the most-watched signals in markets:
the "golden cross" and the "death cross." Trend Barometer turns that classic into
a clean, at-a-glance read on the prevailing regime, the way a barometer reads the
pressure before the storm.
When the fast average (50) sits above the slow one (200), the market is in a
risk-on regime and the chart glows fair-weather green (☀). When it slips below,
conditions turn risk-off and the chart shifts to storm red (⛈). One look tells you
which side of the trend you're standing on.
WHAT IT SHOWS
• Regime-coloured EMA 50 and EMA 200, with a shaded gap between them
• A soft background tint for the current regime (risk-on / risk-off)
• Golden-cross ▲ and death-cross ▼ markers on the exact flip bar
• A compact weather panel: current regime, bars held in it, and the last cross
• Alerts on every regime flip
MAKE IT YOURS
Switch between EMA and SMA, set your own fast/slow lengths (50/200 by default),
and recolour everything to match your chart.
HONEST BY DESIGN
This is a regime lens, not a buy/sell system. A barometer reports the conditions;
it doesn't place your trades. The 50/200 cross is trend-following context: great for
reading the prevailing regime and filtering out noise, but it lags turns and is not
an entry trigger on its own. Use it to frame your bias and manage risk alongside
your own analysis.
NO REPAINTING
Some indicators quietly rewrite their own past: you look back and see a signal at a
perfect spot that simply wasn't there when the bar formed. That flatters them in
hindsight. This one can't do that. It only ever reads the current and earlier bars,
never the future (no request.security, no forward references), so a cross printed
two years ago sits exactly where it printed at the time.
One caveat, true of every indicator: the newest bar is still forming, so the colour
can flicker while it's live. A cross is only final once that bar closes. インジケーター

インジケーター

インジケーター

Compression Clock (Axiom Multi-TF Adaptive)**Compression Clock (Axiom Multi-TF Adaptive) — Volatility Regime & State Age**
---
### **Description**
#### **Overview**
The **Compression Clock** is a non-directional volatility regime indicator based on the **Axiom quantitative research framework**. Instead of attempting to forecast market direction, it isolates the temporal dimension (**WHEN**) by measuring the duration and depth of volatility compression across any resolution.
Markets do not transition from quiet to expansion instantaneously; they exhibit a survival-rate decay where prolonged low-volatility states exponentially elevate the baseline probability of large physical displacement. The Compression Clock standardizes this process by normalizing rolling volatility and volume percentiles against a physical-time benchmark.
---
#### **Mathematical & Architectural Core**
1. **Dual-Feature Quiet Filter**:
* Evaluates rolling True Range ($\text{ATR}_{24}$) and Traded Volume ($\text{SMA}_{24}$) scaled against an intraday 24-hour physical window:
$$\text{ATR}_{\text{rolling}} = \text{SMA}(\text{TR}, N_{\text{bars}}), \quad \text{Vol}_{\text{rolling}} = \text{SMA}(\text{Volume}, N_{\text{bars}})$$
* Computes the rolling percentile rank of both features across a rolling 180-day baseline distribution.
* A bar qualifies as **Quiet** if and only if both features sit simultaneously in the lower tercile:
$$\text{Quiet}_t = \mathbb{I}\left(\text{Rank}(\text{ATR}_t) \le 33.33\%\right) \land \mathbb{I}\left(\text{Rank}(\text{Vol}_t) \le 33.33\%\right)$$
2. **Physical-Time Normalization**:
* TradingView indicators often suffer from timescale distortion when hardcoding bar-based periods across multiple resolutions.
* This script dynamically translates resolution minutes ($M_{\text{tf}}$) into actual **physical hours**. Whether applied to a 5-minute, 30-minute, or 4-hour chart, the Y-axis consistently represents **elapsed physical hours of continuous compression**.
3. **Regime State Categorization**:
* **S0 (ACTIVE)**: Market is expanding or fluctuating outside the quiet threshold. Compression age resets to 0.
* **S1 (QUIET, < 24 Hours)**: Early-stage compression. Natural volatility dampening without statistical hazard elevation.
* **S2 (MATURE, 24 – 72 Hours)**: Statistically mature compression. Historical survival analysis indicates a significant elevation in large-displacement probability.
* **S3 (DEEP, > 72 Hours)**: Extreme volatility exhaustion. Persistent absence of dispersion indicating imminent volatility expansion.
---
#### **How to Use (Methodological Discipline)**
* **Decoupled Architecture**:
* The Clock dictates **WHEN** (volatility environment), not **WHAT** (direction) or **HOW** (execution).
* Never treat an S2/S3 state as a directional trade signal. A compression state is directionally agnostic—it warns of imminent displacement hazard, but the direction must be governed by external momentum or structural acceptance/rejection models.
* **Multi-Timeframe Scope**:
* Low-scale compression (e.g., 5m/15m entering S3) reflects localized intraday order book exhaustion. It does **not** override a higher-timeframe S0 state. For macro regime filtering, monitor higher physical resolutions (such as 4H).
* **Buffer Safety**:
* Includes a built-in 4,900-bar memory clamp to prevent buffer overflow exceptions on ultra-low timeframes while maintaining valid causal percentile rankings.
---
#### **Inputs**
* **Rolling Feature Duration (Hours)**: Physical length of the short-term smoothing window (Default: 24h).
* **Lookback Days (Days)**: Historical distribution window for empirical percentile rankings (Default: 180 days).
* **Quantile Rank Threshold (%)**: Cutoff for the quiet regime (Default: 33.333% — bottom tercile). インジケーター

Session Fibs | Falcon AIAuto-draws Fibonacci retracement levels across a trading session's range, anchored to that session's own high and low.
Pick a session window and the script anchors the fib to it, then projects the 0 / 23.6 / 38.2 / 50 / 61.8 / 78.6 / 100% levels, with optional 127.2 and 161.8% extensions.
Two modes. Previous session (the default) fibs the range that has just COMPLETED and projects those levels onto the session now trading, giving you stable references that do not move under you. Current session anchors live to the developing high and low, so the levels update as the range extends. That is useful for watching a session build, but the levels shift intraday. Knowing which of the two you are looking at matters more than the ratios themselves: one is fixed, one is not.
How to read it: the 38.2 / 50 / 61.8% band holds the common pullback zones inside a range, and the 61.8-78.6% area is the classic deep retrace. Extensions are common measured-move targets beyond the range. Reference levels, not signals.
Settings: session window and timezone, previous or current session, flip the 0% and 100% ends, extensions on/off, line width and colours, shade the 61.8-78.6% zone, labels.
Session logic needs an intraday chart. The default window is the standard US index cash session; change it to whatever market you trade.
This script does NOT place trades, does NOT backtest, and contains no entry, stop, or position-sizing logic. It is pure geometry off one session's high and low, with no trend model, pattern model or scoring. Your entry, your risk.
Educational tool only. Not financial advice. Fib levels are reference points, not predictions. インジケーター

Pivot Points | Falcon AIDraws Classic and Camarilla pivot levels from the previous period's high, low and close, on a daily or weekly anchor.
Classic pivots give you the central pivot plus three supports and three resistances, derived from the standard published formula. Camarilla uses a tighter multiplier set, so its levels sit closer to price and are read differently: the inner pair as mean-reversion boundaries, the outer pair as breakout markers. Both are drawn from the same prior-period data, so you can see where the two frameworks agree or disagree on a given day.
Levels are drawn as extended lines with optional labels and refresh automatically when a new period begins. You can show either set on its own or both together, and switch the anchor between daily and weekly. Only the current period extends to the right and carries labels, so the chart stays readable as history builds.
Settings: pivot period (Daily / Weekly), method (Classic / Camarilla / Both), include current unclosed period on or off, how many R/S pairs to show, periods of history to keep drawn, colours, widths, label side, info panel.
A note on repainting: by default the levels come from the last CLOSED period and stay fixed all session. Turning on "Include current (unclosed) period" deliberately opts into levels that move as the period develops.
This script does NOT place trades, does NOT backtest, and contains no entry, stop, or position-sizing logic. It draws reference levels and nothing more. Your entry, your risk.
Educational tool only. Not financial advice and not a recommendation to buy or sell. Past price behaviour around any level does not predict future behaviour. インジケーター

TP/SL Signals💀 TP/SL Signals & Strategy: Automated Risk Management Tool
⚠️ IMPORTANT: Don't forget to BOOST 🚀 (Like) and FOLLOW for more institutional-grade, open-source Pine Script scripts! Your support keeps this project active and updated!
📌 Overview
💀 TP/SL Signals is a powerful multi-timeframe trading system built to resolve the biggest trader challenge: Discipline and Risk Management.
By filtering price noise with Hull Moving Averages (HMA) across multiple timeframes, this tool identifies key trend pivots and automatically projects your entry, stop-loss, and multi-tier take-profit targets directly onto your chart.
✨ Key Features
🎯 Dynamic Entry Signals: Built on real-time cross-over logic using fast and slow HTF Hull Moving Averages.
🛡️ Automated Risk/Reward Levels: Visualizes exact SL, TP1, and TP2 target lines as soon as a trade opens.
⚖️ Trailing Breakeven: Automatically moves your Stop Loss to the entry price once TP1 is reached to secure a risk-free trade.
📊 Fully Customizable Risk Controls: Adjust percentages for SL, TP1, and TP2 dynamically in settings.
🔔 Instant Alerts: Built-in webhooks & alert conditions for instant Long/Short entry push notifications.
⚙️ How It Works
Trend Identification: The script fetches high-timeframe trend momentum using calibrated 5-minute and 15-minute HMA lines.
Execution Signals:
LONG 🟢: Triggered when 5m HMA crosses above the 15m HMA.
SHORT 🔴: Triggered when 5m HMA crosses below the 15m HMA.
Automated Exit Logic:
Reaching TP1 locks in partial profits and adjusts the stop loss to Breakeven.
Final exit triggers when TP2 is reached or trailing SL is hit.
🛠️ Recommended Setup
Timeframe: 1m, 5m, or 15m charts.
Assets: Crypto (BTC, ETH), Forex Majors, Stocks, or Indices.
Risk Management: Default is set to 1.0% SL, 1.0% TP1, 2.0% TP2. Tune these in the settings menu based on market volatility.
💡 Backtesting & Open Source
This indicator is 100% open-source and completely free to use. Test different parameter setups on historical data to fine-tune win rates for your favorite pairs.
🤝 Join the Community!
If this indicator helps you manage risk better or boosts your win rate:
Hit the Rocket Button 🚀 to boost this post!
Click Follow to never miss future indicator upgrades, strategy updates, and trading scripts.
Drop a comment below with your favorite assets to trade using this system!
Disclaimer: Past performance is not indicative of future results. Always practice proper risk management. インジケーター

Hurst Exponent Regime [RC Tools]RC Tools — Hurst Exponent Regime
────────────────────────────────────────────────────────────────────
█ OVERVIEW
Most regime tools ask "is price trending right now." This one asks a more fundamental question: does this market's statistical character currently reward trend-following or mean-reversion? It applies the Hurst Exponent — a statistic originally developed to study Nile river flood records — via rescaled-range analysis, to classify the market into one of three long-memory regimes.
█ WHAT IT DOES
Estimates the Hurst Exponent (H) over a rolling window and classifies each confirmed bar as Trending (persistent), Mean-Reverting (anti-persistent), or Random Walk (no memory). Colours the chart background accordingly, plots both the smoothed and raw H line in a dedicated pane against static threshold lines and the 0.5 "true random walk" reference, and shows a table with the current state, how long price has been in it, and historical base rates (average forward return and win rate) for each state.
█ THE THEORY BEHIND IT
H.E. Hurst developed this statistic in the 1950s while studying how to size reservoirs for the Nile, where flood years tended to cluster rather than arrive randomly — a property he needed to measure and design around. The same statistic applies to any time series: it measures whether large values tend to be followed by more large values of the same sign (persistence, H > 0.5), whether they tend to reverse (anti-persistence, H < 0.5), or whether the series has no memory at all (H = 0.5, a true random walk).
Applied to price, this is a genuinely different question from "is this asset trending." A trend-following indicator can flag a trend within a market whose underlying character is actually mean-reverting — in which case that trend is more likely to be a temporary deviation that reverses. Knowing which regime you're in tells you which family of tools (trend-following vs. mean-reversion) is statistically better suited to current conditions, independent of what any single trend or oscillator reading says right now.
█ HOW IT IS CALCULATED
1. Take log returns over the window.
2. Build the cumulative deviation-from-mean series within the window, in chronological order, and take its range (maximum minus minimum) — this is R.
3. Compute S, the window's standard deviation of returns.
4. Apply Hurst's classic empirical relation: R/S is approximately equal to (window length / 2) raised to the power H. Rearranging gives H = ln(R/S) / ln(window length / 2).
5. Optionally smooth H (the raw rescaled-range estimate is noisy bar-to-bar by construction).
6. Classify: H above the Trending threshold (default 0.55) → Trending. H below the Mean-Reverting threshold (default 0.45) → Mean-Reverting. Otherwise → Random Walk.
Classification occurs ONLY on confirmed bar close — the plotted H, the background colour and the table all update together, so nothing here can disagree mid-bar or flip back and forth as the current bar forms.
Note: this is a single-scale rescaled-range estimate using Hurst's classic empirical formula, not a full multi-scale regression across many window sizes. It is a practical, computationally efficient approximation, not a research-grade estimator — treat it as a useful compass, not a precise measurement.
█ SETTINGS & CONFIGURATION
• Source (default close)
• Window Length (default 100) — longer windows give a more stable estimate but react slower to a genuine regime change
• Trending / Mean-Reverting Thresholds (default 0.55 / 0.45) — the H values beyond which a regime is declared; the gap between them is the "Random Walk" zone
• Smoothing Length and Type (default 5-period EMA) — reduces the raw estimate's bar-to-bar noise
• Forward Return Window (default 20 bars) — the horizon used for the base-rate table
• Table visibility, position and colours are fully configurable; the main-chart background painting can be toggled off if you only want the statistics pane
█ HOW TO USE IT
Use it to decide which family of tools to trust right now, not as a standalone entry signal. Example: if you run a mean-reversion system, check whether it has historically performed better when this tool reads Mean-Reverting than when it reads Trending; a trend-following system should show the opposite pattern. Check the base-rate table's sample count before treating any single state as meaningfully predictive.
Works on any asset and timeframe with sufficient history for the Window Length. Best used on daily and above, where regime persistence is greatest and the R/S window has enough independent observations to be meaningful.
█ LIMITATIONS
• This is a SINGLE-SCALE rescaled-range estimate, not a full multi-scale regression across many window sizes — a practical approximation, not a research-grade estimator.
• H describes the market's statistical character over the window — it does NOT identify direction. A "Trending" reading means persistence is likely, not which way.
• The R/S statistic assumes no major structural breaks within the window; a sudden regime shift partway through the window can distort the estimate until it fully rolls off.
• Shorter windows react faster but produce noisier, less reliable H estimates; longer windows are more stable but slower to reflect a genuine regime change.
• Historical base-rate stats need a meaningful sample count (check N) before being trusted, especially for the less common states.
• This script does NOT repaint. All classification updates on confirmed bar close only.
█ DISCLAIMER
For educational and informational purposes only. Nothing here is financial advice. Past behaviour of any regime state does not indicate future results. Trade at your own risk.
インジケーター

Volatility Supply and Demand ZonesMost supply and demand tools have the same two problems. They stack near-identical zones on top of each other until the chart is unreadable, and they leave dead zones projecting to the right edge forever, long after price has traded straight through them. This script is built to fix both.
Everything here is measured in ATR, so the same settings behave proportionately on a quiet instrument and a violent one.
HOW A ZONE IS BUILT
A confirmed pivot marks the edge of a zone. Its depth is a fraction of ATR(50):
buffer = ATR(50) * zone depth / 10
A sell zone takes the pivot high as its top and extends the buffer downwards. A buy zone takes the pivot low as its bottom and extends the buffer upwards. A dotted mid line marks the centre of each zone.
Zone depth 2.5 therefore spans a quarter of one ATR. The zone is anchored to the bar the pivot actually formed on, not the bar that confirmed it.
WHY ZONES DO NOT PILE UP
This is the part that changes how the chart reads.
Before a zone is drawn, its midpoint is measured against the midpoint of every live zone on the same side. If it falls inside a separation band of a chosen ATR multiple, it is refused and nothing is drawn.
The effect is most obvious during consolidation, which is exactly where an unfiltered supply and demand indicator produces a dozen overlapping bands that all mean the same thing.
One detail matters here: a zone that has already been broken is removed from the live set, so it can never block a fresh zone that forms in the same price area later. Zones filter each other only while they are still alive.
WHAT HAPPENS WHEN A ZONE IS BROKEN
A sell zone is broken by a close above its top, a buy zone by a close below its bottom. There is a switch for wick-based breaks, which retires zones far more aggressively.
Three behaviours are available:
- Remove deletes the zone outright. Cleanest chart.
- Freeze at the break stops it extending, so it stays as history at the bar it died.
- Leave it running keeps it projecting forever, for anyone who wants the old behaviour.
Frozen zones are capped by the same memory setting, so they cannot accumulate without limit.
MARKET STRUCTURE
A second, stricter detector runs alongside the zones.
A swing is only accepted when price staircased into it and staircased back out of it. Every bar approaching the swing must be higher than the one before, and every bar leaving it lower, with the swing bar itself the extreme of its own window. This is deliberately narrower than a plain pivot and it produces fewer, cleaner levels.
Strict staircase can be turned off. In tolerant mode an equal high or low no longer rejects a swing; only a bar moving the wrong way does. On instruments that print repeated highs this finds noticeably more structure, and the difference is worth measuring on your own symbol.
When a close takes a swing level out, the level is spent and cannot fire again. The break is classified against the standing phase:
- shift, when the break reverses the phase, or when it is the first break on the chart and there is no phase to continue
- cont, when the break extends the phase already in force
The tag sits midway along the line back to the level it took out, so it reads as a label for the whole move rather than an annotation on one bar.
SUPPORT AND RESISTANCE RAYS
Optional and off by default. After a structure break, a backward scan finds the extreme reached between the swing and the break, then projects it forward until a close takes it out.
It is off by default because it runs a scan on every break. The scan limit is adjustable and bounds the work done on a single bar.
SETTINGS THAT MATTER MOST
- Pivot length decides how much structure becomes a zone. Shorter reacts faster and draws more.
- Zone depth sets thickness only. It does not change where zones appear.
- Separation is the single most effective control over chart density.
- Structure span controls the swing detector independently of the zones.
NOTES FOR ANYONE READING THE CODE
Two things in here are easy to get wrong, and both are commented in the source.
ta.highest and ta.lowest carry rolling state and must be evaluated on every bar. Placed behind an and operator they get short-circuited away whenever an earlier condition fails, their window is then built from a sparse history, and the comparison silently stops matching. They are hoisted to the global scope for that reason.
The retirement pass walks its array backwards. Removing entries during a forward pass makes the loop skip the element that slides into the vacated index. Counted loops are also guarded against an empty array, because a Pine for loop from 0 to size minus one counts downwards when the array is empty and reads index minus one.
LIMITATIONS
- A pivot is only confirmed a number of bars after it forms. That delay is inherent to pivot detection and no indicator can remove it, here or anywhere else.
- Zone edges are drawn where the pivot was, so a zone appears on the chart later than the bar it is anchored to.
- In a tight range the separation filter will refuse most new zones by design. That is the intent, but it does mean the chart can look sparse exactly when price is busiest.
- The structure detector is strict by default and will miss swings on instruments that print equal highs and lows. Turn strict staircase off if that matters on your symbol.
- Nothing here predicts direction. It marks where price previously turned and whether those levels are still intact.
- Nothing here is financial advice. Position sizing and risk management remain your own responsibility.
This is original work. It reuses no code from any other publication. The source is open, so read it, change it, and take it further.
インジケーター

Adaptive ATR% Extension ScannerIdentifying when a stock is historically overextended and due for a mean-reverting pullback is a critical component of risk management and scaling out of swing trades. The Adaptive ATR% Extension Scanner provides an objective, mathematical way to measure these extensions based entirely on a stock's unique historical volatility profile.
Rather than relying on static guesses for when a stock is "too far" from its moving average, this tool actively reads the chart's history to tell you exactly when current price action has reached an statistical extreme.
Key Features:
Dynamic Percentile Lookback: The indicator automatically scans the last 20 swing highs (pullbacks) for the specific ticker you are viewing. It calculates the exact ATR% multiple at each peak to establish a unique historical baseline for what constitutes an "extended" move.
Dual-Tier Signals: The script calculates the 75th percentile (Warning) and 90th percentile (Extreme) of past pullbacks. It plots highly customizable signals directly on your chart when the current price breaches these historically significant thresholds.
Multi-MA Variance Scanner: Not every stock respects the same baseline. The built-in dashboard tracks the 10 EMA, 20 EMA, 50 SMA, and 200 SMA simultaneously. It calculates the historical variance for each to determine which moving average produces the most tightly clustered, predictable extensions.
Auto-Best Fit: The script can automatically select the moving average with the lowest historical variance to drive your chart visuals and trigger your signals, completely removing the guesswork.
Customizable Price Bands: Toggle upper price bands on or off to project exactly what dollar amount the stock needs to hit to reach an overextended state, allowing you to easily set advance limit orders.
How to Use:
Leave the MA setting on "Auto (Best Fit)" to let the script find the most predictable baseline for the current ticker. Watch for the warning dots (yellow by default) as a signal to scale out partial positions, and extreme dots (red by default) as a signal to tighten trailing stops aggressively. Full customization options allow you to change dot colors, emojis/characters, opacity, and dashboard visuals to fit your exact charting style. インジケーター
