Strategy

GS Univsersal## GS Universal — Trading System Indicator
**GS Universal** is a clean, multi-layer PulseWire indicator designed to help traders read market structure, trend quality, momentum, volatility, and signal strength in one organized chart system.
The goal of GS Universal is not to overload the chart with too many indicators, but to combine the most important trading conditions into a clear visual decision framework. It is built for traders who want a structured way to identify possible buy zones, warning areas, exit signals, and trend continuation setups.
---
## Core Purpose
GS Universal helps traders answer five key questions:
1. **Is the stock trending or ranging?**
2. **Is momentum improving or weakening?**
3. **Is volume supporting the move?**
4. **Is price extended or still healthy?**
5. **Is the signal strong enough to act on, wait, or avoid?**
---
## Main Features
* **Buy / Warning / Exit signal system**
* **A/B/C signal grading for easier decision-making**
* **EMA trend structure and EMA crossover logic**
* **Bollinger Bands for volatility and extension reading**
* **RSI momentum and overextension filter**
* **MACD momentum confirmation**
* **Volume and relative volume participation filter**
* **ATR-based risk and volatility awareness**
* **Dynamic trailing stop guidance**
* **Dashboard summary for quick interpretation**
* **Beginner / Professional terminology switch**
* **Clean chart layout with controlled labels**
---
## Signal Logic
GS Universal evaluates price using multiple confirmation layers:
### Trend Structure
The indicator checks whether price is above or below key moving averages and whether the short-term trend is aligned with the broader structure.
### Momentum
RSI and MACD are used to measure whether the move has strength, acceleration, or early weakness.
### Volume Confirmation
Volume and relative volume help confirm whether buyers are truly participating in the move or whether the signal is weak.
### Volatility and Extension
Bollinger Bands and ATR help identify whether price is expanding from compression, becoming overextended, or entering a risky zone.
### Signal Quality
Signals are graded to make interpretation easier:
* **A Signal** = Stronger setup with better alignment
* **B Signal** = Acceptable setup but needs caution
* **C Signal** = Weak or early signal, usually requires confirmation
---
## How to Use
GS Universal is designed as a decision-support tool.
A trader can use it to:
* Identify potential entry zones
* Confirm whether a breakout has strength
* Monitor whether an existing trade is still healthy
* Spot warning signs before momentum fails
* Use trailing stop guidance for trade management
* Avoid chasing overextended moves
The indicator works best when combined with support and resistance, market context, risk management, and personal trading rules.
---
## Important Notes
GS Universal is not a guaranteed buy or sell system.
It is an analytical framework that organizes trend, momentum, volume, and volatility conditions into clearer visual signals.
All signals should be used with proper risk management. Traders should always define their entry, stop-loss, position size, and exit plan before taking any trade.
---
## Disclaimer
This indicator is provided for educational and informational purposes only. It does not provide financial advice, investment recommendations, or guaranteed trading results. Trading involves risk, and users are responsible for their own trading decisions.
Indicator

Indicator

Indicator

Acrofins - Momentum ScannerAcrofins - Momentum Scanner for Nifty and Index Traders
This is a multi-factor momentum scanner built specifically for index trading on Nifty 50, Bank Nifty, and similar instruments. It combines 10 independent technical conditions into a single composite score, and only generates a Buy or Sell signal when enough of those conditions align at the same time. The goal is simple: fewer signals, but each one backed by strong confluence across price, volume, trend, and market structure.
1. How the scoring works
Every bar on the chart is evaluated against 10 conditions. Each condition contributes 1 point to either the bull score or the bear score, except for a price breakout which contributes 2 points because it is historically the strongest signal. The maximum possible score is 11. You can set a minimum threshold in the settings (default is 5), and a signal is only generated when the score crosses that threshold. This means the indicator waits for multiple conditions to agree before calling a trade.
The 10 conditions are:
i. Price Breakout (2 points): Price closes above the highest high of the last 20 bars for a buy, or below the lowest low for a sell. This is the foundation of the signal.
ii. Directional Volume Spike: Volume is above 1.5x its 20-bar average AND the candle closes in the direction of the trade. This filters out volume spikes that occur on opposing candles, which most volume indicators ignore.
iii. RSI Zone (current timeframe): RSI is above 55 for bulls or below 45 for bears. Unlike a crossover, this is a persistent zone check so it does not fire and disappear in a single bar.
iv.RSI 1-Hour Confluence: The 1-hour RSI is checked simultaneously. If the higher timeframe RSI agrees with the signal direction, it adds a point. This is a simple multi-timeframe filter that prevents entering a short-term trade that is running against the larger trend.
v.Engulfing Candle Pattern: A classic bullish or bearish engulfing pattern on the signal bar adds a point for pattern confirmation.
vi. Candle Body Strength: The candle body must be at least 60% of the 10-bar average body size. This filters out doji and indecision candles so the entry bar itself shows conviction.
vii.DMI Direction (DI+ vs DI-): If the positive directional index is stronger than the negative, it adds a bull point and vice versa. This checks who is winning the tug of war between buyers and sellers.
viii. ADX Strength Bonus: If the ADX reading is above 25, an extra point is added. This rewards signals that appear during strong trending conditions.
ix. VWAP Bias: Price above the session VWAP adds a bull point, below adds a bear point. VWAP is the benchmark that institutional desks use as a reference during the day, so being on the right side of it matters.
x. Camarilla Proximity: If price is near a Camarilla support level (L3 or L4) it adds a bull point. Near resistance (H3 or H4) adds a bear point. These levels are calculated from the previous day's high, low, and close, and they act as natural reaction zones that many professional traders watch.
2. Regime gates (hard filters)
Two conditions must both be true before any signal can fire, regardless of the score. First, ADX must be above 20, which blocks all signals in flat and ranging markets. Second, the Bollinger Band width must not be in a squeeze, meaning the bands are not contracting relative to their 50-bar average. These gates exist because most false signals in momentum trading occur during consolidation phases.
3. EMA direction filter
There is an optional EMA-50 direction filter that can be toggled on or off. When active, buy signals can only fire when price is above the EMA-50, and sell signals can only fire when price is below it. This prevents counter-trend entries. On the chart you will see two EMA lines: the yellow EMA-20 which moves close to price and shows short-term direction, and the colored EMA-50 which turns green above and red below to show the overall trend.
4. Trade management
Once a signal fires, the indicator automatically calculates three levels based on the current ATR (Average True Range), which makes the levels adapt to the actual volatility of the instrument at that moment rather than using fixed percentages. The Stop Loss is set at 1.5x ATR below the entry for longs, above for shorts. The Take Profit is set at 3x ATR, giving a natural 1:2 risk-reward ratio. The Trailing Stop starts at 2x ATR but does not activate immediately. It only switches on after the trade has moved at least 1 ATR in your favour, which gives the trade room to breathe before the trail kicks in. Once active, it ratchets in your direction and never moves against you. After any exit, whether by stop loss, take profit, or trailing stop, the indicator enforces a cooldown of 5 bars before a new signal can be generated. This is the core fix that prevents the rapid signal repetition that many momentum indicators suffer from.
5. What you see on the chart
A large green BUY label below the bar and a large red SELL label above the bar are the primary action signals. An orange X mark appears when a trade is closed.
The blue dashed horizontal line is the entry price. The red solid line is the stop loss. The green solid line is the take profit. The orange dotted line is the trailing stop, which moves upward for longs as the trade progresses. The aqua VWAP line with faded bands shows where price stands relative to the session's volume-weighted average. The green and red dotted Camarilla levels (L3, L4, H3, H4) are the previous day's key support and resistance zones and remain fixed throughout the trading day. The background shading gives a quick read on market state. A faint green tint means price is above the EMA-50 and only buy signals are allowed. A faint red tint means price is below and only sell signals are allowed. When you are actively in a trade, the tint becomes brighter to confirm the open position.
6. The information table (top right)
The table shows the live status of every component in one place. Position, entry price, stop loss, take profit, and trailing stop are shown when a trade is open. Below that you can read the EMA trend direction, ADX value and strength rating, Bollinger Band regime status, India VIX with its 52-week IV rank percentile, RSI on both the current timeframe and the 1-hour, VWAP bias, Camarilla proximity, current bull and bear scores, and the indicator status which shows whether it is ready to trade, waiting out a cooldown, or paused due to a ranging market.
7. Settings you can adjust
All major parameters are grouped in the settings panel. You can change the EMA periods, the minimum score required to trade, the cooldown length, the ATR multipliers for stop loss, take profit and trailing stop, the ADX thresholds, the RSI zones, the volume spike multiplier, and the Bollinger Band period. Each group is labelled clearly so you can find what you need quickly. The indicator also comes with five built-in alerts covering buy entry, sell entry, long exit, short exit, and squeeze detection.
8. A note on India VIX
The India VIX data feed requires an NSE data subscription on PulseWire. If it shows N/A in the table, this is a data access issue at the platform level and does not affect any of the signals. Indicator

