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.
Indikator

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.
Indikator

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.
Indikator

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. Indikator

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. Indikator

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.
Indikator

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.
Strategie

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.
Indikator

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 منطقة دراسة فقط، والخط الأحمر مرجع إبطال، والأهداف مراجع قياس. أكّد دائمًا بتحليلك وحدود المخاطرة.
القيود
النتيجة تتغير مع طول المحور. النموذج مبسّط ولا يرسم كتل أوامر ولا فجوات قيمة عادلة. انحياز الفريم الأعلى قد يتغير قبل إغلاق شمعة ذلك الفريم. لا توجد نسبة نجاح لأن هذا مؤشر وليس استراتيجية.
إخلاء المسؤولية
هذا المؤشر للتعليم ودراسة الشارت فقط، وليس استشارة استثمارية ولا توصية بشراء أو بيع أي أداة. التداول ينطوي على مخاطر خسارة مرتفعة، والسلوك السابق لا يتنبأ بالنتائج المستقبلية. المستخدم مسؤول عن قراراته وحجم المخاطرة والأنظمة المحلية.
ملاحظة المصدر المفتوح
نُشر السكربت مفتوح المصدر لمراجعة المنطق. إذا أعدت استخدام أجزاء منه في منشور عام، اذكر هذا المنشور وأضف تحسينًا حقيقيًا قبل النشر. Indikator

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. Indikator

Indikator

Indikator

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). Indikator

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. Indikator

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. Indikator

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. Indikator

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.
Indikator

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.
Indikator

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. Indikator

