EMA Pulse Momentum System [StrixEDGE]Overview
The EMA Pulse Momentum System is a trend-following indicator that combines a triple exponential moving average (EMA) ribbon with an RSI-based momentum gate to produce high-confidence directional signals on trending instruments. Unlike single-crossover systems that generate excessive noise, this indicator requires simultaneous alignment across three conditions before printing an entry — which significantly reduces false positives in ranging or choppy market environments.
How the signal logic works
The system operates on a three-layer confirmation model:
1. EMA Ribbon Alignment. Three EMAs are computed: a fast EMA (default 8), a mid EMA (default 21), and a slow EMA (default 55). For a valid long setup, all three must be fully stacked in ascending order (EMA 8 above EMA 21, EMA 21 above EMA 55). The reverse applies for short setups. This stacking condition eliminates entries during period of EMA compression or crossover noise, and acts as a structural trend filter. The ribbon also fills with a color-coded cloud between EMA 8 and EMA 21, providing instant visual feedback on trend health.
2. RSI Momentum Gate. Even with a clean ribbon, markets can trend without momentum confirmation — particularly after extended runs. A 14-period RSI is applied as a secondary gate: RSI must be above 52 to confirm bullish momentum, or below 48 to confirm bearish. These thresholds are intentionally set close to the 50 midline rather than the classic 70/30 extremes, because the goal is to confirm that momentum is directionally engaged, not to identify overbought or oversold conditions. The RSI thresholds are fully adjustable in settings.
3. Crossover Trigger. The entry fires only when EMA 8 crosses above EMA 21 (long) or below (short) while both the ribbon stack and RSI gate are simultaneously satisfied. The crossover itself does not generate a signal if either condition fails.
Risk management — ATR-based TP and SL
All risk levels are calculated dynamically using the Average True Range (ATR) over 14 periods, which adapts automatically to current market volatility. This means tighter levels during low-volatility regimes and wider levels during expansion — no manual adjustment required.
— Take Profit: Entry price ± (ATR × 2.0)
— Stop Loss: Entry price ± (ATR × 1.2)
— Default Risk-to-Reward ratio: 1.67 : 1 minimum
TP, SL, and entry lines are drawn forward 30 bars from each signal and labeled with exact price levels. All multipliers are adjustable via the settings panel.
Information table
A real-time dashboard table (position configurable: Bottom Right, Bottom Left, Top Right, Top Left) displays:
— Current trend direction (Bullish / Bearish / Neutral)
— Live RSI value with color coding
— Current ATR value for sizing context
— Last signal direction (Long / Short)
— Calculated Risk-to-Reward ratio
— EMA stack status (aligned or mixed)
Recommended usage
Best timeframes: 4H and Daily. The indicator functions on all timeframes but performs most reliably where EMA 8/21/55 have enough separation to define structure. On 1H or below, the signal frequency increases but false positives also rise — compensate by tightening RSI thresholds in settings.
Compatible with all liquid markets: Forex majors, Crypto (BTC, ETH, majors), Stocks, Indices, and Futures.
Avoid using this indicator as a standalone system during known high-impact news events (FOMC, NFP, CPI) where price gaps can invalidate ATR-based stops instantly.
Alerts
Two built-in alert conditions are included:
— "EMA Pulse — Long Entry": fires when all long conditions are satisfied
— "EMA Pulse — Short Entry": fires when all short conditions are satisfied
Configure via the Alerts panel in TradingView using "Once per bar close" for cleanest signals.
Settings reference
EMA Fast (default 8) — reduce for more sensitivity, increase to reduce noise
EMA Mid (default 21) — core crossover reference line
EMA Slow (default 55) — structural trend filter
RSI Length (default 14) — period for momentum gate
RSI Bull Threshold (default 52) — minimum RSI for long confirmation
RSI Bear Threshold (default 48) — maximum RSI for short confirmation
ATR Length (default 14) — volatility lookback for TP/SL
TP Multiplier (default 2.0) — take profit distance in ATR units
SL Multiplier (default 1.2) — stop loss distance in ATR units
Limitations
This indicator is a technical analysis tool and does not constitute financial advice. Past signal performance does not guarantee future results. Always use proper position sizing and risk management independent of any indicator output. インジケーター