Stable Cycle Core (Adaptive Ehlers Edition)## English
**Stable Cycle Core — Adaptive Ehlers Edition**
A next-generation cycle oscillator that doesn't rely on a fixed length. Most oscillators (RSI, MACD, Stoch) use a hard-coded period like 14 — which is arbitrary. This script instead **measures the market's actual dominant cycle period in real time** and adapts itself to it.
**Engine: Ehlers Autocorrelation Periodogram**
Based on John F. Ehlers' work in *Cycle Analytics for Traders*. The pipeline:
1. **High-Pass filter** removes long-term trend so only the cyclical component remains.
2. **SuperSmoother** cleans high-frequency noise without lag.
3. **Pearson autocorrelation** is calculated for periods 10–48.
4. A **Discrete Fourier Transform** of those correlations reveals which period carries the most power.
5. The **dominant cycle** is computed as a power-weighted center of gravity, then halved to drive an adaptive EMA + adaptive ATR.
The result: when the market breathes faster, the indicator shortens itself. When it slows, it lengthens. No more guessing the right "length" parameter.
**Visual layout (lower panel)**
- **Black line — Cycle:** Adaptive momentum, ATR-normalized.
- **Orange line — Signal:** Smoothed cycle. Dot crossovers = entry triggers.
- **Blue / Purple — Sine Wave & Lead Sine:** Phase-based true sinusoidal cycle. Their crossovers often **lead price tops/bottoms by a few bars** — this is the real "cycle leading edge" Ehlers describes.
- **Green / Red dots:** Buy/Sell triggers from cycle-signal crossover.
**On the price chart**
- **Chop Filter:** When buy/sell signals fire too frequently in a short window, the script locks an upper green ATR line and a lower red ATR line on the chart, plus a soft yellow background to mark the choppy zone. The first **band break = real direction** (green/red triangle).
- Outside chop conditions, no bands draw — chart stays clean.
**Divergence (lower panel)**
Pivot-based bullish (green) and bearish (red) divergences between price and the cycle oscillator, drawn automatically with line + label.
**Info Table (top right)**
- Mode (Adaptive / Manual)
- Detected Dominant Cycle
- Effective length being used
- Whether the market is currently in a chop zone
**Alerts**
Buy / Sell / Chop Break Up / Chop Break Down / Bullish Divergence / Bearish Divergence.
**How to read it**
- A **stable Dom. Cycle reading** (e.g., sitting around 22 for many bars) means the market is rhythmically rotating — trade the dots and Sine crosses.
- A **jumpy Dom. Cycle** (12 → 35 → 14) means no clean cycle exists — wait for an ATR band break.
- Use **Sine + Lead Sine crossovers as early warning** (they lead price), and the cycle dots as the **trigger**.
- Divergences = confirmation, not standalone entry.
Works on every market and timeframe — the adaptive engine handles the rest.
Not financial advice. Combine with proper risk management.
---
## Türkçe
**Stable Cycle Core — Adaptif Ehlers Sürümü**
Sabit periyot kullanmayan yeni nesil bir döngü osilatörü. Klasik göstergeler (RSI, MACD, Stoch) sabit `14` gibi rastgele bir periyot kullanır. Bu script ise **piyasanın o anki gerçek dominant döngü periyodunu canlı olarak ölçer** ve kendini ona göre ayarlar.
**Motor: Ehlers Autocorrelation Periodogram**
John F. Ehlers'ın *Cycle Analytics for Traders* kitabındaki yönteme dayanır. İşlem zinciri:
1. **High-Pass filtre** uzun vadeli trendi temizler, sadece döngüsel kısım kalır.
2. **SuperSmoother** gecikme yaratmadan yüksek frekanslı gürültüyü siler.
3. **Pearson otokorelasyonu** 10–48 arasındaki her periyot için hesaplanır.
4. Bu korelasyonların **DFT (Discrete Fourier Transform)** dönüşümü, hangi periyodun en çok güç taşıdığını ortaya çıkarır.
5. **Dominant cycle**, güç-ağırlıklı bir ağırlık merkezi olarak bulunur ve yarısı adaptif EMA + adaptif ATR'ye beslenir.
Sonuç: piyasa hızlandığında gösterge kısalır, yavaşladığında uzar. "Doğru length kaç olmalı?" sorusu ortadan kalkar.
**Alt panel görseli**
- **Siyah çizgi — Cycle:** ATR ile normalize edilmiş adaptif momentum.
- **Turuncu çizgi — Signal:** Cycle'ın yumuşatılmış hâli. Kesişimler giriş tetikleyicisidir.
- **Mavi / Mor — Sine Wave ve Lead Sine:** Faz tabanlı gerçek sinüzoidal döngü. Kesişimleri çoğu zaman **fiyat tepe/diplerini birkaç bar önceden işaret eder** — Ehlers'ın bahsettiği "cycle leading edge" budur.
- **Yeşil / Kırmızı noktalar:** Cycle-Signal kesişiminden Buy/Sell tetikleri.
**Ana grafik üstünde**
- **Chop Filtresi:** Kısa bir pencerede çok sık buy/sell sinyali gelirse, fiyatın üstüne yeşil, altına kırmızı ATR çizgisi kilitlenir, arka plan hafif sarıya döner. **Hangi bant önce kırılırsa gerçek yön orasıdır** (yeşil/kırmızı üçgen ile işaretlenir).
- Karışıklık yokken hiçbir bant çizilmez, grafik temiz kalır.
**Divergence (alt panelde)**
Pivot tabanlı boğa (yeşil) ve ayı (kırmızı) uyumsuzlukları otomatik olarak çizgi + etiketle işaretlenir.
**Bilgi Tablosu (sağ üst)**
- Mod (Adaptif / Manuel)
- Tespit edilen Dominant Cycle
- Kullanılan etkili length
- Piyasa şu an chop bölgesinde mi
**Alarmlar**
Buy / Sell / Chop Break Up / Chop Break Down / Boğa Uyumsuzluğu / Ayı Uyumsuzluğu.
**Nasıl okunur**
- **Dom. Cycle değeri sabit kalıyorsa** (örn. uzun süre 22 civarında) piyasa ritmik dönüyor demektir — noktaları ve Sine kesişimlerini değerlendirebilirsin.
- **Dom. Cycle zıplıyorsa** (12 → 35 → 14) net bir döngü yok — ATR bant kırılımını beklemek mantıklı.
- **Sine + Lead Sine kesişimini erken uyarı** (fiyatı önceler), cycle noktalarını **tetikleyici** olarak kullan.
- Divergence = teyit aracı, tek başına giriş değil.
Her enstrümanda ve her zaman diliminde çalışır — adaptif motor gerisini halleder.
Bu paylaşım yatırım tavsiyesi değildir. Her zaman kendi risk yönetiminle birleştir. Indicator

