Indicator

Indicator

MACD - Trend & Signals with ArrowsThis isn't just another MACD to clutter your chart. I designed this Hybrid MACD Script specifically to solve the "indicator fatigue" that happens when trading multiple asset classes. Most MACD scripts require you to squint at the lines to see if a crossover actually happened; this script automates the detection and organizes the data into a clean, actionable HUD.
The Hybrid Edge: Why This Version?
Standard MACD indicators often fail in high-volatility environments (like Options or Forex) because the "cross" is hard to time visually. This program bridges that gap.
1. Key Logic & Signal Mechanics
The script uses a dual-signal confirmation system that is hard-coded into the visual output:
The Momentum HUD (Right) : Instead of calculating the trend slope in your head, the table uses a real-time logical check. If macdLine > 0, the trend is classified as BULLISH. This is critical for Stock and Fund traders who need to filter out "fake" bounces that occur below the zero line.
The Delta-Histogram : Unlike basic histograms, this one tracks velocity change.
Dark Green/Red: Momentum is accelerating.
Light Green/Red: Momentum is exhausting (The "Squeeze" phase).
Precision Entry Arrows : The plotshape function is tied to ta.crossover. These arrows only appear at the close of the candle, ensuring you don't jump into a trade on a "repainting" signal.
2. Strategic Application
For Options & Scalping
The Histogram Gradient is your exit signal. If you are long on a Call option and the histogram changes from Dark Green to Light Green, the program is telling you that the rate of change is slowing down. Even if price is still moving up, the Greeks (specifically Delta) will start working against you.
For Forex & Trend Following
Use the Zero-Line Filter.
High Probability: Only take Green Arrows if the MACD Line is already above 0.
Reversal Play: Look for Red Arrows when the MACD Line is significantly extended from the 0 axis—the "Value Area."
3. How to Use This Script Effectively
Stop Loss Placement: When a Red Arrow appears, the recent swing high is your mathematical ceiling.
Divergence Detection: If price makes a higher high, but the Momentum Value in the Dashboard table is lower than the previous peak, you are looking at a classic bearish divergence.
Cross-Asset Optimization:
Stocks/Funds: Keep the default 12, 26, 9 settings.
Crypto/Options: Consider tightening to 10, 20, 7 for faster reaction to "flash" moves.
Indicator

Strategy

Buy Signal EMA& RSI [CocoChoco]█ OVERVIEW
This indicator is a momentum breakout tool designed for trend-following traders.
It produces buy signals (long only).
It is based on the "50-200 EMA & RSI25 crossover indicator" by rahulbalaji4574, which has been upgraded to Pine Script v6. Most importantly, I added filters to reduce false signals and improve overall timing.
The core logic ensures you only enter a trade when a long-term trend is confirmed, momentum is surging but not exhausted, and there is significant market participation (volume).
█ KEY IMPROVEMENTS & LOGIC
This version introduces several "Smart Filters" to the original base logic:
Momentum Sweet Spot: Unlike the original which only required RSI > 50, this version requires the RSI to be between 55 and 80 and actively rising. This avoids "choppy" entries and overextended "blow-off tops."
Trend Strength (ADX): An integrated ADX filter ensures the market is in a strong trend (ADX > 20) before a signal is generated.
Risk Management (ATR Trailing Stop): A dynamic trailing stop-loss based on 1.5x ATR is plotted automatically to help you manage risk and lock in profits.
Real-time Dashboard: A non-intrusive table in the bottom-right corner displays live RSI and ADX values for quick reference.
█ HOW TO USE
Look for the Signal: A large green triangle appears below a bar when all trend, momentum, and volume conditions align.
Manage the Trade: Use the plotted red line as your dynamic trailing stop-loss. If the price closes below this line, the trade is considered exited, and the stop will reset.
Confirm with the Dashboard: Check the bottom-right corner to see if the market is gaining strength (ADX) or nearing exhaustion (RSI).
█ ADJUSTING SETTINGS
You can fully customize the indicator by clicking the Settings (gear icon) next to the indicator name on your chart.
Inputs Tab: Adjust the RSI thresholds, EMA lengths, or the ATR multiplier to fit your specific asset and timeframe.
Style Tab: Change the colors of the 50/200 EMA, the trailing stop-loss line, and the signal triangles to match your chart's theme.
Indicator