Modern Bollinger Bands [GBB]Modern Bollinger Bands
I rebuilt Bollinger Bands. Not because the original is bad, John Bollinger's work has held up for forty years, but because the defaults everyone uses were designed for daily stock charts in the 1980s and we're putting them on crypto perps at 3am.
WHAT'S WRONG WITH THE CLASSIC
Five things, in my view.
The window is always 20 bars. Doesn't matter if the market is in a fast news week or a dead summer range, you get the same 20.
The bands assume returns follow a bell curve. Asset returns have fat tails, so price pokes outside a two sigma band far more often than the theory says it should.
A band touch has no meaning on its own. In a range, fading the touch works okay. In a trend, price walks down the band and runs over every single fade. The classic gives you nothing to tell those two situations apart, and that's the flaw that costs people real money.
The SMA basis is slow. Equal weight on every bar means the middle line describes the market as it was roughly ten bars ago.
And band width isn't comparable to anything. What counts as narrow on one chart means nothing on another, so squeeze thresholds end up being eyeballed.
WHAT I CHANGED
The length adapts. An Ehlers homodyne discriminator measures the dominant cycle in price and the window becomes half of it, between 10 and 50 bars. When there's no measurable cycle because the market is trending too hard, the length freezes at the last good value instead of guessing.
The basis is a KAMA instead of SMA. It speeds up when price is actually going somewhere and almost stops updating in chop.
The bands are percentile bands, not sigma bands. 97.5th and 2.5th percentile of the real deviations around the basis, nearest rank, over a longer window. Your market's actual tails, not a textbook bell curve.
I added a regime filter: Kaufman efficiency ratio, percentile ranked against the last 252 bars, with 70/55 hysteresis so it doesn't flip flop on the boundary. Blue bands are RANGE, orange bands are TREND, and the signals respect the color.
And the squeeze is a score from 0 to 100. Percentile rank of band width against the last year of bars. A score of 8 reads the same on every symbol and every timeframe.
THE SIGNALS
Three types, that only trigger on candle close, so there is nothing repainted.
Singal1: Blue triangles. The classic fade, but only where it belongs. Price closes outside a band, the next bar closes back inside, and the regime is RANGE. In TREND this signal simply doesn't exist.
Singal2: Orange circles. Trend pullback. Price dips into a zone around the basis, then closes back in the trend direction. TREND only and with the trend only. One thing about the chart markers: in a long trend this setup can fire on several nearby bars, so the chart draws the first circle of a cluster and skips the repeats for a few bars, so the chart does not get too cluttered.
Signal3: Diamonds. Squeeze release after at least 5 bars of squeeze, then the squeeze ends and price closes outside a band on that same bar. Important: While this is the most intuitive setup of the three and it's the one my testing supports least. Release events showed the same forward 20 bar volatility as typical bars from the same hours. Volume confirmation didn't help either, I tested that separately. The diamonds mark a real event, compression ended and price left the bands, but whether that's worth anything is a question my data answered with no. I included the signal and alert for it anyway, because I know many of you will want it.
SETTINGS
Everything above is a toggle. The groups match the settings dialog, so here's what each one actually does and when you'd touch it.
Adaptive length: Length mode switches between Adaptive and Fixed. Adaptive is the point of this indicator. Fixed with the default of 20 exists for two reasons: reproducing the classic, and for people who want to trust their own number. The fixed length input only matters in Fixed mode.
Basis / bands: Basis picks KAMA or SMA for the middle line, bands picks Robust (percentile) or Stdev (classic sigma). Set Fixed 20 plus SMA plus Stdev and you have exact 1980s Bollinger Bands, that combination is deliberately supported. The stdev multiplier (2.0) only applies in Stdev mode. The robust percentiles (97.5 and 2.5) set where the bands sit in the deviation distribution, pull them toward 95/5 if you want more touches and more signals, push them out if you want only the extremes. The robust window multiplier and floor control how much history the percentile estimate uses, 4 times the adaptive length with a floor of 80 bars by default. Shorter windows react faster to volatility shifts but the tail estimates get noisy, I would leave these alone unless you know why you're changing them. KAMA fast and slow (2 and 30) are the standard Kaufman speeds, the basis moves between a 2 period and a 30 period EMA depending on how efficient the move is.
Regime / squeeze: KER length (20) is the window for the efficiency ratio itself. The percentile rank window (252) is what "recent history" means for both the regime and the squeeze score, about one year of daily bars, about ten days on 1h. TREND enter (70) and TREND exit (55) are the hysteresis levels: the market has to rank above the 70th percentile in efficiency to be called TREND and drop back below the 55th to be called RANGE again. Widen the gap and the regime switches less often but later, narrow it and you get earlier calls with more flip flops. These defaults sat on a flat plateau in sensitivity testing, meaning nearby values gave nearly identical results, so there's no magic in 70/55, but there's also nothing to gain from tuning them. Squeeze threshold (20) defines squeeze as band width below the 20th percentile, and min bars in squeeze (5) stops one bar dips from counting as compression.
Signals: One input, the S2 touch fraction (0.25). It sets how close to the basis a pullback has to come, measured as a fraction of the band halfwidth. Smaller means stricter pullbacks and fewer S2 signals.
Display: Clean display preset strips everything down to the three lines, no fill, no markers, no panel. The info panel (regime, KER percentile, adaptive length with its frozen flag, squeeze score, last signal) is off by default, turn it on when you want to see what the indicator is "thinking". Signal markers and the squeeze heat on the band fill can be switched off separately. The S2 marker debounce (5) is the cosmetic cluster filter from the signals section, set it to 0 if you want every circle drawn.
Parity: You can ignore this group for trading. It pins the computation start to a fixed timestamp so every value on the chart can be reproduced bar for bar against a Python reference implementation. It's how the validation was done and it stays in so anyone can check my work.
ALERTS
Six per signal alerts plus the combined JSON one with symbol, timeframe, signal, regime, squeeze score and band levels. Once per confirmed bar close, built for webhook bots.
No indicator prints money, this one included. It tells you regime, structure and volatility state, with the evidence behind each part published, nulls and all. Trade safe. インジケーター