Edo Swing StateEdo Swing State — Labels Every Swing as HH, HL, LH or LL and Resolves Market Structure into a Single State
Market structure is the skeleton beneath almost every method of technical analysis: an uptrend is a run of higher highs and higher lows, a downtrend a run of lower highs and lower lows, and the moment that sequence breaks is the moment a trend starts to change. Edo Swing State makes that skeleton explicit. It detects each price swing, labels it with its structural role — higher high (HH), higher low (HL), lower high (LH) or lower low (LL) — and combines the last high and last low into one readable market state.
It draws a swing line that connects the confirmed pivots, marks each swing with a coloured HH/HL/LH/LL label, and reads the whole into Bullish, Bearish or Ranging in a compact panel — all validated on closed bars so the indicator does not repaint. It is a self-contained structure reader: the swings, their roles and the resulting state are all derived from the price series on the chart alone, with no dependency on any other tool.
THE HH / HL / LH / LL CLASSIFICATION
The indicator compares each new swing with the previous one of the same type. A swing high above the previous high is a Higher High (HH); below it, a Lower High (LH). A swing low above the previous low is a Higher Low (HL); below it, a Lower Low (LL). Each label is written at the pivot and does not move. Rising highs and rising lows are the signature of buying strength; falling highs and falling lows, the signature of weakness. High labels are drawn above the swing, low labels below it, colour-coded green for the bullish roles and red for the bearish ones.
SWING PROFILES
The sensitivity of the swings is set by a single Swing Profile input: Scalper (5 bars each side) for fast intraday swings on low timeframes, Swing (10 bars, the default) for the balanced 4H and daily read, and Long Term (21 bars) for the major swings on weekly and higher horizons. The larger the length, the more significant a turn has to be, and the fewer but more important the swings that are marked.
THE MARKET STATE
Above the individual labels, Edo Swing State resolves one overall state by combining the role of the last high with that of the last low. Bullish requires a last high of HH and a last low of HL — rising highs and lows. Bearish requires a last high of LH and a last low of LL — falling highs and lows. Any mixed combination is treated as Ranging. Requiring both sides to agree is deliberate: if price makes a higher high but then loses the previous low, the structure is no longer cleanly bullish, and the state turns to Ranging — precisely the transition zone where a trend starts to fail before the full turn is confirmed. The first LH after a run of HHs, or the first HL after a run of LLs, is the earliest crack in a trend, labelled the moment it is confirmed.
THE SWING LINE
The swing line connects the confirmed pivots in a continuous zigzag, tracing only the legs that run from one swing to the next and filtering out the intermediate noise. It reveals the real skeleton of the move — where price accelerates and where it loses momentum. The line and the labels can each be toggled independently, for a cleaner or a more informative chart.
INFORMATION PANEL
The panel condenses the read into a compact table under the indicator header: the overall market state (Bullish / Bearish / Ranging), the role of the most recent confirmed swing, and the role of the last high and the last low, in the same green/red colour code. The state row is the underlying read; the last-high and last-low rows explain why the state is what it is. The panel sits in any of the four chart corners (Top Right by default), comes in three sizes (Tiny / Small / Normal) and two themes (Dark / Light), and can be hidden entirely. To keep the calculation light, it is drawn only on the last bar.
NO REPAINTING
Swings are built on confirmed pivots and the state change is validated on closed bars, so a label never appears or disappears intrabar. There are no higher-timeframe functions: all logic runs on the current chart timeframe, which keeps the indicator lightweight and repaint-free. For a multi-timeframe read, apply it on several charts at once and look for the confluence of states.
CONFIGURATION
The inputs are grouped by block. Structure sets the swing profile and toggles the HH/HL/LH/LL labels and the swing line, listed in the settings as Show structure line (zigzag). Style exposes the bullish and bearish colours, the line colour and width, the label size and the Dark/Light theme. Panel controls panel visibility, position and size. The defaults are calibrated to work without adjustment on stocks, crypto, forex, indices and futures, on any timeframe — the input most users touch is the Swing Profile, to match the swings' sensitivity to their trading horizon.
ALERTS
Six predefined alerts cover the structure read. Four swing alerts — New Higher High, New Higher Low, New Lower High and New Lower Low — fire when each new pivot is confirmed with its role. Two structure alerts — Structure Bullish and Structure Bearish — fire only on the phase turn, when the overall state flips. All alerts fire on bar close, consistent with the indicator's anti-repaint validation.
HOW TO READ IT
Use the state as a context filter: look for longs while structure is Bullish and shorts while it is Bearish, and treat Ranging as caution — the zone where trends run out and false moves cluster. Use the change labels as an early warning: the first LH after a series of HHs, or the first HL after a series of LLs, flags a fading trend before the overall state fully turns. And read it in confluence: a Bullish state on the trading timeframe that sits inside a Bullish state on a higher one is a far more solid trend than an isolated read. Read on its own terms, the sequence of labels is the whole method: the roles say what the market is doing, and the state says whether it is doing it cleanly.
OPEN SOURCE
Edo Swing State is published as a free open source indicator. The full Pine Script is publicly accessible on TradingView for study, adaptation and integration into any workflow. Part of the Edolab Markets free tools ecosystem, all available on TradingView.
This indicator is a technical analysis tool for educational and informational purposes only. It does not generate automatic buy or sell signals and should not be considered financial advice. Trading financial markets involves significant risk of capital loss. Past performance does not guarantee future results. Always use proper risk management.
Indikator

RTH 1st Presented FVGPlots the first Fair Value Gap of the Regular Trading Hours session and keeps those levels on the chart.
First presented FVG
Detects the first 3-candle wick-and-body FVG after the cash open. The middle candle cannot be the 09:30 bar, so the earliest valid gap starts at 09:31. By default the gap is measured on 1-minute data and drawn on any chart up to the Max Timeframe. Turn on “Use Chart Timeframe for 1st Presented” to measure it on the chart’s own timeframe instead.
Gradient Levels
Each gap can show high/low, equilibrium, quartiles, and optional eighths. One label sits at the midpoint. Boxes and lines can extend right with a bar buffer.
History
Choose how many daily first-FVGs to keep. Optionally keep a separate count of Monday and Friday gaps so those days stay visible longer.
Premium / Discount
Builds a range from recent first-FVG highs and lows. A table shows premium or discount versus equilibrium, with optional gradient lines at high, low, mid, quartiles, and eighths.
Overlapping FVGs
Optionally highlight later FVGs that trade through a stored first-FVG level. Can limit that to the first overlap of the session.
Session hours, timezone, colors, line styles, and Max Timeframe are all user-controlled. Indikator