Strategy

Indicator

Momentum Shift + Exhaustion [VBS]VictoryByStrategy – Momentum Shift is designed to help traders understand when momentum is changing, not just where price is moving.
Instead of focusing on entries alone, this indicator highlights early momentum shifts, confirmed momentum alignment, and momentum exhaustion, allowing traders to time entries more precisely and avoid low-quality trades.
This script is built to work as a timing companion to trend or bias indicators, especially higher-timeframe trend filters.
Core Logic
1. Momentum Shift (SHIFT)
Momentum shifts are detected using the MACD histogram, interpreted in two ways:
Early Shift
Detects when momentum starts changing direction (histogram slope reversal), often before price fully reacts.
Confirmed Shift
Detects when momentum is fully aligned (histogram crossing the zero line), providing a more conservative signal.
Users can choose to display Early, Confirmed, or both types depending on their trading style.
2. Momentum Exhaustion (EXH)
Exhaustion signals appear when momentum remains in one direction but begins to lose strength.
These signals are not entry signals by default.
They are intended to:
Warn against chasing extended moves
Anticipate pullbacks or pauses
Improve trade management and timing
Smart Filters (Optional)
Higher Timeframe Bias Filter (MTF)
Momentum signals can be filtered to align only with the higher-timeframe trend (default: 4H).
Volume Confirmation
Signals can optionally require above-average volume to reduce low-participation moves.
Cooldown Logic
Prevents signal clustering and keeps the chart clean and readable.
Clean, Professional Interface
Overlay design (no extra pane required)
Minimal and consistent signal markers:
SHIFT → momentum direction change
EXH → momentum weakening
Optional background coloring to reflect momentum regime
Compact on-chart status panel showing:
Current momentum state
HTF bias filter status
Signal mode and legend
How to Use (Simple Workflow)
Use a trend or bias indicator to define market direction
Wait for SHIFT signals to time entries in that direction
Use EXH signals as a warning to avoid late entries or manage positions
This indicator does not predict price.
It helps traders read momentum behavior in a structured and repeatable way.
Notes
Works on all markets and timeframes
Best used as part of a broader trading plan
No repainting of higher-timeframe bias logic
— VictoryByStrategy Indicator

Indicator