インジケーター

インジケーター

インジケーター

インジケーター

Fibonacci Retracement Channel [FEELS]Stop dragging fib tools around your chart. Fib Channel plots a complete, classic Fibonacci retracement on every major swing, anchored wick to wick, right where you would draw it by hand. It shades the golden pocket, projects extension targets and links the whole history into one flowing channel.
You always know which level the market is trading against right now, and where price goes if that level holds. Instead of a single fib on the latest swing, or a pile of overlapping grids, you read the entire trend as a chain of retracements: where price respected the 0.618, where the golden pocket launched the next leg, and where a retracement failed and the trend flipped.
HOW IT WORKS
- A swing engine based on confirmed pivots finds every move larger than "Min swing size". The threshold is set in ATR, so it adapts to any symbol and timeframe.
- "Merge minor pullbacks" ignores counter-moves smaller than the threshold, so each fib measures the full impulse, not its last leg.
- Every qualifying swing gets the full grid: 0, 0.236, 0.382, 0.5, 0.618, 0.786, 1. The ratio is printed at every level.
- Thin curves connect the grids into a channel, so the history stays readable.
- The golden pocket (0.618-0.786) is shaded on every fib.
- Extension targets -0.272 and -0.618 are projected beyond the extreme of the latest fib.
- Log-scale mode for macro swings, where linear and log fibs diverge a lot.
- Optional reaction dots mark bars that touched a level and closed back on the right side of it.
- Optional "Fade broken fibs": when price closes beyond the 1.0 level, the fib turns grey, stops extending and drops its targets.
HOW TO TRADE IT
1. Golden pocket pullback. In a trend, wait for price to enter the shaded 0.618-0.786 zone of the latest fib and get rejected. The "Golden pocket touch" alert does the waiting for you.
2. Extension targets. Once the retracement holds and price reclaims 0.236, the dashed -0.272 and -0.618 lines are the take-profit map for the next leg.
3. Broken fib. A close beyond 1.0 means the whole move was retraced. That is an early warning the trend may be flipping ("Full retracement break" alert).
REPAINTING
- A fib prints after its pivot confirms, i.e. "Swing length" bars after the extreme. It cannot appear earlier, there is no lookahead.
- While a swing keeps making new extremes, the latest fib follows them, the same way you re-drag a manual fib. Once the next swing confirms, the fib is fixed and never changes again.
- If you want zero intrabar movement, turn on "Bar-close mode" and the live chart will match bar replay exactly.
ALERTS
Ten total: touches of 0.236, 0.382, 0.5, 0.618, 0.786, golden pocket entry, both extension targets, full retracement break, new swing fib.
SETTINGS
Every input has a tooltip. The main ones: "Swing length" and "Min swing size" control how major the swings must be, "Fib history" sets how many fibs stay on the chart. Line widths, number sizes and all colors are adjustable.
ORIGINALITY
Unlike single-fib auto tools, this script renders the complete history of swing retracements as one connected channel, with impulse-merging swing logic, extension targets, reaction dots and an explicit invalidation state. The swing engine and the chained rendering are written from scratch. インジケーター

インジケーター

ストラテジー

インジケーター

インジケーター

インジケーター

GC 08-02 ZonesGC 08-02 Zones — Gold Futures Round-Level Map
This indicator automatically maps out horizontal reaction zones around gold's round-number price levels — the "xx8 to xx2" bands that often act as short-term support/resistance on GC and MGC futures.
How it works
The script rounds the current price to the nearest $10 level and plots a series of shaded zones above and below it, each spanning from the round number +2 to −2 (e.g. a zone around $3350 would run from 3352 down to 3348). These bands are drawn symmetrically around price and automatically re-center as price moves, so you always have a consistent map of nearby round-number levels without manually drawing lines.
Features
Adjustable number of zones displayed above/below price (1–50)
Customizable zone fill color, border line color, style (solid/dashed/dotted), and width
Optional price labels on each zone boundary
Adjustable right-side offset and left-extension of lines
Built-in warning label if applied to a symbol other than GC/MGC
Why round numbers matter
Round price levels tend to attract order flow — stops, limit orders, and psychological decision points cluster around them. Having these zones pre-mapped can help with spotting potential reaction areas, planning entries/exits, or simply keeping round-number context visible without cluttering the chart with manual drawings.
Usage notes
This tool is designed specifically for gold futures (GC/MGC) given their $10 round-level structure. It is a visual reference only and does not generate buy/sell signals — always combine with your own strategy, market structure analysis, and risk management. インジケーター