TheStrat Command Center v1.5TheStrat Command Center
TheStrat Command Center is a chart-based decision-support tool built for traders who use "The Strat" methodology created by Rob Smith (R.I.P.)
Its purpose is to organize several pieces of TheStrat information that normally have to be monitored separately — current candle structure, possible next directional setups, Full Time Frame Continuity (FTFC), entry and invalidation levels, nearby objectives, and risk-based targets — into one live dashboard.
It is not intended to predict the market or replace the trader's own interpretation of price action. The goal is to make the current Strat structure easier to read and manage.
Strat Structure
The indicator classifies price bars using the standard Strat framework:
1 - Inside bar
2U - Breaks the previous high without breaking the previous low
2D - Breaks the previous low without breaking the previous high
3 - Outside bar that breaks both sides
The prior closed candle is treated as the current setup candle. The developing candle is then evaluated against that completed setup.
The Command Center uses that relationship to identify possible structures such as:
2-2 reversals
2U or 2D continuation
2-1-2 structures
3-to-2 directional resolution
Failed 2 reversals
Both the upside and downside possibilities remain visible so the trader can see what price would need to do in either direction.
Failed 2 Recognition
Failed 2 candles are handled separately from ordinary 2 bars.
A Failed 2U must first be a true 2U and then close below its own open.
A Failed 2D must first be a true 2D and then close above its own open.
If the candle breaks both the previous high and previous low, it is classified as a "3", which overrides the Failed 2 condition.
Failed 2 markers are placed on the actual failed candle after it closes.
Full Time Frame Continuity
The indicator monitors up to six user-selected timeframes for Full Time Frame Continuity.
Each timeframe is evaluated by comparing its current price with its timeframe open:
Green = above the timeframe open
Red = below the timeframe open
Flat = at the timeframe open
Users can choose which of the six timeframes are required for FTFC.
Full bullish FTFC exists only when every required timeframe is bullish. Full bearish FTFC exists only when every required timeframe is bearish. A majority or directional lean is not treated as Full Time Frame Continuity.
An optional setting can restrict new suggested trades to setups that agree with Full FTFC. Timeframes that are displayed but not marked as required remain informational and do not block a setup.
Command Center Dashboard
The dashboard is intended to answer, at a glance:
* What is happening now?
* What was the last completed Strat candle?
* Is a reversal currently available?
* Is Full Time Frame Continuity present?
* What is the best structural play under the selected FTFC rules?
* What are the possible upside and downside plays?
* Where are the applicable entry and stop levels?
* How far is price from the next trigger?
* Where are nearby structural objectives?
* Where is price relative to the trading-session open?
The indicator includes separate Desktop and Mobile layouts. The Desktop dashboard can also hide its lower detail section to conserve chart space.
Entry, Stop and R-Based Target
For standard Strat setups, the indicator calculates a potential entry beyond the setup candle high or low using a user-selected tick offset.
The opposite side of the setup candle is used as the invalidation/stop reference.
Failed 2 reversals use a fixed rule:
* Failed 2D long: entry one minimum tick above the Failed 2D high and stop one tick below its low.
* Failed 2U short: entry one minimum tick below the Failed 2U low and stop one tick above its high.
Once the entry-to-stop distance is known, the indicator calculates a user-selected reward target from 0.5R through 5R, where 1R equals the initial entry-to-stop risk.
These levels are informational chart references and are not brokerage orders.
Waiting and Active Trade Lines
Before a setup triggers, optional dashed entry stubs show the available directional trigger levels.
If one side triggers, the opposite waiting setup is removed and the chart can display:
* Entry
* Stop
* Selected R target
The lines remain while that setup is active.
When the target or stop is reached, the active trade lines are removed automatically. A user may also manually dismiss a waiting setup or cancel the indicator's monitoring of an active setup without recording it as a target or stop result.
If both sides of the setup candle are broken by the same developing bar, the condition is treated structurally as an outside/3 bar rather than assuming a directional entry.
Session Levels and Objectives
The indicator can also display contextual price levels.
For futures, the reference trading session begins at 6:00 PM Eastern Time .
For equities, indexes and other non-futures instruments, the reference session begins at 9:30 AM Eastern Time .
The dashboard can show:
* Reference session open
* Previous session high
* Previous session low
* Recent range high and low
* Distance to the next upside or downside trigger
* Nearby prior-high or prior-low objectives
The recent-range lookback is user-adjustable.
These objective levels are contextual references. They are not predictions that price will reach those levels.
Alerts
Alert conditions are included for:
* Confirmed Failed 2U
* Confirmed Failed 2D
* Confirmed upside trigger
* Confirmed downside trigger
* Target reached
* Stop reached
Developing vs. Confirmed Information
The Command Center intentionally contains both closed-bar structural information and live developing information.
The setup itself is based on the prior completed candle. Failed 2 identification is confirmed on candle close.
The current developing candle type can change before that candle closes as new highs or lows are made.
FTFC also uses the current state of the selected higher-timeframe candles. Because those candles remain open until their respective timeframes close, their green/red state — and therefore live FTFC — can change intrabar.
Users should distinguish these live contextual readings from closed-bar confirmations.
Limitations
This is an indicator, not a TradingView strategy or backtest . It does not provide historical profitability statistics or claim that a displayed setup will be successful.
The indicator does not know the exact sequence of every price movement inside a completed historical candle. If multiple relevant levels are touched within the same bar, OHLC chart data may not reveal which price traded first.
Results and displayed structures can also vary depending on symbol, chart timeframe, market session, selected FTFC timeframes, tick offset, R target, and available chart data.
The tool is designed for standard price charts and should be interpreted alongside the trader's own analysis and risk-management process.
What Makes the Script Different
The Command Center is designed as an integrated Strat workflow rather than simply placing candle numbers on a chart.
It combines the prior closed-bar setup, live directional resolution, exact Failed 2 handling, user-defined FTFC requirements, two-sided structural possibilities, trigger/invalidation levels, R-based trade planning, session context, nearby objectives, active-setup management, alerts, and desktop/mobile presentation into a single decision hierarchy.
Its purpose is to reduce the amount of separate chart information a Strat trader has to mentally assemble while preserving the underlying price-action structure.
Indikator