All-in-One SMC ProAll-in-One SMC Pro: CHOCH • BOS • FVG • Order Blocks • Liquidity + Discount/Premium
This open-source overlay indicator combines the five most widely used Smart Money / ICT (Inner Circle Trader) concepts into a single, customizable tool:
- Break of Structure (BOS)
- Change of Character (CHOCH)
- Fair Value Gaps (FVG)
- Order Blocks (mitigation blocks)
- Liquidity grabs (equal highs/lows)
- Discount / Premium zones
Why this combination?
SMC traders rarely use these concepts in isolation. A complete workflow typically involves:
1. Identifying market structure direction (BOS) or reversal (CHOCH)
2. Locating high-probability entry zones (Order Blocks, FVGs)
3. Confirming institutional manipulation (liquidity grabs of equal highs/lows)
4. Understanding price positioning relative to value (discount = buy bias, premium = sell bias)
Putting them all in one script reduces chart clutter, improves confluence visibility, and helps newer SMC users see how the pieces connect — without needing 5–7 separate indicators.
Core Concepts & Detection Logic
1. Break of Structure (BOS)
- Bullish BOS: price closes above previous swing high
- Bearish BOS: price closes below previous swing low
- Swing points detected with user-defined lookback (default 5 bars left/right)
2. Change of Character (CHOCH)
- Bullish CHOCH: price makes lower low but closes above previous swing high (bearish structure broken → bullish reversal signal)
- Bearish CHOCH: price makes higher high but closes below previous swing low (bullish structure broken → bearish reversal signal)
3. Fair Value Gaps (FVG)
- Bullish FVG: gap up after a bearish candle (low > high )
- Bearish FVG: gap down after a bullish candle (high < low )
- Sensitivity controlled via ATR multiplier (default 0.1 × ATR(14))
- Dashed horizontal lines mark the gap boundaries
4. Order Blocks
- Bullish OB: previous swing low after bullish BOS (potential demand zone)
- Bearish OB: previous swing high after bearish BOS (potential supply zone)
- Drawn as semi-transparent boxes extending rightward (lookback period adjustable)
5. Liquidity Grabs
- Detects clusters of equal highs/lows (default 3-bar lookback)
- Labels appear when price reverses after touching equal levels (classic stop-hunt / liquidity raid)
6. Discount / Premium Zones
- Equilibrium proxy = (H + L + C) / 3
- Discount: price below ~0.5% of equilibrium (green tint – buy bias area)
- Premium: price above ~0.5% of equilibrium (red tint – sell bias area)
Visual Customization
- Toggle each element independently (BOS, CHOCH, FVG, OB, Liquidity, Disc/Prem)
- Separate bullish/bearish colors + dedicated FVG/OB/Liquidity colors
- Max lines/labels set high (500) to handle longer histories
Alerts (built-in conditions)
- Bullish / Bearish BOS
- Bullish / Bearish CHOCH
- Bullish / Bearish FVG formation
How to Use
- Best on 5m–4h timeframes for forex, indices, crypto, gold (high-liquidity instruments)
- Typical SMC workflow example:
1. Look for CHOCH → potential trend reversal
2. Wait for BOS in new direction → structure confirmation
3. Seek entry at Order Block or FVG mitigation in discount/premium zone
4. Liquidity grabs near swing extremes often precede strong moves
- Combine with session times, news events, or higher-timeframe bias — never trade signals in isolation
- Adjust swingLen (3–10) for sensitivity: lower = more signals, higher = cleaner structure
Publishing Recommendation
- Publish with a clean chart (recommended: 15m–1h EURUSD, XAUUSD, BTCUSD, or NQ1!)
- Show a recent CHOCH → BOS → OB/FVG confluence sequence
- Remove all other indicators, drawings, and unnecessary gridlines
Always use discretion, proper risk management, and backtest thoroughly.
Feedback welcome — especially on FVG sensitivity or OB refinement ideas! Indicator

Indicator

Indicator