RSI Core Levels Heatmap [BigBeluga]🔵 OVERVIEW
The RSI Core Levels Heatmap turns the standard Relative Strength Index (RSI) indicator into powerful support and resistance lines drawn directly on your main price chart. Instead of forcing you to constantly look down at a separate oscillator window, this script automatically finds hidden momentum levels and projects them right where you trade, helping you spot key reversal floors and ceilings instantly.
🔵 FEATURES
The system uses a smart layout tracking engine to map momentum without cluttering your screen:
1 — Momentum-Mapped Support & Resistance Lines
Signal Line Crossover Alerts: The indicator tracks momentum changes using a smooth Signal Line Length . When the raw RSI line crosses above or below this signal line, it triggers a setup.
Smart Price Capture: The moment a crossover happens, the engine looks back at the last 10 candles. If it is a bullish bounce, it finds the low price; if it is a bearish drop, it grabs the high price.
Direct Chart Overlay: It takes those key prices and draws clean support or resistance lines right on your main chart with clear labels.
2 — No-Clutter Overlap Protection Logic
Collision Checker: To stop your chart from looking like a messy spiderweb, the indicator checks if a new line is being drawn too close to an old one.
Duplicate Blocking: If a new level lands directly on top of an existing active zone, the script blocks it automatically to keep your trading area perfectly clean.
// Strict Collision Box Overlap Detection Matrix
is_overlapping_existing_block(high_val, low_val) =>
overlap = false
if array.size(activeBlocks) > 0
for i = 0 to array.size(activeBlocks) - 1
BlockLevel item = array.get(activeBlocks, i)
if (high_val <= item.topPrice and high_val >= item.botPrice) or (low_val >= item.botPrice and low_val <= item.topPrice) or (high_val >= item.topPrice and low_val <= item.botPrice)
overlap := true
break
overlap
3 — Active Line Lifecycle & FIFO System
Automatic Extension: All active, unbroken support and resistance lines automatically stretch forward on every new candle so they stay fresh.
Broken Line Changes: When price actions breaks through a line, the script instantly changes its style to a thin, grey dashed line and stops tracking it. This shows you exactly where historical levels failed.
Levels Heat Color: Each support and resistance level color intense is based on the rsi value at the moment level was created.
FIFO (First-In, First-Out) Lag Protection: To keep your TradingView running fast without any lag, you can set a Max Active Levels & Labels limit. When you reach this cap, the oldest lines drop off the chart first (First-In, First-Out) to make room for new ones.
// Object Array State Lifecycle Management Snippet
if array.size(activeBlocks) > 0
for i = array.size(activeBlocks) - 1 to 0
BlockLevel item = array.get(activeBlocks, i)
bool broken = item.isBull ? (close < item.botPrice) : (close > item.topPrice)
if broken
label.delete(item.lvlLabel)
line.set_style(item.lvlLine, line.style_dashed)
line.set_color(item.lvlLine, color.gray)
line.set_width(item.lvlLine, 1)
array.remove(activeBlocks, i)
else
line.set_x2(item.lvlLine, bar_index)
label.set_x(item.lvlLabel, bar_index)
4 — Gradient Heatmap Ribbon & Proximity Dashboard
Color-Changing Ribbon blocks: The bottom sub-pane features a smooth gradient ribbon that tracks market extremes. It lights up bright green during deep oversold conditions, bright red when overbought, and turns yellow during tight consolidations ( Show Midline Squeeze Zone ).
Distance Telemetry HUD Table: A clean on-screen table calculates exactly how close the current price is to your nearest active support or resistance level in points and exact percentages.
🔵 HOW TO USE
Using this simple multi-layer blueprint helps you manage setups step-by-step:
Trading Reversals and Bounces: Watch the chart when price falls down toward a green support line. If the Dashboard Table shows the distance getting very close to 0% and the bottom ribbon is flashing deep green (oversold), look for a long bounce trade off the level.
Managing Risk and Trailing Stops: If you enter long at a support line, use that level as your risk floor. If price flushes below it, the indicator will instantly turn the line grey and dashed, letting you know the setup is invalid and it is time to cut the trade.
Spotting Squeeze Breakouts: When the bottom ribbon stays yellow, it means the market is squeezing sideways. Watch your distance dashboard closely; when price breaks out of the squeeze and flies toward your outer lines, you can ride the explosive momentum expansion.
🔵 NOTES
Why this implementation is unique:
It saves screen space by turning abstract momentum data from an oscillator below into highly accurate, tradeable price targets up on your main chart.
The overlap blocker prevents multiple lines from bunching together, keeping your chart clean and easy to read.
The automated FIFO memory cleaning system makes sure the script stays fast and lightweight, no matter how many bars are loaded on your chart.
インジケーター