DIP TOP OSCILATOR Divergence## English
**Stable Cycle Core Chop Filter & Divergence**
A clean, lower-panel cycle oscillator built around a normalized momentum of EMA, smoothed by a short signal line. The goal is to read the market's rhythm without the noise of standard oscillators.
**How it works**
- **Cycle line (black):** EMA momentum normalized by ATR — adapts to volatility automatically, so readings stay comparable across timeframes and instruments.
- **Signal line (orange):** Smoothed cycle. Crossovers print **green dots (buy)** and **red dots (sell)** directly on the oscillator — WaveTrend-style, but cleaner.
- **Zero line:** Bias reference. Above zero = bullish momentum, below zero = bearish.
**Chop / Fake-Signal Filter (on the price chart)**
Choppy markets often produce buy → sell → buy in just a few bars. To avoid acting on those fakes, the script counts signals over a short window. If too many fire too quickly:
- The current bar is locked as a range, with a **green ATR line above** and a **red ATR line below** the price.
- The background turns light yellow to mark the chop zone.
- The first **break of either band is treated as the real direction**, marked by a green/red triangle.
- Outside chop conditions, no bands are drawn — the chart stays clean.
**Divergence (lower panel)**
Pivot-based divergence detection between price and the cycle oscillator:
- **Bullish:** price prints a lower low while the oscillator prints a higher low → green line + label.
- **Bearish:** price prints a higher high while the oscillator prints a lower high → red line + label.
**Alerts available**
Buy / Sell / Chop Break Up / Chop Break Down / Bullish Divergence / Bearish Divergence.
**Recommended use**
- Trade with the dots only when the market is trending (bands are not drawn).
- In sideways action, ignore the dots and **wait for an ATR band break** for direction.
- Use divergences as confirmation, not as standalone entries.
- Works on any market and any timeframe; ATR normalization handles the rest.
Not financial advice. Always combine with your own risk management.
---
## Türkçe
**Stable Cycle Core — WaveStyle Clean + Chop Filtresi & Uyumsuzluk**
Sade bir alt panel döngü osilatörüdür. Çekirdeğinde EMA momentumunun ATR ile normalize edilmiş hâli vardır; üstüne kısa bir sinyal hattı eklenmiştir. Amaç, klasik osilatörlerin gürültüsü olmadan piyasanın ritmini okumaktır.
**Nasıl çalışır?**
- **Cycle (siyah çizgi):** ATR ile normalize edilmiş EMA momentumu. Volatiliteye otomatik uyum sağladığı için farklı zaman dilimi ve enstrümanlarda değerler karşılaştırılabilir kalır.
- **Signal (turuncu çizgi):** Cycle'ın yumuşatılmış hâli. Kesişimler doğrudan osilatör üzerinde **yeşil nokta (al)** ve **kırmızı nokta (sat)** olarak işlenir — WaveTrend mantığında ama daha temiz.
- **Sıfır çizgisi:** Yön referansı. Üstü pozitif momentum, altı negatif momentum.
**Chop / Sahte Sinyal Filtresi (ana grafik üzerinde)**
Sıkışık (testere) piyasalarda al-sat-al şeklinde art arda sinyaller gelir. Bu fakelere kapılmamak için script, kısa bir pencerede sinyal sayısını izler. Sinyaller çok sık gelirse:
- O ANDA fiyatın üstüne **yeşil ATR çizgisi**, altına **kırmızı ATR çizgisi** kilitlenir.
- Arka plan hafif sarıya döner — "burası karışık bölge" demektir.
- **Hangi bant önce kırılırsa gerçek yön orasıdır** ve yeşil/kırmızı üçgenle işaretlenir.
- Karışıklık yoksa hiçbir bant çizilmez, grafik temiz kalır.
**Divergence (alt panelde)**
Pivot bazlı uyumsuzluk tespiti, fiyat ile osilatör arasında:
- **Boğa uyumsuzluğu:** fiyat daha düşük dip yaparken osilatör daha yüksek dip yapar → yeşil çizgi + etiket.
- **Ayı uyumsuzluğu:** fiyat daha yüksek tepe yaparken osilatör daha düşük tepe yapar → kırmızı çizgi + etiket.
**Alarmlar**
Buy / Sell / Chop Break Up / Chop Break Down / Boğa Uyumsuzluğu / Ayı Uyumsuzluğu.
**Önerilen kullanım**
- Trend piyasada (bant çizilmediğinde) noktaları takip et.
- Yatay/sıkışık piyasada noktaları yoksay, **ATR bantlarından birinin kırılmasını bekle**, yön orasıdır.
- Uyumsuzlukları tek başına giriş değil, **teyit aracı** olarak kullan.
- Her enstrüman ve her zaman diliminde çalışır; ATR normalizasyonu adaptasyonu otomatik sağlar.
Bu paylaşım yatırım tavsiyesi değildir. Her zaman kendi risk yönetiminle birleştir. Indicator