Radiant Mean Reversion Channels [Pineify]Radiant Mean Reversion Channels - HMA & ATR Normalized Oscillator with Dynamic Gradient Signals
The Radiant Mean Reversion Channels indicator is a volatility-normalized oscillator designed to detect high-probability mean reversion setups across any market and timeframe. It transforms a Hull Moving Average (HMA) based channel into a bounded 0–100 oscillator, making it easy to spot when price has stretched to statistical extremes and is likely to revert toward equilibrium. By combining the low-lag properties of HMA with the adaptive volatility measurement of ATR, this indicator provides fast, accurate overbought and oversold readings without the noise common in traditional oscillators.
Key Features
HMA-based dynamic mean for ultra-low-lag price tracking
ATR-driven volatility bands that automatically adapt to market conditions
Normalized 0–100 oscillator scale for consistent interpretation across all instruments
WMA smoothing to reduce whipsaws while preserving signal responsiveness
Dynamic gradient coloring that shifts from bearish to bullish based on oscillator value
Clearly defined overbought (80/90) and oversold (10/20) zones with visual fills
Automatic buy and sell signal generation on mean reversion crossovers
Built-in alert conditions for seamless trading automation
How It Works
The indicator follows a five-step calculation pipeline that converts raw price action into a clean, actionable oscillator:
Dynamic Mean via HMA: The center of the channel is calculated using a Hull Moving Average of the selected source over the specified channel length. HMA was chosen specifically because it dramatically reduces lag compared to SMA or EMA while maintaining a smooth curve, giving traders a more accurate real-time estimate of the current mean price.
Volatility Measurement via ATR: The Average True Range over the same lookback period measures current market volatility. This value is scaled by a user-defined Band Multiplier to create the channel width. ATR naturally adapts—widening during volatile conditions and tightening during consolidation—ensuring the channel remains contextually appropriate.
Channel Construction: The upper and lower bands are formed by adding and subtracting the scaled ATR from the HMA mean. This creates a dynamic envelope that contains most price action under normal conditions.
Normalization to Oscillator: The price position within the channel is normalized using the formula: (Price - Lower Band) / (Upper Band - Lower Band) × 100. This maps the channel into a 0–100 scale where 0 represents the lower band, 100 represents the upper band, and 50 represents the mean. Values above 100 or below 0 indicate price has exceeded the channel boundaries.
WMA Smoothing: The raw oscillator is smoothed using a Weighted Moving Average, which gives more weight to recent readings. This reduces noise and false signals while keeping the oscillator responsive to genuine shifts in momentum.
Trading Ideas and Insights
Mean reversion is a core principle in quantitative trading—prices tend to oscillate around a fair value and snap back after stretching too far. The Radiant Mean Reversion Channels quantifies this behavior by measuring exactly where price sits within its volatility envelope:
When the oscillator rises above 80, price is near the upper channel band—a statistically overbought condition where selling pressure often emerges
When the oscillator falls below 20, price is near the lower channel band—an oversold zone where buyers tend to step in
The extreme levels at 90 and 10 represent deeper extensions where reversion probability increases significantly
Signal generation occurs when the oscillator crosses back inside these zones, timing the actual beginning of the reversion move rather than trying to catch the exact top or bottom
This method excels in range-bound and mean-reverting markets. In trending markets, the signals can be used to identify pullback entry opportunities in the direction of the prevailing trend.
How Multiple Indicators Work Together
The Radiant Mean Reversion Channels integrates three distinct technical concepts into a cohesive analytical framework:
Hull Moving Average (Mean): HMA serves as the dynamic center of the channel. Its unique double-smoothed, lag-compensated formula (using nested WMAs with square root period adjustment) provides a mean line that reacts to trend changes significantly faster than traditional averages. This ensures the "fair value" baseline stays current with evolving market conditions.
Average True Range (Volatility): ATR measures real market volatility by accounting for gaps and true trading ranges—not just close-to-close changes. As the volatility component, ATR automatically adjusts the channel width. During high-volatility periods, the channel expands so that only truly extreme moves trigger signals. During low-volatility periods, it contracts to remain sensitive, preventing missed opportunities.
Weighted Moving Average (Smoothing): The WMA applied to the normalized oscillator gives heavier weight to the most recent data points. This produces a smoother output than SMA while introducing less lag than EMA for short smoothing periods, striking an optimal balance between signal clarity and timeliness.
These three components work together synergistically: HMA tracks where price should be, ATR defines how far is too far, and WMA ensures the final oscillator reading is clean and reliable.
Unique Aspects
HMA-ATR Combination: Most channel-based oscillators use Bollinger Bands (SMA + Standard Deviation). By pairing HMA with ATR, this indicator benefits from lower lag on the mean and a volatility measure that accounts for gaps and true range—producing faster and more robust channel boundaries
Dynamic Gradient Visualization: The oscillator line smoothly transitions color from bearish to bullish across the 0–100 range using a continuous gradient. This provides immediate visual feedback on market conditions without requiring traders to reference fixed levels
Dual-Zone Architecture: The indicator features both standard zones (20/80) and extreme zones (10/90) with distinct visual fills, helping traders differentiate between moderate and extreme conditions at a glance
Normalization Advantage: By converting the channel into a normalized oscillator, traders can compare readings across different assets and timeframes on a consistent scale, making it versatile for multi-market analysis
How to Use
Add the indicator to your chart—it displays as a sub-chart oscillator below the main price chart
Monitor the oscillator's position: readings above 80 indicate overbought conditions, below 20 indicate oversold conditions
Watch for buy signals (circles at the bottom) when the oscillator crosses back above 20 from oversold territory, indicating a bullish mean reversion is underway
Watch for sell signals (circles at the top) when the oscillator crosses back below 80 from overbought territory, signaling a bearish mean reversion
Use the gradient color intensity to quickly assess momentum—greener tones indicate bullish positioning while redder tones indicate bearish positioning
Combine with trend analysis: in uptrends, prioritize buy signals near the 20 level; in downtrends, prioritize sell signals near the 80 level
Enable alerts using the built-in alert conditions to receive notifications when reversion signals trigger
Customization
Channel Length (default: 21): Controls the lookback period for both the HMA mean and ATR volatility calculation. Shorter values increase sensitivity for scalping; longer values provide smoother readings for swing trading
Band Multiplier (default: 2.0): Adjusts the channel width by scaling the ATR value. Higher values create wider channels, producing fewer but higher-confidence signals. Lower values narrow the channel for more frequent signals
Oscillator Smoothing (default: 3): Controls the WMA smoothing period applied to the raw oscillator. Increase this value in choppy markets to filter out noise; decrease it in clean-trending markets for faster signals
Source (default: Close): Select the price source for all calculations. Alternatives like HL2 or HLC3 can provide smoother inputs
Bullish/Bearish/Neutral Colors: Fully customizable color scheme for the gradient, zones, and signal markers to match your preferred chart theme
Conclusion
The Radiant Mean Reversion Channels indicator offers traders a refined approach to mean reversion analysis by combining the speed of Hull Moving Average, the adaptive volatility measurement of ATR, and intelligent WMA smoothing into a single normalized oscillator. Its gradient visualization, clearly defined reversion zones, and automated signal generation make it a practical and visually intuitive tool for identifying high-probability reversal points. Whether used for timing entries in range-bound markets or catching pullbacks in trending conditions, this indicator brings clarity and precision to mean reversion trading strategies.
Indicator

