Regime EngineRegime Engine
Overview
Regime Engine is a market regime detection system that classifies price action into bullish, bearish, or neutral states using weighted exponential moving average analysis. Once the regime is identified, the indicator generates buy and sell signals based on Donchian channel breakouts, filtered by ADX trend strength and RSI momentum conditions.
The Money Line
The core of regime detection is the Money Line, a weighted combination of two exponential moving averages. By default, the short EMA (8 periods) receives 60% weight while the long EMA (24 periods) receives 40% weight. This weighting allows the Money Line to be more responsive than a simple long-period average while remaining smoother than a short-period average alone.
The Money Line changes color based on the current regime: green for bullish, red for bearish, and yellow for neutral. This provides immediate visual feedback about the market state.
Regime Classification
The indicator determines market regime by comparing the relative positions of the short and long EMAs while also considering RSI levels to avoid classifying overbought or oversold conditions as trend states.
Bullish regime is identified when the short EMA is above the long EMA and RSI is not in overbought territory. This combination suggests upward momentum that is not yet exhausted.
Bearish regime is identified when the short EMA is below the long EMA and RSI is not in oversold territory. This indicates downward momentum with room to continue.
Neutral regime applies when the EMAs are close together or RSI conditions prevent trend classification. The indicator provides two optional methods for enhanced neutral detection.
Neutral Zone Detection
Markets often transition through periods where trend direction is unclear. The indicator offers two complementary methods for detecting these neutral zones.
The slope method examines the rate of change of the Money Line relative to ATR. When the Money Line is moving slowly (slope below a tolerance threshold), the market is classified as neutral regardless of EMA positioning.
The EMA distance method calculates the percentage distance between the short and long EMAs. When they are within a specified percentage of each other, the EMAs are considered too close to reliably indicate direction.
Either or both methods can be enabled, and if either triggers, the regime is classified as neutral.
Donchian Channel Signals
Buy and sell signals are generated when price interacts with the Donchian channel boundaries. The Donchian channel plots the highest high and lowest low over a lookback period (default 20 bars), offset by one bar to prevent repainting.
Buy signals trigger when price touches or breaks below the lower Donchian band, indicating a potential support level. Sell signals trigger when price touches or breaks above the upper Donchian band, indicating potential resistance.
An optional setting requires the close to confirm the break rather than just the wick, providing more conservative signal generation.
ADX Trend Strength Filter
The Average Directional Index filters signals to ensure they occur during trending conditions. When enabled, signals only fire if ADX exceeds the threshold (default 24), confirming that the market has sufficient directional momentum for breakout trades to succeed.
The indicator uses Wilder's original smoothing method for ADX calculation, providing the traditional interpretation of trend strength values.
RSI Momentum Filter
RSI provides additional signal filtering to ensure entries occur at favorable momentum levels. Buy signals require RSI to be at or below the oversold threshold (default 30), indicating potential exhaustion of selling pressure. Sell signals require RSI to be at or above the overbought threshold (default 70), suggesting exhaustion of buying pressure.
These filters can be disabled for traders who prefer unfiltered Donchian breakout signals.
BBWP Volatility Monitoring
Bollinger Band Width Percentile measures current volatility relative to its historical range. The indicator calculates BB width and ranks it against the specified lookback period (default 252 bars, approximately one trading year).
BBWP above 70% indicates elevated volatility, which may signal trend acceleration or potential reversals. BBWP below 30% indicates compressed volatility, often preceding significant moves. The information panel displays the current BBWP reading with color coding to highlight these conditions.
Signal Cooldown
To prevent signal clustering during extended breakout periods, a configurable cooldown prevents new signals of the same type for a specified number of bars after each signal. This ensures each signal represents a distinct trading opportunity.
Visual Components
The Donchian channel can display shaded bands between the upper and lower boundaries. The shading color reflects the current regime: green for bullish, magenta for bearish, and blue for neutral. This provides at-a-glance context for where price is trading within its recent range.
An ADX strength bar at the bottom of the chart uses color coding: white for weak trend (ADX below 15), orange for ranging (ADX 15-24), and blue for trending (ADX above 24). This matches the trend strength display in the information panel.
Price labels appear at signal locations showing the signal type and entry price. Labels are automatically cleaned up after reaching a configurable history limit to maintain chart performance.
Signal candles are highlighted in blue, making it easy to identify exactly which bars generated signals when reviewing historical performance.
Information Panel
A compact table displays key metrics: current regime bias, trend strength classification, BBWP volatility reading, RSI level, and ADX value. Each metric is color-coded to highlight favorable or unfavorable conditions.
The panel can be positioned at any corner or middle edge of the chart. An alternative label-based display anchored to the chart is also available for those who prefer that format.
Trend Persistence Option
By default, the regime is recalculated on every bar. An optional persistence mode changes this behavior so that the regime only changes on EMA crossovers. This reduces regime flipping during choppy conditions but may delay regime recognition during gradual trend changes.
How to Use
Monitor the Money Line color and information panel for current regime. In bullish regimes, focus on buy signals at the lower Donchian band as potential pullback entries. In bearish regimes, focus on sell signals at the upper band as potential short entries or exit points.
Use the ADX strength indicator to gauge signal reliability. Signals during trending conditions (blue ADX bar) have historically higher success rates than signals during ranging conditions (orange bar) or weak trends (white bar).
Watch BBWP for volatility context. Low BBWP readings suggest a significant move may be developing, while high readings indicate the current move may be overextended.
The combination of regime awareness, Donchian breakout signals, and ADX/RSI filtering provides a structured approach to identifying trading opportunities across different market conditions.
Settings Guidance
The default settings work well for cryptocurrency and forex markets on intraday timeframes. For stocks or longer timeframes, consider increasing the EMA periods and Donchian lookback. The ADX threshold can be adjusted based on the typical ADX range for the traded instrument.
The RSI filter levels can be relaxed (higher oversold, lower overbought) for more signals or tightened for higher-quality but less frequent signals. The cooldown period should be adjusted based on timeframe, with shorter timeframes typically requiring longer cooldown periods.
อินดิเคเตอร์และกลยุทธ์
The Abramelin Protocol [MPL]"Any sufficiently advanced technology is indistinguishable from magic." — Arthur C. Clarke
🌑 SYSTEM OVERVIEW
The Abramelin Protocol is not a standard technical indicator; it is a "Technomantic" trading algorithm engineered to bridge the gap between 15th-century esoteric mathematics and modern high-frequency markets.
This script is the flagship implementation of the MPL (Magic Programming Language) project—an open-source experimental framework designed to compile metaphysical intent into executable Python and Pine Script algorithms.
Unlike traditional indicators that rely on arbitrary constants (like the 14-period RSI or 200 SMA), this protocol calculates its parameters using "Dynamic Entity Gematria." We utilize a custom Python backend to analyze the ASCII vibrational frequencies of specific metaphysical archetypes, reducing them via Tesla's 3-6-9 harmonic principles to derive market-responsive periods.
🧬 WHAT IS ?
MPL (Magic Programming Language) is a domain-specific language and research initiative created to explore Technomancy—the art of treating code as a spellbook and the market as a chaotic entity to be tamed.
By integrating the logic of ancient Grimoires (such as The Book of Abramelin) with modern Data Science, MPL aims to discover hidden correlations in price action that standard tools overlook.
🔗 CONNECT WITH THE PROJECT:
If you are a developer, a trader, or a seeker of hidden knowledge, examine the source code and join the order:
• 📂 Official Project Site: hakanovski.github.io
• 🐍 MPL Source Code (GitHub): github.com
• 👨💻 Developer Profile (LinkedIn): www.linkedin.com
🔢 THE ALGORITHM: 452 - 204 - 50
The inputs for this script are mathematically derived signatures of the intelligence governing the system:
1. THE PAIMON TREND (Gravity)
• Origin: Derived from the ASCII summation of the archetype PAIMON (King of Secret Knowledge).
• Function: This 452-period Baseline acts as the market's "Event Horizon." It represents the deep, structural direction of the asset.
• Price > Line: Bullish Domain.
• Price < Line: Bearish Void.
2. THE ASTAROTH SIGNAL (Trigger)
• Origin: Derived from the ASCII summation of ASTAROTH (Knower of Past & Future), reduced by Tesla’s 3rd Harmonic.
• Function: This is the active trigger line. It replaces standard moving averages with a precise, gematria-aligned trajectory.
3. THE VOLATILITY MATRIX (Scalp)
• Origin: Based on the 9th Harmonic reduction.
• Function: Creates a "Cloud" around the signal line to visualize market noise.
🛡️ THE MILON GATE (Matrix Filter)
Unique to this script is the "MILON Gate" toggle found in the settings.
• ☑️ Active (Default): The algorithm applies the logic of the MILON Magic Square. Signals are ONLY generated if Volume and Volatility align with the geometric structure of the move. This filters out ~80% of false signals (noise).
• ⬜ Inactive: The algorithm operates in "Raw Mode," showing every mathematical crossover without the volume filter.
⚠️ OPERATIONAL USAGE
• Timeframe: Optimized for 4H (The Builder) and Daily (The Architect) charts.
• Strategy: Use the Black/Grey Line (452) as your directional bias. Take entries only when the "EXECUTE" (Long) or "PURGE" (Short) sigils appear.
Use this tool wisely. Risk responsibly. Let the harmonics guide your entries.
— Hakan Yorganci
Technomancer & Full Stack Developer
Neural Fusion ProNeural Fusion Pro
Overview
Neural Fusion Pro is a multi-factor scoring system that combines numerous technical analysis methods into a single unified score. Rather than requiring traders to monitor multiple indicators separately, this system synthesizes trend strength, momentum oscillators, volume confirmation, price structure, and price action quality into one composite reading that adapts to current market conditions.
The Scoring System
At the heart of this indicator is a weighted scoring algorithm that produces a value between -1.0 and +1.0. Positive scores indicate bullish conditions across the measured factors, while negative scores suggest bearish conditions. The magnitude of the score reflects the strength of conviction across indicators.
The score is calculated from five distinct components, each capturing a different aspect of market behavior. Users can adjust the weight given to each component based on their trading style and market preferences.
Component 1: Trend Strength and Direction
This component uses the Average Directional Index to measure trend strength and the Directional Movement indicators to determine trend direction. When ADX exceeds the trending threshold, indicating a directional market, the component contributes a positive score if the positive directional indicator leads, or a negative score if the negative directional indicator leads. In ranging markets where ADX is low, this component contributes minimally to avoid false trend signals.
Component 2: Multi-Factor Momentum
Rather than relying on a single oscillator, this component synthesizes readings from RSI, MACD histogram, Stochastic, CCI, and Rate of Change. Each oscillator is normalized to a common scale and weighted according to its reliability characteristics. RSI readings are compared against dynamic thresholds that adjust based on trend state, making the indicator more forgiving in uptrends and more demanding in downtrends.
The component also includes divergence detection. When price makes a higher high but RSI makes a lower high (bearish divergence), or when price makes a lower low but RSI makes a higher low (bullish divergence), the divergence score adjusts the momentum component accordingly.
Component 3: Volume Confirmation
Volume provides crucial confirmation of price movements. This component analyzes On-Balance Volume relative to its moving average and measures the slope of OBV to determine whether volume is supporting the price trend. Additionally, it monitors relative volume by comparing current volume to its recent average, adding confirmation when volume spikes accompany price movements.
Component 4: Price Structure and Volatility
This component evaluates where price sits within the dynamic bands and considers the current volatility regime. When price is near the lower band, the component contributes a bullish score, suggesting potential support. When price is near the upper band, it contributes a bearish score, suggesting potential resistance.
The volatility regime assessment uses ATR percentile ranking. Low volatility periods often precede significant moves, while extremely high volatility may indicate unsustainable conditions.
Component 5: Price Action Quality
This component examines the character of recent candles by tracking the ratio of bullish to bearish candles over a lookback period. Consistent bullish price action contributes a positive score, while consistent bearish action contributes negatively. This helps filter signals by confirming that price behavior aligns with other factors.
Dynamic Bands
The indicator plots adaptive bands around a central basis line. The basis can be configured as either a simple or exponential moving average. Band width is determined by ATR multiplied by a dynamic factor that incorporates both ADX (expanding bands in trending markets) and the Chaikin Oscillator (expanding bands during strong accumulation or distribution).
These bands serve multiple purposes: they provide visual context for price position, they define signal trigger zones, and they help identify overextended conditions.
Trend State Detection
The indicator classifies market conditions into three states that affect signal generation and threshold levels.
Strong Uptrend is identified when ADX is rising, ADX exceeds the strong trend threshold, and the positive directional indicator exceeds the negative. This state triggers the most aggressive buy settings, allowing entries on shallow pullbacks.
Downtrend is identified when the negative directional indicator exceeds positive DI and ADX confirms directional movement. This state applies the most conservative buy settings, requiring deep oversold conditions before generating buy signals.
Neutral applies when neither trend condition is met, using moderate threshold settings appropriate for range-bound or transitional markets.
Dynamic RSI Thresholds
A key innovation is the automatic adjustment of RSI thresholds based on trend state. In a strong uptrend, the buy RSI threshold might be set to 50, allowing entries when RSI merely pulls back to neutral rather than requiring oversold conditions. The sell threshold rises to 72, keeping traders in positions longer during favorable conditions.
In downtrends, the buy RSI threshold drops to 25, ensuring buys only trigger on genuine capitulation. The sell threshold drops to 64, making exits easier to trigger.
In neutral markets, traditional oversold and overbought levels apply, with buy triggers around RSI 30 and sell triggers around RSI 68.
This adaptive approach prevents the common problem of indicators that work well in one market environment but fail in others.
Dynamic Cooldown
The signal cooldown period adjusts based on trend strength. During normal conditions, a standard cooldown prevents signal clustering. When ADX exceeds the strong trend threshold and is rising, indicating a powerful trend, the cooldown period extends. This helps traders stay in winning positions longer by reducing the frequency of counter-trend signals.
Cascade Protection
The indicator includes protection mechanisms to prevent overtrading and averaging down into losing positions.
The BBWP (Bollinger Band Width Percentile) monitor tracks current volatility relative to historical levels. When BBWP exceeds a threshold, indicating a volatility spike often associated with sharp moves, all buy signals are frozen. This protects against entering during panic selloffs or blow-off tops.
The consecutive buy counter tracks how many buy signals have occurred without an intervening sell. After reaching the maximum (default 3), no additional buy signals are generated until a sell occurs. This prevents the destructive pattern of repeatedly buying a declining asset.
Both protection mechanisms are displayed in the information panel, allowing traders to understand why signals may or may not be firing.
Signal Generation
Buy signals require price to touch or penetrate the lower band, RSI to be below the dynamic threshold, and the market to be in a trending state (when that filter is enabled). Additionally, the cooldown period must have elapsed and cascade protection must not be blocking buys.
Sell signals require price to touch or penetrate the upper band, RSI to be above the dynamic threshold, and the cooldown to have elapsed.
Signal labels display the entry price, signal type (shallow dip, capitulation, extended, bounce sell, or neutral), and the current position in the consecutive buy count.
Visual Components
The indicator provides multiple layers of visual feedback.
Cloud shading between the bands changes based on whether the composite score is in a buy zone or sell zone. Green clouds indicate bullish score readings, while red clouds indicate bearish readings.
Background coloring reflects the overall market regime. Green background indicates a bullish regime (positive DI leadership with volume confirmation), red indicates bearish regime, and white indicates neutral conditions.
An ADX bar at the bottom of the chart uses color coding: white for ranging (very low ADX), orange for flat, and blue for trending conditions.
The information panel displays the composite score with color coding, current trend state, active RSI thresholds, divergence status, BBWP freeze status, buy counter, market regime, ADX value with trend indicator, current cooldown setting, and live RSI reading color-coded against the active thresholds.
A debug panel can be enabled to show the individual component scores, helping users understand what is driving the composite reading.
How to Use
Monitor the composite score in the information panel. Readings above the buy threshold combined with price near the lower band represent potential long entries. Readings below the sell threshold with price near the upper band suggest exit opportunities.
Pay attention to the trend state. In strong uptrends, be more willing to buy dips and more patient with holding positions. In downtrends, require stronger confirmation before entering and be quicker to take profits on bounces.
Watch the cascade protection status. If BBWP shows frozen or the buy counter is approaching maximum, exercise additional caution regardless of other signals.
Use the dynamic RSI thresholds as context. When the panel shows buy RSI threshold at 50 (strong uptrend), even a pullback to RSI 45 is a potential entry. When the threshold shows 25 (downtrend), wait for genuine capitulation conditions.
Component Weight Adjustment
The relative importance of each scoring component can be adjusted through the settings. The default weights emphasize trend strength (30%) and momentum (25%), with volume (20%), price structure (15%), and price action (10%) providing confirmation.
For trend-following strategies, consider increasing trend and momentum weights. For mean-reversion approaches, increase the price structure weight to emphasize band position. The weights should sum to approximately 1.0 for proper score scaling.
Settings Guidance
The default settings are calibrated for cryptocurrency markets on lower timeframes. For traditional markets or longer timeframes, consider adjusting the ADX trending threshold (lower values for less volatile assets), the dynamic RSI levels for each trend state, and the cascade protection parameters.
The Heikin Ashi option for band calculation can provide smoother bands but may introduce slight lag. The default setting uses standard price data for better real-time accuracy.
Liquidity Oscillator (Price Impact Proxy)Osc > +60: liquidity is high relative to recent history → slippage tends to be lower.
Osc < -60: liquidity is low → expect worse fills, bigger wicks, easier manipulation.
It’s most useful as a filter (e.g., “don’t enter when liquidity is low”).
Helix Protocol 7Helix Protocol 7
Overview
Helix Protocol 7 is a trend-adaptive signal engine that automatically adjusts its buy and sell criteria based on current market conditions. Rather than using fixed thresholds that work well in some environments but fail in others, Helix detects whether the market is in a strong uptrend, neutral consolidation, or downtrend, then applies the appropriate signal parameters for each state. This adaptive approach helps traders buy dips aggressively in confirmed uptrends while requiring much stricter conditions before buying in downtrends.
Core Philosophy
The fundamental insight behind Helix is that the same indicator readings mean different things in different market contexts. An RSI of 45 during a strong uptrend represents a healthy pullback and buying opportunity. That same RSI of 45 during a confirmed downtrend might just be a brief pause before further decline. Helix encodes this context-awareness directly into its signal logic.
The Money Line
At the center of the indicator is the Money Line, which can be configured as either a linear regression line or a weighted combination of exponential moving averages. Linear regression provides a mathematically optimal fit through recent price data, while the weighted EMA option offers more responsiveness to recent price action. The slope of the Money Line determines whether the immediate price trend is bullish, bearish, or neutral, which affects the color of the bands and cloud shading.
Dynamic Envelope Bands
Upper and lower bands are calculated using Average True Range multiplied by a dynamic factor. When ADX indicates trending conditions, the bands automatically widen to accommodate larger price swings. The Chaikin Accumulation/Distribution indicator also influences band width, with strong accumulation or distribution causing additional band expansion. This dual adaptation helps the bands remain relevant across different volatility regimes.
Trend State Detection
Helix classifies market conditions into four distinct states using a combination of ADX behavior and Directional Movement analysis.
Strong Uptrend requires ADX to be rising (gaining momentum), ADX value above a threshold (default 25), and the positive directional indicator exceeding the negative. This combination confirms not just that price is rising, but that the trend is strengthening.
Strong Downtrend uses the same ADX requirements but with the negative directional indicator dominant. This identifies accelerating downward momentum.
Weak Downtrend is detected when ADX is falling (trend losing steam) but negative DI still exceeds positive DI. This often represents the exhaustion phase of a decline.
Neutral applies when none of the above conditions are met, typically during consolidation or when directional indicators are close together.
Adaptive Signal Thresholds
The indicator uses Fisher Transform and RSI as its primary oscillators, but the trigger levels change based on trend state.
During Strong Uptrend, buy conditions are relaxed significantly. The Fisher threshold might be set to 1.0 (only slightly below neutral) and RSI to 50, allowing entries on minor pullbacks within the established trend. Sell conditions are tightened, requiring Fisher above 2.5 and RSI above 70, letting winning positions run longer.
During Neutral conditions, both buy and sell thresholds return to traditional oversold and overbought levels. Fisher must reach -2.0 for buys and +2.0 for sells, with RSI requirements around 30 and 65 respectively.
During Downtrend, buy conditions become very strict. Fisher must reach extreme oversold levels like -2.5 and RSI must drop below 25, ensuring buys only trigger on genuine capitulation. Sell conditions are loosened, allowing exits on any meaningful bounce.
This asymmetric approach embodies the trading principle of being aggressive when conditions favor you and defensive when they do not.
Band Touch Signals
In addition to oscillator-based signals, Helix generates signals when price touches the dynamic bands. A touch of the lower band indicates potential support and generates a buy signal. A touch of the upper band suggests potential resistance and generates a sell signal. These band-based signals work alongside the oscillator signals, providing entries even when Fisher and RSI have not reached their thresholds.
Extreme Move Detection
Sometimes price moves so violently that it penetrates the bands by an unusual amount. Helix measures this penetration depth as a percentage of ATR and can flag these as "extreme" signals. Extreme signals have special properties: they can fire intra-bar (before the candle closes) to catch wick entries, they can bypass normal cooldown periods, and they can optionally bypass volatility freezes. This allows the indicator to capture panic selling events that might be missed by waiting for candle closes.
Cascade Protection System
A critical feature for risk management is the built-in cascade protection that prevents averaging down into oblivion. The system has two components.
First, it tracks Bollinger Band Width Percentile, which measures current volatility relative to its historical range. When BBWP exceeds a threshold (default 92%), indicating a volatility spike often associated with sharp directional moves, all buy signals are temporarily frozen. This prevents entries during the most dangerous market conditions.
Second, it counts consecutive buy signals without an intervening sell. After reaching the maximum (default 3), no additional buy signals are generated until a sell occurs. This absolute limit prevents the common mistake of repeatedly buying a falling asset.
The protection status is displayed in the information panel, showing current BBWP level and the consecutive buy count.
RSI Divergence Detection
Helix includes automatic detection of RSI divergences, which often precede trend reversals. Regular bullish divergence occurs when price makes a lower low but RSI makes a higher low, suggesting weakening downside momentum. Regular bearish divergence is the opposite pattern at tops. Hidden divergences, which suggest trend continuation rather than reversal, are also detected and can be displayed optionally. Divergence lines are drawn directly on the price chart connecting the relevant pivot points.
Signal Cooldown
To prevent signal clustering and overtrading, a configurable cooldown period prevents new signals for a set number of bars after each signal. This ensures each signal represents a distinct trading opportunity.
Visual Components
The indicator provides comprehensive visual feedback. The Money Line changes color based on slope direction. The cloud shading between bands reflects trend bias. An ADX bar at the bottom of the chart uses color coding to show trend state at a glance: lime for strong uptrend, red for downtrend, white for ranging (very low ADX), orange for flat, and blue for trending but not yet strong.
Price labels appear at signal locations showing the entry or exit price, the trigger type (band touch, uptrend dip, capitulation, etc.), and the current position in the consecutive buy count.
The information panel displays current trend state, divergence status, BBWP freeze status, buy counter, ADX with direction arrow, DI spread, Fisher and RSI values, and the current active thresholds for buy and sell signals. A compact mode is available for mobile devices.
How to Use
In strong uptrends, look for buy signals on pullbacks to the Money Line or lower band. The relaxed thresholds will generate more frequent entries, which is appropriate when trend momentum is confirmed. Consider letting sell signals pass if the trend remains strong.
In neutral markets, treat signals more selectively. Both buy and sell signals require significant oscillator extremes, making them higher-probability but less frequent.
In downtrends, exercise extreme caution with buy signals. The strict requirements mean buys only trigger on major oversold conditions. Respect sell signals promptly, as the loosened thresholds are designed to protect capital.
Always monitor the cascade protection status. If BBWP shows frozen or the buy counter is at maximum, the indicator is warning you that conditions are dangerous for new long entries.
Settings Guidance
The default settings are calibrated for cryptocurrency markets on 5-minute timeframes. For other assets or timeframes, consider adjusting the ADX threshold for strong trend detection (lower for less volatile assets), the Fisher and RSI thresholds for each trend state, and the BBWP freeze level based on the asset's typical volatility profile.
The indicator includes a debug panel that can be enabled to show the detailed state of all conditions, useful for understanding why signals are or are not firing.
MoneyLine CipherMoneyLine Cipher
Overview
MoneyLine Cipher is a trend-following indicator designed to identify high-probability entry and exit points by combining multiple technical analysis methods into a unified signal system. The indicator adapts its behavior based on current market conditions, becoming more aggressive in strong trends and more conservative in choppy or uncertain markets.
Core Concept: The Money Line
At the heart of this indicator is the Money Line, a linear regression line that acts as a dynamic center of price action. Unlike a simple moving average, linear regression fits a straight line through recent prices using least-squares methodology, providing a smoother representation of the underlying trend direction. The slope of this line determines whether the market is in a bullish, bearish, or neutral state.
Dynamic Envelope Bands
The indicator plots upper and lower bands around the Money Line using Average True Range (ATR) as the volatility measure. What makes these bands unique is their adaptive multiplier system. When the ADX (Average Directional Index) indicates a strong trend, the bands automatically widen to accommodate larger price swings and avoid premature exits. In ranging or weak trend conditions, the bands contract to provide tighter entry and exit zones. This dynamic adjustment helps the indicator perform consistently across different market environments.
Trend State Detection
The indicator classifies market conditions into five distinct states: Strong Uptrend, Uptrend, Neutral, Downtrend, and Strong Downtrend. This classification uses three complementary methods working together.
First, the Directional Movement Index (DMI) measures the spread between positive and negative directional indicators. A large positive spread suggests bullish momentum, while a large negative spread indicates bearish pressure.
Second, On-Balance Volume (OBV) confirms whether volume supports the indicated trend direction. For a Strong Uptrend classification, OBV must be rising above its moving average, confirming that buying pressure backs the price movement.
Third, ADX must exceed a minimum threshold for Strong trend classifications, ensuring that only genuinely trending markets receive the Strong designation.
Signal Generation
Buy and sell signals are generated using Fisher Transform and Aroon indicators, but with a crucial enhancement: the trigger thresholds adjust dynamically based on the current trend state.
The Fisher Transform converts price data into a Gaussian normal distribution, making turning points easier to identify. In a Strong Uptrend, the buy threshold relaxes (making buys easier to trigger) while the sell threshold tightens (making sells harder to trigger). This allows traders to stay in winning positions longer during favorable conditions. The opposite applies in downtrends, where the system becomes quick to exit and reluctant to enter long positions.
The Aroon indicator measures how recently price made a new high or low within the lookback period. Combined with Fisher Transform, this dual-confirmation approach reduces false signals that might occur when using either indicator alone.
Band touches also generate signals. When price reaches the lower band, a potential buy zone is identified. When price reaches the upper band, a potential sell zone is flagged.
Cascade Protection System
A key feature is the built-in protection against averaging down into a losing position. The system tracks consecutive buy signals and limits them to a configurable maximum (default: 3). After reaching this limit, no additional buy signals are generated until a sell signal resets the counter. This prevents the common mistake of repeatedly buying during a sustained decline.
Additionally, the indicator monitors Bollinger Band Width Percentile (BBWP), which measures current volatility relative to historical volatility. When BBWP exceeds a threshold (indicating a volatility spike often associated with sharp moves), buy signals are temporarily frozen. This protects against entering during panic selloffs or blow-off tops.
Extreme Move Detection
Sometimes price moves so aggressively that it penetrates the bands by an unusual amount. The indicator detects these extreme moves and can generate signals even during normal cooldown periods. The logic is that an extreme band penetration represents a significant overextension that warrants attention regardless of recent signal history. These extreme signals are visually distinguished from regular signals.
RSI Divergence
The indicator includes RSI divergence detection as an additional confirmation tool. When price makes a lower low but RSI makes a higher low (bullish divergence), it suggests weakening downside momentum and a potential reversal. Bearish divergence (price higher high, RSI lower high) warns of potential tops. Both regular and hidden divergences are detected and marked on the chart.
Signal Cooldown
To prevent overtrading and signal clustering, a configurable cooldown period prevents new signals for a set number of bars after each signal. This spacing ensures that each signal represents a distinct trading opportunity rather than repeated triggers on the same price movement.
Visual Display
The indicator provides a comprehensive information panel showing current trend state, BBWP status, consecutive buy count, ADX reading, Fisher and Aroon values, cooldown status, and current dynamic thresholds. An ADX bar at the bottom of the chart provides quick visual reference for trend strength and direction using color coding.
Signal labels display the entry or exit price along with the current buy count (for buy signals), helping traders track their position sizing.
How to Use
In uptrending markets, look for buy signals near the lower band, particularly when the trend state shows Uptrend or Strong Uptrend. These represent pullback opportunities within an established trend.
In downtrending markets, the indicator naturally reduces buy signals and increases sell sensitivity, helping traders avoid catching falling knives.
In neutral or ranging conditions, signals from both directions are generated with moderate thresholds, suitable for mean-reversion trading within the bands.
Monitor the BBWP and consecutive buy counter in the info panel. If BBWP shows "FROZEN" or the buy counter approaches the maximum, exercise additional caution with new long entries.
Settings Guidance
The default settings are optimized for 5-minute cryptocurrency charts but can be adjusted for other timeframes and assets. Key parameters to consider adjusting include the Money Line length (shorter for more responsive, longer for smoother), ATR multiplier range (wider bands reduce signals but improve accuracy), and the various threshold values for trend classification.
Fat Tony's Composite Momentum + ROC (v0.4)Fat Tony's Composite Momentum + ROC (v0.4)
Option guy settings and indicators
TrendStrike: The Pullback EngineTrendStrike: The Pullback Engine - The Ultimate Pullback entry System
ApexFlow: Sniper Pro is a complete day-trading system designed to filter out market noise and identify high-probability entries. It combines institutional trend filters, structural support & resistance, and volatility checks to ensure you only trade when the odds are stacked in your favor.
🎯 How It Works:
The "King" Filter (EMA 200):
White Line: The script forces you to trade with the major trend.
Rule: If price is Above the White Line, it only looks for LONGS. If Below, it only looks for SHORTS.
The Trend Cloud (SMA 50 vs SMA 100):
🔵 Blue Cloud: Bullish Trend. Look for buys on dips.
🟠 Orange Cloud: Bearish Trend. Look for sells on rallies.
⛔ The "Chop" Safety (ADX Filter):
The system includes an ADX volatility filter. If the market is chopping sideways (ADX < 20), the dashboard will go gray and ALL signals are blocked to save you from fake-outs.
🌊 Structural Support & Resistance:
Purple Lines: Major Resistance zones.
Blue Lines: Major Support zones.
Use these to take profits.
🚀 The Signals (Entry Guide):
The script waits for a Pullback to the trend line (SMA 50) and only fires if the price bounces with strong momentum and volume.
🚀 LONG SIGNAL (Green Rocket):
Trend is UP, Price dipped to the 50 SMA, then bounced with a Green Candle + High Volume.
Exit: A red Stop Loss line is drawn automatically below the candle.
🩸 SHORT SIGNAL (Red Drop):
Trend is DOWN, Price rallied to the 50 SMA, then rejected with a Red Candle + High Volume.
Exit: A green Stop Loss line is drawn automatically above the candle.
📊 The Dashboard:
Located on the left, it gives you a live readout of the market health:
MAJOR TREND: Tells you if you are in an UPTREND or DOWNTREND.
VOLUME: Shows the current candle's volume. It lights up Green for buying pressure and Red for selling pressure.
Gold Sniper V21: M15 Holding MasterGold Sniper Entry (Follow Trend to enter)
My Indicator :
- Clarify the M30 in Up/Down Trend
- Only entry the trade in M1/M5 Timeframe to make a Sniper Entry.
- Indicator will show when to TP before the Trend Change
Open Range BreakoutOpen Range Breakout (ORB)
The Open Range Breakout (ORB) is a classic intraday strategy used across stocks, indices, FX and futures. It focuses on how price behaves during the first minutes of a major session, when liquidity and volatility are highest.
This indicator fully automates the ORB process with session detection, box drawing, breakout & retest logic, and final Buy/Sell signals.
Multi-Session Support
Choose between the three most important global opens:
Asia (Tokyo) – JPY pairs, Asian indices, gold, crypto
London – FX majors, European indices, strong volatility
New York – US indices, USD pairs, gold, oil, highest volume
The Opening Range is calculated only during the selected session.
ORB Range (5 / 15 / 30 min)
The indicator builds the ORB High/Low from the first X minutes of the session, draws the box, and waits for price action once the range is complete.
How It Works
ORB Window → High/Low of the opening minutes are recorded.
Breakout → Price closes above/below the ORB → “BREAKOUT” label.
Retest → Price returns to the ORB box → “RETEST” label.
Confirmation Levels Freeze → Upper/lower structure set.
Final Signal
Close above frozen upper level → BUY
Close below frozen lower level → SELL
This filters out false breakouts and provides structured continuation signals.
Alerts
Includes built-in alert conditions for:
ORB BUY Signal
ORB SELL Signal
Alerts trigger exactly when the Buy or Sell label appears.
Works On
Stocks & indices
Forex
Futures
Core Suite Essentials This script provides institutional-grade, multi-factor market analysis in a unified toolkit. Its true sophistication lies in its ability to reveal the critical interplay—the "dance"—between its core components, offering a profound view of market structure, momentum, and trend health that goes far beyond standard indicators.
Core Differentiators
Reveals the Core Trend "Dance":
The script masterfully visualizes the critical interaction between three foundational elements:
Ichimoku (Tenkan Sen & Kijun Sen): The leading actors defining momentum and equilibrium.
Bollinger Middle Band (BBM): The dynamic stage of support/resistance.
This interaction provides an institutional-grade read on trend integrity:
Strong Trend: A clean, bullish alignment with the Tenkan Sen leading, the Kijun Sen following, and the BBM acting as firm support confirms a powerful, unified move.
Trend Break Warning: The BBM moving between the Tenkan and Kijun signals convergence and compression, a critical alert of weakening momentum and a potential reversal.
Multi-Timeframe Momentum Confirmation:
This core trend analysis is fortified with a layered momentum gauge, providing a robust, institutional-style confirmation system:
Proprietary RSI-Based Bands across weekly, daily, and intraday frames.
Stochastic Channels (Sto12/Sto50) for additional context on price position.
Strategic Filters for Swing & Position Traders:
For higher-timeframe analysis, it delivers essential quantitative tools:
AnEMA29 Angle: Objectively quantifies trend strength and direction.
PDMDR (DMI Ratio): Measures directional dominance to filter low-conviction markets.
Integrated Cross-Asset Intelligence:
Completing the institutional perspective is a Correlation & Hedging Assistant, contextualizing price action against peers and identifying strategic opportunities based on RSI divergences.
Conclusion
This is not a mere collection of indicators; it is a consolidated analytical workstation. It captures the nuanced "dance" of the core trend triad, layers on multi-timeframe momentum confirmation, and provides strategic filters for timing and cross-asset context. This holistic, institutional-grade approach delivers a definitive and actionable market narrative.
ICHIMOKU
@insomniac_vampire
Lead/Lag Correlation (Quant Lab)How to use it? (Briefly)
• otherSymbol: The asset you think could be the leader
• Example: If you are on a BTC chart → BINANCE:ETHUSDT, TOTAL3, USDT.D etc.
• lagBars:
• If you say 5: You are looking to see if there is a correlation between the movement of the other instrument 5 bars ago and your current movement. • In other words, is the other one leading?
• corr (green/red line):
• Close to +1 → strong positive correlation
• Close to -1 → strong negative correlation
• Close to 0 → no correlation
Lead/Lag interpretation:
• If the correlation is high for a specific lagBars (e.g., 0.7+):
➜ The otherSymbol you chose could be a strong "leader" for your current chart. In other words, its movement 5 bars ago is now explaining yours.
Bar Number IndicatorBar Number Indicator
This Pine Script indicator is designed to help intraday traders by automatically numbering candlesticks within a user-defined trading session. This is particularly useful for strategies that rely on specific bar counts (e.g., tracking the 1st, 18th, or 81st bar of the day).
Key Features:
Session-Based Counting: Automatically resets the count at the start of each new session (default 09:30 - 16:00).
Timezone Flexibility: Includes a dropdown to select your specific trading timezone (e.g., America/New_York), ensuring accurate session start times regardless of your local time or the exchange's default setting.
Smart Display Modes: Choose to show "All" numbers, or filter for "Odd" / "Even" numbers to keep your chart clean.
Custom Positioning: Easily place the numbers Above or Below the candlesticks.
Minimalist Design: Numbers are displayed as floating text without distracting background bubbles.
Fractal Dimension (Katz, Quant Lab)This indicator estimates the Katz Fractal Dimension of the price series over a rolling window.
It computes:
• L = sum of absolute price changes within the window
• d = maximum distance between any point and the first point in the window
• n = window length
Then applies Katz’s formula:
FDI = ln(n) / (ln(n) + ln(d / L))
The resulting Fractal Dimension typically lies between 1.0 and 2.0:
• FDI ≈ 1.0–1.3 → Strong, directional trend (low randomness)
• FDI ≈ 1.3–1.5 → Mixed / transitional behavior
• FDI ≈ 1.5–2.0 → Noisy, choppy, mean-reverting / range market
Rolling Z-Score (Quant Lab)What does this Z-Score measure?
• src (default = close) → the value of the series you selected
• len → the window you are measuring based on the average of the last few bars
• Z ≈ 0 → price close to the average
• Z > 2 → price 2 standard deviations above the average (extremely positive deviation)
• Z < -2 → 2 standard deviations below the average (extremely negative deviation)
In modern mean-reversion strategies:
• Z > +2 → short / take profit candidate
• Z < –2 → long / dip buy candidate
Standard Deviation Levels with Settlement Price and VolatilityStandard Deviation Levels with Settlement Price and Volatility.
This indicator plots the standard deviation levels based on the settlement price and the implied volatility. It works for all Equity Stocks and Futures.
For Futures
Symbol Volatility Symbol (Implied Volatility)
NQ VXN
ES VIX
YM VXD
RTY RVX
CL OVX
GC GVZ
BTC DVOL
The plot gives you an ideas that the price has what probability staying in the range of 1SD,2SD,3SD ( In normal distribution method)
Please provide the feedback or comments if you find any improvements
ATR R-LevelsATR-R Levels is built for clarity of risk management.
The script takes your account size, chosen risk %, and the market’s volatility, then turns all of that into exact stop-loss, take-profit, and position size so there’s no guessing.
It’s inspired by key principles from NNFX, especially ATR-based stop placement and fixed-risk position sizing, but redesigned for fast intraday crypto trading. You get the same consistency and discipline NNFX is known for, adapted to a much shorter timeframe.
ATR-R Levels gives you:
A volatility-based stop using ATR
A clean 2R (or custom R-multiple) target
Automatic position sizing based on your risk rules
A simple HUD showing ATR, entry, stop, TP, size, and risk
Optional net profit estimates after fees
Let me know what you think or if you use it!
Multi-MA + RSI Pullback Strategy (Jordan)1️⃣ Strategy logic I’ll code
From your screenshots:
Indicators
• EMAs: 600 / 200 / 100 / 50
• RSI: length 6, levels 80 / 20
Rules (simplified so a script can handle them):
• Use a higher-timeframe trend filter (15m or 1h) using the EMAs.
• Take entries on the chart timeframe (you can use 1m or 5m).
• Long:
• Higher-TF trend is up.
• Price is pulling back into a zone (between 50 EMA and 100 EMA on the entry timeframe – this approximates your 50–61% retrace).
• RSI crosses below 20 (oversold).
• Short:
• Higher-TF trend is down.
• Price pulls back between 50 & 100 EMAs.
• RSI crosses above 80 (overbought).
• Exits: ATR-based stop + take-profit with adjustable R:R (2:1 or 3:1).
• Max 4 trades per day.
News filter & “only trade gold” you handle manually (run it on XAUUSD and avoid news times yourself – TradingView can’t read the economic calendar from code).
ATR + True RangeOne indicator for ATR & TR its a common indictor which can be used as one
instead of 2 different its is trial mode only not to be used with out other references
NQ Futures VWAP on QQQOverlay NQ1 vwap for QQQ
Track NQ future's vwap on your QQQ chart to scale with optional bands
VCAI Stochastic RSI+VCAI Stoch RSI+ is a cleaned-up Stochastic RSI built with V-Core colours for faster, clearer momentum reads and more reliable OB/OS signals.
What it shows:
Purple %K line → bearish momentum strengthening
Yellow %D line → bullish momentum building and smoothing
Soft purple/yellow background bands → OB/OS exhaustion zones, not just raw 80/20 triggers
Midline at 50 → balance point where momentum shifts between bull- and bear-side control
Optional HTF mode → run Stoch RSI from any timeframe while viewing it on your current chart
How to read it:
Both lines rising out of OS → early bullish shift; pullbacks that hold direction favour continuation
Both lines falling from OB → early bearish shift; bounces into the purple OB zone can become fade setups
Lines stacked and moving together → strong, cleaner momentum
Lines crossing repeatedly → low-conviction, choppy conditions
OB/OS shading highlights exhaustion so you focus on moves with context, not every 80/20 tick
Why it’s different:
Classic Stoch RSI is hyper-sensitive and mostly noise.
VCAI Stoch RSI+ applies V-Core’s colour-driven regime logic, controlled OB/OS shading, and optional HTF smoothing so you see momentum structure instead of clutter — making it easier to judge when momentum is genuinely shifting and when it’s just another wiggle.
TRZigZagLibLibrary "TRZigZagLib"
method directionName(this)
Gets pivot direction as string
Namespace types: Pivot
Parameters:
this (Pivot) : Pivot instance
Returns: "HIGH" or "LOW"
method isHigh(this)
Checks if pivot is a high
Namespace types: Pivot
Parameters:
this (Pivot) : Pivot instance
Returns: true if pivot is a high
method isLow(this)
Checks if pivot is a low
Namespace types: Pivot
Parameters:
this (Pivot) : Pivot instance
Returns: true if pivot is a low
method newSettings(minLength, minBarSize, maxBarSize)
Creates default ZigZag settings
Namespace types: series int, simple int, input int, const int
Parameters:
minLength (int) : Minimum pivot length (default: 10)
minBarSize (int) : Minimum bars between pivots (default: 5)
maxBarSize (int) : Maximum bars to lookback (default: 300)
Returns: New ZigZagSettings instance
method setLineStyle(this, lineColor, lineWidth, lineStyle)
Sets line appearance
Namespace types: ZigZagSettings
Parameters:
this (ZigZagSettings) : Settings instance
lineColor (color)
lineWidth (int)
lineStyle (string)
Returns: Modified settings instance
method newZigZag(settings, depth)
Creates a new ZigZag instance
Namespace types: ZigZagSettings
Parameters:
settings (ZigZagSettings) : ZigZag settings
depth (int) : Depth value for this ZigZag
Returns: New ZigZag instance
method calculate(this)
Calculates ZigZag using LuxAlgo-style pivot detection
Namespace types: ZigZag
Parameters:
this (ZigZag) : ZigZag instance
method getLastPivots(this, count)
Gets the last N pivots
Namespace types: ZigZag
Parameters:
this (ZigZag) : ZigZag instance
count (int) : Number of pivots to get (default: 5)
Returns: Array of pivots
method getPivot(this, index)
Gets pivot at index
Namespace types: ZigZag
Parameters:
this (ZigZag) : ZigZag instance
index (int) : Index (0 = most recent)
Returns: Pivot or na
method truncate(this, maxBars)
Truncates old pivots beyond lookback window
Namespace types: ZigZag
Parameters:
this (ZigZag) : ZigZag instance
maxBars (int) : Maximum bars to keep
method newMultiZigZag(settings, minDepth, maxDepth, count)
Creates a new MultiZigZag manager
Namespace types: ZigZagSettings
Parameters:
settings (ZigZagSettings) : Base settings for all ZigZags
minDepth (int) : Minimum depth value
maxDepth (int) : Maximum depth value
count (int) : Number of ZigZag instances (max 11)
Returns: New MultiZigZag instance
method calculateAll(this)
Updates all ZigZag instances
Namespace types: MultiZigZag
Parameters:
this (MultiZigZag) : MultiZigZag instance
method getZigZag(this, index)
Gets ZigZag at index
Namespace types: MultiZigZag
Parameters:
this (MultiZigZag) : MultiZigZag instance
index (int) : Index (0 to count-1)
Returns: ZigZag instance or na
method getDepth(this, index)
Gets depth value at index
Namespace types: MultiZigZag
Parameters:
this (MultiZigZag) : MultiZigZag instance
index (int) : Index (0 to count-1)
Returns: Depth value
method size(this)
Gets total number of ZigZag instances
Namespace types: MultiZigZag
Parameters:
this (MultiZigZag) : MultiZigZag instance
Returns: Count of ZigZag instances
method truncateAll(this, maxBars)
Truncates all ZigZag instances
Namespace types: MultiZigZag
Parameters:
this (MultiZigZag) : MultiZigZag instance
maxBars (int) : Maximum bars to keep
method distance(p1, p2)
Calculates distance between two pivots
Namespace types: Pivot
Parameters:
p1 (Pivot) : First pivot
p2 (Pivot) : Second pivot
Returns: Price distance (absolute)
method barSpan(p1, p2)
Calculates bar span between two pivots
Namespace types: Pivot
Parameters:
p1 (Pivot) : First pivot
p2 (Pivot) : Second pivot
Returns: Bar span (absolute)
method isAlternating(pivots)
Checks if pivots are alternating (high-low-high or low-high-low)
Namespace types: array
Parameters:
pivots (array) : Array of pivots
Returns: true if alternating pattern exists
Pivot
Pivot point in the chart
Fields:
d (series int) : Direction: 1=high, -1=low
x (series int) : Bar index
y (series float) : Price
confirmed (series bool) : Pivot confirmation flag
ZigZagSettings
ZigZag configuration settings
Fields:
minLength (series int) : Minimum pivot detection length
minBarSize (series int) : Minimum bars between pivots
maxBarSize (series int) : Maximum bars to lookback
lineColor (series color) : ZigZag line color
lineWidth (series int) : ZigZag line width
lineStyle (series string) : ZigZag line style
ZigZag
Single ZigZag instance
Fields:
settings (ZigZagSettings) : Configuration settings
pivots (array) : Array of pivot points (max 25 for patterns)
lastUpdateBar (series int) : Last bar index when updated
depth (series int) : Current depth value
MultiZigZag
Multi-depth ZigZag manager
Fields:
zigzags (array) : Array of ZigZag instances (max 11)
depthValues (array) : Array of depth values being used
currentBar (series int) : Current bar index being processed
Custom Timeframe SMAsThis indicator plots up to three Simple Moving Averages (SMAs), each calculated from a user-selected timeframe and displayed on the current chart. This allows you to visualize higher- or lower-timeframe SMAs without switching charts.
Features
Three fully customizable SMAs with alerts
Each SMA has its own:
Length
Timeframe
Color
Line thickness
On/Off toggle
Use Cases
View higher timeframe SMAs (e.g., 1-hour 50 SMA on a 5-minute chart)
Combine trend signals across multiple timeframes
Track dynamic support/resistance from different timeframes
Enhance scalping, day trading, or swing trading setups






