Kalman Flow | Lyro RSThe Kalman Flow is an adaptive trend-following tool designed to identify and track market direction by combining a two-state Kalman filter with noise-scaled deviation bands. Unlike traditional moving-average systems, this indicator estimates both the underlying price level and its velocity (drift per bar) simultaneously, requiring agreement between price displacement and directional drift before confirming a trend change.
How It Works
1. Kalman Baseline
This is the core engine of the indicator — a constant-velocity Kalman filter that recursively predicts the next price level from its current level and velocity states, then corrects the prediction using actual price. Because the filter gain depends only on the process-to-measurement noise ratio, behavior is consistent across all assets and price scales.
Higher Sensitivity → the baseline tracks price closely and reacts faster.
Lower Sensitivity → a smoother baseline with fewer, more selective flips.
2. Adaptive Noise Bands
Instead of ATR or standard deviation, the bands are scaled by the filter's own tracking error — the average absolute distance between price and the Kalman estimate.
Upper Band = Kalman Baseline + (Tracking Error × + Multiplier)
Lower Band = Kalman Baseline − (Tracking Error × − Multiplier)
The two multipliers are independent, allowing asymmetric tuning of bullish and bearish flip thresholds. The bands automatically widen in choppy conditions and tighten in clean trends, so flips require a move that is large relative to recent noise — not a fixed size.
3. Velocity-Confirmed Trend Engine
A trend flip requires both conditions at once:
A close beyond the opposite noise band (displacement).
Kalman velocity agreeing with the new direction (drift).
Anything less holds the current state, creating built-in hysteresis that filters out displacement without follow-through.
Practical Application
Signal Interpretation
A Long signal is generated when price closes above the upper band while Kalman velocity is positive.
A Short signal is generated when price closes below the lower band while Kalman velocity is negative.
Candle coloring and the baseline color always reflect the current trend state.
Trend Confirmation
The velocity requirement serves as a confirmation layer — a single spike through a band without genuine drift behind it will not flip the trend, reducing the likelihood of false signals during choppy or low-volatility conditions. Built-in alerts cover bullish flips, bearish flips, and any flip.
⚠️ Disclaimer
This indicator is a technical analysis tool and does not guarantee results. It should be used in conjunction with additional analysis methods and proper risk management strategies. The creators of this indicator are not responsible for any financial decisions made based on its signals. インジケーター

Mean Reversion Dashboard & Screener v6Beschreibung (Deutsch)
Dieser multifunktionale Indikator wurde für professionelle Swing- und Momentum-Trader entwickelt. Er kombiniert Mean Reversion (Mean Reversion Bounces) und Momentum Breakout Setups (inspiriert von Kristjan Qullamaggie) in einem einzigen System.
Dank des integrierten Echtzeit-Dashboards oben rechts behältst du die wichtigsten Markt-Rahmenbedingungen, Sektoren-Zugehörigkeiten und technischen Kennzahlen der Aktie immer im Auge – direkt auf deinem Chart.
🌟 Kernfunktionen:
1. Mean Reversion Setups (Oversold/Overbought Bounces)
Kanal-Verhalten: Erkennung extremer Kursabweichungen über Bollinger Bänder und den RSI.
Filterung durch Markt-Kompass: Signale werden nur freigegeben, wenn der Markt-Index ruhig ist (Index ADX < 25) und keine Panik herrscht (VIX < 25).
Risiko-Rendite (R:R) Check: Automatische Berechnung von Stop Loss (basierend auf ATR) und Target (EMA 20). Signale werden nur geplottet, wenn ein Mindest-R:R-Verhältnis von 1,5 erreicht wird.
Earnings-Blocker: Blockiert Signale 48 Stunden vor Earnings, um Gap-Risiken zu minimieren.
2. Momentum Breakout Setups (Kullamägi-Style)
EMA Alignment: Überprüfung auf gestapelte EMAs (10 EMA > 20 EMA > 50 SMA > 200 SMA).
Volatility Squeeze: Filterung nach Bollinger Band Width Percentile (BBWP) im Squeeze-Bereich (BBWP < 40 %).
Volume Dryup & Breakout: Erkennt Volumen-Austrocknung und markiert den Ausbruch über das N-Tages-Hoch bei steigendem Volumen.
3. Interaktives Dashboard-Table (Top Right)
Live-Überwachung von Benchmark-Indizes (SPY/QQQ/IWM) inkl. ADX.
Anzeige des aktuellen VIX-Werts.
Automatisches Mapping des Tickers zu seinem Sektor-ETF (z. B. XLK, SMH, XLI) sowie dem Markt-Anker.
Dynamischer Status der verbleibenden Tage bis zu den nächsten Earnings.
4. Alarm & Webhook-Unterstützung (Automatisiertes Trading)
Der Indikator gibt ein numerisches Signal aus, das perfekt für die Anbindung an externe Webhooks (z. B. dein AI-Trading-Cockpit) vorbereitet ist:
1.0 = Mean Reversion BUY
-1.0 = Mean Reversion SELL
2.0 = Momentum BUY
0.0 = Kein Signal
⚙️ Einstellungsoptionen:
Benchmark Markt-Index: Wähle zwischen SPY, QQQ oder IWM.
VIX-Warnschwelle: Anpassbares Limit für Marktunruhe.
Risikomanagement: ATR-Periodenlänge und ATR-Multiplikator zur Bestimmung des Stop-Losses.
Momentum-Einstellungen: Aktivierung/Deaktivierung des Momentum-Screeners, Squeeze-Schwelle und Ausbruchs-Lookback.
💻 Pine Script Version:
Pine Script v6 (Aktuellster Standard von TradingView) インジケーター