Indicator

Auto-Lensed MACD + Z-Score v8.2The AL-MACD represents a departure from static technical analysis. While traditional oscillators use fixed mathematical constants, this indicator treats the market as a living, breathing cycle that requires a dynamic "Lens" to view clearly.
1. The Core Innovation: The Adaptive Lens
Standard MACDs are often "too fast" in volatile markets (causing noise) or "too slow" in trending markets (causing lag).
How it works: The script constantly measures the distance between recent price pivots to determine the Market Tempo.
The Result: It automatically recalculates its own Fast, Slow, and Signal lengths. If the market cycle compresses, the MACD tightens to catch the move; if the cycle expands, the MACD smooths out to avoid fakeouts.
2. Statistical Extremity (Z-Score Integration)
We integrated a price-based Z-Score (Standard Deviation) logic to provide a "Mean Reversion" layer.
Normalization: The Z-Score is normalized to the MACD scale so that the threshold bands breathe with the momentum.
Exhaustion Coloring: The histogram turns Aqua or Magenta when the price is statistically overextended (sigma>2.0 SD). This tells you a move is "out of breath" even before a reversal begins.
3. Signal Intelligence & Noise Reduction
To solve the "dot cluster" problem common in divergence indicators, we implemented a Quiet Build architecture:
ATR Magnitude Filter: Divergences are ignored if the price move between pivots is too small to be significant.
Signal Cooldown: A mandatory "rest period" (default 15 bars) prevents the script from firing repeated signals during a slow grind.
Slope Filter: Ignores signals if the MACD momentum is essentially flat.
4. Visual Interface & Dashboard
The Dashboard: Provides a real-time "Flight Deck" including Lens Speed, Price Z-Score, and current Adaptive Lengths.
Timeframe Recommendations: A dynamic "Rec Pivot" feature that tells the user exactly which structural settings to use based on the current chart interval (15s vs. Daily).
Sniper Alerts: A confluence-based alert system that only triggers when a Divergence meets a Z-Score extremity—the "A+ Setup."
5. Strategy Cheat Sheet
Signal
Market Context
Action
Histogram Color Shift
Z-Score sigma> 2.0
Alert: Market is overextended.
"R" Triangle + Magenta/Aqua
Divergence at Extremity
Entry: High-conviction mean reversion (The Sniper).
Rising Lens Speed
Cycle lengths are increasing
Wait: Market is entering a slow, trending grind.
Falling Lens Speed
Cycle lengths are decreasing
Prep: Volatility is coiling; expect a fast move. Indicator

