Roboballs42 Auto Bull/Bear Flag (ZigZag) + Targets [Parallel]Roboballs42 • Auto Bull/Bear Flag (ZigZag) + Targets automatically detects bull flags and bear flags using a ZigZag-style pivot engine, draws a parallel flag channel anchored back to the flagpole (xB), and projects the channel only a limited number of bars into the future (no infinite rays).
While a flag is active, the script shows a live breakout arrow as soon as price breaks the channel intrabar. Once the breakout confirms, the arrow locks at the breakout candle and the flag is considered complete. Patterns that get invalidated (price breaks the “wrong side” of the flag) are automatically deleted to keep the chart clean.
If you enjoy this indicator and want to support the project, BTC donations are appreciated:
bc1qvda8daynuqhpx8e9g07ddyelhpmv4ja5wc9cmm
Key Features
Auto Bull Flags + Bear Flags
Parallel channel that extends left to the flagpole (no incomplete flags)
Limited forward projection (Projection bars) to avoid endless lines
Live breakout arrow (realtime) + locked arrow on confirmation
Measured-move target plotted on confirmed breakout
Invalidation cleanup (delete patterns when price violates the wrong side)
Custom controls: pivot sensitivity, pole size (ATR), flag depth %, max flag length, touch tolerance, breakout type, invalidation type, and memory limits
Notes
“Early pivots” can repaint like a standard fast ZigZag.
This indicator is a pattern-visualization tool, not financial advice.
Indicateurs et stratégies
Q-Trend + Keltner Squeeze ZonesThe indicator you are using is a **custom combination** of two distinct tools overlaid on the same chart in TradingView: **Q-Trend** (by tarasenko_) and a **Keltner Channel Squeeze** setup (with Bollinger Bands for squeeze detection). The result is a visual system designed to identify trend direction and manage positions with volatility-aware levels.
### 1. Q-Trend Component
**Purpose**: Determines the overall trend bias and generates entry/continuation signals.
**How it works** (core logic):
- It calculates a dynamic **trend line** (often labeled "Q-Trend Line" when visible) as the midpoint between the highest and lowest price over a long lookback period (default 200 bars).
- An **ATR-based buffer** (epsilon = ATR × multiplier, default 1.0) is added/subtracted to create upper and lower threshold bands around this trend line.
- Signals occur when price crosses or decisively moves beyond these thresholds:
- **Buy signal** → price breaks above the upper threshold (trend line + epsilon).
- **Sell signal** → price breaks below the lower threshold (trend line – epsilon).
- **Strong signals** incorporate additional conditions based on proximity to recent range extremes.
- Bar coloring (blue for bullish, red for bearish by default) and optional labels/arrows reinforce the trend direction.
**Practical role in your setup**:
- Acts as the **primary trend filter**.
- You only consider long positions when the chart shows bullish coloring/signals, and short positions when bearish.
### 2. Keltner Channel Squeeze Component
**Purpose**: Identifies periods of low volatility (compression) and potential directional breakouts, while providing dynamic support/resistance and trailing levels.
**How it works**:
- **Center line** → 20-period EMA of close (orange when visible) — serves as your visual midpoint reference.
- **Inner bands** → Center ± (ATR × inner multiplier). Default inner = 1.8 ATR.
- **Outer bands** → Center ± (ATR × outer multiplier). Default outer = 3.3 ATR.
- **Bollinger Bands** (optional, default hidden) → 20-period SMA ± 2 standard deviations — used only internally to detect a **squeeze** (when BB width < inner Keltner width).
- **Squeeze breakout arrows**:
- Lime up arrow below bar → bullish breakout (close above upper inner band after squeeze).
- Red down arrow above bar → bearish breakout (close below lower inner band after squeeze).
- **Labels** appear at key events:
- "SQUEEZE BREAK UP" / "SQUEEZE BREAK DOWN" on initial breakout.
- "REBALANCE UP" / "REBALANCE DOWN" when price returns inside the inner band after a breakout (potential mean-reversion or failure).
**Visual zones** (when fills are enabled):
- Upper red zone (between inner and outer upper bands) → potential short/rejection area in downtrends.
- Lower blue zone (between inner and outer lower bands) → potential long/rejection area in uptrends.
### Your Overall Strategy (as Described)
This is a **trend-following system with volatility-based scaling and protection**. It is designed to enter/add to positions in the direction of the prevailing trend while using the Keltner structure for timing and risk management.
**Key rules you follow**:
1. **Trend filter first** — Confirm direction with Q-Trend:
- Bullish (blue bars, Buy/Strong Buy signals) → only consider long trades.
- Bearish (red bars, Sell/Strong Sell signals) → only consider short trades.
2. **Addition (scaling in)**:
- In an **uptrend**: Add to longs when price pulls back **below the centerline** (mid Keltner/EMA) or touches/rejects the **inner lower band**.
- In a **downtrend**: Add to shorts when price rallies to the **inner upper band**.
- Rationale: These are temporary retracements within the trend, not reversals. Scaling here improves average entry price.
3. **Entry trigger**:
- Often initiated or confirmed by a Q-Trend Buy/Sell signal.
- Keltner breakout arrows (lime/red) can provide additional timing confirmation.
4. **Trailing stop-loss**:
- For **long positions**: Trail stop-loss below the **outer lower band** (lower_outer).
- For **short positions**: Trail stop-loss above the **outer upper band** (upper_outer).
- As price moves favorably, the outer band follows (via the shifting EMA + ATR), automatically locking in gains.
- Activate/tighten the trail upon entry (e.g., after a Buy signal or breakout arrow).
**Risk considerations**:
- Use position sizing appropriate to account risk (e.g., 1–2% per trade).
- The outer bands widen in high volatility → more room to breathe but larger potential loss.
- Avoid forcing trades in choppy/range-bound markets (Q-Trend signals become less reliable).
- Backtest on your specific instrument/timeframe (e.g., futures like ES/NQ) to validate behavior.
This setup rewards patience: wait for clear trend alignment (Q-Trend), add on volatility-supported pullbacks (Keltner inner/mid), and let winners run while protecting with adaptive trailing levels (Keltner outer). If you would like clarification on any parameter, visual adjustment, or addition of alerts for your exact rules, please specify.
stelaraX - Auto FibonaccistelaraX – Auto Fibonacci
stelaraX – Auto Fibonacci is an automatic Fibonacci plotting indicator that detects recent pivot highs and pivot lows and draws Fibonacci retracement and extension levels across the latest swing range. The script updates dynamically whenever a new pivot is confirmed, providing an always-current Fibonacci map without manual drawing.
For advanced AI-based chart analysis and automated Fibonacci interpretation, visit stelarax.com
Core logic
The indicator detects swing pivots using a user-defined pivot lookback:
* pivot highs are detected using pivot high confirmation
* pivot lows are detected using pivot low confirmation
When a new pivot is confirmed and both a recent high and low are available, the script:
* defines the swing range between the latest pivot high and pivot low
* draws Fibonacci levels across that range
* extends the levels forward by a configurable number of bars
The plotted level set includes retracements and extensions:
* -0.618 and -0.272
* 0.0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0
* 1.272 and 1.618
Extensions can be enabled or disabled via a dedicated setting.
Visualization
Fibonacci levels are plotted as horizontal lines and labeled with:
* the Fibonacci ratio
* the corresponding price value
Colors are assigned based on level type:
* 0 and 1 levels use a dedicated highlight color
* 0.5 uses a key level color
* standard retracement levels use a base fib color
* extension levels use a separate extension color
When a new pivot forms, the indicator clears the previous Fibonacci drawings and redraws the full set to keep the chart clean and current.
Use case
This indicator is intended for:
* automatic Fibonacci retracement mapping on the latest swing
* identifying potential reaction levels for pullbacks and continuations
* projecting extension targets beyond the current range
* level-based confluence with structure, liquidity, and zones
* multi-timeframe Fibonacci alignment
For a fully automated AI-driven chart analysis solution, additional tools and insights are available at stelarax.com
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
Cyberpunk MACD Pulse EngineDescription
The Cyberpunk MACD Pulse Engine is a high-performance trend momentum oscillator designed for the modern trader operating in high-volatility environments. It reimagines classic MACD logic through a futuristic HUD (Head-Up Display) aesthetic and is now equipped with "Tactical Mode" switching capabilities—allowing you to swap your analytical focus instantly, much like upgrading hardware in a high-tech sprawl.
Core Systems
・Four Tactical Presets: Instantly recalibrate the engine between Standard, Fast (Scalp), Slow (Swing), or Neural Spike (Hyper-reactive) to match your specific trading style.
・Pulse Histogram: Features dynamic transparency and neon-fused clarity to visualize momentum acceleration and deceleration in real-time.
・Dual-Core Lines: MACD and Signal lines are rendered with a "Neon Glow" effect for maximum visibility during intense sessions.
・System Status HUD: An integrated interface in the top-right corner that monitors current status and active Tactical Mode without cluttering your focus.
・Optimized Logic: Built on Pine Script V5 to ensure lightweight, latency-free performance.
How to Use
1. Identify the Signal: Watch for the "System Reboot" (Cyan Triangle) for bullish reversals and "System Critical" (Magenta Triangle) for bearish shifts.
2. Monitor Intensity: When the histogram glows intensely, momentum is at its peak.
3. Tactical Tip: Use Neural Spike for spotting sudden volatility spikes, and switch to Slow (Swing) to confirm if the primary higher-timeframe trend is still intact.
概要
Cyberpunk MACD Pulse Engineは、現代のトレーダーのために設計された高性能トレンド・モメンタム・オシレーターです。クラシックなMACDを近未来的なHUD(ヘッドアップディスプレイ)の美学で再構築しただけでなく、状況に応じて設定を瞬時に換装できる**「タクティカル・モード」**を新たに搭載しました。ハイテク都市のハードウェアをアップグレードするように、分析の焦点を即座に切り替えることが可能です。
主な機能
・4つのタクティカル・プリセット: Standard、Fast (スキャルピング)、Slow (スイング)、Neural Spike (超高感度反応) から、自身のトレードスタイルに合わせてエンジンを即座に再調整できます。
・パルス・ヒストグラム: ネオンが融合したクリアな視覚効果と動的な透明度変化により、モメンタムの加速と減速をリアルタイムに視覚化します。
・デュアルコア・ライン: MACDとシグナルラインに「ネオングロー」エフェクトを施し、ボラティリティの高い局面でも最高の視認性を確保。
・統合HUD: ペインの右上に、現在のトレンドステータスと選択中のモードをフィードバック表示。集中力を削ぐことなく状況を把握できます。
・最適化されたロジック: Pine Script V5をベースに、軽量な動作とラグのない描画を実現しました。
使用方法
1. シグナルの確認: 強気の反転を示す「System Reboot(シアンの三角)」と、弱気への転換を示す「System Critical(マゼンタの三角)」に注目してください。
2. 勢いの測定: ヒストグラムの発色が鮮やかになった時、トレンドの勢いが最大に達していることを示します。
3. タクティカル・チップ: 急なボラティリティを検知するにはNeural Spikeを使用し、主要なトレンドが維持されているか確認するにはSlow (Swing)に切り替えて分析を補完してください。
[CT] MTF CISD w/ExtensionsThis indicator is a modified version of “Change in State of Delivery CISD” originally created by © AlgoAlpha and released under the Mozilla Public License 2.0. The core CISD logic, including how the script identifies qualifying bullish and bearish state changes and how it draws the original CISD levels, comes from AlgoAlpha’s work. The version you are using has been modified by © ChaosTrader63 to add multi time frame CISD functionality, optional HTF labeling and styling controls, and a configurable method to extend a user selected number of the most recent current time frame CISD levels beyond the last candle.
At its core, CISD is designed to identify moments when price behavior suggests a meaningful shift in control, where one side of the market has effectively “taken delivery” and the prior state has changed. The script watches price swings, then tracks specific candle state transitions that can act like triggers. When the conditions are met, it prints a CISD level as a horizontal line originating from the candle that defined the trigger and extending to the detection candle, creating a clear reference level that can behave like a decision point for future price interaction. In practice, those levels often act as areas where price may react, reject, or accept, because they represent the point where a meaningful state change was confirmed by price behavior rather than by a simple moving average or lagging trend filter.
The indicator also includes swing based liquidity tracking to provide context around potential liquidity events. It detects swing highs and swing lows using a pivot period you control, then maintains those swing levels as “liquidity lines” until they are either mitigated or expire after a set number of bars. When price wicks into one of those swing liquidity levels and confirms the mitigation, the script records that event. If a CISD trigger happens shortly after, and the new state change occurs with evidence that opposing liquidity was just taken, the script flags that as a stronger event by marking it on the chart. This is meant to separate normal CISD signals from those that occur after a sweep, because a sweep plus a decisive state change is often more meaningful than a state change that happens in the middle of noise.
The user controls in the calculations section determine how sensitive or selective the CISD detection is. The noise filter controls how strict the script is about qualifying the internal structure that leads to a CISD event. Higher values reduce noise and typically produce fewer, more selective CISD levels, while lower values will produce more frequent levels that may be less reliable in choppy conditions. The swing period controls how far back the script looks when identifying pivot highs and lows, which changes how “major” a swing must be to count as liquidity. The expiry bars setting controls how long older liquidity levels remain active before they stop updating or are removed, and the liquidity lookback determines how recently a swing mitigation must have occurred for the script to treat the CISD as happening with a sweep.
Visually, the script colors candles based on the current CISD trend state. When a bearish CISD is detected, the trend state flips bearish and candles are shaded using the bearish color with a user controlled transparency blend, and when a bullish CISD is detected the trend state flips bullish and candles are shaded using the bullish color. This makes the tool useful not only for marking levels, but also for keeping a simple “state” view on the chart so you can see when the indicator believes control has shifted. If you enable the option to use HTF trend for candle coloring, then the candle shading can reflect the higher time frame trend state instead of the local chart state, which is helpful when you want to trade a lower time frame while staying aligned with the higher time frame CISD bias.
The modifications add a higher time frame CISD layer so you can see more significant CISD levels from a chosen HTF while trading on a lower time frame chart. When enabled, the script computes CISD on the higher time frame through a request security call and then draws HTF CISD lines onto your current chart. You can require confirmed HTF signals only, which means the HTF CISD will print only after the HTF candle closes, reducing repaint style behavior and preventing the level from appearing and disappearing mid-candle. The HTF CISD lines keep the original bullish and bearish color scheme, and you can choose whether they render as solid or dashed to visually separate HTF structure from current time frame structure. The script can also place a label on the HTF CISD level, showing the selected HTF, for example “15 min HTF CISD,” and you can control the label background color, text color, size, and a horizontal offset so the label sits to the right of the current price rather than directly on top of the level.
The other key modification is the extension system for the current time frame CISD levels. The original script draws CISD levels from the origin candle to the detection candle, which is the “normal” behavior and is still preserved for all CISD levels. The enhancement allows you to choose how many of the most recent current time frame CISD levels you want to extend past the last candle by a defined number of bars. This is designed for traders who want their freshest decision levels projected into the future so they can be used as immediate references for reaction, acceptance, rejection, entries, or targets, without cluttering the chart by extending every single historical level. Because the extension uses the original line and simply moves the line’s end point to bar index plus your offset, it extends cleanly from the true starting point with no visual gap, and it automatically updates as new bars print. When a level is no longer within the most recent group, the script restores the original endpoint so older CISD lines revert back to normal and do not continue extending.
To use the indicator effectively, start by choosing whether you want it to be a current time frame decision tool, a higher time frame structure tool, or both. If you are trading lower time frames, enabling HTF CISD with confirmed only is usually the cleanest way to stay aligned with the dominant structure while avoiding levels that shift during an unclosed HTF candle. Then tune the swing period and noise filter to your market. If you are seeing too many levels in chop, increase the noise filter and consider a longer swing period so only larger structural transitions qualify. If you are missing important shifts, reduce the noise filter slightly so the script becomes more responsive. For execution, treat CISD levels like state change reference prices. When price returns to a bullish CISD level, look for acceptance above it to confirm continuation or rejection below it to warn of failure, and do the inverse for bearish levels. The liquidity sweep markers are especially useful as a context filter, because a CISD that occurs after a sweep often represents a more forceful transition where one side grabbed liquidity and then reversed state, which can create cleaner follow-through or stronger reaction zones.
Overall, this modified version keeps AlgoAlpha’s original CISD and liquidity framework intact, but adds the two things traders typically need when using a state change concept in live execution: the ability to overlay higher time frame CISD structure on a lower time frame chart, and the ability to project only the most relevant recent CISD levels into future bars so the levels are immediately actionable without turning the chart into a wall of extended lines.
Adaptive Buy Sell Signal [AvantCoin]
A comprehensive customized indicator for different markets
🔴Before you start🔴:
Please note that this tool is designed to assist you in analyzing the market, and NOT to make buy/sell decisions for you. You should combine its data with your own strategies and indicators before making any trading choices
====================
Market-Specific Optimizations
Auto-Detection (or Manual Selection)
It automatically detects which market you're trading:
Forex (EUR/USD, GBP/USD, etc.)
Stocks (AAPL, TSLA, etc.)
Indices (NAS100, SPX, etc.)
Commodities (Gold, Silver, Oil)
Crypto (BTC, ETH, etc.)
avantcoin.com
Forex-Specific Features:
✅ Session Filters: Avoids low-liquidity Asian session
✅ Session backgrounds: Green for London/NY overlap (best trading time)
✅ Tighter ADX threshold (20) - good for Forex trends
✅ Lower volatility filter - skips dead zones
⚙️ Min Confluence: 5 (balanced)
⚙️ Cooldown: 5 bars
⚙️ Volume threshold: 1.3x (Forex has consistent volume)
avantcoin.com
Stocks-Specific Features:
✅ Market hours filter: Only signals during NYSE hours.
✅ Gap detection: Avoids trading immediately after large gaps up/down
✅ Higher ADX threshold (22) - Stocks trend differently
✅ Stricter volume requirement (1.5x) - Stocks vary more
⚙️ Min Confluence: 6 (higher quality)
⚙️ Cooldown: 3 bars (stocks move faster)
Indices (Nasdaq, S&P; 500):
✅ Similar to stocks but slightly more lenient
✅ Lower ADX (18) - Indices are smoother
⚙️ Min Confluence: 5
⚙️ Cooldown: 4 bars
Commodities (Gold, Silver, Oil):
✅ Highest ADX requirement (23) - Only trade strong trends
✅ Higher volatility filter (1.6x) - Commodities can be wild
⚙️ Min Confluence: 6
⚙️ Cooldown: 6 bars (avoid whipsaws)
Crypto:
✅ 24/7 trading (no session restrictions)
✅ Lower ADX (15) - Crypto is always volatile
✅ Much higher volume threshold (2.0x) - Crypto volume spikes
⚙️ Min Confluence: 4 (crypto moves fast)
⚙️ Cooldown: 3 bars
📊 Visual Enhancements:
Market Type Badge at top of table (Forex, Stocks, etc.)
Session Status:
Forex: Shows 🟢 LDN/NY, 🔵 London, 🟠 NY, 🔴 Asian
Stocks: Shows 🟢 Open or 🔴 Closed
Session Background Colors on chart (optional)
Current Settings Display: Shows your Min score, ADX threshold, Cooldown
⚙️ How to Use:
For Forex:
Enable "Avoid Asian Session"
Best signals during London/NY overlap
For Stocks:
Enable "Trade Stock Hours Only"
Watch for gap warnings
avantcoin.com
ninjactor fib (v6, Native Pivots, Non-Repainting)📐 Fibonacci Sequence Framework (Non-Repainting)
This indicator implements a structured Fibonacci sequence framework using confirmed, non-repainting pivots.
It automatically identifies Fibonacci boundaries, plots a precise Fibonacci level set with grouped color logic, and projects targets based on retracement depth.
The script is designed for clarity, accuracy, and object-based plotting, extending Fibonacci levels to the right while active and maintaining a clean chart by default.
🔹 Core Features
Non-Repainting Fractals
Uses confirmed 2-left / 2-right pivots (ta.pivotlow, ta.pivothigh)
Pivot labels are plotted on the correct historical bar
Automatic Fibonacci Boundary Detection
Long spreads:
Boundary 1 = pivot low (100%)
Boundary 2 = first pivot high after (0%)
Short spreads use the inverted logic
Direction can be set to Auto, Long Only, or Short Only
Exact Fibonacci Level Set
Retracements:
0.236 · 0.382 · 0.500 · 0.618 · 0.786 · 0.886
Extensions (targets):
1.127 · 1.272 · 1.618
Negative levels included:
-0.127 · -0.272 · -0.618
Grouped Color Logic
Red: 0.236 / 0.382 / 0.500 / 0.618, 1.618, negative levels
Blue: 0.786, 1.272, boundary lines
Green: 0.886, 1.127
Active target is highlighted with increased line thickness
Strict “Must Touch” Logic
Retracement levels are only considered valid if price actually touches them
Wick-based validation (not close-based)
Target hits must be touched exactly — no partial credit
Target Projection Rules
Retracements ≤ 0.618 → target = 1.618
0.786 retracement → target = 1.272
0.886 retracement → target = 1.127
Clean Object Management
Uses line and label objects (not plots)
Levels extend right while active
By default, only the current active spread is displayed
Optional history toggle to keep previous spreads
⚙️ Customization
Fully customizable color inputs
Adjustable opacity for:
Non-active levels
Active target line
Direction mode selection
History on/off control
📌 Notes
This is an indicator, not a strategy (no trade execution)
Designed for discretionary trading and confluence analysis
Built to be stable, readable, and Pine Script v6 compatible
MAD RSIMAD RSI ~ by GForge
An adaptive trend-following indicator that combines RSI momentum with Median Absolute Deviation (MAD) volatility bands to identify trend direction, gauge regime strength, and generate entry/exit signals.
Core Concept
Most band-based indicators use Standard Deviation to measure volatility. The problem is that StdDev is highly sensitive to outlier candles — a single spike from news, earnings, or liquidation cascades can blow out the bands and distort signals. This indicator replaces StdDev with Median Absolute Deviation (MAD), a statistically robust volatility measure that resists outliers while still tracking genuine changes in market volatility. The result is more stable bands that better represent the true trading range.
RSI-Adaptive Mechanism
A smoothed RSI is calculated and used to dynamically scale the band width. The logic works as follows: when RSI is near 50 (neutral/indecisive), the bands stay at their base width. As RSI moves further from 50 in either direction — indicating stronger bullish or bearish momentum — the bands widen proportionally. This creates a self-adjusting system: during strong trends the bands expand to avoid premature exits, and during choppy consolidation they contract to keep signals responsive.
The RSI smoothing parameter applies an EMA on top of the raw RSI to control how quickly the adaptive multiplier responds. A low smoothing value makes the bands react quickly to momentum shifts. A higher value smooths out the adaptation, which can reduce whipsaws in noisy conditions.
Oscillator & Signal Logic
The indicator computes a Basis line (Simple Moving Average) and places the adaptive MAD bands above and below it. Price position within these bands is then normalized into an oscillator ranging from 0 to 100, where 0 means price is at the lower band, 50 means price is at the basis, and 100 means price is at the upper band.
Signals are generated when this oscillator crosses key thresholds:
A long signal fires when the oscillator crosses above the Long Threshold, indicating price has moved convincingly into the upper portion of the adaptive channel.
A short/exit signal fires when the oscillator crosses below the Short Threshold, indicating momentum has weakened and price is falling back within the channel.
The thresholds are independently configurable. For example, setting a Long Threshold of 80 means you require price to push well above the midpoint before entering, while a Short Threshold of 30 means you exit relatively early before price reaches neutral. This asymmetry can be tuned for different risk appetites — tighter thresholds produce more signals with smaller moves, wider thresholds produce fewer signals but filter out more noise.
Key Parameters
Source — the price input for all calculations. Close is standard, but hl2, hlc3, or ohlc4 can provide smoother behavior on volatile instruments.
RSI Length — controls the RSI lookback period. Longer values produce a smoother RSI that changes the adaptive multiplier gradually. Shorter values make it more reactive.
RSI Smoothing — additional EMA smoothing applied to the RSI before it feeds into the adaptive multiplier. Set to 1 for no extra smoothing.
Basis Length — the SMA period for the center line of the channel. This is the trend anchor. Longer values track slower trends, shorter values hug price more closely.
MAD Length — lookback for the Median Absolute Deviation calculation. Controls how many bars contribute to the volatility estimate. Longer values produce more stable bands, shorter values adapt faster.
Volatility Multiplier — the base scaling factor for band width before RSI adaptation is applied. Higher values widen the bands and reduce signal frequency. Lower values tighten them and increase signal frequency.
Visuals
A gradient cloud beneath price provides an at-a-glance read of trend regime and strength. Bar colors reflect the oscillator position. Signal markers appear as diamonds above and below bars.
Usage Notes
This is a tool to assist your analysis, not a standalone trading system. Always apply your own risk management and confirm signals with additional context.
Past performance does not guarantee future results.
Default settings are a starting point — optimize for your specific instrument, timeframe, and trading style.
The MAD calculation is particularly well-suited for instruments prone to sudden spikes or gap moves where Standard Deviation-based indicators tend to produce erratic signals.
Developed by GForge
Multi Trendlines from Pivots (>=3 Touches). DaliliIndicator Description
Multi Trendlines from Pivots (≥3 Touches)
This indicator automatically identifies and draws straight support and resistance trendlines based on confirmed price pivots. It is designed to approximate how a disciplined discretionary trader would draw trendlines, but does so algorithmically and consistently.
What it does
1. Pivot-based structure detection
The indicator first identifies swing highs and swing lows using a configurable pivot length. Only confirmed pivots are used, so lines do not repaint.
2. Line construction logic
For each side of the market:
• Pivot highs are used to construct resistance lines (drawn in red).
• Pivot lows are used to construct support lines (drawn in green).
All possible straight lines formed by pairs of pivots are evaluated.
3. Minimum touch requirement
A line is only considered valid if at least 3 pivot points fall on or very near that line. “Near” is defined by a volatility-adjusted tolerance using ATR (Average True Range), so the logic adapts across symbols and timeframes.
4. Multi-line output
The script does not stop at a single trendline. It draws as many valid lines as possible, up to a configurable maximum per side, prioritizing lines with the highest number of touches.
5. Dynamic updating
Lines are rebuilt only when new pivots form. Old lines are removed and replaced as structure evolves, keeping the chart clean and relevant.
Visual output
• Red straight lines: Resistance lines derived from pivot highs.
• Green straight lines: Support lines derived from pivot lows.
• Lines optionally extend to the right, projecting future support or resistance.
What it is not
• It does not curve or smooth lines.
• It does not use regression channels or moving averages.
• It does not rely on candle bodies unless explicitly modified.
• It does not repaint past structure.
Use case
This indicator is best suited for:
• Structural market analysis.
• Identifying confluence zones where multiple trendlines cluster.
• Swing trading and breakout/failure analysis.
• Overlaying objective structure on discretionary price action analysis.
If you want to further constrain it, the next logical refinements would be:
• Only downward-sloping resistance and upward-sloping support.
• Requiring touches to be higher highs or lower lows.
• Switching touches from pivots to raw candle highs/lows.
• Enforcing minimum bar separation between touches.
All of those can be layered on without changing the core architecture.
EMA Multi Cross + SR Breaks & RetestsDescription
The EMA Multi Cross with Support & Resistance Break & Retest indicator combines trend-following moving averages with dynamic support and resistance zone detection to help traders identify trend direction, momentum shifts, and key price reaction areas in real time.
The indicator plots multiple Exponential Moving Averages (EMAs) to provide a clear view of short-, medium-, and long-term trends while automatically detecting high-volume support and resistance zones. It also highlights when these zones break or successfully hold, helping traders spot potential continuation or reversal opportunities.
Key Features
Multi-EMA Trend System
The indicator displays EMA 9, 13, 15, 21, 50, and 200 to help traders quickly assess trend structure and market momentum.
EMA Crossover Alerts
Alerts can be triggered when important EMA crossovers occur, helping traders capture momentum shifts and potential entries.
Cross alerts included:
EMA 9 crossing EMA 15
EMA 9 crossing EMA 21
EMA 13 crossing EMA 50
EMA 21 crossing EMA 200
Both bullish and bearish signals are supported.
Dynamic Support & Resistance Zones
The script automatically detects potential support and resistance areas based on price pivots and volume activity, plotting them as zones directly on the chart.
Stronger zones appear darker, helping traders quickly identify important reaction areas.
Break & Retest Detection
When price breaks a support or resistance zone, the zone changes appearance to visually confirm the breakout. If price returns and holds the level, the zone adjusts back, signaling a possible continuation.
This helps traders identify:
Breakouts
Failed breakouts
Retests
Trend continuation setups
Customizable Display
Users can enable or disable support & resistance detection and adjust detection sensitivity according to their trading style.
Typical Use Cases
• Trend-following entries using EMA alignment
• Breakout trading
• Retest confirmation entries
• Scalping and intraday setups
• Swing trading trend confirmation
Z-Score Predictive Zones [AlgoPoint]Z-Score Predictive Zones
This indicator is an advanced evolution of the classic Z-Score (Standard Score) oscillator. Unlike traditional Z-Score indicators that use static overbought/oversold levels (e.g., +2.0 or -2.0), this script utilizes a dynamic memory system to identify where the market statistically tends to reverse based on recent history.
It provides a dual-view system: it displays the oscillator in the bottom pane and simultaneously projects those statistical extremes onto the main chart as Predictive Support and Resistance Zones.
1. Underlying Concept & Math
The core calculation is based on the Standard Score formula: Z = (Price - Mean) / Standard Deviation
- Adaptive Thresholds : The script detects pivot points (peaks and troughs) in the Z-Score history. It stores the most recent reversals (based on user-defined depth) and calculates the average level where the market has historically reversed.
- Reverse Engineering (Price Projection) : The script takes these average Z-Score reversal levels and reverse-engineers the formula to find the corresponding price on the main chart: Projected Price = Mean + (Target Z * Standard Deviation)
- Noise Reduction : The raw Z-Score is smoothed using a Volume Weighted Moving Average (VWMA) to reduce false signals.
2. Key Features
Dynamic Predictive Zones (Main Chart):
- Red Zone (Resistance) : Represents the price area where the Z-Score hits its historical average peak.
- Green Zone (Support) : Represents the price area where the Z-Score hits its historical average trough.
Note: These zones expand and contract based on market volatility (Standard Deviation).
Dual Visualization:
- Bottom Pane : Shows the Z-Score oscillator with the calculated dynamic steps.
- Main Chart : Uses force_overlay=true to draw the corresponding price channels directly on the candles, allowing for real-time price action analysis.
- RSI Gradient Coloring : The oscillator line changes color based on RSI (Relative Strength Index) values to provide additional momentum context (Purple/Blue gradients).
- Signal Dots : Plots small circles on the main chart when the price enters these extreme statistical zones, indicating a potential mean reversion opportunity.
3. How to Use
This indicator is best used for Mean Reversion strategies.
- Potential Short : When price enters the Red Zone (Upper Channel) and a red dot appears, the price is statistically overextended relative to its recent volatility profile.
- Potential Long : When price enters the Green Zone (Lower Channel) and a green dot appears, the price is statistically undervalued relative to the mean.
- Trend Warning : If the price candles close forcefully beyond these zones and the zones begin to widen rapidly, it may indicate a breakout or a strong trend initiation rather than a reversal.
4. Settings
- Z-Score Length : The lookback period for the Mean and Standard Deviation.
- Lookback Depth : How many past reversal points the script should "remember" to calculate the average zones.
- Reversal Thresholds : The minimum Z-Score value required to register a peak or trough as a valid data point.
- Visuals : Toggle signal dots on/off.
NTrades [IFVG Model + SMT]NTrades – IFVG Model + SMT
NTrades – IFVG Model + SMT is a multi-concept market structure indicator designed to identify high-probability intraday trading opportunities by combining Directional Fair Value Gaps (IFVG), Smart Money Technique (SMT) divergences, and Higher Timeframe (HTF) candle projections into one streamlined tool.
Key Features
✅ Directional IFVG Model
Detects and plots 15-minute Fair Value Gaps aligned with a selected daily market bias (Bullish or Bearish).
Filters FVGs using customizable lookback days and automatically extends zones for forward reference.
Focuses on post-NY open price inefficiencies for higher institutional relevance.
✅ SMT Divergence Detection
Identifies pivot-based SMT divergences between the main chart symbol and up to two external correlated markets.
Highlights bullish and bearish liquidity displacements using customizable styling.
Allows timeframe-specific SMT visibility for cleaner chart analysis.
✅ Adjacent 15M SMT Confirmation
Detects short-term SMT shifts between consecutive 15-minute candles.
Provides rapid confirmation of potential liquidity grabs and reversals using visual divergence lines.
✅ Higher Timeframe Candle Overlay
Displays projected HTF candles directly on the chart with optional Heikin Ashi smoothing.
Includes projected Open, High, Low, and Close levels for precision execution and context.
Supports automatic timeframe selection or fully customizable HTF settings.
✅ Advanced Customization
Adjustable visual styling for FVGs, SMT signals, and HTF candles.
Custom session opening time support.
Flexible projection levels and display options for cleaner workflow integration.
TL Compress & StealthBreak v3.3Here is the simplified **Practical User Guide** for this indicator.
### **How to Read the Screen**
1. **The Dashboard (Table):** Tells you the current market health.
2. **Background Color:** Tells you the "Phase" of the market.
3. **Triangles:** The final signal to trade.
---
### **Step-by-Step Usage**
#### **1. WAIT (The Squeeze)**
* **Look for:** **Yellow** or **Orange** background.
* **Meaning:** The market is "Compressing" (quiet before a big move).
* **Action:** **Do nothing.** Wait for the breakout.
#### **2. GET READY (The Setup)**
* **Look for:** **Blue** (Bullish) or **Pink** (Bearish) background.
* **Meaning:** The market has pulled back and is "Ready" to launch.
* **Action:** Prepare your order. Watch for the signal.
#### **3. EXECUTE (The Signal)**
* **Look for:**
* 🟢 **Green Triangle (BUY):** When the trend is UP.
* 🔴 **Red Triangle (SELL):** When the trend is DOWN.
* **Dashboard Check:** Ensure the "TREND" row on the table matches your signal (e.g., TREND = UP for a Buy).
* **Action:** **Enter the trade immediately.**
---
### **Stop Loss & Exit Strategy**
* **Stop Loss (SL):**
* **For BUY:** Place SL just below the **Orange Line** (Slow EMA).
* **For SELL:** Place SL just above the **Orange Line** (Slow EMA).
* **Take Profit (TP):**
* Target a 1:1.5 or 1:2 Risk-Reward ratio.
* **Or:** Exit if the background color disappears or changes to the opposite color.
### **Important Note**
* **"Zero Delay" Mode:** The signals appear very fast. If the candle closes and the Triangle remains, the signal is valid. Do not enter if the signal flashes and disappears before the candle closes.
CRR Market StructureCRR — Market Structure (Educational) is an educational chart overlay designed to help traders visualize market structure and price behavior in a clear, objective way.
This indicator focuses on:
Swing structure (HH, LH, HL, LL)
Break of Structure (BOS)
Change of Character (ChoCH)
Current market range
Optional internal Fibonacci levels
Optional confirmation filters (ATR, Volume, MACD, Gap detection)
Important
This script is NOT a trading strategy.
It does NOT generate buy or sell signals, does NOT predict future price, and does NOT provide financial advice.
It is strictly a visual and educational tool to support discretionary analysis.
How to Use This Indicator
This tool is intended to be used as a context and structure guide, not as a signal generator.
Market Structure Reading
HH / HL → Bullish structure
LH / LL → Bearish structure
Observe how price reacts after BOS or ChoCH events.
BOS vs ChoCH
BOS confirms continuation in the current trend.
ChoCH highlights a potential structural shift.
Strength is visually differentiated using optional filters.
Range Awareness
Yellow dotted lines represent the current active range.
Useful for identifying consolidation, expansion, or compression phases.
Fibonacci Context (Optional)
Internal Fibonacci levels visualize retracements inside the last structure range.
Designed for context only, not entries.
Community Usage Guidelines
This indicator is built to encourage shared learning and discussion:
Share charts showing clean BOS / ChoCH examples.
Compare structure behavior across different markets and timeframes.
Discuss price behavior, not signals.
Use screenshots to explain why structure matters.
If you publish ideas using this indicator:
Focus on market structure explanation.
Avoid calling entries or targets.
Keep analysis educational and transparent.
Final Notes
Market structure is not about prediction, but about understanding price behavior.
This tool aims to help traders see the market more clearly, reduce noise, and develop stronger analytical skills.
If you find this indicator useful:
Like
Share insights
Collaborate respectfully with the community
Adaptive Structure Trend Engine (ASTE)Adaptive Structure Trend Engine (ASTE)
Adaptive Structure Trend Engine (ASTE) is a non-repainting, multi-layer trend analysis indicator designed to help traders identify high-quality directional opportunities using market structure and adaptive moving averages. ASTE focuses on trend clarity, confirmation, and signal cleanliness, avoiding indicator noise and repeated signals.
🔍 Core Components
ASTE combines four powerful concepts into a single, structured framework:
• FRAMA (Fractal Adaptive Moving Average)
Detects market structure and directional slope changes.
• KAMA (Kaufman Adaptive Moving Average)
Measures price efficiency and regime stability.
• JMA (Jurik-style Moving Average)
Provides smooth momentum confirmation with minimal lag.
• EMA Hierarchy (21/50 + 50/100/150/200)
Validates trend strength and higher-order alignment.
📊 Signal Types
ASTE produces state-based signals (no repeated alerts on every bar):
1️⃣ Base Signal
Single tiny triangle
• FRAMA slope alignment
• KAMA direction confirmation
• JMA momentum confirmation
• EMA 21/50 trend validation
2️⃣ Strong Signal
Two stacked triangles
• All Base Signal conditions
• PLUS EMA 50/100/150/200 full trend confluence
Signals remain active until an opposite signal of the same type appears.
🎨 Visual Design
• Clean stacked triangle system
• No repainting
• No signal spam
• EMA band with gradual color transition
• Fully configurable visibility options
⚙️ User Controls
• Adjust FRAMA, KAMA, and JMA lengths
• Toggle Base / Strong signals
• Show or hide EMA band
• Works on all markets and timeframes
⚠️ Disclaimer
This indicator is provided for educational and analytical purposes only. It does not constitute financial advice or trade recommendations. Always use proper risk management and confirm signals with additional analysis. Past performance does not guarantee future results.
stelaraX - SupertrendstelaraX – Supertrend
stelaraX – Supertrend is a trend-following indicator based on the Average True Range (ATR). It dynamically adapts to market volatility and provides clear visual guidance for identifying bullish and bearish trend phases directly on the chart.
This indicator is part of the stelaraX ecosystem, focused on clean technical analysis and AI-supported chart evaluation.
stelarax.com
Core logic
The Supertrend is calculated using two user-defined parameters:
* ATR period
* volatility factor
The indicator uses ATR-based price bands to determine trend direction:
* bullish trend when price holds above the Supertrend level
* bearish trend when price holds below the Supertrend level
When price crosses the Supertrend line, the trend direction flips accordingly. The ATR factor controls the sensitivity of trend changes, with higher values producing fewer but stronger signals.
Visualization
The script plots a single Supertrend line directly on the price chart:
* green color during bullish trends
* red color during bearish trends
* broken line style to clearly show trend transitions
The minimalist design ensures that trend direction is immediately visible without cluttering the chart.
Use case
This indicator is intended for:
* identifying and following market trends
* defining dynamic trailing stop levels
* filtering trades in the direction of the dominant trend
* trend confirmation in combination with other indicators
For traders looking to combine classical trend tools with modern AI-driven chart analysis, additional tools and insights are available at stelarax.com
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
Combined Trend Indicator - OPTIMIZED Combined Trend Indicator - 10 in 1 (Optimized)
This powerful trend-following indicator combines 10 proven technical indicators into one unified signal system with weighted scoring.
Included Indicators:
RMI Trend Sniper
TS ALMA Smooth
CTI (Correlation Trend Indicator)
Sebastine Trend Catcher
TS Gunxo Trend Sniper
DEMA DMI ViResearch
MM For Loop (Misinkomaster)
DMI For Loop
Trend Oscillator
Stochastic For Loop
How It Works:
Calculates bullish/bearish signals from all 10 indicators
Applies weighted scoring (trend indicators get 2x weight)
Anti-whipsaw filter requires 2-bar confirmation
Displays color-coded trend line below price
Signal Levels:
🟢 Strong Bull (Dark Green) - Difference > 4 → BUY/HOLD
🟢 Weak Bull (Light Green) - Difference 1-4 → CAUTION
🔴 Weak Bear (Light Red) - Difference -1 to -4 → REDUCE
🔴 Strong Bear (Dark Red) - Difference < -4 → SELL/EXIT
Features:
✓ Real-time score display (Bull/Bear out of 13 points)
✓ Automated alerts for trend changes
✓ Optimized parameters for crypto/Bitcoin
✓ Minimal false signals through confirmation filter
Best Used For:
Daily (1D) timeframe, Bitcoin and major cryptocurrencies. Can be adapted for other timeframes and assets.
[src] [uxo, @envyisntfake] accurate strike -> futures conversioni accidetnally clicked protected script and not open source the script lolololol
no trader should ever fear a tool that they rely on to be hidden unless its a niche concept
check out @envyisntfake discord / github, i used his convertor as a base, i only improved the porting to make this live, and added smoothing to make the conversions better rather than manually inputting it into his calculator
AI Market Assistant [FundedLab]AI Market Assistant – Your Institutional-Grade Co-Pilot
Do you know exactly where you stand in the market cycle? Most retail traders fail because they trade against the dominant trend.
I created the AI Market Assistant to solve this problem. It is a comprehensive dashboard that processes multi-timeframe data and Macroeconomics to provide a clear, objective market bias.
⚙️ Customizable Trend Logic:
The system adapts to your specific trading personality:
Fully Adjustable Timeframes: You are not limited to the default settings. You can freely select your preferred Lower Timeframe (LTF) and Higher Timeframe (HTF) in the settings to match your scalping or swing trading strategy.
Select "VWAP" for Intraday Precision : Ideal for catching moves that align with today’s institutional volume.
Select "EMA 200" for Swing Structure : Ideal for holding positions and riding the broader market wave.
🚀 Advanced Capabilities:
Macro Analysis Panel: Automatically analyzes the Dollar Index (DXY) and US10Y Yields to determine if the macro environment supports your trade (Bullish vs. Bearish Impact).
Multi-Language Support: Fully localized for 🇹🇭 🇬🇧 🇨🇳 🇰🇷.
Zero-Lag Decision Engine: Utilizing "Stable Mode" to ensure signals are confirmed on closed bars—eliminating false signals and repainting.
💡 Why You Need This Tool:
No More Noise: The AI filters out choppy markets (Sideways) and tells you to "WAIT" instead of forcing a trade.
Conflict Detection: It checks if the Short-term trend (LTF) agrees with the Long-term trend (HTF). If they disagree, it saves you from a bad trade.
Macro Safety: Real-time warnings based on DXY/Bond movements. Don't buy Gold if the DXY is skyrocketing—this tool warns you first.
Level up your trading desk with the same data the pros use.
Market Regime AnalyzerStatistical regime detection with forward-looking transition probabilities. Combines drift testing, variance ratios, and volume delta to classify markets into 5 regimes and quantify transition probabilities.
What Regime Are We In, and What's Likely Next?
That's the question this indicator answers with statistical rigor and forward-looking probabilities.
The Problem:
Most traders classify regimes arbitrarily: "Bull if price > 200 MA" or "Bear if RSI < 30." These rules ignore statistical significance, volume confirmation, and mean reversion patterns. The result? Late entries, false signals, and confusion when markets transition.
The Solution:
Market Regime Analyzer combines drift detection, variance ratio testing, and volume delta analysis to classify markets into 5 distinct regimes. Then it calculates the probability of transitioning to each regime based on historical patterns.
The Benefit:
Know not just where you are, but where you're likely going - with probabilities, not guesses.
The Five Market Regimes
🟢 Strong Bull (Regime 1)
- Statistically significant upward drift (t-stat > 1.96)
- Strong buying pressure (volume delta > 0.3)
- No mean reversion detected
- **Trade:** Trend-following strategies, ride the momentum
🟢 Weak Bull (Regime 2)
- Upward drift present
- BUT weak volume OR mean reversion detected
- **Trade:** Reduce position size, tighten stops, prepare for consolidation
⚪ Consolidation (Regime 3)
- No statistically significant drift
- Mixed volume signals
- Mean reversion likely present
- **Trade:** Range-trading, avoid trend-following systems
🔴 Weak Bear (Regime 4)
- Downward drift present
- BUT weak volume pressure
- **Trade:** Cautious shorts, reduce exposure, prepare for bounce
🔴 Strong Bear (Regime 5)
- Statistically significant downward drift (t-stat < -1.96)
- Strong selling pressure (volume delta < -0.3)
- No mean reversion detected
- **Trade:** Trend-following shorts, protective puts
The Statistical Framework
1. Drift Detection with T-Statistics
Instead of guessing if there's a trend, we test it statistically.
How it works:
- Calculates mean return over lookback period
- Standardizes by volatility
- Compares to significance threshold (default 1.96 = 95% confidence)
What it tells you:
- T-stat > 1.96: Statistically significant uptrend
- T-stat < -1.96: Statistically significant downtrend
- In between: No significant trend (consolidation)
Why it matters:
Only trades trends that are statistically validated, not just visually apparent.
2. Mean Reversion Testing (Variance Ratio)
Based on Lo & MacKinlay (1988) research, this detects when markets are range-bound.
How it works:
- Compares variance at different time scales
- Variance Ratio < 0.8 indicates mean reversion
What it tells you:
- Mean reversion = NO: Trends can continue
- Mean reversion = YES: Expect price to return to mean, not breakout
Why it matters:
Prevents chasing breakouts in range-bound markets.
3. Volume Delta Analysis
Total volume tells you HOW MUCH traded. Volume delta tells you WHO won.
How it works:
- Buying pressure - Selling pressure = Volume Delta
- Normalized to show relative strength
What it tells you:
- Strong positive delta (>0.3): Buyers in control
- Strong negative delta (<-0.3): Sellers in control
- Weak delta: No clear winner
Why it matters:
Price can move up on weak buying or down on weak selling. Volume delta reveals the truth.
4. Transition Probability Matrix
Historical regime changes predict future regime changes.
How it works:
- Tracks every regime transition over last 100 bars (configurable)
- Builds probability distribution for next regime
- Updates continuously
Example:
Current: Strong Bull
Historical transitions from Strong Bull:
- Stayed Strong Bull: 45%
- Became Weak Bull: 30%
- Became Consolidation: 20%
- Became Weak Bear: 4%
- Became Strong Bear: 1%
What it tells you:
Strong Bull has 75% chance of staying bullish (45% + 30%), only 5% chance of bearish turn.
Why it matters:
Adapts to your specific market's behavior patterns.
How to Use This Indicator
Strategy Adaptation
In Strong Bull/Bear Regimes:
- Use trend-following strategies
- Wider stops, let winners run
- Add to positions on pullbacks
- High confidence in directional trades
In Weak Bull/Bear Regimes:
- Reduce position sizes by 50%
- Tighter stops
- Take profits earlier
- Prepare for regime change
In Consolidation:
- Switch to range-trading strategies
- Avoid trend-following systems
- Sell resistance, buy support
- Wait for regime change before trend trades
Risk Management
Position Sizing:
- Strong regime + high continuation probability (>60%) = Normal size
- Weak regime OR high transition probability = Half size
- Consolidation = Quarter size or skip
Stop Loss Placement:
- Strong regime: Use wider stops (2x ATR)
- Weak regime: Tighter stops (1x ATR)
- Consolidation: Very tight stops (0.5x ATR)
Entry Timing
Best entries:
- Regime just changed to Strong Bull/Bear
- High probability (>50%) of staying in current regime
- No divergence signals present
- Drift and volume delta aligned
Avoid entries:
- High probability of regime change
- Divergence signals appearing
- Mean reversion detected in trending regime
- Weak volume despite price movement
Reading the Dashboard
Current Regime
Color-coded for instant recognition:
- Dark Green = Strong Bull
- Light Green = Weak Bull
- Gray = Consolidation
- Light Red = Weak Bear
- Dark Red = Strong Bear
Annualized Drift
Expected annual return based on recent trend.
- Positive = Upward bias
- Negative = Downward bias
- Near zero = No directional edge
T-Statistic
Measures statistical significance of drift.
- > 1.96 = 95% confident in uptrend
- < -1.96 = 95% confident in downtrend
- Between = Not statistically significant
Mean Reversion
- Yes = Expect price to return to mean (range-bound)
- No = Trends can continue (trending market)
Volume Pressure
Normalized volume delta strength.
- > 0.3 = Strong buying
- < -0.3 = Strong selling
- Near 0 = Balanced
Transition Probabilities
Shows most likely next regime.
- Highest probability = Most likely outcome
- Evenly distributed = High uncertainty
- Concentrated = High confidence in direction
Practical Examples
Example 1: Strong Bull with High Continuation
Dashboard shows:
Current Regime: Strong Bull
Drift: +22% annualized
T-Stat: 3.2
Mean Reversion: No
Volume Pressure: +0.45
Probabilities:
→ Strong Bull: 50%
→ Weak Bull: 25%
→ Consolidation: 20%
→ Bears: 5%
Interpretation:
- Strong uptrend (t-stat 3.2 >> 1.96)
- No mean reversion = trends can continue
- Strong buying pressure (0.45 > 0.3)
- 75% chance stays bullish (50% + 25%)
Action:
- Full position size on long setups
- Use trend-following entries
- Wider stops (2x ATR)
- High conviction trades
Example 2: Weak Bull Before Consolidation
Dashboard shows:
Current Regime: Weak Bull
Drift: +8% annualized
T-Stat: 1.2
Mean Reversion: Yes
Volume Pressure: +0.15
Probabilities:
→ Strong Bull: 10%
→ Weak Bull: 30%
→ Consolidation: 50%
→ Weak Bear: 10%
Interpretation:
- Weak drift (t-stat 1.2 < 1.96)
- Mean reversion detected = range-bound likely
- Weak volume (0.15 < 0.3)
- 50% chance of consolidation
Action:
- Reduce long positions
- Tighten stops
- Prepare for range-bound trading
- Avoid new trend trades
Example 3: Regime Transition Alert
Previous: Weak Bull
Current: Consolidation
Volume divergence signal appeared:
Price made new high, volume delta weakened
Interpretation:
- Trend exhausted
- Buyers losing control
- Regime confirmed the transition
Action:
- Exit trend-following longs
- Switch to range-trading approach
- Wait for new regime before new directional trades
Settings Guide
### Regime Detection Period (50)
Number of bars for statistical calculations.
- **30-40:** More responsive, catches changes faster, more regime switches
- **50 (default):** Balanced for daily/4H charts
- **75-100:** More stable, fewer false regime changes, slower to adapt
Transition History Depth (100)
How much history to use for probabilities.
- **50-75:** Adapts quickly to recent behavior
- **100 (default):** Balanced robustness
- **150-200:** More stable probabilities, slower to adapt
Volume Delta Period (14)
Period for volume calculations.
- **7-10:** More sensitive to volume shifts
- **14 (default):** Standard period
- **20-30:** Smoother, less noise
Significance Threshold (1.96)
T-statistic required for trend classification.
- **1.64:** 90% confidence, more trend regimes detected
- **1.96 (default):** 95% confidence, balanced
- **2.58:** 99% confidence, very conservative, mostly consolidation
Best Practices
Do:
- Wait for regime confirmation (at least 3-5 bars in new regime)
- Use probabilities to size positions appropriately
- Combine with support/resistance for entries
- Respect mean reversion signals
- Adapt strategy to current regime
Don't:
- Trade every regime change immediately
- Ignore high transition probabilities
- Use trend strategies in consolidation
- Override statistical signals with gut feel
- Trade against Strong regimes without clear setup
Timeframe Recommendations
Daily Charts:
- Default settings work well
- Most reliable regime detection
- Best for swing trading
4H Charts:
- Use default or slightly higher lookback (60-75)
- Good for active swing trading
- More regime changes than daily
1H Charts:
- Reduce lookback to 30-40
- More noise, use with caution
- Better for intraday position trading
15M and below:
- Not recommended
- Too much noise for statistical validity
- Regimes change too frequently
Combining with Other Indicators
Works Well With:
Moving Averages
- Use regime for directional bias
- MAs for specific entry/exit points
Support/Resistance
- Regime shows context
- S/R shows specific levels
- High probability at confluence
Volume Profile
- Regime shows regime
- Profile shows where volume is
- Target high-volume nodes
RSI/MACD
- Regime provides context
- Momentum shows entry timing
- Combine for higher probability
Example Combined Setup
Regime: Strong Bull
Price: Above 200 MA
Level: Pullback to support
RSI: Oversold (30)
Volume Delta: Still positive
Setup: Long entry
Reason: Trend intact, healthy pullback, buyers still present
Divergence Signals
The indicator shows volume divergence warnings:
Bearish Divergence (Red Triangle Down)
- Price makes new high
- Volume delta makes lower high
- Warning: Buyers weakening, potential reversal
Bullish Divergence (Green Triangle Up)
- Price makes new low
- Volume delta makes higher low
- Warning: Sellers weakening, potential reversal
How to use:
- Divergence in Strong regime = early warning of regime change
- Confirms when regime actually transitions
- Don't trade divergence alone, wait for regime confirmation
Limitations
This Indicator Cannot:
**Predict black swan events** - Unexpected news overrides all technical regimes
**Work in all markets** - Needs liquid markets with reliable volume data
**Guarantee profits** - Probabilities are not certainties
**Replace fundamental analysis** - Technical regimes can diverge from fundamentals
Works Best:
- Liquid markets (major indices, forex, crypto, large-cap stocks)
- Daily and 4H timeframes
- Combined with other analysis
- With proper risk management
- In normal market conditions
Common Questions
"Why did the regime stay consolidation despite strong price move?"
The indicator detected mean reversion (variance ratio < 0.8), indicating the move will likely reverse. Or the move wasn't statistically significant (t-stat < 1.96). Trust the statistics over visual appearance.
"Probabilities show 30% for each regime. What does that mean?"
High uncertainty. The market is at an inflection point. Reduce position sizes and wait for clearer regime formation.
"Can I use this for day trading?"
Not recommended on timeframes below 1H. Statistical tests need sufficient data. Better suited for swing trading.
"Why does this show Strong Bull when my momentum indicators show weakness?"
Momentum can weaken while the trend remains statistically significant. The indicator focuses on drift and volume, not momentum. Consider it a different perspective.
Technical Notes
Volume Delta Approximation
Uses OHLCV data to approximate order flow:
- Buy volume ≈ Volume on up-closes
- Sell volume ≈ Volume on down-closes
- Delta = Buy - Sell
**Note:** Real order flow (from futures or Level 2) is more precise. This approximation works well on liquid markets.
Statistical Tests
Drift T-Test:
- Null hypothesis: No drift (mean return = 0)
- Reject if |t-stat| > threshold
- Based on standard hypothesis testing
Variance Ratio:
- Compares 2-period variance to 1-period variance
- Ratio = 1 for random walk
- Ratio < 1 for mean reversion
- Threshold of 0.8 based on empirical testing
Transition Probability Implementation
Due to Pine Script v5 limitations (no native 2D arrays), the 5×5 transition matrix is stored as a flat 1D array of 25 elements:
- Position maps to index: `row × 5 + col`
- Example: Transition from Regime 2 to Regime 4 is at index `1 × 5 + 3 = 8`
- Laplace smoothing (0.1) prevents zero probabilities
- Row sums normalized to calculate probabilities
This approach is computationally efficient and maintains statistical accuracy.
No Repainting
All calculations confirmed on bar close. Regime changes appear when the bar closes, not during formation. Historical analysis is accurate.
Alert Conditions
Regime Change
- Triggers when regime transitions to any new state
- Message shows new regime number (1-5)
Bearish Divergence
- Triggers when price makes new high but volume delta doesn't confirm
Bullish Divergence
- Triggers when price makes new low but volume delta doesn't confirm
Disclaimer
FOR EDUCATIONAL PURPOSES ONLY
This indicator uses statistical methods to analyze market regimes. It does not predict the future or guarantee trading success.
Markets are probabilistic, not deterministic. A 70% probability of staying bullish means 30% chance of regime change. Always use proper risk management.
Past regime transitions do not guarantee future transitions. Market structure can change. Statistical relationships can break down.
Never risk more than you can afford to lose. Use stop losses on every trade. Test thoroughly before live trading. Consult a qualified financial advisor.
© 2026 | Open Source
Statistical rigor meets practical application
JESUS SAVES LevelsJESUS SAVES Levels is a price-action based support and resistance indicator designed to automatically identify and visualize significant market levels.
The indicator detects structural peaks and valleys from a user-selectable source timeframe and projects them as horizontal levels across the chart. These levels help traders understand where price previously reacted and where future reactions are more likely.
Key Features
• Automatic Peak & Valley Detection
Levels are generated from clear market structure (swing highs and swing lows).
• Multi-Timeframe Analysis
Choose any source timeframe (e.g. M5, M15, H1) while viewing the levels on any chart timeframe, including M1.
• Dynamic Level Validation
Levels remain active as long as price respects them.
Once broken, they are automatically marked as invalid and visually faded, remaining visible only for historical context.
• Clean & Minimal Chart Design
Valid levels are clearly visible, while invalid levels fade into the background to keep the chart readable.
• Performance Optimized
An internal level limit ensures fast loading and smooth performance, even on lower timeframes.
Ideal For
• Support & resistance trading
• Market structure analysis
• Intraday and scalping strategies
• Higher-timeframe context on lower-timeframe charts
JESUS SAVES Levels focuses on clarity, structure, and discipline — helping traders better understand price behavior without clutter or subjective drawing.
MudHome - HTF Last X Candles (Range + Live Price Label)This indicator provides a live Higher Timeframe (HTF) context overlay on lower-timeframe charts by displaying the most recent HTF candles as a compact inset, alongside a dynamically updating price range.
It plots the last N HTF candles (up to 10), including the currently forming HTF candle, arranged left-to-right in standard chart order. This allows traders to visually track HTF structure, expansion, and volatility in real time while executing on lower timeframes.
Key Features
Displays the most recent HTF candles, including the live, still-forming candle
Candles are drawn to the right of price, preserving chart clarity
Automatically calculates and displays the HTF range high and low across the selected candles
Range labels update dynamically as the current HTF candle expands
Shows a live current-price label, updating tick-by-tick
Clean, minimal presentation — no cluttered OHLC labels
Fully configurable candle spacing, body width, colors, and offsets
Smart Validation
The indicator only renders when the selected timeframe is higher than the chart timeframe
If not, a clear prompt is shown: “Select a higher time frame”
Ideal Use Cases
HTF bias and context on LTF execution charts
Range expansion and contraction analysis
ICT-style dealing range, premium/discount framing
Session and structure awareness without switching timeframes
This tool is designed to act as a live HTF context box, keeping higher-timeframe structure visible at all times while you focus on execution.






