ストラテジー

インジケーター

Price Action Breakout Trend [QuantAlgo]🟢 Overview
Price Action Breakout Trend is a trend-following indicator built on structural range breakouts rather than moving average crossovers or oscillator thresholds. It tracks the highest high and lowest low of a defined lookback window to establish the levels price must decisively clear to confirm a directional shift, anchoring a trailing stop that ratchets in the trend's direction and reverses only when price breaks through it, helping traders distinguish genuine trend continuation from the shallow pullbacks that punctuate every sustained move across all timeframes and markets.
🟢 How It Works
The foundation of the indicator is the range defined by recent price extremes. On each bar it references the highest high and lowest low of the prior lookback window, excluding the current bar so the reference range is locked in before price interacts with it:
prior_high = ta.highest(high, lookback)
prior_low = ta.lowest(low, lookback)
These two levels frame the breakout boundaries. Rather than reacting to every marginal touch, the indicator lets you define what qualifies as a genuine break through the confirmation setting, which determines whether the closing price or the full bar extreme is tested against the trailing stop:
test_down = confirmation == 'Close' ? close : low
test_up = confirmation == 'Close' ? close : high
From these, a single trailing stop is maintained on the active side of the trend. While the trend holds bullish the stop ratchets upward, advancing to track the rising lookback low and never loosening, and the trend reverses the moment the tested price breaks below it:
if trend == 1
trail := math.max(trail, prior_low)
if test_down < trail
trend := -1
trail := prior_high
On that reversal the stop immediately re-anchors to the opposite extreme, flipping above price to begin trailing the new downtrend, where the mirror of this same logic ratchets the stop lower and flips the trend back to bullish once price breaks above it. Because the reversal is triggered by the same stop price has been trailing, the line is not a passive overlay but the actual decision boundary, with no separate signal calculation sitting behind it. This makes the indicator a continuous stop-and-reverse system that always holds a committed direction, retaining its bullish or bearish reading through every pullback contained within the range until price clears the trailing level.
🟢 Signal Interpretation
▶ Bullish Trend (Green): When price breaks above the trailing stop and the trend flips up, the indicator enters bullish mode with green coloring applied across the stop, gradient fill, and breakout levels. The stop sits below price and ratchets higher as the trend develops, and the reading holds through pullbacks that stay above it. The flip into green, marked by an up triangle beneath the bar, identifies a potential long/buy opportunity, with subsequent pullbacks toward the rising stop offering potential continuation entries while the trend remains intact.
▶ Bearish Trend (Red): When price breaks below the trailing stop and the trend flips down, the indicator enters bearish mode with red coloring across all visual elements. The stop sits above price and ratchets lower as the decline extends, holding bearish through rallies that fail to reclaim it. The flip into red, marked by a down triangle above the bar, identifies a potential short/sell opportunity, with rallies back toward the falling stop offering potential continuation entries on the downside.
🟢 Features
▶ Preconfigured Presets: Three parameter sets cover different trading approaches. "Default" targets swing trading on 4-hour and daily charts with a 10-bar lookback and close-based confirmation, filtering marginal breaks while staying responsive to genuine shifts. "Fast Response" shortens the lookback to 5 bars and switches to wick-based confirmation for intraday charts, where the trend needs to flip as soon as price trades beyond a recent extreme. "Smooth Trend" extends the lookback to 25 bars with close confirmation for position trading on daily and weekly timeframes, where the cost of a false flip exceeds the cost of a delayed one. Selecting a preset overrides the individual lookback and confirmation inputs.
▶ Built-in Alerts: Three alert conditions cover all directional states. "Bullish Breakout Signal" fires on the bar where the trend confirms bullish. "Bearish Breakout Signal" fires on the bar where it confirms bearish. "Any Breakout Signal" combines both into a single condition for traders who want a unified notification regardless of direction.
▶ Visual Customization: Six color presets (Classic, Aqua, Cosmic, Cyber, Neon, and Custom) apply coordinated bullish and bearish schemes across the trailing stop, gradient fill, breakout levels, markers, and optional bar and background coloring. Independent toggles control each visual layer, so the trailing stop line, the gradient fill that ramps from the stop toward price, the triangle markers printed on each flip, and the underlying breakout levels that frame the active range can each be shown or hidden without affecting the others. Bar coloring tints price candles with the active trend color at a configurable transparency, and background coloring extends the directional tint across the full chart pane. Both are disabled by default and controlled independently.
*Tips: Layer the Price Action Breakout Trend with complementary analysis rather than treating it as a standalone trading tool. Breakouts hold most reliably when backed by participation, so combine each flip with volume context, since a break on expanding volume is far more likely to sustain than one on thin flow, and read the level being cleared against market structure, as a breakout through a well-established swing high or low carries more significance than one in open space. Pairing this script with volume, open interest, CVD, market structure, and mean reversion indicators from our QuantAlgo toolkit can further validate a breakout before entry. インジケーター