Indicator

Bernoulli Process: Trend Probability & Entropy [MarkitTick]💡 This technical indicator introduces a rigorous probabilistic framework to the evaluation of market regimes by modeling price fluctuations as a Bernoulli Process. Unlike traditional oscillators that merely measure the magnitude of price movement, this script treats every bar as a discrete "trial" that either succeeds or fails based on specific conditions—such as directional price action, momentum thresholds, or trend alignment. By applying Information Theory and the principles of Maximum Likelihood Estimation (MLE), the script quantifies not just the direction of the market, but the statistical reliability and the "noise" content of the current sequence. This allows traders to distinguish between a structured trend and high-entropy market "chop," providing a level of objective clarity often missing in standard technical analysis.
● ✨ Originality and Utility
The primary innovation of this script lies in its transition from deterministic price tracking to stochastic regime modeling. Most indicators suffer from the "binary trap," where they simply tell a trader if price is above or below a level without assessing the statistical significance of that state.
• Quantifying Market Information
By integrating Shannon’s Binary Entropy, the script measures the uncertainty inherent in a price sequence. When entropy is near 1.0, the market is in a state of maximum uncertainty (effectively a fair coin toss), signaling that a trader should likely avoid the "noise." Conversely, low entropy values indicate a high-information state where one side of the Bernoulli trial is dominating, suggesting a persistent trend.
• Adaptive Definition of Success
The script is not limited to a single logic; it allows the user to define what constitutes a "Success" in the Bernoulli trial. Whether you prioritize raw price action (Close > Open), momentum (RSI > 50), or trend-following (Price > Moving Average), the underlying probabilistic engine remains consistent, making it a versatile tool for various trading styles.
• Z-Score Significance Testing
It applies a Central Limit Theorem (CLT) approximation to calculate a Z-Score. This tells the trader how many standard deviations the current trend is away from a random walk (p=0.5). This provides a mathematical filter to avoid entering "trends" that are actually within the bounds of statistical randomness.
● 🔬 Methodology and Concepts
The script operates through a four-stage mathematical pipeline that converts raw market data into probabilistic metrics.
• Stage 1: The Bernoulli Trial (I)
The foundation is the indicator variable (I). On every bar, the script evaluates a boolean condition. If the condition is met, the trial is a "Success" (1.0); otherwise, it is a "Failure" (0.0). This transforms complex candles into a simple binary sequence: {1, 0, 1, 1, 0...}.
• Stage 2: Probability Estimation (p-hat)
Using a rolling window of length N, the script calculates the Maximum Likelihood Estimate (MLE) of the probability parameter 'p'. This is essentially the sample mean of the successes within the window. A value of 0.7 suggests that in the last N trials, 70% were successful.
• Stage 3: Binary Entropy Calculation
The script calculates Entropy H(p) using the formula:
H(p) = -p * log2(p) - (1-p) * log2(1-p)
This provides a metric for "Trend Quality." If p is 0.5 (random), H(p) is 1.0 (maximum noise). If p is 1.0 or 0.0 (perfect trend), H(p) is 0.0 (maximum order).
• Stage 4: Volatility-Adjusted Z-Score
To determine if a sequence is truly anomalous, the script calculates the standard deviation of a fair process and compares the observed deviations to this baseline. This identifies "Significant Trends" that are mathematically distinct from a 50/50 random distribution.
● 🎨 Visual Guide
The visual interface is designed to communicate complex statistical data through intuitive color-coded cues.
• The Bernoulli Probability Line
The main plot is a continuous line representing the estimated probability (p).
A value above 0.5 indicates a bullish bias (p-hat > 0.5).
A value below 0.5 indicates a bearish bias (p-hat < 0.5).
• Dynamic Entropy Coloring
The line does not just change color based on direction; it changes based on certainty.
Vibrant Green: Strong bullish trend with low entropy (High Certainty).
Vibrant Red: Strong bearish trend with low entropy (High Certainty).
Gray/Faded Color: High entropy regime (Entropy > 0.9). This signals that the market is "choppy" and the probability of success is too close to random to be reliable.
• Background Entropy Zones
The chart background highlights areas of "Max Entropy" in a subtle gray color. When you see these zones, it suggests the current Bernoulli definition is failing to find a directional edge, signaling a period of market consolidation.
• Real-Time Metrics Dashboard
A table in the top-right corner displays:
Probability (p): The exact decimal value of the current trend probability.
Entropy (Bits): The current level of uncertainty in the sequence.
Regime: A text-based label identifying the market state (Bull Trend, Bear Trend, or Noise/Chop).
• Execution Signals
Small triangles appear on the chart to mark high-probability transition points. A Triangle Up (Green) marks a bullish breakout from a low-entropy state, while a Triangle Down (Red) marks a bearish breakdown.
● 📖 How to Use
• Identifying Low-Noise Entries
Traders should look for instances where the Probability Line crosses the 0.5 threshold while Entropy is low (vibrant colors). If the line is gray, the "trend" lacks statistical significance, and the risk of a whip-saw is high.
• Regime Filtering
Use the indicator as a "Mode Filter." If the Dashboard displays "NOISE / CHOP," it is a signal to stay flat or use mean-reversion strategies. If it displays a "TREND" regime, trend-following strategies can be deployed with higher confidence.
• Interpreting the Z-Score
While not directly plotted, the Z-Score logic powers the signal generation. A signal is only produced when the deviation from the "Fair Coin" (0.5) is substantial enough to suggest a non-random event.
● ⚙️ Inputs and Settings
• Bernoulli Trial Definition
Choose between three calculation modes:
Price Action: Uses the relationship between Close and Open (Directional bars).
Momentum: Uses RSI relative to the 50-level (Standard momentum).
Trend: Uses Price relative to a Simple Moving Average (Long-term regime).
• Sample Window (N)
Determines the "lookback" for the probability calculation. Smaller values (e.g., 10-15) are more responsive but noisier; larger values (e.g., 30-50) provide a smoother, more institutional view of the regime.
• Risk Management (Alerts)
Target R:R Ratio: Used to calculate the Take Profit level in the JSON alerts.
Stop ATR Multiplier: Uses Average True Range to calculate a volatility-adjusted stop loss for signals.
● 🔍 Deconstruction of the Underlying Scientific and Academic Framework
The "Bernoulli Process: Trend Probability & Entropy" script is built upon the pillars of Discrete Stochastic Processes and Information Theory.
• The Law of Large Numbers (LLN)
The script relies on the LLN, which states that as a sample size grows, its mean gets closer to the average of the whole population. By using a "Sample Window," we are performing a rolling MLE of the true underlying probability parameter of the market at that moment.
• Shannon Entropy and Information Theory
Claude Shannon’s 1948 work on information entropy is the bedrock of the "Noise" detection in this script. In the context of trading, entropy represents the "surprise" or "uncertainty" in the price sequence. A low-entropy market is one where the next bar's success/failure is highly predictable based on the recent past, which is the mathematical definition of a trend.
• Bernoulli vs. Gaussian Distributions
Most indicators assume a Normal (Gaussian) distribution of price returns. However, market states are often better modeled as discrete outcomes (Up/Down). By treating the market as a Bernoulli Process, we bypass the "fat-tail" problem of Gaussian distributions and focus purely on the frequency of successful outcomes, making the tool more robust against outliers.
• The Z-Test for Proportions
By applying a Z-score calculation to a Bernoulli distribution, the script treats the market like a "biased coin" experiment. It tests the Null Hypothesis ($H_0$): "The market is a fair coin (p=0.5)." When the Z-score is high, we reject $H_0$ in favor of the Alternative Hypothesis ($H_1$): "The market is trending (p != 0.5)."
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