AlphaTrend Momentum Matrix [MarkitTick]💡 The AlphaTrend Momentum Matrix is an advanced, comprehensive trend-following architecture designed to dynamically track market momentum, manage dynamic trade states, and seamlessly bridge the gap between technical charting and automated execution. Far from a simple overlay, this script acts as a multi-layered analytical suite. It evaluates primary trend direction using volatility and volume-weighted money flow, filters out market noise with a custom state-matrix, and projects actionable higher-timeframe data onto the active chart. Furthermore, it incorporates an internal mathematical framework capable of dynamically calculating strict risk-to-reward targets and dispatching meticulously formatted JSON payloads for external webhook execution.
✨ Originality and Utility
● The Momentum Matrix Advantage
While traditional trend indicators rigidly lock onto moving averages or standard price bands, the AlphaTrend Momentum Matrix thrives on market dynamism. Its true utility lies in its multifaceted approach to trend validation. It introduces an exclusive "ATR Breakout Override" system—a custom logic module that forces a trend recalibration if an explosive price movement severely disrupts the standard deviation envelope, regardless of standard trailing conditions. This ensures the indicator remains highly responsive to sudden, high-impact market events without waiting for lagging conditions to catch up.
● Automated Payload and State Management
A standout feature of this tool is its embedded Trade State system. It does not merely paint a signal on the chart; it internalizes the exact entry price, computes a precise stop-loss based on the active AlphaTrend baseline, and mathematically projects a 1:2 risk-to-reward Take Profit target. This localized tracking seamlessly interfaces with the built-in Alert Engine, dynamically injecting these critical metrics into formatted JSON templates ready for third-party automated execution systems.
🔬 Methodology and Concepts
● AlphaTrend Core Engine
The primary directional engine relies on the interplay between the Average True Range (ATR) and the Money Flow Index (MFI). A trailing upper band (Support) and lower band (Resistance) are calculated using a user-defined ATR coefficient. The script interrogates the 14-period MFI; if the MFI reads above 50, indicating positive money flow momentum, the algorithm biases toward the Support band, updating it only when the price makes higher lows. Conversely, an MFI below 50 shifts the bias to the Resistance band.
● Breakout Override Protocol
To counteract the inherent lag of volume-weighted smoothing, the indicator employs a momentum breakout scanner. By measuring the absolute distance between the previous two closing prices and comparing it against the prior ATR multiplied by a sensitivity factor, the script can definitively detect volatility shocks. If a shock occurs concurrently with a directional price cross over the active AlphaTrend line, the system immediately forces a directional shift, bypassing the standard MFI requirements.
● Signal Filtering and Matrix Constraints
Raw signal crossovers are notoriously noisy during consolidation. To mitigate whipsaw trades, this script implements a continuous loop counter (the K and O matrices). It tracks the consecutive bars since the last primary buy or sell condition. A signal is only declared "valid" if it successfully breaks the historical sequence of the opposing trend counter, ensuring that localized micro-fluctuations do not trigger premature trade entries.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
● Volatility and the Average True Range
Developed by J. Welles Wilder Jr. in 1978, the Average True Range is a foundational pillar of this indicator. The ATR scientifically quantifies absolute market volatility by decomposing the entire range of an asset's periodic price action, factoring in gaps and limit moves. By applying a multiplier to the ATR, this script establishes a statistically significant standard deviation envelope, distinguishing between normal market "breathing" and definitive structural shifts.
● Volume-Weighted Momentum via Money Flow Index
The MFI, created by Gene Quigley and Colin Dysart, represents an evolution of the Relative Strength Index (RSI). From an academic standpoint, the MFI incorporates volume into its momentum calculation, producing a more robust metric of buying and selling pressure. It uses the Typical Price (High + Low + Close / 3) multiplied by volume to calculate raw money flow. The 50-level threshold serves as the equilibrium point; sustaining above this level empirically signifies net accumulation, providing the mathematical justification for the indicator's bullish bias.
● Algorithmic State Machines
The signal filtering mechanism and the internal Trade State tracker are practical applications of Finite State Machines (FSM) commonly used in quantitative algorithmic design. The script holds memory of its current operational state (Long, Short, Neutral) and refuses state transitions unless specifically validated mathematical conditions (boolean logic gates) are met, significantly reducing error rates inherent in purely reactive, memory-less indicators.
● Repainting and Lookahead Warning
This script utilizes the request component to pull Higher Timeframe (HTF) context into the primary chart. Crucially, it employs the barmerge.lookahead_on parameter. While this creates a visually perfect, non-lagging representation of higher timeframe trends when analyzing historical data, it introduces lookahead bias. Traders must understand that historical HTF visuals and signals may appear with perfect precision on past bars, but real-time execution will lack this future data context, potentially resulting in different localized behavior in live markets.
🎨 Visual Guide
● The AlphaTrend Trailing Line
Up Trend (Bullish): A bold, solid step-line tracking below the price, rendered in a distinctive golden-yellow (#F0D080).
Down Trend (Bearish): A bold, solid step-line tracking above the price, colored in a deep crimson (#7A2010).
● The Cloud Fill
Dynamic Channel: A semi-transparent shaded area connecting the active AlphaTrend line to a central Cloud Reference Line (a smoothing of the typical price). This cloud visually represents the buffer zone of the current trend.
Color Coding: The cloud dynamically changes color to match the dominant trend (Gold for bullish, Crimson for bearish), allowing for rapid peripheral analysis of market conditions.
● Price Action Overrides
Colored Candles: The bodies and wicks of the actual price candles are uniformly colored to reflect the AlphaTrend matrix state, instantly identifying periods of alignment or divergence.
● Execution Elements
Signal Labels: Distinct "BUY" and "SELL" textual shapes appear precisely on the chart at the moment the state matrix validates a trend shift.
HTF Stepline: When enabled, a secondary, smoothed step-line appears to show the overarching macro trend, colored accordingly to dictate the broader market regime.
📖 How to Use
● Trend Riding and Context
The most effective way to utilize this tool is to align the primary chart timeframe with the HTF AlphaTrend line. If the HTF line is Gold, you should strictly look for "BUY" signals generated by the primary indicator to trade in the direction of the macro trend, ignoring temporary bearish signals as minor pullbacks.
● Momentum Breakout Confirmation
When you observe a sudden color change accompanied by an unusually large price bar, this is often the Breakout Override triggering. These scenarios represent high-momentum events. Instead of waiting for a retest, aggressive traders may use these specific signals to capture immediate volatility expansions, placing their stop-loss strictly on the opposite side of the newly formed AlphaTrend line.
● Automating Your Strategy
For quantitative traders, the indicator handles the heavy lifting of trade logic. Ensure you configure the exact JSON payload strings required by your third-party execution platform (like 3Commas, PineConnector, etc.) in the settings. The indicator will autonomously calculate your risk/reward parameters upon every valid signal and fire a perfectly formatted JSON alert.
⚙️ Inputs and Settings
• ⚙️ Core Calculations
ATR Multiplier: Defines the sensitivity of the trailing line. Lower values (e.g., 0.5) track price closely for scalping; higher values (e.g., 2.0) provide wide breathing room for swing trades.
ATR & MFI Lookback Period: The standard window (default 14) for calculating both volatility and volume momentum.
Display Signals: Toggles the visibility of the "BUY" and "SELL" chart labels.
• 🛡️ Breakout Override
Enable ATR Breakout Override: Turns the momentum-shock detection system on or off.
Breakout Sensitivity: Determines how large a price jump must be (relative to the ATR) to force a trend change. Lower values trigger more aggressively.
• 🕐 Higher Timeframe
Show HTF AlphaTrend: Projects the higher timeframe data onto the current chart.
HTF Timeframe: The specific macro timeframe to monitor (e.g., Daily "D" when trading on the 1-Hour chart).
• ☁️ Cloud Fill
Show Cloud Fill: Toggles the visual buffer zone on the chart.
Cloud Reference Length: Adjusts the smoothing period of the central reference line.
Color Candles: Enables or disables the overriding of standard chart candle colors based on trend direction.
• 🔌 Webhook Execution Config
Payload Actions: Four distinct text fields where you can define the exact syntax your external bot requires for entering longs, entering shorts, closing longs, and closing shorts. These values are automatically injected into the dynamic JSON alert string.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

MACD Slope & Swing MonitorThis script is not just another MACD. It is a highly specialized momentum engine designed to quantify trend exhaustion and visualize structural pivots, making it the perfect tool for trading advanced concepts like the "Anti-Setup" (popularized by Linda Raschke) and Hidden Divergences.
While standard MACD shows you the current momentum, it often lags during complex corrections (like Elliott Wave 4th waves or Flat corrections). This indicator solves this by introducing real-time Slope Quantification and past Swing Pivot Detection.
Key Features & The Logic Behind the Mashup:
Dynamic Slope Quantification: Calculates the exact rate of change (Slope) for both the MACD and Signal lines over a user-defined lookback period. This allows traders to spot momentum decay before an actual crossover occurs. The exact values are displayed on a clean, dynamic label that tracks the current bar.
Structural Swing Detection (Pivots): Uses a 5-bar left/right lookback to plot Swing Highs and Lows directly on the oscillator. By locking these markers to the top and bottom of the pane, the script keeps the MACD lines perfectly clean. This is crucial for instantly identifying Hidden Divergences against previous structural peaks.
Custom MA Engine: Unlike standard built-in MACD, this script allows you to independently change the Moving Average type (SMA, EMA, WMA, RMA) for both the Oscillator and the Signal line. (e.g., using EMA for the oscillator and SMA for the signal to refine trade timing).
How to Use:
Trend Continuation (Hidden Divergence): Look for price to make a Lower High / Higher Low, while the MACD Swing markers show a Higher High / Lower Low.
The "Anti" Trigger: Wait for the MACD Slope to sharply reverse back toward the Signal line in the direction of the primary trend. The real-time label will confirm the momentum shift mathematically before the visual hook forms. Indicator

Indicator

Indicator

Momentum Matrix [LIVE]### Introduction
Welcome to Momentum Matrix , a multi-dimensional momentum and volatility confluence engine. This indicator combines Linear Geometry (Moving Average Slope) with Derivative Volatility Breakouts (Bollinger Bands applied to a custom MACD line) to create a rigorous, two-step verification system designed to identify high-probability trend expansions while filtering out low-volume market noise and chop.
### How It Works
1. **The Core Trend (MA Angle):** The script normalizes a moving average using an Average True Range (ATR) calculation to determine its precise geometric angle. It flags the trend as bullish or bearish only when the moving average breaks past a user-defined threshold (e.g., 6°), turning flat ranges grey (**No Trade Zone**).
2. **The Volatility Trigger (MACD BB):** A custom MACD line is tracked natively against standard deviation Bollinger Bands. When momentum expands, the MACD line punches outside the bands.
3. **The Confluence Signal:** When **both** systems simultaneously turn bright green or bright red, the script prints a distinct **Confluence Dot** on the zero line, signaling an institutional momentum breakout.
---
### Key Use Cases
*🚀 **Squeeze Play & Volatility Breakout Entries***
Entering the trade on the first Confluence Dot catches the absolute beginning of a macro trend expansion.
*📈 **High-Probability Trend Following***
As long as the lines and histograms stay locked in solid green or red, it proves that the velocity of the move is being actively sustained by volume.
*⚠️ **False Breakout Filter (Staying Out of Chop)***
Many traders lose money by buying a breakout on the price chart, only for it to immediately reverse. This indicator acts as a gatekeeper. If price makes a sudden spike upward, the MACD might briefly flash green. However, if the broader Moving Average Angle remains flat and stuck in the "No Trade Zone," the indicator refuses to print a buy dot, preventing FOMO entries.
*⏱️ **Scalping with the Live Delta Dashboard***
If an asset is moving up but the live angle change starts decaying (e.g., dropping from +2.5° down to +0.2°), it signals a hidden momentum loss—alerting you to take profits before the price action actually stalls out.
---
### Key Features
* **Adaptive MA Selection:** Swap between EMA, SMA, HMA, LSMA, ALMA, and McGinley.
* **Built-in Volatility Filter:** Bollinger Bands track the MACD line directly to confirm momentum expansion.
* **Live Statistics Table:** View current trend angles and live changes on every tick.
* **Strict Non-Repainting Signals:** Confluence triggers confirm at the close of the bar to ensure historical data accuracy.
---
### Credits & Acknowledgments
This script is a customized confluence engine built upon the excellent open-source work of two brilliant developers in the PulseWire community. Special thanks to:
* ** @Mango2Juice ** for the foundational logic behind the *Angle of Moving Averages* script.
* ** @Algokid ** for the original concept and design of the *AK MACD BB indicator*.
This version modernizes the calculations into Pine Script v5 , introduces a dynamic real-time tracking dashboard, and establishes a strict non-repainting mathematical handshake between both metrics. Indicator

Indicator

Indicator

Harbor Reversal Ledger [JOAT]Harbor Reversal Ledger
Introduction
Harbor Reversal Ledger is an open-source reversal timing indicator that combines completed higher-timeframe candle context with confirmed local RSI divergence.
The objective is not to predict turning points early.
The objective is to wait for enough evidence that a reversal thesis is becoming structurally credible.
Many reversal tools repaint because they depend on unfinished higher-timeframe candles or unconfirmed pivot comparisons.
Harbor Reversal Ledger avoids that by:
requesting completed higher-timeframe candles only
confirming RSI pivots before evaluating divergence
scoring confluence from multiple independent ingredients
projecting higher-timeframe structure onto the execution chart
rendering a timing ledger in its own pane
Core Concepts
1. Completed Higher-Timeframe Context
The script requests prior higher-timeframe candles rather than reading the currently forming candle.
This keeps the higher-timeframe pattern engine stable and non-repainting.
2. Candle Pattern Recognition
Bullish and bearish engulfing patterns can be enabled, and pin-bar style rejection patterns can also be used.
These patterns contribute directional context, not automatic entries.
3. Confirmed RSI Divergence
Local price and RSI pivots are both confirmed using left/right pivot logic.
Only after the pivots are locked does the script compare price progression against RSI progression to determine bullish or bearish divergence.
4. Distance-to-Extreme Scoring
Reversal evidence becomes more meaningful when price is still close to a recent extreme.
The confluence engine therefore includes distance-based scoring relative to a configurable lookback.
5. Projection and Confluence Zones
Completed higher-timeframe candles can be projected forward on the execution chart, while divergence events can create local confluence zones when the evidence stack is strong enough.
Features
Completed HTF candle projection: prior higher-timeframe range and body projected onto the chart
HTF pattern engine: bullish and bearish engulfing and pin-bar style patterns
Confirmed RSI divergence: bullish and bearish divergence using pivot confirmation
Dual-pane logic: overlay objects explain price context while the pane acts as a reversal timing ledger
Confluence scoring: combines HTF pattern, local divergence, and distance-to-extreme logic
Premium/discount context: position of price relative to the HTF midpoint is plotted
Confluence zones: optional chart zones highlight stronger bullish or bearish reversal regions
State-based RSI coloring: RSI line color reflects the current net confluence
Top-right dashboard: summarizes pattern state, divergence state, confluence, and location context
Non-repainting design: no unfinished HTF candles and no unconfirmed pivot divergence
Input Parameters
Higher Timeframe Context
HTF Candle Source
Enable Engulfing Patterns
Enable Pin Bar Patterns
Project Completed HTF Candle
Projection Offset Bars
Projection Width Bars
Execution Divergence
RSI Length
Pivot Left
Pivot Right
Show Divergence Lines
Show Confluence Zones
Confluence Engine
Distance Lookback
Distance Weight
Pattern Weight
Divergence Weight
Display
Show RSI State Fill
Dashboard Position
Dashboard Size
How to Use This Indicator
Step 1: Start With the Higher-Timeframe Projection
Use the projected completed candle to understand whether the larger reference bar is signaling rejection, acceptance, or neutrality.
Step 2: Wait for Local Divergence Confirmation
The script intentionally waits for confirmed pivots.
That delay is a feature, not a flaw.
Step 3: Read the Net Confluence, Not Just RSI
The pane is not meant to be treated like a normal RSI oscillator.
Its color and context matter because they reflect the broader reversal evidence stack.
Step 4: Use Confluence Zones as Areas of Interest
Zones identify places where the higher-timeframe context and local divergence align.
They are not guaranteed turning points.
Step 5: Respect the Directional Imbalance
If the higher-timeframe candle context is strongly bearish, a minor bullish divergence alone may not be enough to justify a reversal thesis, and vice versa.
Indicator Limitations
Confirmed divergence necessarily appears after the pivot forms, which introduces intentional timing delay
Higher-timeframe pattern quality depends on the selected timeframe and instrument behavior
RSI divergence can persist without immediate reversal in strong directional markets
Projection objects are context tools, not price targets
Originality Statement
Harbor Reversal Ledger is designed as a confluence ledger rather than a single-pattern reversal marker.
Its distinguishing structure comes from pairing completed higher-timeframe candle analysis, confirmed divergence, distance scoring, projected context, and pane-based confluence visualization into one disciplined, non-repainting timing framework.
Disclaimer
This indicator is provided for educational and informational purposes only.
It is not financial advice and should not be used as a standalone reason to enter or exit a market.
All reversal readings are based on historical chart data and can fail, especially in strongly trending or event-driven conditions.
Use proper risk management and independent judgment.
Indicator

$crooge's - A.R.C. [Final]Overview
The A.R.C. Master (Adaptive Ratchet Channel) is a comprehensive trend-following and risk management engine designed for traders who demand precision across different asset classes. Unlike static indicators that fail when volatility spikes, the A.R.C. Master uses a dynamic "Ratchet" logic that recalibrates in real-time based on the specific Character of the asset you are trading.
Whether you are scalping NASDAQ:SNDK on the 1-minute chart or swing trading the S&P 500, this script provides a clear, institutional-grade "line in the sand" for every trade.
Key Features
1. ⏱️ Modular Strategy Horizons
No more changing settings every time you switch timeframes. The A.R.C. Master features four hard-coded modes that automatically adjust the engine’s sensitivity:
SCALP MODE (1m-2m): Ultra-tight tracking for momentum bursts.
INTRADAY MODE (5m-15m): Balanced smoothing for the "daily grind."
SWING MODE (1h-4h): Filters out intraday noise to capture multi-day trends.
TREND MODE (Daily): Focuses on major structural market shifts.
2. 💎 Asset Character Calibration
Different assets breathe differently. This script includes 10 pre-tuned presets to match the unique volatility profiles of:
INDICES: SPY, QQQ, SPX (Uses close for structural stability).
CHIPS / SEMIS: NASDAQ:SNDK , NASDAQ:NVDA , NASDAQ:MU (Optimized for high-velocity gaps).
EV SECTOR: NASDAQ:TSLA , NASDAQ:RIVN (Handles aggressive retail sentiment).
CRYPTO / BTC: Optimized for 24/7 high-beta volatility.
Also includes: Energy, Growth, Leveraged 3x, Forex, Retail, and Biotech.
3. 🏦 Institutional Volume Detection
Stop guessing where "Big Money" is entering. The script monitors volume relative to a 20-period average:
White Bar (Inst. Buy): High-volume absorption at support.
Orange Bar (Inst. Sell): Heavy distribution at resistance.
Visuals can be toggled on/off to keep your charts clean.
4. ⚙️ The "Zero-Reset" Override (New)
For specialized tickers or extreme market events, you can manually override the Volume Threshold or Scalar sensitivity.
The Power of Zero: Simply set the override to 0 to instantly revert to the optimized sector presets.
How to Use the A.R.C. Master
The Entry: Look for the Ratchet Line to flip Cyan (Bullish). Entry is highest conviction when a White Institutional Bar appears right as the price touches the Ratchet Line.
The Hold: As long as the price stays above the Cyan line, the trend is intact. The "Ratchet" will move up with the price, locking in unrealized gains.
The Exit: A candle close below the Ratchet Line (turning the line Pink) is a signal of a structural trend break. Exit or flip bias immediately.
Technical Breakdown
Core Engine: Adaptive ATR-based volatility buffer combined with dual-EMA smoothing.
Source Logic: Intelligently switches between hlcc4 (for volatile sectors) and close (for indices) to ensure you aren't stopped out by rogue wicks.
Disclaimer: Trading involves significant risk. The A.R.C. Master is a tool to assist in decision-making and does not guarantee profits. Use proper stop-losses and risk management at all times. Indicator

Pan Sniper Hybrid V12.7.6 CompleteTitle: Pan Sniper Hybrid V12.8 - Multi-Strategy SMC & Volumetric Signals
Description:
Pan Sniper Hybrid V12.8 is a comprehensive trading tool designed for professional scalpers and day traders. It combines Market Structure Analysis (SMC), Volumetric Delta Analysis, and FX Market Sessions into a single, high-performance indicator.
This script is optimized for lower timeframes (1m, 5m, 15m) to identify high-probability reversal and trend-following setups.
Key Features:
Automatic Market Structure: Real-time labeling of HH, HL, LL, LH to help you identify trend shifts and institutional order flow.
Volumetric Delta Signals: Includes Bull (🐂) and Bear (🐻) signals based on real-time Volume Delta calculations from lower timeframe data.
Shark SFP (Swing Failure Pattern): The Shark (🦈) signal identifies liquidity sweeps at key structural highs and lows—perfect for catching sharp reversals.
AMD Session Boxes: Automatically plots Asia, London, and New York sessions with visual boxes (Accumulation, Manipulation, Distribution) to help you trade session highs and lows.
Dynamic Fibo Zones: Features upper and lower Fibonacci-based bands to identify overextended price levels (Overbought/Oversold).
Gaussian Trend Filter: A smooth trend-following baseline that changes color based on market momentum.
How to use:
For Scalping (1m/5m): Increase the Shark % and Pivot Lookback in settings to filter out minor price noise.
Trend Confirmation: Look for Bull/Bear signals that align with the Gaussian Filter color.
Session Trading: Use the Opening Range (Yellow/Pink lines) as a breakout or mean-reversion boundary during major market opens.
Settings Highlights:
Signal Sensitivity: Fully customizable thresholds for Bull, Bear, and Shark signals to match your risk appetite.
MACD Customization: Adjustable Fast/Slow lengths to fine-tune signal entry timing.
Disclaimer: This indicator is for educational and analytical purposes only. It does not constitute financial advice. Past performance does not guarantee future results. Indicator

GS Signal Indicator Final## GS Signal Indicator — Beginner Description
* **GS Signal Indicator** helps you know when a stock is ready, still active, risky, or invalidated.
* It is best used on the **30-minute** and **1-hour** charts.
* The indicator combines trend, momentum, volume, candle strength, and risk into simple signals.
* The system now uses simple signal names:
```text
A = strongest setup
B = main buy setup
```
---
## Main Signals
* **A**
Strongest signal. Best-quality setup.
* **B**
Main buy signal. Structure and timing are both aligned.
* **A↑**
The stock was already in a trade and later upgraded to **A**.
This is usually a confirmation/hold signal, not automatically a new entry.
* **Warn**
Risk is increasing. Be careful, tighten risk, or monitor the trade.
* **Exit**
Exit or avoid. The setup is invalidated.
---
## Screener Status
* **Top A + 1H**
Best condition. 30m has **A** and 1H supports it.
* **Top B + 1H**
Strong condition. 30m has **B** and 1H supports it.
* **30m Only**
30m has **A** or **B**, but 1H is not supporting yet.
* **1H Only**
1H has **A** or **B**, but 30m is not ready yet.
* **Active**
An old **A/B** signal is still valid because no **Warn** or **Exit** appeared after it.
* **Warn**
A warning appeared after the last **A/B** signal. Do not chase.
* **Exit**
An exit appeared after the last **A/B** signal. Ignore the old signal.
The screener version you uploaded is designed to detect actionable states, keep old A/B-type signals visible while no later risk or exit appears, and mark risk/exit status after the last signal.
---
## How to Use It
* Use **30m** for entry timing.
* Use **1H** for confirmation.
* Focus mainly on:
```text
A = strongest setup
B = main buy setup
```
* Best alerts:
```text
Top A + 1H
Top B + 1H
```
* If status is **Active**, the old signal may still be valid, but do not chase if price is already far from the signal area.
* If status is **Warn**, avoid new buying unless a fresh **A** or **B** appears later.
* If status is **Exit**, the old setup is no longer valid.
---
## Simple Trading Rule
```text
Buy / Focus: A or B
Best Quality: Top A + 1H or Top B + 1H
Still Review: Active
Be Careful: Warn
Avoid / Exit: Exit
```
---
## Best Settings
* **Timeframe:** 30m or 1H
* **Display Mode:** Clean
* **Show Dashboard:** ON
* **Show Entry / Stop / Targets:** ON
* **Confirm Candle Close:** ON
Disclaimer
* This indicator is for education and analysis only.
* It does not guarantee profits.
* Always use proper risk management.
Indicator

RSI Predictive DivergenceRSI Predictive Divergence — Forming Divergence Detector
OVERVIEW
This indicator detects RSI divergences in two stages: a forming stage (early warning) and a confirmed stage (classic pivot-based). The forming stage is the unique component — it uses linear regression slope analysis to identify divergence conditions building up in real time, before a pivot is confirmed.
HOW IT WORKS
1. Slope Calculation
The indicator computes linear regression slopes for both RSI and price over a user-defined lookback period (default 5 bars). The price slope is ATR-normalized so that the comparison works consistently across different instruments and timeframes.
2. Slope Angles
Both slopes are converted to angles in degrees using the arctangent function. This gives a normalized way to compare RSI direction against price direction.
3. Opposition Counter
A counter tracks how many consecutive closed bars show opposing slopes (price down + RSI up = potential bullish divergence; price up + RSI down = potential bearish divergence). When the counter reaches the user-defined threshold (default 5 bars), a forming divergence is flagged.
4. Strength Score (0-100)
A composite score is calculated using three factors:
- Angle difference between RSI and price slopes (50% weight)
- Duration of slope opposition (30% weight)
- RSI zone context — oversold/overbought adds weight (20% weight)
Users can set a minimum strength threshold to filter low-quality signals.
5. Confirmed Divergence
Classic pivot-based divergence detection runs in parallel using RSI pivot highs and lows compared against price pivots. An anti-overlap gate prevents same-type labels from clustering too closely (default 8 bars minimum spacing).
NON-REPAINTING DESIGN
- All slope counters update only on confirmed bars (barstate.isconfirmed)
- Forming signals trigger only after bar close
- Confirmed divergence labels are drawn at the pivot bar, naturally
lagging by the pivot lookback period
- No lookahead_on, no future data access
INPUTS
- RSI Length, Source, Overbought/Oversold levels
- Slope lookback bars and minimum opposite-slope bars
- Minimum strength threshold for forming signals
- Pivot lookback for confirmed divergence
- Anti-overlap spacing between confirmed labels
- Label style: Compact, Icon Only, or Full
- Dashboard position, size, and compact/full mode
- Color customization for bullish, bearish, forming, and neutral states
DASHBOARD
A status table shows RSI value, RSI zone, slope angle difference, and live forming-divergence status with strength meters for both directions. Two display modes: Compact (7 rows) for minimal footprint or Full (10 rows) with detailed slope angles.
ALERTS
Four alert conditions available:
- Forming Bullish Divergence
- Forming Bearish Divergence
- Confirmed Bullish Divergence
- Confirmed Bearish Divergence
HOW TO USE
Forming divergences are early-warning signals — they indicate that divergence conditions are building. Wait for higher strength readings (60+) before acting, and combine with price-action context such as support/resistance, trend, and volume. Confirmed divergences provide
classical pivot-based signals after pivot formation. This indicator works across all timeframes.
NOTES
This is a technical analysis tool intended for educational and informational purposes. Past performance of any divergence signal does not guarantee future results. Always apply proper risk management and combine with your own trading methodology.
CREDITS
Original implementation. Uses standard RSI and pivot logic from PulseWire's built-in functions combined with original slope-angle analysis methodology. Indicator

Structure Bias OscillatorThis is a rebranding of the Trend Bias Oscillator in order to add clarity to the logic and intent of this indicator.
**Structure Bias Oscillator (SBO)**
**What It Does**
The Structure Bias Oscillator tells you which side of the market has structural control — and how committed price is to that direction. It watches for moments when price breaks through a recent swing high or swing low. When that happens, it locks in a directional bias and tracks where price sits within that structure's range until the opposite break occurs. It's a bias meter, not a prediction tool. It reflects what the market has already confirmed through price action.
---
**How to Read It**
The oscillator displays as a histogram running from –100 to +100, centered on a zero line.
+50 to +100 means price is deep into bullish structure. +50 and below means bullish bias is confirmed but price hasn't pushed far into the range yet. Zero means no structural break has occurred or the market is at equilibrium. –50 and above means bearish bias is confirmed but price hasn't pressed far into the range yet. –100 to –50 means price is deep into bearish structure.
Color reinforces this — bright lime at bullish extremes fading to softer green in the mild zone, bright red at bearish extremes fading to softer red, and gray when there's no active bias.
A signal line runs over the histogram to smooth out bar-to-bar noise. When the histogram crosses above the signal line, structural bias is building to the upside. When it crosses below, bearish pressure is growing.
---
**Controls**
**Bars Left** — How many bars to the left the indicator looks when identifying a swing high or low. Higher values mean only more significant, widely-spaced pivots are recognized. Lower values make it more reactive to recent swings. Default is 20.
**Bars Right** — How many bars to the right must close before a swing is confirmed. Higher values produce cleaner, more reliable pivots but add lag. Default is 5.
**Non-Repaint Mode** — When on, signals only trigger on fully closed bars. This prevents the indicator from changing its read mid-candle, which is critical for reliable alerts and backreference. Leave this on unless you have a specific reason not to. Default is on.
**Show Signal Line** — Toggles the smoothing line on or off. Turn it off for a clean histogram-only view.
**Signal Type** — How the signal line is calculated. EMA reacts fastest to recent changes. SMA weights all bars equally. WMA gives more weight to recent bars in a linear way. RMA is the smoothest and slowest, best suited for higher timeframes. Default is EMA.
**Signal Length** — How many bars go into the signal line calculation. Shorter values keep it close to the histogram. Longer values produce a smoother, slower line that filters more noise. Default is 5.
**Signal Color and Width** — Visual only. Adjust to match your chart theme and preferred line thickness.
---
**Alerts**
Two alert conditions are built in and available directly from PulseWire's alert panel.
Buy Signal fires when price breaks above the most recent confirmed swing high for the first time, shifting structure to bullish. Sell Signal fires when price breaks below the most recent confirmed swing low for the first time, shifting structure to bearish.
---
**What Makes This Indicator Unique**
Most oscillators — RSI, MACD, Stochastic, and their derivatives — are momentum tools. They measure the speed or magnitude of price movement. They don't know or care about market structure. They can read bullish while price is collapsing inside a bearish structure, and bearish while price is grinding higher inside a bullish one. You're constantly having to mentally reconcile the oscillator against the chart context yourself.
The SBO skips momentum entirely. It is built exclusively around structure — specifically, breaks of confirmed swing highs and lows. It doesn't fire until structure actually changes. Once it does, the bias is locked and held until the opposite structural event occurs. This means the oscillator and the chart are always in agreement by design, not by coincidence.
The closest existing tools are the Market Structure Oscillator by LuxAlgo and the Structural Range Oscillator on PulseWire. Both incorporate structure in some form. But the LuxAlgo version blends multiple timeframes with weighted period logic, making it more of a composite trend tool than a pure structural read. The Structural Range Oscillator measures price position within a range but doesn't anchor itself to confirmed break events — it adapts continuously rather than locking in on a structural shift.
The SBO does one thing the others don't: it treats a break of structure as a state change, not a score. The bias either flipped or it didn't. And once it has, every subsequent bar is measured against the range that break defined — giving you a normalized, bounded read of how far price has moved into that structural territory. That combination of event-driven bias locking and range-normalized positioning is what separates it from every other structure-adjacent tool currently available.
It also ships with a non-repaint mode on by default, which is not a given on PulseWire. Most public indicators that claim non-repainting behavior bury the logic or leave it optional and off. Here it's the default — because a structural bias tool that repaints on you mid-candle is useless for anything other than chart decoration.
---
**What This Indicator Is — and Isn't**
The SBO is a structural state indicator, not a momentum oscillator. It doesn't measure how fast price is moving — it measures what structure has committed to. Once a structural break occurs, the bias holds until the opposite break happens. With non-repaint mode on, it won't change its read mid-candle.
Use it as a bias filter alongside your existing entries and exits. Confirm you're trading in the direction of active structural bias before taking a position. Indicator

Strategy

Strategy

Schmitt Hysteresis Momentum [forexobroker]Schmitt Hysteresis Momentum applies a textbook control-theory Schmitt trigger to rate of change. Two ATR-scaled thresholds (one positive, one negative) form a hysteresis band: state flips up only when RoC clears the upper threshold, flips down only when RoC clears the lower. Within a held state, EMA crosses provide entry timing — multiple entries per state without flip-flop.
🔶 ALGORITHM
1. RoC = (close - close ) / close .
2. Adaptive thresholds: upper = +k * (atr / close); lower = -k * (atr / close).
3. State machine: state := +1 if RoC > upper, -1 if RoC < lower, hold previous otherwise.
4. EMA cross within state direction provides the entry trigger.
🔶 SIGNAL LOGIC
- Buy: state == +1 AND close crosses EMA up AND not already long AND cooldown elapsed AND barstate.isconfirmed.
- Sell: state == -1 AND close crosses EMA down.
- Position-lock state machine.
🔶 INPUTS
- RoC Lookback (default 10)
- Pullback EMA Length (default 8)
- Threshold k x ATR Pct (default 0.30)
- Cooldown Bars (default 4)
- Visual: dashboard, glow, EMA toggle, buy / sell colors
🔶 ALERTS
SHM Buy, SHM Sell, SHM Any Signal, SHM Bull Lock, SHM Bear Lock, SHM Upper Cross, SHM Lower Cross, SHM EMA Up, SHM Webhook JSON.
🔶 LIMITATIONS
- Hysteresis prevents flip-flop but slightly lags one-shot regime changes vs single-threshold logic.
- ATR-scaled thresholds are stationarised by atr_pct; very low-volatility periods can leave the state stuck for many bars without entries.
- RoC lookback length affects responsiveness; defaults assume 5m to 1H bars.
- This is a momentum-state engine, not a trend-strength meter; it tells you what regime you are in, not how strong it is.
Indicator