Zero-Lag GARCH Bands | NAL1. Overview
Zero-Lag GARCH Bands | NAL is an adaptive volatility band indicator built from a Zero-Lag EMA baseline and an optimized GARCH-style volatility engine.
The indicator does not use a standard fixed-width channel. Instead, it estimates market variance through a recursive GARCH framework, smooths that volatility with a Zero-Lag EMA, and uses the result to create dynamic upper and lower bands around price structure.
The purpose of the indicator is to identify when price escapes a volatility-adjusted regime boundary, while allowing the band width to adapt to the underlying variance environment.
2. Calculation
The indicator starts by estimating volatility from lagged log returns. These returns are squared to create a variance component, which becomes the foundation of the GARCH model.
GARCH_LogReturn = math.log(close / close )
GARCH_SquaredLogReturn = math.pow(GARCH_LogReturn, 2.0)
GARCH_RealizedVariance = ta.sma(GARCH_SquaredLogReturn, GARCH_Lookback)
The script then searches through possible coefficient weights to find a beta/lambda value that better fits recent realized variance behavior. A second optimization loop is used to estimate gamma, which controls the long-run variance contribution.
These optimized coefficients are combined into a GARCH-style variance model using three components: long-run variance, recent shock variance, and lagged variance.
GARCH_Variance =
GARCH_Gamma * GARCH_LongRunVariance +
GARCH_Alpha * GARCH_SquaredLogReturn +
GARCH_Beta * GARCH_LaggedVariance
After the variance estimate is created, it is smoothed using a Zero-Lag EMA. This gives the volatility engine a faster response while still reducing noise.
GARCH_ProjectedVariance = f_zlema(GARCH_Variance, GARCH_SmoothLen)
GARCH_Volatility = math.sqrt(math.max(GARCH_ProjectedVariance, 0.0))
The baseline is also built with a Zero-Lag EMA, applied after a light EMA pre-smoothing step. This creates the central reference line for the band structure.
The final bands are created by scaling the Zero-Lag GARCH volatility against the selected source and band pressure setting. Higher band pressure creates a tighter band, while lower pressure allows the band structure to expand.
upperBand = baseline + (baseline_src / band_pressure) * GARCH_VolatilityMultiplier
lowerBand = baseline - (baseline_src / band_pressure) * GARCH_VolatilityMultiplier
A bullish state triggers when price closes above the upper band. A bearish state triggers when price closes below the lower band. When price remains inside the bands, the previous regime is held.
3. Key Features
Zero-Lag EMA baseline for reduced-lag price structure.
Optimized GARCH-style volatility engine.
Adaptive variance model using shock, lagged, and long-run components.
Zero-Lag smoothing applied to projected volatility.
Dynamic upper and lower volatility bands.
Band pressure control for adjusting channel tightness.
State-based candle coloring, band coloring, glow effect, and directional fills.
4. Use
Zero-Lag GARCH Bands is designed to identify when price begins escaping its volatility-adjusted structure. A close above the upper band reflects bullish expansion, while a close below the lower band reflects bearish expansion.
The GARCH engine gives the indicator a deeper volatility layer than a standard ATR or deviation channel. Instead of only measuring recent range, it models variance behavior and projects that into the band structure.
This indicator is best used as a specialized module within a complete strategy framework. Its role is to isolate volatility-adjusted regime expansion, where price is evaluated against a dynamic variance boundary rather than a static channel. The full value comes from how this volatility regime signal is integrated into a broader process for timing, structure, and execution.
インジケーター