Indicator

Volume Conviction Index v1.0Volume Conviction Index (VCI) v1.0
This indicator helps answer a simple question: Does this price move have real strength behind it, or is the volume too weak to trust???
It measures "conviction" through how many participants are in the marketplace by looking at volume in a smart, reliable way:
- Spots unusual volume surges (buying or selling pressure) that stand out from normal (median line plotted) levels.
- visually helps with discretionary calls and allows the median avg of participation not just volume to be 'seen'
- Blends recent volume changes with how volume compares to its typical range.
How to read the chart (super straightforward):
- Teal columns above the zero line: Strong buying conviction — volume supporting the up move (good sign for breakouts or holds).
- Orange columns below zero: Strong selling conviction — heavy participation on the downside (watch for reversals or weakness on rallies).
- Flat/small bars near zero: Low conviction — price might be moving on fumes (often leads to fakeouts or quick fades).
- Optional white dashed line (the "median conviction"): A smoothed version over the last few bars. If it crosses zero or diverges from price, it can signal shifting momentum.
index works the same for both bears and bulls. teal bars in the positive are above participation or conviction in both bearish and bullish participation. also allows identifying exhaustion in both bearish and bullish scenarios.
works well equally on lower TFs and higher TFs
Why use it:
It uses robust statistics (rolling median volume + Median Absolute Deviation for a "z-like" score) instead of plain averages — much better at handling noisy or outlier-heavy markets like crypto, forex, or stocks during news events. Then it adds a weighted mix of short-term volume acceleration and relative volume for better context.
Great for:
- Beginners: Start with defaults — the colors and zero line make it easy to see at a glance.
- Day/swing traders: Filter entries/exits with real participation (e.g., teal spike on support bounce = higher odds).
- Anyone learning volume: Shows clearly when moves have "muscle" vs. when they're suspect.
Quick usage tips:
- Best on 5m to 4h charts with good volume data.
- Combine with price action, levels, or your favorite tools — use VCI to confirm conviction.
- Toggle the median line in settings if your timeframe is noisy.
Defaults work well across most assets — adjust "Volume Window" for longer/shorter lookback, or "Recent Weight" to emphasize sudden changes more/less.
I personally like using it on 1min / 5min / 30min charts. Has a microscope / high-rez feel about it when I'm on quicker TFs.
Open-source under © RU55IANROUL3TT3 — feel free to study, fork, or build on it!
Feedback welcomed — what markets/timeframes does it help you with? Indicator