Equalhigh True FVG Scanner# Equalhigh — True FVG Scanner
### User Guide · Version 5.2
Equalhigh True FVG Scanner combines filtered Fair Value Gaps, confirmed swing levels and classic two-candle gaps from a lower timeframe.
Its purpose is to organize potential reaction areas into a readable price map. It is an indicator, not an automated trading strategy.
## 1. Three Different Types of Levels
**Fair Value Gaps — turquoise and pink**
FVGs are detected on the chart timeframe using three consecutive candles:
* 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.
The rectangle marks the space between those prices. The middle line represents the 50% level, also called Consequent Encroachment.
**Confirmed swing levels — gold**
These horizontal lines mark confirmed pivot highs and lows. By default, a pivot requires five candles on each side.
The line starts when the pivot is confirmed, five candles after the turning point. A closing break above a swing high or below a swing low removes that level. A wick alone does not remove it.
These levels do not contribute to the FVG score.
**Classic lower-timeframe gaps — blue/violet**
These use two consecutive candles on the selected lower timeframe:
* Gap up: the current low is above the previous high.
* Gap down: the current high is below the previous low.
These are complete gaps between candle ranges, not simply differences between the previous close and the next open. They are tracked independently of FVGs.
## 2. How FVGs Are Selected
Every displayed FVG must meet the minimum gap-size requirement and the middle-candle displacement requirements.
With the default settings:
* Minimum FVG size: 0.10 ATR.
* Minimum middle-candle body: 0.80 ATR.
* Minimum body-to-range ratio: 65%.
* Structure break required: enabled.
* Minimum score: 70/100.
The structure-break check requires the middle candle to close beyond the highest high or lowest low of the preceding lookback window. The default lookback is ten candles.
This is a rolling-range break definition, not a full BOS/CHoCH classification system.
## 3. Understanding the Score
The creation score combines:
* Displacement: 25 points.
* Structure break: 25 points.
* Liquidity sweep: 20 points.
* Premium/discount location: 10 points.
* Freshness at creation: 10 points.
* Session criterion: 5 points.
* Opposite-coloured candle before displacement: 5 points.
The sweep check uses the first candle of the three-candle pattern: it must exceed a previous extreme and close back inside.
Premium/discount compares the FVG midpoint with the midpoint of the preceding rolling range, using 50 candles by default.
The opposite-coloured candle criterion is a simple proxy. It does not establish a validated Order Block.
When session scoring is disabled, both directions receive its five points.
**The score is a rule-based ranking, not a win probability.** It remains fixed after creation, including the initial freshness points. Subsequent mitigation is shown separately.
There is no higher-timeframe EMA or trend filter in this version.
## 4. Reading FVG States
**FRESH**
The zone has not been touched by a subsequent candle. Its border is solid.
**TOUCHED**
Price has reached the zone without reaching its midpoint. The border becomes dashed and the fill more transparent.
**MITIGATED 50%**
Price has reached or crossed the midpoint. The border becomes dotted and the median line becomes thicker and solid.
These states are confirmed at chart-candle close and retain the deepest penetration recorded.
With “Remove fully filled FVG” enabled, reaching the opposite boundary removes the zone, even with a wick. This removal rule operates independently of the closing-invalidation setting.
If full-fill removal is disabled, a filled zone is retained as a grey, frozen archive unless invalidated. Focused nearest-zone mode hides these archives.
## 5. Keeping the Chart Readable
“Show nearest active FVG only” displays two zones above and two below the last confirmed close by default.
Zones containing that price are also displayed, so the total can exceed four.
Distance is measured to the nearest zone boundary. Hidden zones continue to be tracked within the storage limit and can reappear as price approaches them.
FVG price cards show the upper boundary, midpoint and lower boundary.
Historical creation triangles are optional and disabled by default. They mark FVG creation, not confirmed trade entries.
## 6. Configuring Classic Gaps
Open section **“5. Classic two-candle gaps (lower timeframe)”**.
Automatic timeframe selection chooses a supported timeframe approximately one-quarter of the chart timeframe. Disable it to select a lower timeframe manually.
Both initial size filters apply:
* Minimum gap in ticks: 2 by default.
* Minimum gap relative to lower-timeframe ATR: 0.05 by default.
Set the ATR threshold to zero to use only the tick filter.
The script processes available lower-timeframe candles chronologically. Overlapping candle ranges reduce the remaining open gap. A complete overlap removes it.
A jump entirely across a gap does not count as a fill. A candle contained inside a gap can leave two separate open portions.
By default, the module stores up to 40 open portions and displays the nearest two per side, plus portions containing the reference price.
## 7. GAP Prices on the Right Scale
Enable **“GAP prices on the price scale”** to display the remaining upper and lower boundaries directly on the price scale.
Up to ten nearest visible gap portions receive native scale markers.
Also enable **“Labels on price scale”** in the indicator’s **Style** tab. TradingView’s chart settings must permit indicator value labels.
Native scale markers show boundary prices. Optional floating GAP cards additionally show direction and timeframe.
The floating cards use a bar-based offset. They are not fixed to the screen edge.
## 8. Updates and Alerts
FVG creation, mitigation and swing confirmation use closed chart candles.
Classic gaps are also committed at chart-candle close. On a daily chart, their displayed state therefore updates when the daily candle closes.
Available alerts cover:
* New qualifying bullish FVG.
* New qualifying bearish FVG.
* New classic bullish lower-timeframe gap.
* New classic bearish lower-timeframe gap.
Alerts are independent of proximity visibility. A classic-gap creation alert can occur even if that gap was subsequently filled within the same chart candle.
Use “Once Per Bar Close” when configuring alerts.
## 9. Practical Limits
Lower-timeframe history depends on TradingView’s available data and your plan. The coverage panel shows the first processed date and latest update; older gaps may be outside coverage.
Storage limits can discard older zones or gap portions. Missing lower-timeframe data can also limit tracking.
Gap filling is inferred from candle high/low ranges, not transaction-by-transaction data.
Use standard time-based candlestick charts for interpretation. Synthetic candles can produce different patterns.
These levels are areas to observe, not guaranteed support, resistance or future targets. Neither a high score nor an open gap guarantees a reversal or eventual fill.
Indikator