Apex Turn v4APEX TURN v4: Kalman Snapback with Fee Gate, Trend Guard and Fair Value Take Profit
Apex Turn is a mean reversion tool that hunts exhausted moves and trades the snap back to fair value. It was designed for crypto perpetual futures but works on any liquid market.
HOW IT WORKS
The script runs an adaptive Kalman filter on log price to estimate fair value, drawn as the orange line. The gap between price and fair value is normalized into a z score over a rolling window. When the z score stretches beyond the entry threshold (2.8 by default) and then hooks back toward the mean while still deeply stretched, the engine looks to trade against the extreme. Longs trigger at washed out lows and shorts trigger at blow off highs.
THREE GATES PROTECT EVERY SIGNAL
Gate one is the chop filter. The Kaufman Efficiency Ratio must confirm a ranging market before any mean reversion entry is allowed.
Gate two is the fee gate. The script projects the reward from current price to fair value, converts your maker and taker fees into R units based on the stop distance, and blocks any signal that would not cover all fees plus a minimum net gain of 0.35R. Blocked signals print as small gray crosses so you can see exactly what fees would have eaten.
Gate three is the strong trend guard. Fair value drift is measured in ATR per bar. When drift is strong, counter trend signals are suppressed until the market prints a release event: a momentum divergence on the z score, volume absorption at the extreme, or both together depending on the mode you select. Trend blocked signals print as orange squares and release events print as aqua diamonds.
EXITS
On entry the script freezes the current fair value as the take profit target, plotted in green, and places the stop in red at 1.5 ATR from entry. The default exit mode assumes you rest a reduce only limit order at the target so your winning exit pays the lower maker fee. Mean touch and overshoot exit modes are also included in the settings. A time stop closes stale positions after 45 bars.
ADAPTIVE ATR
The ATR length is anchored to real time rather than a fixed bar count. It always measures roughly 112 minutes of volatility, so stops, targets and fee math stay consistent whether you chart 30 seconds or 4 hours.
ALERTS
Four webhook ready alerts are included. Entry alerts carry the close price, the stop, the frozen take profit and the projected net R, so an automated system can place the full bracket the moment a position is born. Exit alerts fire for stop, target and time stop events.
SUGGESTED USE
Developed and tested for the 8 minute chart on liquid perpetual pairs. The 30 minute and 1 hour charts also suit the logic well. Timeframes under 5 minutes are not recommended because trading fees consume most of the edge there. Set the maker and taker fee inputs to match your own exchange tier before trusting the fee gate.
Signals are evaluated at bar close and do not repaint. Nothing in this script is financial advice and past behavior in testing does not guarantee future results. Always size positions responsibly and manage your own risk. インジケーター

ストラテジー

SMC Clean 4H Zones Center Labels HH HL LL LHSMC Clean 4H Zones Center Labels HH HL LL LH is a Smart Money Concepts strategy designed to keep the chart clean while displaying the most important institutional price action zones and structure levels.
The script includes Fair Value Gaps (FVG), Inverted Fair Value Gaps (IFVG), Order Blocks (OB), Breakers, Break of Structure (BOS), Change of Character (CHOCH), and market structure labels such as HH, HL, LH, and LL.
Supply and Demand zones are calculated from the 4H timeframe and displayed as clean boxes on the chart. The zone names are centered inside the boxes for better visibility and easier reading.
BOS and CHOCH are displayed with neutral grey structure lines and centered labels, avoiding aggressive directional colors. Order Blocks also include a 50% middle line with the OB label placed directly on the midline.
The indicator is designed to reduce visual noise by using transparent boxes, small neutral labels, and filtered FVG logic based on ATR size. This helps highlight only cleaner and more meaningful zones.
Main features:
- 4H Supply and Demand zones
- FVG and IFVG detection
- 50% midpoint levels
- Order Blocks and OB Breakers
- BOS and CHOCH structure breaks
- HH, HL, LH, LL market structure labels
- ATR-filtered FVGs for cleaner signals
- Strategy entries based on SMC confluence
- ATR-based Stop Loss and Take Profit levels
Recommended markets:
XAU/USD, major forex pairs, indices, and liquid crypto pairs.
Recommended timeframes:
5M, 15M, 30M, and 1H. ストラテジー