Indicator

Momentum ChecklistMomentum Checklist - Visual Trading Dashboard
A clean, easy-to-read dashboard that displays key momentum indicators in one convenient table. This indicator helps traders quickly determine the directional bias of price action by combining ADX, Directional Movement Index (DMI), and Money Flow Index (MFI).
What It Shows:
ADX (Average Directional Index): Measures trend strength. Green checkmark appears when ADX ≥ 20, indicating a strong trending market
DI+ (Positive Directional Indicator): Tracks upward price movement
DI- (Negative Directional Indicator): Tracks downward price movement
MFI (Money Flow Index): Volume-weighted momentum indicator. When > 50 indicates bullish money flow
Bias: Automatically calculates directional bias:
LONG: When DI+ > 25 and DI- < 20
SHORT: When DI- > 25 and DI+ < 20
NEUTRAL: When conditions are mixed
Trading Strategy:
This indicator helps determine the bias of price movement in a certain direction. When coupled with Bollinger Bands, it becomes a very powerful combination to catch those big explosive moves up or down. The momentum confirmation from this checklist combined with Bollinger Band squeezes or breakouts can significantly improve entry timing.
Recommended Usage:
Timeframes: 5-minute to 15-minute charts for optimal performance
Best Assets: US30, XAUUSD (Gold), BTCUSD, and most major indices
Works exceptionally well on volatile instruments with strong directional moves
Features:
Color-coded cells for instant visual confirmation
Customizable position (Top Right, Top Left, Bottom Right, Bottom Left)
Adjustable text size (Tiny, Small, Normal)
Configurable ADX, DMI, and MFI period settings
Perfect for day traders and scalpers looking for quick momentum confirmation before entering trades! Feel free to adjust any part of this description to match your style! 🎯 Indicator

Strategy

Indicator
