Forex Master Confluence [MTF Dashboard]_Ted O.Here is the updated script.
What's New?
Adjustable Table Size: I added a "Table Size" input in the settings. You can now toggle between Tiny, Small, Normal, and Large to fit your screen resolution perfectly.
New Column: "Bars Active": As a seasoned trader, knowing direction isn't enough; you need to know maturity.
This column counts how many candles the trade has been active.
Why it helps: A "LONG" signal on the 15m chart that is 1 bar old is a fresh entry opportunity. A "LONG" signal that is 45 bars old is likely overextended, even if the indicators are still green.
אינדיקטורים ואסטרטגיות
CryptoFlux Dynamo [JOAT]CryptoFlux Dynamo: Velocity Scalping Strategy
WHAT THIS STRATEGY IS
CryptoFlux Dynamo is an open-source Pine Script v6 strategy designed for momentum-based scalping on cryptocurrency perpetual futures. It combines multiple technical analysis methods into a unified system that adapts its behavior based on current market volatility conditions.
This script is published open-source so you can read, understand, and modify the complete logic. The description below explains everything the strategy does so that traders who cannot read Pine Script can fully understand how it works before using it.
HOW THIS STRATEGY IS ORIGINAL AND WHY THE INDICATORS ARE COMBINED
This strategy uses well-known indicators (MACD, EMA, RSI, MFI, Bollinger Bands, Keltner Channels, ATR). The originality is not in the individual indicators themselves, but in the specific way they are integrated into a regime-adaptive system. Here is the detailed justification for why these components are combined and how they work together:
The Problem Being Solved:
Standard indicator-based strategies use fixed thresholds. For example, a typical MACD strategy might enter when the histogram crosses above zero. However, in cryptocurrency markets, volatility changes dramatically throughout the day and week. A MACD crossover during a low-volatility consolidation period has very different implications than the same crossover during a high-volatility trending period. Using the same entry thresholds and stop distances in both conditions leads to either:
Too many false signals during consolidation (if thresholds are loose)
Missing valid opportunities during expansion (if thresholds are tight)
Stops that are too tight during volatility spikes (causing premature exits)
Stops that are too wide during compression (giving back profits)
The Solution Approach:
This strategy first classifies the current volatility regime using normalized ATR (ATR as a percentage of price), then dynamically adjusts ALL other parameters based on that classification. This creates a context-aware system rather than a static threshold comparison.
How Each Component Contributes to the System:
ATR-Based Regime Classification (The Foundation)
The strategy calculates ATR over 21 periods, smooths it with a 13-period EMA to reduce noise from wicks, then divides by price to get a normalized percentage. This ATR% is classified into three regimes:
- Compression (ATR% < 0.8%): Market is consolidating, breakouts are more likely but false signals are common
- Expansion (ATR% 0.8% - 1.6%): Normal trending conditions
- Velocity (ATR% > 1.6%): High volatility, larger moves but also larger adverse excursions
This regime classification then controls stop distances, profit targets, trailing stop offsets, and signal strength requirements. The regime acts as a "meta-parameter" that tunes the entire system.
EMA Ribbon (8/21/34) - Trend Structure Detection
The three EMAs establish trend direction and structure. When EMA 8 > EMA 21 > EMA 34, the trend structure is bullish. The slope of the middle EMA (21) is calculated over 8 bars and converted to degrees using arctangent. This slope measurement quantifies trend strength, not just direction.
Why these specific periods? The 8/21/34 sequence follows Fibonacci-like spacing and provides good separation on 5-minute cryptocurrency charts. The fast EMA (8) responds to immediate price action, the mid EMA (21) represents the short-term trend, and the slow EMA (34) acts as a trend filter.
The EMA ribbon works with the regime classification: during compression regimes, the strategy requires stronger ribbon alignment before entry because false breakouts are more common.
MACD (8/21/5) - Momentum Measurement
The MACD uses faster parameters (8/21/5) than the standard (12/26/9) because cryptocurrency markets move faster than traditional markets. The histogram is smoothed with a 5-period EMA to reduce noise.
The key innovation is the adaptive histogram baseline. Instead of using a fixed threshold, the strategy calculates a rolling baseline from the smoothed absolute histogram value, then multiplies by a sensitivity factor (1.15). This means the threshold for "significant momentum" automatically adjusts based on recent momentum levels.
The MACD works with the regime classification: during velocity regimes, the histogram baseline is effectively higher because recent momentum has been stronger, preventing entries on relatively weak momentum.
RSI (21 period) and MFI (21 period) - Independent Momentum Confirmation
RSI measures momentum using price changes only. MFI (Money Flow Index) measures momentum using price AND volume. By requiring both to confirm, the strategy filters out price moves that lack volume support.
The 21-period length is longer than typical (14) to reduce noise on 5-minute charts. The trigger threshold (55 for longs, 45 for shorts) is slightly offset from 50 to require momentum in the trade direction, not just neutral readings.
These indicators work together: a signal requires RSI > 55 AND MFI > 55 for longs. This dual confirmation reduces false signals from price manipulation or low-volume moves.
Bollinger Bands (1.5 mult) and Keltner Channels (1.8 mult) - Squeeze Detection
When Bollinger Bands contract inside Keltner Channels, volatility is compressing and a breakout is likely. This is the "squeeze" condition. When the bands expand back outside the channels, the squeeze "releases."
The strategy uses a 1.5 multiplier for Bollinger Bands (tighter than standard 2.0) and 1.8 for Keltner Channels. These values were chosen to identify meaningful squeezes on 5-minute cryptocurrency charts without triggering too frequently.
The squeeze detection works with the regime classification: squeeze releases during compression regimes receive additional signal strength points because breakouts from consolidation are more significant.
Volume Impulse Detection - Institutional Participation Filter
The strategy calculates a volume baseline (34-period SMA) and standard deviation. A "volume impulse" is detected when current volume exceeds the baseline by 1.15x OR when the volume z-score exceeds 0.5.
This filter ensures entries occur when there is meaningful market participation, not during low-volume periods where price moves are less reliable.
Volume impulse is required for all entries and adds points to the composite signal strength score.
Cycle Oscillator - Trend Alignment Filter
The strategy calculates a 55-period EMA as a cycle basis, then measures price deviation from this basis as a percentage. When price is more than 0.15% above the cycle basis, the cycle is bullish. When more than 0.15% below, the cycle is bearish.
This filter prevents counter-trend entries. Long signals require bullish cycle alignment; short signals require bearish cycle alignment.
BTC Dominance Filter (Optional) - Market Regime Filter
The strategy can optionally use BTC.D (Bitcoin Dominance) as a market regime filter. When BTC dominance is rising (slope > 0.12), the market is in "risk-off" mode and long entries on altcoins are filtered. When dominance is falling (slope < -0.12), short entries are filtered.
This filter is optional because the BTC.D data feed may lag during low-liquidity periods.
How The Components Work Together (The Mashup Justification):
The strategy uses a composite scoring system where each signal pathway contributes points:
Trend Break pathway (30 points): Requires EMA ribbon alignment + positive slope + price breaks above recent structure high
Momentum Surge pathway (30 points): Requires MACD histogram > adaptive baseline + MACD line > signal + RSI > 55 + MFI > 55 + volume impulse
Squeeze Release pathway (25 points): Requires BB inside KC (squeeze) then release + momentum bias + histogram confirmation
Micro Pullback pathway (15 points): Requires shallow retracement to fast EMA within established trend + histogram confirmation + volume impulse
Additional modifiers:
+5 points if volume impulse is present, -5 if absent
+5 points in velocity regime, -2 in compression regime
+5 points if cycle is aligned, -5 if counter-trend
A trade only executes when the composite score reaches the minimum threshold (default 55) AND all filters agree (session, cycle bias, BTC dominance if enabled).
This scoring system is the core innovation: instead of requiring ALL conditions to be true (which would generate very few signals) or ANY condition to be true (which would generate too many false signals), the strategy requires ENOUGH conditions to be true, with different conditions contributing different weights based on their reliability.
HOW THE STRATEGY CALCULATES ENTRIES AND EXITS
Entry Logic:
1. Calculate current volatility regime from ATR%
2. Calculate all indicator values (MACD, EMA, RSI, MFI, squeeze, volume)
3. Evaluate each signal pathway and sum points
4. Check all filters (session, cycle, dominance, kill switch)
5. If composite score >= 55 AND all filters pass, generate entry signal
6. Calculate position size based on risk per trade and regime-adjusted stop distance
7. Execute entry with regime name as comment
Position Sizing Formula:
RiskCapital = Equity * (0.65 / 100)
StopDistance = ATR * StopMultiplier(regime)
RawQuantity = RiskCapital / StopDistance
MaxQuantity = Equity * (12 / 100) / Price
Quantity = min(RawQuantity, MaxQuantity)
Quantity = round(Quantity / 0.001) * 0.001
This ensures each trade risks approximately 0.65% of equity regardless of volatility, while capping total exposure at 12% of equity.
Stop Loss Calculation:
Stop distance is ATR multiplied by a regime-specific multiplier:
Compression regime: 1.05x ATR (tighter stops because moves are smaller)
Expansion regime: 1.55x ATR (standard stops)
Velocity regime: 2.1x ATR (wider stops to avoid premature exits during volatility)
Take Profit Calculation:
Target distance is ATR multiplied by regime-specific multiplier and base risk/reward:
Compression regime: 1.6x ATR * 1.8 base R:R * 0.9 regime bonus = approximately 2.6x ATR
Expansion regime: 2.05x ATR * 1.8 base R:R * 1.0 regime bonus = approximately 3.7x ATR
Velocity regime: 2.8x ATR * 1.8 base R:R * 1.15 regime bonus = approximately 5.8x ATR
Trailing Stop Logic:
When adaptive trailing is enabled, the strategy calculates a trailing offset based on ATR and regime:
Compression regime: 1.1x base offset (looser trailing to avoid noise)
Expansion regime: 1.0x base offset (standard)
Velocity regime: 0.8x base offset (tighter trailing to lock in profits during fast moves)
The trailing stop only activates when it would be tighter than the initial stop.
Momentum Fail-Safe Exits:
The strategy closes positions early if momentum reverses:
Long positions close if MACD histogram turns negative OR EMA ribbon structure breaks (fast EMA crosses below mid EMA)
Short positions close if MACD histogram turns positive OR EMA ribbon structure breaks
This prevents holding through momentum reversals even if stop loss hasn't been hit.
Kill Switch:
If maximum drawdown exceeds 6.5%, the strategy disables new entries until manually reset. This prevents continued trading during adverse conditions.
HOW TO USE THIS STRATEGY
Step 1: Apply to Chart
Use a 5-minute chart of a high-liquidity cryptocurrency perpetual (BTC/USDT, ETH/USDT recommended)
Ensure at least 200 bars of history are loaded for indicator stabilization
Use standard candlestick charts only (not Heikin Ashi, Renko, or other non-standard types)
Step 2: Understand the Visual Elements
EMA Ribbon: Three lines (8/21/34 periods) showing trend structure. Bullish when stacked upward, bearish when stacked downward.
Background Color: Shows current volatility regime
- Indigo/dark blue = Compression (low volatility)
- Purple = Expansion (normal volatility)
- Magenta/pink = Velocity (high volatility)
Bar Colors: Reflect signal strength divergence. Brighter colors indicate stronger directional bias.
Triangle Markers: Entry signals. Up triangles below bars = long entry. Down triangles above bars = short entry.
Dashboard (top-right): Real-time display of regime, ATR%, signal strengths, position status, stops, targets, and risk metrics.
Step 3: Interpret the Dashboard
Regime: Current volatility classification (Compression/Expansion/Velocity)
ATR%: Normalized volatility as percentage of price
Long/Short Strength: Current composite signal scores (0-100)
Cycle Osc: Price deviation from 55-period EMA as percentage
Dominance: BTC.D slope and filter status
Position: Current position direction or "Flat"
Stop/Target: Current stop loss and take profit levels
Kill Switch: Status of drawdown protection
Volume Z: Current volume z-score
Impulse: Whether volume impulse condition is met
Step 4: Adjust Parameters for Your Needs
For more conservative trading: Increase "Minimum Composite Signal Strength" to 65 or higher
For more aggressive trading: Decrease to 50 (but expect more false signals)
For higher timeframes (15m+): Increase "Structure Break Window" to 12-15, increase "RSI Momentum Trigger" to 58
For lower liquidity pairs: Increase "Volume Impulse Multiplier" to 1.3, increase slippage in strategy properties
To disable short selling: Uncheck "Enable Short Structure"
To disable BTC dominance filter: Uncheck "BTC Dominance Confirmation"
STRATEGY PROPERTIES (BACKTEST SETTINGS)
These are the exact settings used in the strategy's Properties dialog box. You must use these same settings when evaluating the backtest results shown in the publication:
Initial Capital: $100,000
Justification: This amount is higher than typical retail accounts. I chose this value to demonstrate percentage-based returns that scale proportionally. The strategy uses percentage-based position sizing (0.65% risk per trade), so a $10,000 account would see the same percentage returns with 10x smaller position sizes. The absolute dollar amounts in the backtest should be interpreted as percentages of capital.
Commission: 0.04% (commission_value = 0.04)
Justification: This reflects typical perpetual futures exchange fees. Major exchanges charge between 0.02% (maker) and 0.075% (taker). The 0.04% value is a reasonable middle estimate. If your exchange charges different fees, adjust this value accordingly. Higher fees will reduce net profitability.
Slippage: 1 tick
Justification: This is conservative for liquid pairs like BTC/USDT on major exchanges during normal conditions. For less liquid altcoins or during high volatility, actual slippage may be higher. If you trade less liquid pairs, increase this value to 2-3 ticks for more realistic results.
Pyramiding: 1
Justification: No position stacking. The strategy holds only one position at a time. This simplifies risk management and prevents overexposure.
calc_on_every_tick: true
Justification: The strategy evaluates on every price update, not just bar close. This is necessary for scalping timeframes where waiting for bar close would miss opportunities. Note that this setting means backtest results may differ slightly from bar-close-only evaluation.
calc_on_order_fills: true
Justification: The strategy recalculates immediately after order fills for faster response to position changes.
RISK PER TRADE JUSTIFICATION
The default risk per trade is 0.65% of equity. This is well within the TradingView guideline that "risking more than 5-10% on a trade is not typically considered viable."
With the 12% maximum exposure cap, even if the strategy takes multiple consecutive losses, the total risk remains manageable. The kill switch at 6.5% drawdown provides additional protection by halting new entries during adverse conditions.
The position sizing formula ensures that stop distance (which varies by regime) is accounted for, so actual risk per trade remains approximately 0.65% regardless of volatility conditions.
SAMPLE SIZE CONSIDERATIONS
For statistically meaningful backtest results, you should select a dataset that generates at least 100 trades. On 5-minute BTC/USDT charts, this typically requires:
2-3 months of data during normal market conditions
1-2 months during high-volatility periods
3-4 months during low-volatility consolidation periods
The strategy's selectivity (requiring 55+ composite score plus all filters) means it generates fewer signals than less filtered approaches. If your backtest shows fewer than 100 trades, extend the date range or reduce the minimum signal strength threshold.
Fewer than 100 trades produces statistically unreliable results. Win rate, profit factor, and other metrics can vary significantly with small sample sizes.
STRATEGY DESIGN COMPROMISES AND LIMITATIONS
Every strategy involves trade-offs. Here are the compromises made in this design and the limitations you should understand:
Selectivity vs. Opportunity Trade-off
The 55-point minimum threshold filters many potential trades. This reduces false signals but also misses valid setups that don't meet all criteria. Lowering the threshold increases trade frequency but decreases win rate. There is no "correct" threshold; it depends on your preference for fewer higher-quality signals vs. more signals with lower individual quality.
Regime Classification Lag
The ATR-based regime detection uses historical data (21 periods + 13-period smoothing). It cannot predict sudden volatility spikes. During flash crashes or black swan events, the strategy may be classified in the wrong regime for several bars before the classification updates. This is an inherent limitation of any lagging indicator.
Indicator Parameter Sensitivity
The default parameters (MACD 8/21/5, EMA 8/21/34, RSI 21, etc.) are tuned for BTC/ETH perpetuals on 5-minute charts during 2024 market conditions. Different assets, timeframes, or market regimes may require different parameters. There is no guarantee that parameters optimized on historical data will perform similarly in the future.
BTC Dominance Filter Limitations
The CRYPTOCAP:BTC.D data feed may lag during low-liquidity periods or weekends. The dominance slope calculation uses a 5-bar SMA, adding additional delay. If you notice the filter behaving unexpectedly, consider disabling it.
Backtest vs. Live Execution Differences
TradingView backtesting does not replicate actual broker execution. Key differences:
Backtests assume perfect fills at calculated prices; real execution involves order book depth, latency, and partial fills
The calc_on_every_tick setting improves backtest realism but still cannot capture sub-bar price action or order book dynamics
Commission and slippage settings are estimates; actual costs vary by exchange, time of day, and market conditions
Funding rates on perpetual futures are not modeled in backtests and can significantly impact profitability over time
Exchange-specific limitations (position limits, liquidation mechanics, order types) are not modeled
Market Condition Dependencies
This strategy is designed for trending and breakout conditions. During extended sideways consolidation with no clear direction, the strategy may generate few signals or experience whipsaws. No strategy performs well in all market conditions.
Cryptocurrency-Specific Risks
Cryptocurrency markets operate 24/7 without session boundaries. This means:
No natural "overnight" risk reduction
Volatility can spike at any time
Liquidity varies significantly by time of day
Exchange outages or issues can occur at any time
WHAT THIS STRATEGY DOES NOT DO
To be straightforward about limitations:
This strategy does not guarantee profits. Past backtest performance does not indicate future results.
This strategy does not predict the future. It reacts to current conditions based on historical patterns.
This strategy does not account for funding rates, which can significantly impact perpetual futures profitability.
This strategy does not model exchange-specific execution issues (partial fills, requotes, outages).
This strategy does not adapt to fundamental news events or black swan scenarios.
This strategy is not optimized for all market conditions. It may underperform during extended consolidation.
IMPORTANT RISK WARNINGS
Past performance does not guarantee future results. The backtest results shown reflect specific historical market conditions and parameter settings. Markets change constantly, and strategies that performed well historically may underperform or lose money in the future. A single backtest run does not constitute proof of future profitability.
Trading involves substantial risk of loss. Cryptocurrency derivatives are highly volatile instruments. You can lose your entire investment. Only trade with capital you can afford to lose completely.
This is not financial advice. This strategy is provided for educational and informational purposes only. It does not constitute investment advice, trading recommendations, or any form of financial guidance. The author is not a licensed financial advisor.
You are responsible for your own decisions. Before using this strategy with real capital:
Thoroughly understand the code and logic by reading the open-source implementation
Forward test with paper trading or very small positions for an extended period
Verify that commission, slippage, and execution assumptions match your actual trading environment
Understand that live results will differ from backtest results
Consider consulting with a qualified financial advisor
No guarantees or warranties. This strategy is provided "as is" without any guarantees of profitability, accuracy, or suitability for any purpose. The author is not responsible for any losses incurred from using this strategy.
OPEN-SOURCE CODE STRUCTURE
The strategy code is organized into these sections for readability:
Configuration Architecture: Input parameters organized into logical groups (Core Controls, Optimization Constants, Regime Intelligence, Signal Pathways, Risk Architecture, Visualization)
Helper Functions: calcQty() for position sizing, clamp01() and normalize() for value normalization, calcMFI() for Money Flow Index calculation
Core Indicator Engine: EMA ribbon, ATR and regime classification, MACD with adaptive baseline, RSI, MFI, volume analytics, cycle oscillator, BTC dominance filter, squeeze detection
Signal Pathway Logic: Trend break, momentum surge, squeeze release, micro pullback pathways with composite scoring
Entry/Exit Orchestration: Signal filtering, position sizing, entry execution, stop/target calculation, trailing stop logic, momentum fail-safe exits
Visualization Layer: EMA plots, regime background, bar coloring, signal labels, dashboard table
You can read and modify any part of the code. Understanding the logic before deployment is strongly recommended.
- Made with passion by officialjackofalltrades
Market Acceptance Envelope [Interakktive]The Market Acceptance Envelope (MAE) is a diagnostic tool that shows where price statistically belongs — not where it might go. Unlike traditional bands that expand with volatility, MAE expands with acceptance: regions where price rotates comfortably, efficiency drops, and the market agrees on fair value.
This is the anti-Bollinger thesis: bands should represent where price IS accepted, not where it MIGHT reach based on standard deviation.
█ USAGE
The filled corridor represents the current acceptance zone — where price has demonstrated rotational behavior with low directional efficiency. When price is inside the corridor, it's "home." When outside, it's exploring territory the market hasn't yet accepted.
For discretionary traders, MAE provides instant context: "Is price where it belongs, or is it extended?"
For systematic traders, the exported values (confidence, asymmetry, position) can inform position sizing and filter logic.
█ ACCEPTANCE CENTROID
Unlike traditional bands centered on a moving average, MAE uses an Acceptance Centroid — a time-weighted price level where acceptance behavior concentrates. The centroid is calculated by weighting price by:
• Inverse efficiency (low efficiency = high acceptance)
• Volatility stability (stable vol = higher weight)
• Dwell factor (time spent near level)
This means the centroid drifts toward where price actually rotates, not simply where it averages.
█ ASYMMETRIC BOUNDARIES
MAE calculates upper and lower boundaries independently. Markets rarely treat up and down equally — during uptrends, the upper boundary may be wider (more accepted upside exploration), while the lower boundary stays tight (quick rejection of dips).
This asymmetry is visible on the chart and exported as a metric (-1 to +1).
█ CONFIDENCE-BASED VISIBILITY
The corridor's opacity reflects acceptance confidence:
• High confidence → clearly visible corridor (price is in accepted rotation)
• Low confidence → faded corridor (trending/directional market, acceptance not established)
When the corridor fades, it's telling you: "Acceptance hasn't been earned here yet."
█ WHAT THIS INDICATOR IS
• A diagnostic acceptance envelope showing where price statistically belongs
• Asymmetric by design — upper and lower calculated independently
• Confidence-weighted visibility — fades when acceptance is not earned
• Non-repainting — uses closed-bar data only
█ WHAT THIS INDICATOR IS NOT
• NOT Bollinger Bands (no standard deviation around a mean)
• NOT Keltner Channels (no ATR-scaled envelope)
• NOT a signal generator — no touches = signals philosophy
• NO arrows, NO entries/exits, NO buy/sell recommendations
█ HOW IT WORKS
MAE uses an acceptance-weighted calculation approach:
1. ACCEPTANCE WEIGHT
Each bar receives a weight based on:
• Efficiency: (1 - efficiency) — low efficiency = rotational = high acceptance
• Volatility Stability: stable vol environment = higher weight
• Dwell Factor: price staying near central tendency = higher weight
2. ACCEPTANCE CENTROID
Weighted average of price using acceptance weights:
centroid = Σ(price × weight) / Σ(weight)
Smoothed adaptively — faster during drift, slower when stable.
3. ASYMMETRIC BOUNDARIES
Upper and lower distances calculated separately:
• rngUp = acceptance-weighted average of (price - centroid) when price > centroid
• rngDn = acceptance-weighted average of (centroid - price) when price < centroid
4. CONFIDENCE SCORE
Composite of average acceptance weight, volatility stability, and centroid stability.
Maps to corridor opacity: high confidence = visible, low confidence = faded.
█ SETTINGS
Market Acceptance Envelope — Core
• Acceptance Lookback (20): Bars to evaluate for acceptance conditions. Higher = smoother, slower response.
• Preset (Swing): Scalper = tight/fast, Swing = balanced, Position = wide/stable.
• Envelope Sensitivity (1.0): Width multiplier. Higher = wider corridor.
Market Acceptance Envelope — Visuals
• Show Corridor (true): Display the acceptance corridor.
• Show Centroid (false): Display the acceptance centroid line.
Market Acceptance Envelope — Data Window
• Show Data Window Values (false): Export MAE metrics for external use.
█ EXPORTED VALUES
When Data Window is enabled:
• mae_upper: Upper boundary value
• mae_lower: Lower boundary value
• mae_centroid: Acceptance centroid value
• mae_width: Corridor width (upper - lower)
• mae_asymmetry: Asymmetry ratio (-1 to +1, negative = lower wider)
• mae_confidence: Acceptance confidence (0-100)
• mae_position: Price position (-1 = below, 0 = inside, +1 = above)
█ SUITABLE MARKETS
Works on all markets: Stocks, Futures, Forex, Crypto, Indices.
Works on all timeframes. Higher timeframes show more stable acceptance zones.
█ DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice. Past performance does not guarantee future results. Always conduct your own analysis and use proper risk management. This is a diagnostic tool — it provides context, not signals.
Gap Level Plotter (4H)# Gap Level Plotter (4H) - User Guide
## Overview
This indicator automatically detects and plots 4-hour gap zones on any chart timeframe. Gaps are price discontinuities where one 4H candle's low is above the previous 4H candle's high (gap up) or where one 4H candle's high is below the previous 4H candle's low (gap down). These levels often act as key support/resistance zones.
## Key Features
- **Works on any timeframe**: View 4-hour gaps on 1-minute, 5-minute, 15-minute, daily charts, etc.
- **Visual gap zones**: Displays translucent purple zones (customizable) that extend into the future
- **Configurable lookback**: Choose how many days of history to scan (30, 45, 60, or 90 days)
- **Gap filtering**: Filter out noise by setting minimum gap sizes in points or percentage
- **Clean and simple**: Gaps remain plotted even after being filled, providing historical context
## Settings
### Lookback Days (Default: 45)
Controls how far back in time to search for gaps.
- **Options**: 30, 45, 60, 90 days
- **Use case**: Increase for long-term analysis, decrease for short-term trading
### Zone Color (Default: Purple)
Customize the color of gap zones to match your chart theme or personal preference.
### Filter Method (Default: Points)
Choose how to filter out small/insignificant gaps:
- **None**: Show all gaps regardless of size
- **Points**: Filter by absolute price points (recommended for futures like NQ/ES)
- **Percentage**: Filter by percentage of price (recommended for stocks)
### Minimum Gap Size (Default: 5.0)
The threshold for filtering gaps based on your selected filter method.
**Recommended settings:**
- **NQ futures**: 5-10 points
- **ES futures**: 2-5 points
- **Stocks (percentage)**: 0.25-0.5%
Adjust based on the instrument's volatility and your trading style.
## Best Practices
1. **For futures (NQ/ES)**: Use "Points" filter with 5-10 point minimum
2. **For stocks**: Use "Percentage" filter with 0.25-0.5% minimum
3. **Clean charts**: If too many gaps clutter your view, increase the minimum gap size or reduce lookback days
4. **Multiple timeframes**: The same gaps appear on all chart timeframes - use this to identify key levels across your analysis
## How to Use
1. Add the indicator to your chart
2. Adjust settings based on your instrument and preferences
3. Gap zones automatically update as new 4H candles form
4. Use zones as potential support/resistance levels for entries, exits, or targets
## Notes
- Gaps are plotted when detected and remain visible even after being filled
- The indicator focuses on 4-hour timeframe gaps specifically, as these tend to be significant levels for intraday and swing trading
- Purple zones extend infinitely to the right to show where price might return to fill or test the gap
---
**Enjoy trading with cleaner gap visualization! 📊**
Daily & Weekly ConfluenceDaily & Weekly Confluence is a precision momentum-alignment indicator built on Stochastic RSI, designed to highlight high-probability bullish conditions when lower-timeframe momentum aligns with higher-timeframe structure. It combines live Stoch RSI signals with a forward-shifted momentum path and a robust daily/weekly confirmation system to help traders anticipate and confirm trend transitions with clarity and discipline.
Why this indicator matters
Momentum signals are most effective when they agree across timeframes. Daily & Weekly Confluence filters noise by requiring alignment between daily and weekly Stoch RSI behavior, allowing traders to focus on setups that occur within a supportive higher-timeframe context rather than reacting to isolated signals.
What the indicator shows
1. Live Stochastic RSI (%K / %D)
The indicator plots real-time Stoch RSI values for the active chart timeframe, including standard overbought and oversold reference levels. These lines represent current momentum conditions and form the basis for all signal logic.
2. Forward-shifted Stoch RSI path
A user-defined Stoch RSI pattern window is sampled from the past and drawn forward on the chart. This path visually maps how momentum previously evolved and where similar momentum behavior may re-emerge. Optional normalization keeps the path scaled to recent conditions for consistent visual interpretation.
3. Momentum cross visualization
When %K and %D intersect within the forward-shifted path, the indicator can display:
Color-cycling vertical reference lines
Small directional arrows at the crossing point
A single highlighted label marking the next upcoming cross
These visuals are designed to keep attention on momentum inflection zones, not clutter.
Multi-timeframe signal logic
Weekly signals
The indicator independently computes weekly Stoch RSI values and detects:
Confirmed bullish crosses
Near-cross conditions based on distance and slope
Daily signals
Daily bullish crosses and near-cross conditions are detected using the same logic but on the daily timeframe.
Weekly context filter (optional)
Daily signals can be restricted so they only trigger when weekly momentum is already bullish or has recently turned bullish. This alignment filter significantly reduces counter-trend signals.
Dual confirmation
When daily and weekly bullish crosses occur together, the indicator flags a high-confidence confluence event.
Alerts built for real trading
Preconfigured alert conditions include:
Weekly bullish confirmed
Weekly bullish near-cross
Daily bullish confirmed
Daily bullish near-cross
Daily signals with weekly confirmation required
Dual daily + weekly confirmation
Alerts can be configured to trigger only on confirmed bar closes for cleaner execution timing.
How to use it effectively
Use weekly signals to define directional bias
Use daily signals for timing within that bias
Treat “near-cross” alerts as early warnings, not entries
Give the highest weight to dual confirmed alignment events
This indicator is best suited for swing traders, position traders, and systematic momentum strategies that prioritize structure, confirmation, and discipline over reactive entries.
Pivot & ORB //@version=5
indicator("Pivot & ORB Thin Zones with Small Labels", overlay=true, max_boxes_count=500)
// ───── Input Settings ─────
orbMinutes = input.int(15, "ORB Minutes")
zoneThickness = input.float(0.0005, "Zone Thickness") // height of thin boxes
showPD = input.bool(true, "Show Previous Day Zone")
showPM = input.bool(true, "Show Previous Month Zone")
showORB = input.bool(true, "Show ORB Zone")
// ───── Previous Day High / Low ─────
pdh = request.security(syminfo.tickerid, "D", high )
pdl = request.security(syminfo.tickerid, "D", low )
var box pdhBox = na
var box pdlBox = na
if showPD
box.delete(pdhBox)
box.delete(pdlBox)
pdhBox := box.new(left=bar_index-1, right=bar_index, top=pdh+zoneThickness, bottom=pdh-zoneThickness, bgcolor=color.new(color.red, 80), border_color=color.red)
pdlBox := box.new(left=bar_index-1, right=bar_index, top=pdl+zoneThickness, bottom=pdl-zoneThickness, bgcolor=color.new(color.green, 80), border_color=color.green)
label.new(bar_index, pdh, "PDH", style=label.style_label_down, size=size.tiny, textcolor=color.white, color=color.red)
label.new(bar_index, pdl, "PDL", style=label.style_label_up, size=size.tiny, textcolor=color.white, color=color.green)
// ───── Previous Month High / Low ─────
pmh = request.security(syminfo.tickerid, "M", high )
pml = request.security(syminfo.tickerid, "M", low )
var box pmhBox = na
var box pmlBox = na
if showPM
box.delete(pmhBox)
box.delete(pmlBox)
pmhBox := box.new(left=bar_index-1, right=bar_index, top=pmh+zoneThickness, bottom=pmh-zoneThickness, bgcolor=color.new(color.orange, 80), border_color=color.orange)
pmlBox := box.new(left=bar_index-1, right=bar_index, top=pml+zoneThickness, bottom=pml-zoneThickness, bgcolor=color.new(color.blue, 80), border_color=color.blue)
label.new(bar_index, pmh, "PMH", style=label.style_label_down, size=size.tiny, textcolor=color.white, color=color.orange)
label.new(bar_index, pml, "PML", style=label.style_label_up, size=size.tiny, textcolor=color.white, color=color.blue)
// ───── ORB (Opening Range Breakout) ─────
var float orbHigh = na
var float orbLow = na
var box orbHighBox = na
var box orbLowBox = na
sessionStart = timestamp("GMT+0", year, month, dayofmonth, hour, minute)
inORB = (timenow - sessionStart) <= orbMinutes * 60000
if inORB
orbHigh := na(orbHigh) ? high : math.max(orbHigh, high)
orbLow := na(orbLow) ? low : math.min(orbLow, low)
else
if not na(orbHigh) and showORB
box.delete(orbHighBox)
box.delete(orbLowBox)
orbHighBox := box.new(left=bar_index-1, right=bar_index, top=orbHigh+zoneThickness, bottom=orbHigh-zoneThickness, bgcolor=color.new(color.yellow, 70), border_color=color.yellow)
orbLowBox := box.new(left=bar_index-1, right=bar_index, top=orbLow+zoneThickness, bottom=orbLow-zoneThickness, bgcolor=color.new(color.yellow, 70), border_color=color.yellow)
label.new(bar_index, orbHigh, "ORB High", style=label.style_label_down, size=size.tiny, textcolor=color.black, color=color.yellow)
label.new(bar_index, orbLow, "ORB Low", style=label.style_label_up, size=size.tiny, textcolor=color.black, color=color.yellow)
orbHigh := na
orbLow := na
OR + PM + PD + Daily Pivot (Labels Fixed)//@version=5
indicator("OR + PM + PD + Daily Pivot (Labels Fixed)", overlay=true)
// -------------------- Time --------------------
h = hour(time)
m = minute(time)
newDay = ta.change(time("D"))
// -------------------- Premarket & Opening Range --------------------
isPremarket = (h >= 4 and h < 9) or (h == 9 and m < 30)
isOpenRange = h == 9 and m >= 30 and m <= 35
// -------------------- Previous Day High / Low --------------------
pdh = request.security(syminfo.tickerid, "D", high )
pdl = request.security(syminfo.tickerid, "D", low )
plot(pdh, color=color.red, title="PDH")
plot(pdl, color=color.green, title="PDL")
if newDay
label.new(bar_index, pdh, "PDH", style=label.style_label_left, color=color.red, textcolor=color.white)
label.new(bar_index, pdl, "PDL", style=label.style_label_left, color=color.green, textcolor=color.white)
// -------------------- Pre-Market High / Low --------------------
var float pmh = na
var float pml = na
var bool pmLabelsPlotted = false
if newDay
pmh := na
pml := na
pmLabelsPlotted := false
if isPremarket
pmh := na(pmh) ? high : math.max(pmh, high)
pml := na(pml) ? low : math.min(pml, low)
plot(pmh, color=color.orange, title="PMH")
plot(pml, color=color.orange, title="PML")
if not isPremarket and not na(pmh) and not pmLabelsPlotted
label.new(bar_index, pmh, "PMH", style=label.style_label_left, color=color.orange, textcolor=color.black)
label.new(bar_index, pml, "PML", style=label.style_label_left, color=color.orange, textcolor=color.black)
pmLabelsPlotted := true
// -------------------- 5-Min High / Low --------------------
fiveHigh = request.security(syminfo.tickerid, "5", high)
fiveLow = request.security(syminfo.tickerid, "5", low)
var float fiveH = na
var float fiveL = na
var bool fiveLabelsPlotted = false
if newDay
fiveH := na
fiveL := na
fiveLabelsPlotted := false
if isOpenRange
fiveH := na(fiveH) ? fiveHigh : math.max(fiveH, fiveHigh)
fiveL := na(fiveL) ? fiveLow : math.min(fiveL, fiveLow)
plot(fiveH, color=color.blue, title="5m High")
plot(fiveL, color=color.blue, title="5m Low")
if not isOpenRange and not na(fiveH) and not fiveLabelsPlotted
label.new(bar_index, fiveH, "5m H", style=label.style_label_left, color=color.blue, textcolor=color.white)
label.new(bar_index, fiveL, "5m L", style=label.style_label_left, color=color.blue, textcolor=color.white)
fiveLabelsPlotted := true
// -------------------- 15-M
Anurag Institutional Swing SqueezeHere is a concise 5-line description suitable for the TradingView library:
**1. Core Strategy:** A professional-grade swing trading system combining **Multi-Timeframe Volatility Squeezes** with **Chaikin Money Flow (CMF)** to validate institutional breakouts and filter fake-outs.
**2. Macro Logic:** Features a "Trend Lock" mechanism that forces 4-hour signals to align with the **Weekly Macro Trend** and checks for "Nested Squeezes" on the Daily chart for maximum explosive potential.
**3. Smart Dashboard:** A real-time HUD calculates a dynamic **Entry Quality Score (0-100%)**, automates **Option Strike & DTE selection**, and displays live Risk:Reward ratios before you trade.
**4. Execution:** Solves the "perfect timing" flaw of standard indicators by using a **"Squeeze Grace Period,"** capturing moves where institutional volume spikes 1-5 bars after the technical breakout.
**5. Risk Management:** Includes built-in ATR Trailing Stops, auto-calculated Take Profit levels, and a "Cooldown Timer" to prevent overtrading and protect capital during chop.
Smart Money Zones (FVG + OB) + MTF Trend Panel## Overview
Professional-grade institutional trading zones indicator that identifies **Fair Value Gaps (FVG)** and **Order Blocks (OB)** - key price inefficiencies where smart money operates. Includes a comprehensive **Multi-Timeframe Trend Panel** for complete market context at a glance.
## Core Features
### 🎯 Fair Value Gaps (FVG)
Fair Value Gaps occur when price moves so aggressively that it leaves an "imbalance" or "gap" in the market structure. These zones often act as magnets where price returns to find liquidity.
**Detection Logic:**
- **Bullish FVG**: When current candle's low is above the high of the candle 2 bars ago
- **Bearish FVG**: When current candle's high is below the low of the candle 2 bars ago
- Requires strong impulse candle (configurable body percentage threshold)
- Color-coded zones: Green for bullish, Red for bearish
### 📦 Order Blocks (OB)
Order Blocks represent the last opposite candle before a significant price move - the zone where institutional orders were placed before the breakout.
**Detection Logic:**
- Identifies the last bearish candle before a strong bullish breakout (Bullish OB)
- Identifies the last bullish candle before a strong bearish breakout (Bearish OB)
- Validates breakout strength using ATR multiplier (1.2x default)
- Color-coded zones: Blue for bullish, Orange for bearish
### 📊 Multi-Timeframe Trend Panel
Real-time trend analysis across **7 timeframes** displayed in an elegant dashboard:
- **1 Minute** - Ultra short-term scalping
- **5 Minutes** - Short-term momentum
- **15 Minutes** - Intraday swings
- **30 Minutes** - Session trends
- **1 Hour** - Multi-session trends
- **4 Hours** - Daily structure
- **Daily** - Long-term direction
**Visual Indicators:**
- 🟢 Green circle = Bullish trend
- 🔴 Red circle = Bearish trend
- Clean, professional table design with customizable position and size
## Intelligence Features
### 🧠 Zone Strength Rating
Every zone is automatically classified by strength based on size relative to ATR:
- **VERY STRONG** - 2.0x ATR or more (major institutional zones)
- **STRONG** - 1.5x to 2.0x ATR (significant zones)
- **MEDIUM** - 1.0x to 1.5x ATR (moderate zones)
- **WEAK** - Below 1.0x ATR (minor zones)
Strength rating helps you prioritize which zones to trade from!
### 📉 Smart Mitigation Tracking
Zones automatically track how much they've been "filled" or mitigated:
- Calculates penetration percentage as price enters the zone
- Zones turn **gray** when 50%+ mitigated or fully filled
- Option to **auto-delete** mitigated zones to keep chart clean
- Live zones extend dynamically with price action
### 🎨 Trend Filter (Optional)
When enabled, only shows zones aligned with the current trend:
- Uses customizable MA period (default 50)
- Bullish zones only appear in uptrend
- Bearish zones only appear in downtrend
- Reduces noise and false signals significantly
## Customization Options
### Display Settings
- Toggle FVGs and OBs independently
- Adjust max zones per type (5-200)
- Choose to remove or gray out mitigated zones
- Color customization for all zone types
### Detection Parameters
- **Min Impulse Body %**: Controls how strong the impulse candle must be (0.3-1.0)
- **Order Block Lookback**: How many bars to look back for OB validation (5-50)
- **ATR Length**: Period for ATR calculation (5-50)
### Trend Filter
- Enable/disable trend filtering
- Adjustable MA period for trend determination
### MTF Panel
- Show/hide the trend panel
- 4 position options: Top Right, Top Left, Bottom Right, Bottom Left
- 3 size options: Small, Normal, Large
- Customizable MA period for trend calculation across all timeframes
## Trading Applications
### 1. **Liquidity Grab Entries**
Wait for price to sweep a zone (50%+ mitigation) then enter on reversal. Smart money often "hunts" these zones before the real move begins.
### 2. **Confluence Trading**
Look for zones that align with:
- Multiple timeframe trends showing same direction
- Multiple FVGs/OBs stacking in same area
- Key support/resistance levels
### 3. **Breakout Confirmation**
Use Order Blocks to confirm the strength of breakouts. Strong OBs indicate institutional participation.
### 4. **Retracement Entries**
Enter when price returns to a fresh, unmitigated zone in the direction of the higher timeframe trend.
### 5. **Range Trading**
Identify FVG zones at range extremes - price often reverses at these inefficiencies.
## How It Works
**Fair Value Gaps** form when the middle candle creates such aggressive movement that it leaves a price gap between the high/low of surrounding candles. Institutional traders know these gaps get filled.
**Order Blocks** mark the origin of major moves. The last opposite-colored candle before a breakout is where large orders were placed. Price often returns to these zones for "retests" before continuing.
**Mitigation** happens when price returns to fill these zones. The indicator tracks this automatically, showing you which zones are still "fresh" and which have been used up.
## Best Practices
✅ **Use higher timeframe trends** - Always check the MTF panel before taking trades
✅ **Trade fresh zones** - Unmitigated zones (not gray) have the highest probability
✅ **Combine with price action** - Look for rejection wicks and engulfing candles at zones
✅ **Respect zone strength** - VERY STRONG and STRONG zones are most reliable
✅ **Use trend filter** - Especially on lower timeframes to reduce false signals
❌ **Don't overtrade** - Not every zone will react, wait for confirmation
❌ **Don't ignore context** - Check the MTF panel for conflicting trends
❌ **Don't chase** - Wait for price to come to the zone, don't enter mid-zone
## Technical Details
- **Non-repainting**: All zones are drawn on confirmed candles only
- **Performance optimized**: Uses efficient array management with per-type caps
- **Real-time updates**: Zones extend and track mitigation as price moves
- **Universal compatibility**: Works on all markets and timeframes
## Recommended Settings by Style
**Scalping (1m-5m charts):**
- Max zones: 10-15
- Use trend filter: ON
- MTF Panel: Focus on 1m-15m trends
- Remove mitigated: ON (keep chart clean)
**Day Trading (5m-1H charts):**
- Max zones: 15-20
- Use trend filter: ON
- MTF Panel: Focus on 15m-4H trends
- Remove mitigated: OFF (track zone history)
**Swing Trading (1H-D charts):**
- Max zones: 20+
- Use trend filter: Optional
- MTF Panel: Focus on 1H-1D trends
- Remove mitigated: OFF (important zones persist)
---
## Perfect For
- Smart Money Concept (SMC) traders
- ICT methodology followers
- Institutional order flow traders
- Price action traders seeking key zones
- Multi-timeframe analysis enthusiasts
**Compatible with all markets:** Forex, Crypto, Stocks, Indices, Commodities, Futures
*Trade where the institutions trade. Follow the smart money.*
SLS CAPITALThe idea behind this indicator is to mark the high and low of each section, looking, for example, for a theme of confluence between days in order to find days that converge with a thesis of the strategy we have.
GMACD MTF EMA14 Strategy (1H TF)GMACD MTF EMA14 Strategy (1H TF) - FINAL SAFE
Overview
The GMACD MTF EMA14 Strategy is a multi-timeframe momentum trading strategy designed for the 1-hour timeframe. It combines a custom GMACD (Geometric MACD) with multi-timeframe EMA14 alignment to generate high-probability long and short trade signals. The strategy includes state-controlled entries and unique alerts to ensure trades are executed only once per confirmed setup.
Key Components
GMACD Core
Uses a custom geometric MACD formula with fast (12), slow (26), and smooth (14) lengths.
Signal line is an EMA of the GMACD with a length of 9.
GMACD normalizes price movement against the daily range (high-low), making it more sensitive to momentum changes.
Multi-Timeframe EMA14 Filter (MTF)
EMA14 is calculated on 15m, 30m, and 1H timeframes.
Bullish alignment: price closes above at least 2 of the 3 EMAs.
Bearish alignment: price closes below at least 2 of the 3 EMAs.
Acts as a trend filter, ensuring trades align with broader momentum.
Signal Conditions
Long Entry: GMACD > Signal AND EMA14 bullish alignment.
Short Entry: GMACD < Signal AND EMA14 bearish alignment.
Signals are triggered only when both momentum and trend conditions are met.
State-Controlled Alerts & Entries
Ensures unique entries per trade condition.
Alerts notify traders of confirmed setups with detailed reasoning:
"GMACD LONG | MACD > Signal | EMA14 aligned (15m,30m,1H)"
"GMACD SHORT | MACD < Signal | EMA14 aligned (15m,30m,1H)"
Avoids repeated alerts during ongoing trades.
Momentum + Trend Confluence: Combines momentum (GMACD) with trend alignment (MTF EMA14) to improve trade quality.
Multi-Timeframe Confirmation: Reduces false signals by requiring at least 2 timeframes to confirm trend direction.
Automated Alerts: Traders receive instant notifications when setups occur.
Safe Execution: State-controlled logic prevents repeated entries and false signals.
Customizable: All key parameters (GMACD lengths, EMA length, timeframes) can be adjusted for optimization.
Visual Reference: GMACD and Signal plotted on the chart for quick visual confirmation.
How Traders Can Use This Strategy
Intraday or Swing Trading (1H TF)
Ideal for 1-hour charts, capturing medium-term momentum moves.
Signal Confirmation
Use the dashboard plot (GMACD vs Signal) and EMA alignment to confirm trade direction.
Alerts for Active Monitoring
Traders can set alerts to receive notifications without constantly watching the charts.
Risk Management
Since the strategy ensures trades align with multi-timeframe trend, stop-loss placement and position sizing can be optimized based on volatility or account risk tolerance.
Summary
The GMACD MTF EMA14 Strategy is a robust and safe momentum trading tool for traders who want:
Multi-timeframe confirmation
Unique, actionable alerts
Momentum-based trade entries with trend filter
It’s especially suitable for traders looking for mechanical entries in trending markets, reducing emotional decisions while capturing high-probability trades.
Forex Master Confluence [MTF Dashboard]What's New?
Adjustable Table Size: I added a "Table Size" input in the settings. You can now toggle between Tiny, Small, Normal, and Large to fit your screen resolution perfectly.
New Column: "Bars Active": As a seasoned trader, knowing direction isn't enough; you need to know maturity.
This column counts how many candles the trade has been active.
Why it helps: A "LONG" signal on the 15m chart that is 1 bar old is a fresh entry opportunity. A "LONG" signal that is 45 bars old is likely overextended, even if the indicators are still green.
MA 8-13-21-55-89-144-233MA 8-13-21-55-89-144-233 — Multi-Layer Trend & Momentum Framework
This indicator is designed for traders who want to read market structure, trend direction, and momentum at a glance using a clean and professional multi-moving average setup.
Why These Periods?
The periods 8, 13, 21, 55, 89, 144, 233 are:
Fibonacci-based
Commonly used by professional and institutional traders
Highly effective for separating momentum, pullbacks, and macro trend
This structure allows you to track short-term speed, medium-term trend, and long-term market bias on a single chart.
How to Use
Trend Direction
Price above MA 55 / 89 / 144 / 233 → bullish market structure
Price below them → bearish market structure
Momentum & Entries
MA 8 – 13 – 21
Short-term momentum and aggressive entry zones
MA 21 – 55
Healthy pullback and continuation areas within a trend
Trend Strength
Well-aligned and expanding MAs → strong trend
Compressed MAs → ranging or indecisive market
Who Is This For?
Intraday traders
Swing traders
Price Action + MA traders
Traders who prefer structure over clutter
Important Note
This indicator does not generate buy/sell signals by itself.
Best results are achieved when combined with:
Candlestick patterns
Support & resistance
Pure price action
Clean chart. Clear structure. Multi-timeframe awareness.
Know where the trend is, where momentum shifts, and when the market is compressing — all in one view.
BTC - Liquisync: Macro Pulse & Desync EngineLiquisync: Macro Pulse & Desync Engine | RM
Strategic Context: The Macro Fuel Tank
Why compare Global Liquidity to Bitcoin? Because Bitcoin acts as a "Global M2 Sponge." As central banks expand their balance sheets, this "Fuel" filters into the system, taking roughly 56 to 70 days to reach Bitcoin's price. Liquisync measures this lead-lag relationship to determine if the "Engine" (Price) is properly supported by the "Fuel" (M2).
How the Model Differs: Liquisync vs. Standard Macro Composites
Many existing macro scripts focus on a Linear Sum of indicators—adding up M2, Spread, and Copper/Gold into a single Z-score. While useful for general sentiment, these "Composite" models often suffer from Directional Blindness. They tell you if the environment is "Risk-On," but they cannot tell you if the Price is currently lying about the Liquidity.
The Liquisync Edge:
• Conflict Detection: Unlike composites that simply turn red or green, Liquisync identifies Desync.
• Velocity Normalization: Instead of Z-scoring absolute values, we measure the Acceleration (Slope) of the move, allowing us to see "Decay" before the trend actually flips.
How the Model Works
1. Pulse Velocity Mapping (The Dual-Slope Architecture)
The engine utilizes a Dual-Slope Architecture to measure the "Dynamic Force" behind the market. By calculating the Linear Regression Slope for both Global Liquidity and BTC Price, we are measuring Acceleration.
• Liquidity Slope (The Fuel): Measures the speed at which central banks are expanding or contracting the money supply.
• Price Slope (The Engine): Measures the speed at which the market is repricing Bitcoin in response to that money (or due to other factors).
The Mathematical Bridge: We don't just plot these lines independently; we normalize them. Because Global M2 is measured in Trillions and BTC in Thousands of Dollars, we transform both into a unified Relative Pulse Score (-100 to +100).
Liquisync: The 4 Macro Scenarios (Directional Matrix) By measuring the interconnectivity of these two pulses, the engine identifies four distinct market regimes:
Scenario A: Institutional Expansion (Harmony) Liquidity Slope (+ rising) | Price Slope (+ rising) Harmony. The trend is "True." The price increase is fully supported by global money. (Scenario Jan 2023)
Scenario B: The Bear Trap (Desync / "Open Mouth") Liquidity Slope (+ rising) | Price Slope (- falling) The Core Edge. Liquidity is filling up, but price is dropping due to short-term panic. Because the fuel is there, the price must eventually snap upward to catch up with the liquidity reality. (Scenario Jun 2020)
Scenario C: The Bull Trap (Desync / "Open Mouth") Liquidity Slope (- falling) | Price Slope (+ rising) The Danger Zone. Price is climbing on "Empty Fuel." Retail FOMO is driving the market while liquidity is being pulled. Highly unstable. (Scenario Jul 2022)
Scenario D: Macro Contraction (Harmony) Liquidity Slope (- falling) | Price Slope (- falling) The Drain. Global liquidity is shrinking and price is following. A fundamental bear market. (Scenario Nov/Dec 2021)
2. Directional Desync (The Conflict Filter)
Liquisync is a Conflict Filter. It ignores "Synchronous" phases where both lines move together and focuses 100% of its visual energy on the Desync scenarios (Bear Trap or Bull Trap). When the lines travel in opposite directions, the indicator generates Cyan Columns. The height of these columns tells you the intensity of the conflict. When the pulses move in Harmony (Scenario A & D), the desync value remains at zero. This creates a 'Visual Silence' on the chart, signaling that the current price trend is structurally healthy and macro-supported.
3. Liquisync Extreme (The Snap-Back Star ✦)
This triggers when the "Open Mouth" (the Liquidity Pulse (Golden Line) and the Price Pulse (White Area) pull in diametrically opposite directions) desync reaches 85% of its 1-year historical record. This is a generational signal identifying the absolute limits of market irrationality relative to the macro reality (Price up, M2 down or vice versa).
How to Read the Chart
• Golden Pulse: The Liquidity Slope
• White Area: The Price Slope
• Harmony (No Columns): Price and Liquidity are in sync. Trend-following is safe.
• Open Mouth (Cyan Columns): These are not momentum bars; they are Conflict Bars . They only appear when the Price and Liquidity are traveling in opposite directions. The taller the column, the more "stretched" the macro rubber band has become.
• Magenta Stars: The desync is at a statistical limit. Expect a violent Macro Snap-Back toward the Golden Liquidity line.
The 60-Day Lead-Lag Principle: Why the Delay?
The Liquisync engine utilizes a specific forward-lag (defaulted to 60–80 days or 9 weeks, to be parametrized by the user) based on the Monetary Transmission Mechanism. Research into global liquidity cycles shows that central bank injections (M2 expansion) do not impact high-beta risk assets instantaneously. Capital follows a "Waterfall Effect": it moves first into primary dealer banks, then into credit markets and equities, and finally—once the "liquidity tide" has sufficiently risen—into the cryptocurrency ecosystem. Statistical correlation studies confirm that the peak relationship between Global M2 and Bitcoin historically occurs with a 56 to 63-day delay. By shifting the liquidity data forward, we align the "Macro Cause" with its "Market Effect," revealing a clearer predictive map that standard, unlagged indicators miss.
Settings & Calibration: Tuning the Liquisync Engine
The Liquisync engine is a precision instrument that requires specific calibration to align the "Macro Fuel" with the "Price Engine."
Slope Lookback defines the sensitivity of our acceleration measurement; a setting of 6 (Weekly) or 30 (Daily) ensures we capture structural shifts while filtering out intraday noise
Liquidity Lag is perhaps the most critical setting, as it shifts the M2 data forward to account for the standard 60–80 day (or 9-week) transmission delay—the time it takes for central bank liquidity to actually hit the crypto order books.
Extreme Window establishes our statistical benchmark; by default, this is set to 52 (representing one full year on the Weekly timeframe), allowing the engine to identify "Magenta Star" signals by comparing the current directional desync against the highest records of the last 365 days.
Recommended Calibration :
• Daily (1D): Set Lag to 60–80 and Lookback to 30 .
• Weekly (1W): Set Lag to 9 (9 weeks) and Lookback to 6 . The 1W chart is the preferred filter for macro cycles.
Detailed Script Calculations
The script aggregates liquidity from the FED, RRP, TGA, PBoC, ECB, and BoJ using request.security. We calculate the ta.linreg slope of this aggregate, normalize it via EMA-smoothed RSI mapping (-100 to +100), and apply a ta.change filter to identify directional opposition. The "Extreme" signal is derived from a rolling ta.highest window of the desync intensity.
The Liquisync engine calculates the Linear Regression Slope (m) over a user-defined window:
m =
Where:
• Δy = The distance between the current linear regression end-point and the previous bar.
• Δx = The defined bar-count (Lookback).
Risk Disclaimer & Credits
The Liquisync is a thematic macro tool. Global liquidity data is subject to reporting delays (Note: Because central bank M2 data is typically reported with a lag, the Golden Pulse represents the most recently available macro data, not a real-time high-frequency feed.). This is not financial advice; it is a statistical model for institutional education. Rob Maths is not liable for losses incurred via use of this model.
Tags:
indicator, bitcoin, btc, macro, liquidity, desync, liquisync, institutional, m2, robmaths, Rob Maths
BM 1.0BM 1.0 is a direction-focused indicator built to eliminate guesswork and emotional trading. It filters market noise and highlights high-probability directional bias, allowing traders to align themselves with the dominant force in the market instead of fighting it.
Pivot Point Zones [JOAT]Pivot Point Zones — Multi-Formula Pivot Levels with ATR Zones
Pivot Point Zones calculates and displays traditional pivot points with five formula options, enhanced with ATR-based zones around each level. This creates more practical trading zones that account for price noise around key levels—because price rarely reacts at exact mathematical levels.
What Makes This Indicator Unique
Unlike basic pivot point indicators, Pivot Point Zones:
Offers five different pivot calculation formulas in one indicator
Creates ATR-based zones around each level for realistic reaction areas
Pulls data from higher timeframes automatically
Displays clean labels with exact price values
Provides a comprehensive dashboard with all levels
What This Indicator Does
Calculates pivot points using Standard, Fibonacci, Camarilla, Woodie, and more formulas
Draws horizontal lines at Pivot, R1-R3, and S1-S3 levels
Creates ATR-based zones around each level for realistic price reaction areas
Displays labels with exact price values
Updates automatically based on higher timeframe closes
Provides fills between zone boundaries for visual clarity
Pivot Formulas Explained
// Standard Pivot - Classic (H+L+C)/3 calculation
pp := (pivotHigh + pivotLow + pivotClose) / 3
r1 := 2 * pp - pivotLow
s1 := 2 * pp - pivotHigh
r2 := pp + pivotRange
s2 := pp - pivotRange
// Fibonacci Pivot - Uses Fib ratios for level spacing
r1 := pp + 0.382 * pivotRange
r2 := pp + 0.618 * pivotRange
r3 := pp + 1.0 * pivotRange
// Camarilla Pivot - Tighter levels for intraday
r1 := pivotClose + pivotRange * 1.1 / 12
r2 := pivotClose + pivotRange * 1.1 / 6
r3 := pivotClose + pivotRange * 1.1 / 4
// Woodie Pivot - Weights current close more heavily
pp := (pivotHigh + pivotLow + 2 * close) / 4
// TD Pivot - Conditional based on open/close relationship
x = pivotClose < pivotOpen ? pivotHigh + 2*pivotLow + pivotClose :
pivotClose > pivotOpen ? 2*pivotHigh + pivotLow + pivotClose :
pivotHigh + pivotLow + 2*pivotClose
pp := x / 4
Formula Characteristics
Standard — Classic pivot calculation. Balanced levels, good for swing trading.
Fibonacci — Uses 0.382, 0.618, and 1.0 ratios. Popular with Fibonacci traders.
Camarilla — Tighter levels derived from range. Excellent for intraday mean-reversion.
Woodie — Weights current close more heavily. More responsive to recent price action.
TD — Conditional calculation based on open/close relationship. Adapts to bar type.
Zone System
Each pivot level includes an ATR-based zone that provides a more realistic area for potential price reactions:
// ATR-based zone width calculation
float atr = ta.atr(atrLength)
float zoneHalf = atr * zoneWidth / 2
// Zone boundaries around each level
zoneUpper = level + zoneHalf
zoneLower = level - zoneHalf
This accounts for market noise and helps avoid false breakout signals at exact level prices.
Visual Features
Pivot Lines — Horizontal lines at each calculated level
Zone Fills — Transparent fills between zone boundaries
Level Labels — Labels showing level name and exact price (e.g., "PP 45123.50")
Color Coding :
- Yellow: Pivot Point (PP)
- Red gradient: Resistance levels (R1, R2, R3) - darker = further from PP
- Green gradient: Support levels (S1, S2, S3) - darker = further from PP
Color Scheme
Pivot Color — Default: #FFEB3B (yellow) — Central pivot point
Resistance Color — Default: #FF5252 (red) — R1, R2, R3 levels
Support Color — Default: #4CAF50 (green) — S1, S2, S3 levels
Zone Transparency — 85-90% transparent fills around levels
Dashboard Information
The on-chart table (bottom-right corner) displays:
Selected pivot type (Standard, Fibonacci, etc.)
R3, R2, R1 resistance levels with exact prices
PP (Pivot Point) highlighted
S1, S2, S3 support levels with exact prices
Inputs Overview
Pivot Settings:
Pivot Type — Formula selection (Standard, Fibonacci, Camarilla, Woodie, TD)
Pivot Timeframe — Higher timeframe for OHLC data (default: D = Daily)
ATR Length — Period for zone width calculation (default: 14)
Zone Width — ATR multiplier for zone size (default: 0.5)
Level Display:
Show Pivot (P) — Toggle central pivot line
Show R1/S1 — Toggle first resistance/support levels
Show R2/S2 — Toggle second resistance/support levels
Show R3/S3 — Toggle third resistance/support levels
Show Zones — Toggle ATR-based zone fills
Show Labels — Toggle price labels at each level
Visual Settings:
Pivot/Resistance/Support Colors — Customizable color scheme
Line Width — Thickness of level lines (default: 2)
Extend Lines Right — Project lines forward on chart
Show Dashboard — Toggle the information table
How to Use It
For Intraday Trading:
Use Daily pivots on intraday charts (15m, 1H)
Pivot point often acts as the day's "fair value" reference
Camarilla levels work well for intraday mean-reversion
R1/S1 are the most commonly tested levels
For Swing Trading:
Use Weekly pivots on daily charts
Standard or Fibonacci formulas work well
R2/S2 and R3/S3 become more relevant
Zone boundaries provide realistic entry/exit areas
For Support/Resistance:
R levels above price act as resistance targets
S levels below price act as support targets
Zone boundaries are more realistic than exact lines
Multiple formula confluence adds significance
Alerts Available
DPZ Cross Above Pivot — Price crosses above central pivot
DPZ Cross Below Pivot — Price crosses below central pivot
DPZ Cross Above R1/R2 — Price breaks resistance levels
DPZ Cross Below S1/S2 — Price breaks support levels
Best Practices
Match pivot timeframe to your trading style (Daily for intraday, Weekly for swing)
Use zones instead of exact levels for more realistic expectations
Camarilla is best for mean-reversion; Standard/Fibonacci for breakouts
Combine with other indicators for confirmation
— Made with passion by officialjackofalltrades
Market State Intelligence [Interakktive]Market State Intelligence (MSI) is a diagnostic market-context indicator that reveals how the market is behaving — not where price "should" go.
MSI does not generate buy/sell signals. Instead, it classifies market conditions into clear behavioural regimes by continuously measuring:
- DRIVE (directional effort)
- OPPOSITION (absorption / resistance)
- STABILITY (structural persistence)
MSI is designed to answer three practical questions:
- What state is the market in right now?
- Is energy building, releasing, or decaying?
- Is participation aligned with price, or opposing it?
█ WHAT MSI DOES
MSI operates as a real-time regime classification engine that processes each closed bar through three independent measurement systems:
DRIVE — Directional Effort (0–100)
- Displacement efficiency (net progress vs total path)
- Range expansion quality (actual range vs expected ATR range)
- Body dominance (body vs candle range)
OPPOSITION — Absorption / Resistance (0–100)
- Wick pressure (rejection relative to attempt)
- Effort–result gap (high effort, low progress)
- Reversal density (counter-moves frequency)
STABILITY — Persistence (0–100)
- Condition persistence (how long conditions hold)
- Variance score (flip frequency)
- Follow-through consistency (reaction continuity)
These three forces feed a deterministic classifier with hysteresis (anti-flicker) to identify five regimes:
COMPRESSION — low drive, low opposition, higher stability (pressure building, direction unclear)
EXPANSION — high drive, low opposition (directional energy release)
TREND — medium-high drive, higher stability, low-medium opposition (healthy continuation)
DISTRIBUTION — medium drive, high opposition (effort absorbed; progress blocked)
TRANSITION — rapidly rising opposition, low stability (regime breakdown / uncertainty)
█ WHAT MSI DOES NOT DO
- No buy/sell signals, entries/exits, or performance claims
- No prediction of future direction
- No repainting: calculations use closed-bar data only
MSI is a market state layer intended to support your execution framework.
█ VISUAL SYSTEM
MSI uses a layered visual grammar designed to remain readable on live charts:
Regime Ribbon
A thin horizontal band showing the current regime via colour. Ribbon opacity reflects regime confidence (stronger confidence = more visible).
Pressure Envelope (core visual)
A soft corridor around price that expands with Drive and becomes more visible as Opposition increases. This visualises "pressure thickness" around current action (not a volatility band for entries).
Structural Memory
Faint background stains appear where regimes previously failed (e.g., expansion collapsing into absorption). These are behavioural context zones showing where market intention was rejected — not support/resistance.
Regime Change Markers (optional)
Subtle labels appear when regimes transition after confirmation. Useful for replay and education.
Effort Halo (optional)
Candle highlighting when Opposition materially exceeds Drive, indicating absorption/inefficiency.
█ HUD PANEL
The HUD displays:
- Current regime name + colour indicator
- A context gate showing whether conditions are aligned with long-bias or short-bias context (not an entry/exit system)
█ REGIME LEGEND
When enabled, displays:
- A one-line definition of the current regime
- Live Drive / Opposition / Stability values for interpretation
█ TIME-TO-DECISION METER
A visual pressure gauge that tends to fill during Compression (energy building) and drain during Expansion (energy releasing). It is a state-tracking meter, not a timing tool.
█ SETTINGS
MSI — Settings
- Preset Mode: Scalper / Swing / Position
- Analysis Mode (Minimal): ON = subtle visuals, OFF = full intensity
- Regime Ribbon, Structural Memory, HUD Panel, Time-to-Decision Meter, Effort Halo
MSI — Visual Options
- Show Regime Changes: Labels when regime transitions occur
- Show Regime Legend: Definition and live values display
- Panel Position: Move the entire panel anywhere on chart
MSI — Advanced (Tuning)
- Sensitivity (0.5–2.0)
- Smoothing (0.5–2.0)
- Memory Decay (0.5–2.0)
- Visual Intensity (Low / Medium / High)
█ PRESETS EXPLAINED
Scalper
Higher sensitivity + lower smoothing + faster memory decay. Best for 1m–15m monitoring.
Swing (default)
Balanced behaviour. Best for 15m–4H analysis.
Position
Lower sensitivity + higher smoothing + slower memory decay. Best for 4H–1D macro context.
█ STRUCTURAL MEMORY
When a regime fails (example: Expansion → Distribution), MSI creates a memory imprint:
- Fixed stain window (preset dependent)
- Strength decays over time
- Limited to a maximum number of imprints to reduce chart clutter
These zones represent behavioural rejection, not levels.
█ SUITABLE MARKETS
MSI is designed for Forex, Crypto, Indices, Stocks, and Commodities.
Works from intraday to Daily, with particularly strong readability on 15m–4H.
█ DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice, trading recommendations, or solicitation. Trading involves substantial risk. Always use proper risk management and make independent decisions.
Confluence Strength Meter (Bull/Bear) [v6]This indicator provides a quantified "Strength Score" (0-5) for price action setups by measuring the confluence of five key technical drivers. It features a Strategy Mode toggle, allowing traders to instantly switch between Bullish (Long) and Bearish (Short) scoring logic.
How it Works: The script analyzes the following factors to build a Confluence Score:
Trend Direction: Price relation to the Slow EMA (50).
EMA Stack: Fast EMA (20) vs. Slow EMA (50) alignment.
Volume Sentiment: Price relation to the Intraday VWAP.
Momentum: MACD vs. Signal line crossover.
RSI Health: Checks for momentum in the correct direction while filtering out extreme exhaustion (Overbought/Oversold).
Features:
Visual Histogram: Color-coded bars (Green/Red for strong setups, Orange for moderate, Gray for weak) make it easy to spot high-confluence zones.
Dual Modes: Input setting to switch the entire logic engine between Bullish and Bearish detection.
Alerts: Pre-configured alert conditions for both Long and Short setups, ready for webhook integration.
Usage: Look for a score of 4 or 5 (brightly colored bars) to confirm high-probability entries in the direction of your selected trend.
Triple EMA + Key Levels [Scalping-Algo]TITLE: Triple EMA Day Trading System with Multi-Timeframe Support/Resistance Levels
DESCRIPTION:
📊 Overview
This indicator combines trend-following EMAs with key historical price levels to create a complete day trading toolkit. It helps traders identify trend direction while highlighting important support and resistance zones from multiple timeframes.
🎯 Purpose & Trading Application
Day traders often need to quickly assess:
1. Current trend direction (using EMAs)
2. Key price levels where reversals or breakouts may occur
This indicator solves both needs in one tool, reducing chart clutter from multiple indicators.
📈 How It Works
TREND IDENTIFICATION (EMAs):
- EMA 13 (Yellow): Fast EMA for short-term momentum and entry timing
- EMA 48 (Purple): Medium EMA for intraday trend direction
- EMA 200 (Red): Slow EMA for overall trend bias
Trading Logic:
- When price is above all 3 EMAs = Strong bullish bias
- When price is below all 3 EMAs = Strong bearish bias
- EMA crossovers signal potential trend changes
- The 13/48 crossover is particularly useful for intraday entries
SUPPORT & RESISTANCE LEVELS:
- Previous Day High/Low (Green, Solid): Most recent daily range - high probability reaction zones
- 2-Day High/Low (Blue, Dashed): Extended lookback for stronger levels
- Previous Week High/Low (Orange, Dotted): Major institutional levels
Why These Levels Matter:
Previous day and weekly highs/lows are watched by many traders and algorithms. Price often:
- Reverses at these levels (support/resistance)
- Accelerates through them (breakout trades)
🔧 How To Use
FOR TREND TRADING:
1. Identify bias using EMA stack (all 3 aligned = strong trend)
2. Look for pullbacks to EMA 13 or 48 for entries
3. Use key levels as profit targets
FOR REVERSAL TRADING:
1. Watch for price approaching previous day/week levels
2. Look for rejection candles at these levels
3. Use EMA 13 break as confirmation
FOR BREAKOUT TRADING:
1. Identify consolidation near key levels
2. Enter on break of level with volume
3. Use opposite level as target
⚙️ Settings
All parameters are fixed for simplicity:
- EMAs: 13, 48, 200 periods
- Levels: Previous Day, 2-Day, Previous Week
- All lines thickness: 2
📝 Notes
- Best used on intraday timeframes (1min to 1hour)
- Levels update automatically each day/week
- Labels on right side identify each level (PDH, PDL, 2DH, 2DL, PWH, PWL)
---
TAGS: ema, daytrading, support, resistance, levels, intraday, trend, scalping, swingtrading
Rate Trail IndicatorRate Trail Indicator Precision Trailing Stop & Multi-Timeframe Highs
Description The Rate Trail Indicator V2 is a professional-grade risk management tool designed to declutter your charts while providing precise, dynamic stop-loss levels. Unlike traditional indicators that paint a continuous "trail" or history across the chart, this script utilizes a Single Line visual approach. It draws only the currently active stop-loss level as a distinct horizontal line, keeping your workspace clean and focused on current price action.
This updated version now includes extensive Multi-Timeframe (MTF) Support, allowing you to overlay key Intraday and Higher Timeframe (HTF) highs directly on your chart.
Key Features Clean "Single Line" Visuals: Removes historical noise by plotting only the active stop-loss level and a dedicated price label. Dual Logic Modes: Percentage Mode: Classic trailing stop based on a percentage drop from the high. Renko Mode: Volatility-based stop that counts exact "Bricks" (supports decimals like 1.5 bricks). Dynamic Reset: The stop trails the "Lifetime High" of the current trend. If the stop is breached, it automatically resets to the current price to begin a new trail immediately. MTF High Breakout Levels: Optional toggles to display previous Intraday Highs (2H, 4H, 6H, 12H) and Historical Highs (1W, 2W, 1M, 3M). Rolling 3-Month Logic: The 3M level now uses a "Rolling" lookback (Highest of the last 3 monthly candles) rather than a fixed calendar quarter, ensuring the data is always recent and relevant. Full Customization: Control line styles (Solid, Dashed, Dotted), colors, and widths for every level independently via the inputs.
How to Use & Settings
1. Main Trailing Stop Setup Configure your primary risk line (Red Line) in the "Main Trailing Stop" group. Stop-Loss Mode: Select Percentage for standard equity/crypto trading (e.g., 2% trail) or Renko Boxes for Renko charts. Renko Boxes Down: Enter the number of bricks to trail. You can use decimals (e.g., 1.5) for fine-tuning. Use Fixed Lookback?: Unchecked (Default): The script tracks the "Infinite High" since the last reset. This is ideal for catching long trends. Checked: The script only looks at the highest price of the last X bars. This creates a more "rolling" stop-loss.
2. Intraday & Historical Highs (Resistance/Breakout) Enable up to eight additional lines to see where the price peaked on other timeframes. These act as strong breakout or resistance levels. Intraday Highs: Show the high of the previous 2H, 4H, 6H, or 12H session. 1W / 1M Highs: The highest price of the previous Week or Month. 2W High: The highest price of the last 2 Weeks . 3M High (Updated): The highest price of the last 3 Months (Rolling). This updates monthly, ensuring you aren't looking at data that is 6 months old.
3. Alerts You can set specific alerts to automate your trading or get notified instantly. Main Stop Breached: Fires when price closes below your trailing stop line. MTF High Cross: Fires when price crosses under any of the enabled Intraday or HTF High levels (2H, 4H, 1W, 3M, etc.).
5x Multi-Timeframe Moving AveragesSince I use EMA lines a lot and I typically want them based on one timeframe - say: D1 - while looking into higher or lower timeframes, I made this simple indicator:
- Up to 5 moving averages (SMA, EMA, ...)
- on chart timeframe or any defined timeframe (W, D, H4, H1, 30min, ...)
- each with user defined length / number of periods of calculation
- each in user defined line style, width and color.
Straight forward but very handy. Enjoy.
Juergen






















