Signal Creator [OptAlgo]The Signal Creator is designed to convert complex market analysis into clear, actionable signals. Whether you're developing automated trading strategies, backtesting systems, or simply need reliable entry, exit, and block points, this tool bridges the gap between trading ideas and signal execution. It exports signal plots in an importable format compatible with backtesting strategies.
🛠 Signal Creation System:
→ Dual configuration groups: Values-based and Plot-based signal creation
→ Up to 12 customizable conditions (6 per group) for comprehensive signal logic
🛠 Comparison Operators:
→ Multiple criteria types: equal, greater/less than, crossover/crossunder
→ Shifted comparisons (↩️) for historical data analysis
→ Crossing detection for dynamic market condition identification
🛠 Signal Types:
→ LONG/SHORT entry signals with customizable triggers
→ CLOSE ALL, CLOSE LONG, CLOSE SHORT exit strategies
→ Signal blocking system to prevent unwanted entries
→ Combined signal modes (LONG & SHORT, LONG & CLOSE, SHORT & CLOSE)
🛠 Signal Count Merge Rules:
→ MIN LONG CONDITION COUNT: Number of long conditions to trigger long signal
→ MIN SHORT CONDITION COUNT: Number of short conditions to trigger short signal
→ MIN CLOSE CONDITION COUNT: Number of close conditions to trigger close all signal
→ Prevents false signals by ensuring multiple confirmations before execution
→ Customizable thresholds for each signal type (default: 1 condition each)
🛠 Smart Signal Logic:
→ Automatic conflict resolution when opposing signals occur
→ Position-aware closing (only closes relevant side)
→ Counter-based signal validation requiring all conditions to be met
→ Signal hierarchy: Block signals override entry signals, close signals override all others
🛠 Numeric Output for Backtesting:
→ Importable plot signal values: 1 (LONG), -1 (SHORT), 0 (CLOSE)
→ Compatible with backtest templates and strategy builders
→ Clean data window output for easy integration with other indicators
→ Perfect for automated trading systems and signal forwarding
🛠 Visual Output:
→ Color-coded position visualization (green=long, red=short, white=close)
→ Step-line diamond plot style for clear signal identification
→ Separate pane display for easy signal monitoring
🛠 Alarm Output:
→ Alarm for LONG -> Can be importable as plot, value is 1. (LONG == 1)
→ Alarm for SHORT -> Can be importable as plot, value is 1. (SHORT == 1)
→ Alarm for CLOSE -> Can be importable as plot, value is 1. (CLOSE == 1)
Oscillators
[ayana] TFPS - TradFi Pressure ScoreTFPS - TradFi Pressure Score: Your Market Pressure Barometer
Understand what moves Wall Street, before it moves Crypto.
This indicator is your real-time barometer for the influence of traditional financial markets (TradFi) on Crypto. It measures the combined pressure from four key quadrants—Risk Appetite (S&P 500), Market Stress (VIX), Liquidity (DXY), and Macro Expectations (US10Y)—to answer one question: "Do I have a tailwind or a headwind from the global markets?"
How to Read Your "Cockpit" in 60 Seconds
The Main Line (Overall Market Pressure)
GREEN / ABOVE 0: Bullish Tailwind. The macro environment is supportive for Crypto.
RED / BELOW 0: Bearish Headwind. The macro environment is creating pressure on Crypto.
BRIGHT Color: Pressure is ACCELERATING.
DARK Color: Pressure is DECELERATING (losing momentum).
The Dashboard (Your Command Center)
Lead/Lag Analysis: The game-changer. Tells you if TradFi is currently leading the price or vice-versa. This is your key to knowing whether to watch macro news or focus on crypto-specifics.
TradFi Influence (R²): Shows you HOW RELEVANT the macro pressure is right now. High R² means Wall Street's influence is dominant. Low R² means crypto is moving on its own narrative.
Dynamic Weights: Reveals the market's primary NARRATIVE. Is the pressure coming from Fear (VIX), Liquidity (DXY), or general Risk Appetite (SPX)?
Extreme Signals (Reversal Zones)
Stress Cloud (Z-Score): Large, opaque bars warn of statistically EXTREME greed or fear levels.
Extreme Dots: Pinpoint the moments when pressure has likely reached an unsustainable peak, often preceding turning points.
Key Strategies & Use Cases
As a Trend Filter: Simply avoid fighting the color. Don't force long trades when the TFPS shows a strong red headwind.
For Precision Entry/Exits: Use the Extreme Dots and a decelerating color on the Main Line to time your entries in confluence with your own strategy.
For Strategic Decisions: Use the Lead/Lag and R² metrics to decide where to focus your attention and how to manage portfolio risk based on the current macro regime.
Configuration
For best results, leave the engine settings on their default (auto-adaptive) mode. The indicator's core intelligence lies in its ability to adapt to changing market dynamics automatically. You can adjust the visual theme to match your chart.
Momentum Buy/Sell signals (Nikko) v1.0📊 Momentum Volume Box Range Buy/Sell Signals (Nikko) v1.0
This indicator is a multi-factor momentum-based tool that helps identify potential Buy and Sell signals:
🔍 What it does
It combines several well-known indicators into a hybrid signal system and displays heatmaps, momentum lines, and Buy/Sell labels.
📈 How to use it
Buy Signals are shown when the hybrid K line crosses above D line in strong downward zones (oversold).
Sell Signals appear when K crosses below D, but only if a minimum profit % is reached since the last Buy.
The background heatmap color changes based on combined RSI and Vortex intensity:
Greenish = Bullish strength
Reddish = Bearish weakness
🟢 Buy/Sell Labels
Buy Labels: Triggered when strong downward momentum reverses (or price drops deeply).
Sell Labels: Only shown if price has moved up by the user-defined % profit since the last Buy.
🔧 Customization Options
You can toggle on/off:
Heatmap
Hybrid signal lines
Buy/Sell labels
Stochastic RSI area plot
Volume range and profile
EMA overlays (20, 50, 100, 200)
All major color elements are adjustable for visual clarity.
💡 Best Practices
Use on any timeframe, but it works best with higher timeframes (1H+).
Look for convergence between strong heatmap color and hybrid signal crossover.
Combine with price action or EMA trend context for better accuracy.
Note: This indicator is designed as a trading companion, not a standalone strategy. It combines multiple timeframes and parameters that would be difficult to monitor manually. Its purpose is to visually simplify complex signals, helping reduce the risk of poor entries.
However, it's essential to also consider macroeconomic factors, news events, and overall market sentiment, as they can significantly impact price action. Always use proper risk management and do your own research (DYOR).
Swing Strategy MTF with Auto SL/TP + Weekly Pivotsested and Working Notes:
Works on any intraday chart (like 1H or 4H)
Uses Daily trend for confirmation by default
Adjust trend EMAs or pivot TF if needed
Wait for a signal label after candle close
Targets and SL are drawn automatically
—
ZenAlgo - DeltaThis indicator visualizes cumulative delta volume across multiple exchanges and trading pairs, with optional moving averages, divergence detection, and contextual labeling. It aggregates buy and sell volume from both spot and perpetual markets, applying normalization and visual encoding to highlight volume flow dynamics over time.
Volume Aggregation Logic
The script starts by collecting volume data from up to nine exchanges. It distinguishes between spot (e.g., USDT, USD) and perpetual markets (e.g., USDT.P, USD.P) using dynamically constructed tickers based on the asset's base currency. For each enabled exchange, it fetches volume using request.security , filtering out invalid or zero-volume responses.
Each set of volume data (spot1, spot2, perp1, perp2) is then processed through a reducer function that combines the values using a selected method—sum, average, median, or variance. These processed volumes are further categorized and summed into total spot and perp volume streams, forming the basis for downstream delta computations.
Delta Calculation
For each bar, the script decomposes the candlestick into wick and body proportions, calculating how much of the total volume might be attributed to upward or downward pressure. This estimation weights the volume by the visual structure of the candle—larger bodies and upper wicks in bullish candles suggest buying pressure; inverse logic applies for bearish candles.
These estimated buy and sell volumes are then subtracted to derive per-bar delta. A cumulative delta series is computed by summing this bar-by-bar delta across a user-defined window length.
Divergences on Delta
Fractal logic is applied to detect local highs and lows in the cumulative delta series. These points serve as anchors for divergence comparisons:
Regular divergences identify price making higher highs (or lower lows) while delta makes lower highs (or higher lows).
Hidden divergences look for the opposite (price pullback vs delta continuation).
The same logic is applied independently to:
Raw cumulative delta
A primary delta moving average
A secondary, slower moving average
Each can be configured with different lookback lengths and moving average types (SMA, EMA, WMA, HMA, RMA).
The divergence logic gains additional value when used in tandem with the delta moving averages and contextual temperature state. For example, a divergence detected on the slower delta average while the temperature band is in an “Extreme Hot” or “Cold” zone may indicate a more meaningful exhaustion event. This layered approach allows users to filter weaker divergences and focus on those that align with broader delta context.
Gradient and Temperature Context
A third moving average (e.g., WMA(50)) is used to provide a contextual "temperature" state of the delta environment. Based on deviations from its own mean and standard deviation, this third MA is classified into zones:
"Extreme Hot", "Hot", "Warm"
"Neutral"
"Cool", "Cold", "Extreme Cold"
These zones are encoded using color and transparency gradients in the chart’s background. This helps identify periods where delta conditions are statistically stretched or compressed relative to recent history.
EMA Cross Conditions
The script tracks crossover events between the short and long EMAs of delta, especially when these align with a directional shift in cumulative delta (e.g., zero-line cross). If confirmed by volume skew (more buy than sell or vice versa), specific visual markers are plotted.
Labels and Informational Lines
Dynamic labels are rendered on the latest bar showing:
Cumulative delta and last divergence
EMA values and associated divergence
"Slow MA" value and its temperature state
These labels float next to the latest values, using thematic or neutral colors based on user preference.
Buy/Sell Pressure Tables
Two optional tables display breakdowns of:
Buy vs Sell volume
Their percentage contribution
Net delta value
Market condition label (e.g., "Full Bull", "Bearish")
These are calculated over the selected lookback period and color-coded accordingly.
An experimental table compares raw and aggregated spot/perpetual volume contributions and their percentage skew.
Background Highlight Logic
Background colors are conditionally rendered based on buy/sell volume dominance. Several thresholds exist:
2x or 3x buy volume dominance → greenish tones
2x or 3x sell volume dominance → reddish tones
Combined with temperature overlays, this highlights areas of potentially high conviction from either side.
Cross Conditions
The script detects situations where cumulative delta crosses under buy/sell volume thresholds. Visual dots mark:
Negative delta intersecting rising sell volume
Positive delta intersecting rising buy volume
This provides additional cues when short-term volume shifts might contradict recent cumulative flow.
How to Interpret Values
Cumulative Delta (AggDelta): Tracks net buy vs sell pressure over time. A rising delta suggests persistent buying pressure, and vice versa.
Temperature State: Places delta flow into historical context. “Extreme Hot” implies sustained positive flow, possibly overextended; “Cold” signals inverse.
EMA Lines: Short- and long-term smoothing of delta for trend and divergence detection.
Cross Events: Represent moments when short EMA crosses over delta or long EMA, often signaling a directional momentum change.
Tables and Labels: Quantify volume dominance and flow state, helping assess if flow aligns with price structure.
How to Best Use
For context: Observe overall slope and temperature of the third MA. High deviations often precede cooling or reversal.
For confluence: Look for alignment between price structure (e.g., higher highs) and delta divergence to identify exhaustion or continuation.
For short-term timing: Watch EMA crosses and volume conditions (e.g., buy volume increasing while delta crosses above zero).
Added Value Compared to Other Free Indicators
Multi-exchange Aggregation: Includes spot and perp data across major exchanges with flexible inclusion settings.
Granular Delta Estimation: Uses candle body/wick proportions rather than simple up/down tick assumptions.
Context-Aware Visualization: Integrates volume gradient, statistical deviation zones, and divergence overlays in one compact view.
Highly Customizable: Users can fine-tune divergence, moving average, color scheme, and table display independently.
Integrated View with Synergistic Logic: Unlike using several isolated scripts, this indicator unifies delta flow, divergence, volume dominance, and statistical context into one coherent framework. This synergy reduces the need to reconcile signals from different sources and allows for clearer judgment when multiple conditions align.
Limitations and Disclaimers
Delta Approximation: Calculated using heuristic candle shape assumptions; not a tick-level order book delta.
Exchange Coverage: Relies on availability of correct tickers and historical volume data via TradingView’s request.security .
Visual Lag: Cumulative delta and divergence patterns may develop over several bars and are not predictive on their own.
No Entry Signals: This indicator does not provide trading signals, nor does it evaluate risk or price targets.
Additional Limitations
This indicator estimates delta from candle shape and volume distribution heuristics. In low-liquidity markets or on lower timeframes, this estimation may misrepresent actual flow dynamics, especially during volatile spikes or news-driven moves. Divergence patterns may appear with delay or persist without price reaction, particularly in ranging or algorithmically driven markets. Users should combine these tools with broader context and price action awareness rather than relying on isolated delta events.
RSI Divergence Visualizer
This indicator is a powerful tool for spotting potential trend reversals by automatically identifying and visualizing RSI divergences. It plots both regular bullish and bearish divergences directly on the chart and in the RSI pane, drawing clear lines to connect the relevant pivot points on both the price and the oscillator.
The visualizer also includes several features to enhance your analysis:
RSI and SMA: The standard RSI line is plotted along with an RSI SMA (Simple Moving Average) to help you gauge the overall trend and momentum.
Color-Coded Zones: Clear color-coded zones for overbought (red), oversold (green), and neutral (purple) conditions are displayed, making it easy to see when the RSI is reaching extremes.
Customization: You can adjust the RSI Length, Smoothing Length, and Pivot Lookback sensitivity to fine-tune the indicator to your specific trading strategy and timeframe.
Future Features
Expanded Divergence Types: The indicator will be enhanced to detect Hidden Bullish and Hidden Bearish divergences, which signal trend continuation. This will provide a more comprehensive view of potential trading opportunities.
Advanced Confirmation Logic: We will introduce new options to confirm a divergence, giving you greater control:
RSI Level Confirmation: The ability to specify any RSI level (e.g., 30 or 70) for confirmation, rather than being limited to the midpoint of 50.
Price Action Confirmation: A divergence will be marked as complete when the price breaks out above the previous pivot high for a bullish divergence or breaks down below the previous pivot low for a bearish divergence. This is a powerful signal that the trend has reversed.
GOLD KEEPER – Multi‑Timeframe Trading AssistantGOLD KEEPER is a multi‑timeframe chart analysis tool designed to display visual markers when certain technical conditions are met.
It is intended to assist traders in their own chart study and decision‑making.
Usage Recommendations:
• Use a higher timeframe (e.g., 1H, 30M, or 15M) for overall market context.
• Drop to a lower timeframe (e.g., 5M or 3M) for potential entries that fit your own strategy.
• Combine with your personal analysis tools such as price action, support/resistance, and volatility levels.
Notes:
• Invite‑only script – access is granted to authorized users.
• For educational and chart‑analysis purposes only.
• This tool does not provide financial advice or guarantee results.
RSI Divergence Screener (MTF)
This powerful screener identifies RSI divergences across multiple symbols and timeframes, presenting the results in a clean, easy-to-read table. It screens for both regular bullish and bearish divergences, allowing you to quickly spot potential trend reversals.
The screener tracks the status of each divergence, categorizing it as:
Active (A): A divergence has formed and is still developing.
Complete (✔): The divergence has been confirmed (optionally, by the RSI crossing the 50 midpoint).
Expired (X): The divergence has persisted for too long without confirmation.
Invalidated (✖): A new high or low has been made, nullifying the divergence.
With customizable settings for RSI length, divergence sensitivity, and the ability to select up to six symbols and three timeframes, this tool is ideal for traders who want to monitor multiple markets efficiently.
Future Features
Expanded Divergence Types: The indicator will be enhanced to detect Hidden Bullish and Hidden Bearish divergences, which signal trend continuation. This will provide a more comprehensive view of potential trading opportunities.
Advanced Completion Flags: Users will have greater control over how a divergence is confirmed. New options will include:
RSI Level Confirmation: The ability to specify any RSI level (e.g., 30 or 70) for completion, rather than being limited to the midpoint of 50.
Breakout/Breakdown Confirmation: A divergence will be marked as complete when the price breaks out above the previous pivot high for a bullish divergence, or breaks down below the previous pivot low for a bearish divergence. This is a powerful signal that the trend has reversed.
DSL Derivative Oscillator📉 Gabriel's DSL Derivative Oscillator
Adaptive Momentum & Trend Reversal Oscillator using Levy-Adjusted RSI, Z-Scored Detrending, and Discontinued Signal Lines
🔍 Overview
The DSL Derivative Oscillator is a cutting-edge momentum and reversal indicator that enhances traditional RSI logic using a combination of:
Levy Flight-powered zero-lag RSI,
Multi-stage smoothing,
Detrending and Z-Score normalization, and
Discontinued Signal Lines (DSL) for dynamic breakout-level signals.
The result is a hyper-responsive oscillator that excels at identifying trend exhaustion, momentum divergences, and mean-reversion opportunities with color-coded clarity.
🧠 Core Components Explained
1. Levy-Adjusted RSI with Zero Lag
Instead of traditional RSI smoothing, this oscillator applies:
A Levy flight adjustment (raising price changes to a fractional power),
Followed by zero-lag exponential smoothing that reduces response delay,
Resulting in a fast-reacting RSI better suited for volatile environments.
2. Derivative Oscillator via Detrending and Z-Scoring
The zero-lag RSI undergoes:
Double smoothing (12 & 9 periods),
Detrending over a custom length (default: 22),
Z-Score normalization, which allows the signal to be evaluated relative to its statistical range — identifying extreme overbought/oversold conditions.
3. Discontinued Signal Lines (DSL)
Dual DSLs are generated using zero-lag smoothing with adaptive alpha values based on selected mode (Fast or Slow).
A central DSL Oscillator is calculated as the average of upper and lower DSL values, further smoothed using zero-lag logic.
Crossovers of the DSL Oscillator against its signal bands form precise entry and exit signals.
4. Gradient Coloring & Candle Visualization
Oscillator lines are gradient-colored based on position between DSL bands.
Background and candle color change dynamically on valid signals, providing clear visual feedback for trade setups.
⚙️ User Inputs
RSI Source & Length: Define the base price and length for Levy RSI calculation.
Levy Flight: Adjusts the power applied to price change smoothing. Higher values = more sensitivity.
Smoothing Periods: Set the 1st & 2nd smoothing layers for the RSI.
Detrend Period: Length over which price noise is removed before z-scoring.
Z-Score Length: Standardization window for anomaly detection.
DSL Mode (Fast/Slow): Changes the sensitivity of DSL reactions.
DSL Length: Controls the responsiveness of the signal line.
📊 Signals & Visual Features
✅ Entry Signal: Triangle-up appears when the oscillator crosses above its lower DSL and is below zero.
❌ Exit Signal: Triangle-down appears when the oscillator crosses below its upper DSL and is above zero.
🔵 Blue Candles: Bullish entry zones.
🟣 Purple Candles: Bearish exit zones.
🟦/🟥 Background Gradient: Highlights live trade opportunities based on signal direction.
🧪 How to Use
Swing Entries: Use entry (bullish) and exit (bearish) signals when oscillator is in extreme zones (< -1.5 or > +1.5).
Trend Reversals: Watch for color flips of candles and background at crossover points.
Divergence Analysis: Use in combination with price to detect divergence setups at DSL turns.
🎯 Why This Indicator?
More adaptive than standard RSI, thanks to Levy Flight + Z-score logic.
Generates early reversal signals without lag.
Combines trend following and mean reversion features in one compact tool.
Visually intuitive through gradient coloring and chart-integrated signals.
ALFA RSIThe Relative Strength Index (RSI) is a momentum oscillator that measures the speed and change of price movements. It is used to identify overbought or oversold conditions in a market, as well as potential trend reversals.
The RSI is calculated using the following formula:
RSI = 100 -
Where RS = Average of x days' up closes / Average of x days' down closes
The RSI is typically displayed as a line graph that oscillates between 0 and 100. Readings above 70 are considered overbought and may indicate a potential reversal to the downside, while readings below 30 are considered oversold and may indicate a potential reversal to the upside.
Traders and investors use the RSI to confirm trends, identify potential entry and exit points, and to help determine the strength of a trend. It is important to note that while the RSI can be a useful tool, it should be used in conjunction with other technical indicators and analysis techniques for the most accurate results.
In the ALFA RSI indicator, unlike the classic one, the over regions are colored and shown separately at levels such as 50-80-20.
TTL Quad stochastic🧠 The Traders' Light — Quad Stochastic Viewer v1
Script name: TTL Quad Stochastic
Version: v2
Author: The Traders’ Light
Follow us: @thetraderslight on X
🎯 What it does
This script visualizes four smoothed stochastic indicators on a single pane, providing a unique multi-speed momentum perspective. It’s designed to help traders identify high-confluence overbought/oversold conditions, especially when all stochastic curves align in extreme zones.
📐 Indicators used
The script calculates and displays the following smoothed stochastics:
Stoch 9-3 — fast reaction
Stoch 14-3 — standard
Stoch 40-4 — mid-term filter
Stoch 60-10 — long-term context
Overbought and oversold levels are visually marked at 80 and 20, respectively.
🔔 Signal logic
Background highlights are triggered when all four stochastics align:
✅ Green background when all stochastics are below 20 (oversold)
❌ Red background when all stochastics are above 80 (overbought)
Webhook alerts are also available:
Bullish Align Alert when all stochastics < 20
Bearish Align Alert when all stochastics > 80
🔧 How to use it
Use this tool as a momentum filter to confirm entries or avoid low-confluence zones. Combine it with trend structure, volume, or other TTL indicators for optimal setups.
⚠️ Important
This is not a buy/sell signal indicator. It is a visual aid intended to support your analysis, not to replace it.
Always use in conjunction with your own strategy and risk management.
Trading involves significant risk and may result in financial loss.
Use at your own discretion and responsibility.
TTL Quad stochastic🧠 The Traders' Light — Quad Stochastic Viewer v2
Script name: TTL Quad Stochastic
Version: v2
Author: The Traders’ Light
Follow us: @thetraderslight on X
🎯 What it does
This script visualizes four smoothed stochastic indicators on a single pane, providing a unique multi-speed momentum perspective. It’s designed to help traders identify high-confluence overbought/oversold conditions, especially when all stochastic curves align in extreme zones.
📐 Indicators used
The script calculates and displays the following smoothed stochastics:
Stoch 9-3 — fast reaction
Stoch 14-3 — standard
Stoch 40-4 — mid-term filter
Stoch 60-10 — long-term context
Overbought and oversold levels are visually marked at 80 and 20, respectively.
🔔 Signal logic
Background highlights are triggered when all four stochastics align:
✅ Green background when all stochastics are below 20 (oversold)
❌ Red background when all stochastics are above 80 (overbought)
Webhook alerts are also available:
Bullish Align Alert when all stochastics < 20
Bearish Align Alert when all stochastics > 80
🔧 How to use it
Use this tool as a momentum filter to confirm entries or avoid low-confluence zones. Combine it with trend structure, volume, or other TTL indicators for optimal setups.
⚠️ Important
This is not a buy/sell signal indicator. It is a visual aid intended to support your analysis, not to replace it.
Always use in conjunction with your own strategy and risk management.
Trading involves significant risk and may result in financial loss.
Use at your own discretion and responsibility.
Blue DotThis indicator identifies high-probability long entry signals by combining stochastic momentum analysis with moving average trend confirmation. It's designed to catch oversold bounces in stocks that are already in established uptrends.
Blue DotThis indicator identifies high-probability long entry signals by combining stochastic momentum analysis with moving average trend confirmation. It's designed to catch oversold bounces in stocks that are already in established uptrends.
FEDFUNDS Rate Divergence Oscillator [BackQuant]FEDFUNDS Rate Divergence Oscillator
1. Concept and Rationale
The United States Federal Funds Rate is the anchor around which global dollar liquidity and risk-free yield expectations revolve. When the Fed hikes, borrowing costs rise, liquidity tightens and most risk assets encounter head-winds. When it cuts, liquidity expands, speculative appetite often recovers. Bitcoin, a 24-hour permissionless asset sometimes described as “digital gold with venture-capital-like convexity,” is particularly sensitive to macro-liquidity swings.
The FED Divergence Oscillator quantifies the behavioural gap between short-term monetary policy (proxied by the effective Fed Funds Rate) and Bitcoin’s own percentage price change. By converting each series into identical rate-of-change units, subtracting them, then optionally smoothing the result, the script produces a single bounded-yet-dynamic line that tells you, at a glance, whether Bitcoin is outperforming or underperforming the policy backdrop—and by how much.
2. Data Pipeline
• Fed Funds Rate – Pulled directly from the FRED database via the ticker “FRED:FEDFUNDS,” sampled at daily frequency to synchronise with crypto closes.
• Bitcoin Price – By default the script forces a daily timeframe so that both series share time alignment, although you can disable that and plot the oscillator on intraday charts if you prefer.
• User Source Flexibility – The BTC series is not hard-wired; you can select any exchange-specific symbol or even swap BTC for another crypto or risk asset whose interaction with the Fed rate you wish to study.
3. Math under the Hood
(1) Rate of Change (ROC) – Both the Fed rate and BTC close are converted to percent return over a user-chosen lookback (default 30 bars). This means a cut from 5.25 percent to 5.00 percent feeds in as –4.76 percent, while a climb from 25 000 to 30 000 USD in BTC over the same window converts to +20 percent.
(2) Divergence Construction – The script subtracts the Fed ROC from the BTC ROC. Positive values show BTC appreciating faster than policy is tightening (or falling slower than the rate is cutting); negative values show the opposite.
(3) Optional Smoothing – Macro series are noisy. Toggle “Apply Smoothing” to calm the line with your preferred moving-average flavour: SMA, EMA, DEMA, TEMA, RMA, WMA or Hull. The default EMA-25 removes day-to-day whips while keeping turning points alive.
(4) Dynamic Colour Mapping – Rather than using a single hue, the oscillator line employs a gradient where deep greens represent strong bullish divergence and dark reds flag sharp bearish divergence. This heat-map approach lets you gauge intensity without squinting at numbers.
(5) Threshold Grid – Five horizontal guides create a structured regime map:
• Lower Extreme (–50 pct) and Upper Extreme (+50 pct) identify panic capitulations and euphoria blow-offs.
• Oversold (–20 pct) and Overbought (+20 pct) act as early warning alarms.
• Zero Line demarcates neutral alignment.
4. Chart Furniture and User Interface
• Oscillator fill with a secondary DEMA-30 “shader” offers depth perception: fat ribbons often precede high-volatility macro shifts.
• Optional bar-colouring paints candles green when the oscillator is above zero and red below, handy for visual correlation.
• Background tints when the line breaches extreme zones, making macro inflection weeks pop out in the replay bar.
• Everything—line width, thresholds, colours—can be customised so the indicator blends into any template.
5. Interpretation Guide
Macro Liquidity Pulse
• When the oscillator spends weeks above +20 while the Fed is still raising rates, Bitcoin is signalling liquidity tolerance or an anticipatory pivot view. That condition often marks the embryonic phase of major bull cycles (e.g., March 2020 rebound).
• Sustained prints below –20 while the Fed is already dovish indicate risk aversion or idiosyncratic crypto stress—think exchange scandals or broad flight to safety.
Regime Transition Signals
• Bullish cross through zero after a long sub-zero stint shows Bitcoin regaining upward escape velocity versus policy.
• Bearish cross under zero during a hiking cycle tells you monetary tightening has finally started to bite.
Momentum Exhaustion and Mean-Reversion
• Touches of +50 (or –50) come rarely; they are statistically stretched events. Fade strategies either taking profits or hedging have historically enjoyed positive expectancy.
• Inside-bar candlestick patterns or lower-timeframe bearish engulfings simultaneously with an extreme overbought print make high-probability short scalp setups, especially near weekly resistance. The same logic mirrors for oversold.
Pair Trading / Relative Value
• Combine the oscillator with spreads like BTC versus Nasdaq 100. When both the FED Divergence oscillator and the BTC–NDQ relative-strength line roll south together, the cross-asset confirmation amplifies conviction in a mean-reversion short.
• Swap BTC for miners, altcoins or high-beta equities to test who is the divergence leader.
Event-Driven Tactics
• FOMC days: plot the oscillator on an hourly chart (disable ‘Force Daily TF’). Watch for micro-structural spikes that resolve in the first hour after the statement; rapid flips across zero can front-run post-FOMC swings.
• CPI and NFP prints: extremes reached into the release often mean positioning is one-sided. A reversion toward neutral in the first 24 hours is common.
6. Alerts Suite
Pre-bundled conditions let you automate workflows:
• Bullish / Bearish zero crosses – queue spot or futures entries.
• Standard OB / OS – notify for first contact with actionable zones.
• Extreme OB / OS – prime time to review hedges, take profits or build contrarian swing positions.
7. Parameter Playground
• Shorten ROC Lookback to 14 for tactical traders; lengthen to 90 for macro investors.
• Raise extreme thresholds (for example ±80) when plotting on altcoins that exhibit higher volatility than BTC.
• Try HMA smoothing for responsive yet smooth curves on intraday charts.
• Colour-blind users can easily swap bull and bear palette selections for preferred contrasts.
8. Limitations and Best Practices
• The Fed Funds series is step-wise; it only changes on meeting days. Rapid BTC oscillations in between may dominate the calculation. Keep that perspective when interpreting very high-frequency signals.
• Divergence does not equal causation. Crypto-native catalysts (ETF approvals, hack headlines) can overwhelm macro links temporarily.
• Use in conjunction with classical confirmation tools—order-flow footprints, market-profile ledges, or simple price action to avoid “pure-indicator” traps.
9. Final Thoughts
The FEDFUNDS Rate Divergence Oscillator distills an entire macro narrative monetary policy versus risk sentiment into a single colourful heartbeat. It will not magically predict every pivot, yet it excels at framing market context, spotting stretches and timing regime changes. Treat it as a strategic compass rather than a tactical sniper scope, combine it with sound risk management and multi-factor confirmation, and you will possess a robust edge anchored in the world’s most influential interest-rate benchmark.
Trade consciously, stay adaptive, and let the policy-price tension guide your roadmap.
Smart MTF Bias Detector v3 (Debug)Here's a breakdown of the "Smart MTF Bias Detector v3 (Debug)" indicator's five main filters:
Main Trend (Multi-Timeframe Heikin Ashi)
The green/red background indicates the trend from Heikin Ashi candles on the H1 timeframe (or your set timeframe).
If the Heikin Ashi candle closes above its open, the background is green (indicating an upward bias).
If the Heikin Ashi candle closes below its open, the background is red (indicating a downward bias).
Short-Term Trend Filter (EMA50)
The yellow line represents the EMA50.
Buy only when the price closes above the EMA50.
Sell only when the price closes below the EMA50.
Abnormal Buy/Sell Pressure Detection (Volume Spike)
Purple dots signify candles where the volume is greater than the SMA (Simple Moving Average) of volume over N previous candles, multiplied by a specified multiplier.
This confirms there's "force" driving the price up or serious selling pressure.
Momentum Filter (Stochastic RSI)
Blue upward triangles and orange downward triangles indicate when %K crosses %D.
It uses Oversold/Overbought targets (20/80) to avoid crosses in the middle ranges.
Pivot Break (Fractal Breakout)
Red "X" marks represent Fractal Highs, and green "X" marks represent Fractal Lows.
Red/green up/down arrows indicate breakouts of these levels (e.g., a previous High being broken means an upward breakout, or a previous Low being broken means a downward breakout).
BUY Signal Conditions
A BUY signal will be generated when:
The background is green (HTF Trend ↑).
The Stoch RSI crosses up from below the Oversold zone (blue arrow).
A Fractal Low breakout occurs (Fract UP arrow).
The price is above the EMA50.
There is a Volume Spike (purple dot).
SELL Signal Conditions
A SELL signal will be generated when:
The background is red (HTF Trend ↓).
The Stoch RSI crosses down from above the Overbought zone (orange arrow).
A Fractal High breakout occurs (Fract DOWN arrow).
The price is below the EMA50.
There is a Volume Spike (purple dot).
EchoPulse – Trend Oscillator v1 [QuayLade]Harness the Pulse. Surf the Trend.
EchoPulse™ is a precision-crafted Trend Oscillator designed to visualize the cyclic rhythm of market movements while keeping you contextually aligned with Higher Timeframe Influence Zones. Whether you're a scalper, swing trader, or systematic strategist, EchoPulse brings clarity to trend dynamics by filtering out noise and spotlighting pivotal trade opportunities.
Core Features & Innovations:
Surge Markers (Counter-Trend Oscillation Bursts):
Identify statistically unsustainable counter-trend surges with high precision. These Aqua & Orange crosses mark potential exhaustion points during pullbacks, perfect for strategic pyramiding and re-entry setups.
Exhaustion Markers (Trend Fatigue Signals):
Spot early signs of trend fatigue with Green & Red Circles. These markers appear when the market's internal cyclic rhythm shows signs of a structural unwind, assisting in managing exits or preparing for trend reversals.
Synchronized Cyclic Lines (Short, Mid, Long):
Visualize the market’s multi-speed oscillations through dynamically flowing Cycle Lines that latch to extreme zones during strong trends. Their stickiness/persistence offers valuable clues into the trend’s strength or weakening momentum.
Higher Timeframe Influence Zone (Contextual Alignment):
A soft overlay reflecting the directional bias of the Higher Timeframe, ensuring you stay aligned with macro flows without adding visual clutter. Greenish for bullish bias, reddish for bearish, and transparent during indecisive phases.
Adaptive Volatility Intelligence (Noise Suppression):
EchoPulse™ dynamically adjusts its sensitivity based on current market volatility, making it effective across various instruments and timeframes — from scalping to positional trading.
Ideal For:
Trend Traders seeking pullback confirmation within trend continuations.
Swing & Position Traders needing clear alignment with higher timeframe structures.
Scalpers] who require real-time directional cues without lag.
Systematic Traders looking to integrate a dynamic, responsive trend oscillator.
Quick User Guide
Trend Bias Confirmation:
Use the HTF Influence Zone background colour to establish directional bias. Prioritize setups aligned with this macro trend.
Entry Triggers with Surge Markers:
Spot Surge Markers appearing against the HTF bias during pullbacks — a signal of possible exhaustion in counter-trend moves and a potential entry opportunity.
Monitor Cyclic Stickiness:
Persistent latching of Cycle Lines to extreme zones indicates a strong trend continuation. Unlatching and normalization could signal consolidation or a pause in trend momentum.
Exhaustion Markers & Reversals:
Exhaustion Markers highlight when a trend leg may be overextended. Combine them with Price Divergence or Key S/R Levels for stronger reversal signals.
Best Practices:
Use EchoPulse™ as a Trend Continuation and Exhaustion Timing Tool .
Combine with Price Action, Divergence Analysis, and Multi-Timeframe Confluence for high-probability setups.
Adjust chart timeframe based on your trading style — Intraday, Swing, or Positional.
Compliance & Acknowledgement Statement:
EchoPulse™ is an original indicator concept meticulously developed by QuayLade using proprietary techniques that visualize dynamic oscillations, adaptive latching behaviours, and multi-timeframe contextual alignment. While the indicator draws inspiration from universally known mathematical constructs such as Rate of Change (RoC) for assessing price momentum, its computational framework, signal derivations, and visualization structures are uniquely crafted and not direct derivatives of any standard or public domain indicators.
All methodologies implemented are original intellectual property, tailored to offer traders an innovative perspective on market rhythm, trend surges, and exhaustion zones. EchoPulse™ is fully committed to be compliant with TradingView’s Vendor Agreements and House Rules regarding originality, fair usage, and responsible adaptation of foundational market analysis concepts.
Script License & Usage Disclaimer:
The EchoPulse™– Trend Oscillator is a proprietary invite-only script. Unauthorized distribution, reverse engineering, or decompilation of this script is strictly prohibited.
This indicator is provided for informational and educational purposes only and does not constitute financial advice or a trading recommendation. Trading and investing involve substantial risks, and the creator assumes no responsibility for financial losses or damages resulting from its use.
By accessing this script, users agree to use it at their own discretion and understand that the author makes no guarantees regarding its performance or suitability for any specific trading objective.
Support & Assistance:
For any queries, feedback, or assistance with usage:
Contact @QuayLade via TradingView DM.
Documentation, usage guides, and walkthroughs will be provided progressively based on user feedback.
WT_CROSS Dip Buy Signal(ozkan)This script identifies potential buy opportunities based on WaveTrend (WT_CROSS) momentum crossing below the -60 level — often indicating oversold conditions.
Additional filters include price being above the Kaufman Adaptive Moving Average (KAMA) and volume below the 5-period average, which helps isolate pullbacks within an uptrend.
Buy Signal Conditions:
WT1 < -60
Price > KAMA
Volume < 5-period SMA of volume
Purpose:
To capture early entries at possible local bottoms during bullish trends while avoiding high-volume breakdown traps.
🔔 You can also set an alert based on this condition.
VIX Filter/RSI/EMA Bias/Cum-TICK w/ Exhaustion Zone DashboardThis all-in-one dashboard gives intraday traders a real-time visual read of market conditions, combining volatility regime, trend bias, momentum exhaustion, and internal strength — all in a fully customizable overlay that won’t clutter your chart.
📉 VIX Market Regime Detector
Identifies "Weak", "Normal", "Volatile", or "Danger" market states based on customizable VIX ranges and symbol (e.g., VXN or VIX).
📊 RSI Momentum Readout
Displays real-time RSI from any selected timeframe or symbol, with adjustable length, OB/OS thresholds, and color-coded exhaustion alerts.
📈 EMA Trend Bias Scanner
Compares fast and slow EMAs to define bullish or bearish bias, using your preferred timeframe, symbol, and EMA lengths — ideal for multi-timeframe setups.
🧠 Cumulative TICK Pressure & Exhaustion Engine
Analyzes internal market strength using cumulative TICK data to classify conditions as:
-Strong / Mild Bullish or Bearish Pressure
-Choppy / No Edge
-⚠️ Exhaustion Zones — when raw TICK values hit extreme highs/lows, a separate highlight box appears in the dashboard, warning of potential turning points
All logic is customizable, including TICK symbol, timeframes, thresholds, and lookback periods.
Scalpers and day traders who want fast, visual insight into market internals, exhaustion, and trend bias.
ZigZag Based RSIDescription
ZigZag Trend RSI (ZZ-RSI) is an advanced momentum indicator that combines ZigZag-based trend detection with a trend-adjusted RSI to deliver smarter overbought and oversold signals. Unlike traditional RSI that reacts purely to price movement, this indicator adapts its sensitivity based on the prevailing trend structure identified via the ZigZag pattern.
By dynamically adjusting RSI thresholds according to market direction, ZZ-RSI helps filter out false signals and aligns RSI readings with broader trend context—crucial for trend-following strategies, counter-trend entries, and volatility-based timing.
Core Components
ZigZag Pattern Recognition:
Identifies significant swing highs and lows based on price deviation (%) and pivot sensitivity (length). The most recent pivot determines the prevailing trend direction:
🟢 Bullish: last swing is a higher high
🔴 Bearish: last swing is a lower low
⚪ Neutral: no recent significant movement
Trend-Weighted RSI:
Modifies traditional RSI input by emphasizing price changes in the direction of the trend:
In bull trends, upside moves are magnified.
In bear trends, downside moves are emphasized.
Dynamic RSI Zones:
Overbought and Oversold thresholds adapt to the trend:
In uptrends: higher OB and slightly raised OS → tolerate stronger rallies
In downtrends: lower OS and slightly reduced OB → accommodate stronger sell-offs
In neutral: default OB/OS values apply
How to Use
✅ Entries (Reversal or Mean Reversion Traders):
Look for oversold signals (green triangle) in downtrends or neutrals to catch potential reversals.
Look for overbought signals (red triangle) in uptrends or neutrals to fade momentum.
Confirm with price action or volume for higher conviction.
📈 Trend Continuation (Momentum or Trend-Followers):
Use the trend direction label (Bullish / Bearish / Neutral) to align your trades with the broader move.
Combine with moving averages or price structure for entry timing.
Avoid counter-trend signals unless confirmed by divergence or exhaustion.
🧠 Signal Interpretation Table (top right of chart):
Trend: Indicates the current market direction.
RSI: Real-time trend-adjusted RSI value.
Signal: OB/OS/Neutral classification.
Customization Options
ZigZag Length / Deviation %:
Adjust pivot sensitivity and filter out minor noise.
RSI Length:
Controls how fast RSI responds to trend-adjusted price.
Color Settings:
Personalize visual cues for trend direction and OB/OS backgrounds.
Alerts Included
📢 Overbought/oversold conditions
🔄 Trend reversals (bullish or bearish shift)
These alerts are ideal for automated strategies, mobile notifications, or algorithmic workflows.
Ideal For
Traders seeking smarter RSI signals filtered by market structure
Trend-followers and swing traders looking for reliable reversals
Those frustrated with false OB/OS signals in volatile or trending markets
Best Practices
Use in confluence with price structure, trendlines, or S/R levels.
For intraday: consider lowering ZigZag Length and RSI Length.
For higher timeframes: use higher deviation % and smoother RSI to reduce noise.
CUO WITH BLUE BULL// Core Ultra Oscillator (CUO) with Blue Bull
//
// The Core Ultra Oscillator (CUO) is a technical analysis tool designed to identify potential trend reversals and breakout opportunities by combining momentum, volume, and divergence analysis.
// It aims to enhance divergence-based trading by incorporating additional filters to reduce false signals during strong market trends.
// The indicator integrates WaveTrend Oscillator, regular volume and Cumulative Volume Delta (CVD), generating unique divergence signals enhanced with trend filters to allow greater flexibility in trading style and market type.
//
// Key Features:
// - WaveTrend Oscillator: Plots momentum with customizable overbought and oversold levels, displaying buy (green dots) and sell (red dots) signals for prints in extreme zones.
// - Divergence Detection: Identifies regular and hidden bullish/bearish divergences on WaveTrend and CVD, using green/red lines to connect fractal points for potential trend reversals.
// - Cumulative Volume Delta (CVD): Measures buying and selling pressure with smoothed, normalized delta, enhanced by trend and slope filters for signal reliability.
// - Trend Shift Dots:
// - Green White Dot: Indicates the end of a bearish CVD trend, suggesting a potential bullish shift.
// - Black Dot (Red Center): Signals the end of a bullish CVD trend, indicating a potential bearish shift.
// - Seven Unique Dot Signals:
// - Blue Dot (Blue Bull): Highlights potential bullish breakouts based on accumulated momentum.
// - Yellow Dot (Gold Extreme Buy): Marks potential buying opportunities near market bottoms, often following an amber dot.
// - Purple Dot (Extreme Sell): Identifies high-probability sell signals using divergence and trend weakness filters.
// - Black Dot (Yellow Center): Targets first sign of weakness after a strong bullish trend ends, aiming to capture significant selloffs.
// - Dark Blue Dot: Signals peaks in oversold regions after a bullish trend has ended and momentum has flipped towards the bears.
// - Dark Grey Dot: Warns of potential tops via CVD bearish divergences, ideally confirmed with Purple Dot or regular divergences.
// - Amber Dot: Indicates potential bottoms via CVD bullish divergences, to be confirmed with Yellow Dot or regular divergences.
// - Comprehensive Alerts: Includes 15 alert conditions for WaveTrend, CVD, and dot signals to support real-time trading decisions.
//
// How to Use:
// - Apply the indicator to any chart to monitor momentum, volume, and divergences.
// - Adjust Trend momentum, WaveTrend, CVD, and trend thinning parameters through input settings.
// - Use dot signals and divergence lines to time trade entries and exits.
// - Configure alerts for real-time notifications of key signals.
//
// Note: This indicator is for informational purposes only and does not constitute financial advice. Users are encouraged to backtest thoroughly and evaluate the indicator’s performance in their trading strategy.
MERV: Market Entropy & Rhythm Visualizer [BullByte]The MERV (Market Entropy & Rhythm Visualizer) indicator analyzes market conditions by measuring entropy (randomness vs. trend), tradeability (volatility/momentum), and cyclical rhythm. It provides traders with an easy-to-read dashboard and oscillator to understand when markets are structured or choppy, and when trading conditions are optimal.
Purpose of the Indicator
MERV’s goal is to help traders identify different market regimes. It quantifies how structured or random recent price action is (entropy), how strong and volatile the movement is (tradeability), and whether a repeating cycle exists. By visualizing these together, MERV highlights trending vs. choppy environments and flags when conditions are favorable for entering trades. For example, a low entropy value means prices are following a clear trend line, whereas high entropy indicates a lot of noise or sideways action. The indicator’s combination of measures is original: it fuses statistical trend-fit (entropy), volatility trends (ATR and slope), and cycle analysis to give a comprehensive view of market behavior.
Why a Trader Should Use It
Traders often need to know when a market trend is reliable vs. when it is just noise. MERV helps in several ways: it shows when the market has a strong direction (low entropy, high tradeability) and when it’s ranging (high entropy). This can prevent entering trend-following strategies during choppy periods, or help catch breakouts early. The “Optimal Regime” marker (a star) highlights moments when entropy is very low and tradeability is very high, typically the best conditions for trend trades. By using MERV, a trader gains an empirical “go/no-go” signal based on price history, rather than guessing from price alone. It’s also adaptable: you can apply it to stocks, forex, crypto, etc., on any timeframe. For example, during a bullish phase of a stock, MERV will turn green (Trending Mode) and often show a star, signaling good follow-through. If the market later grinds sideways, MERV will shift to magenta (Choppy Mode), warning you that trend-following is now risky.
Why These Components Were Chosen
Market Entropy (via R²) : This measures how well recent prices fit a straight line. We compute a linear regression on the last len_entropy bars and calculate R². Entropy = 1 - R², so entropy is low when prices follow a trend (R² near 1) and high when price action is erratic (R² near 0). This single number captures trend strength vs noise.
Tradeability (ATR + Slope) : We combine two familiar measures: the Average True Range (ATR) (normalized by price) and the absolute slope of the regression line (scaled by ATR). Together they reflect how active and directional the market is. A high ATR or strong slope means big moves, making a trend more “tradeable.” We take a simple average of the normalized ATR and slope to get tradeability_raw. Then we convert it to a percentile rank over the lookback window so it’s stable between 0 and 1.
Percentile Ranks : To make entropy and tradeability values easy to interpret, we convert each to a 0–100 rank based on the past len_entropy periods. This turns raw metrics into a consistent scale. (For example, an entropy rank of 90 means current entropy is higher than 90% of recent values.) We then divide by 100 to plot them on a 0–1 scale.
Market Mode (Regime) : Based on those ranks, MERV classifies the market:
Trending (Green) : Low entropy rank (<40%) and high tradeability rank (>60%). This means the market is structurally trending with high activity.
Choppy (Magenta) : High entropy rank (>60%) and low tradeability rank (<40%). This is a mostly random, low-momentum market.
Neutral (Cyan) : All other cases. This covers mixed regimes not strongly trending or choppy.
The mode is shown as a colored bar at the bottom: green for trending, magenta for choppy, cyan for neutral.
Optimal Regime Signal : Separately, we mark an “optimal” condition when entropy_norm < 0.3 and tradeability > 0.7 (both normalized 0–1). When this is true, a ★ star appears on the bottom line. This star is colored white when truly optimal, gold when only tradeability is high (but entropy not quite low enough), and black when neither condition holds. This gives a quick visual cue for very favorable conditions.
What Makes MERV Stand Out
Holistic View : Unlike a single-oscillator, MERV combines trend, volatility, and cycle analysis in one tool. This multi-faceted approach is unique.
Visual Dashboard : The fixed on-chart dashboard (shown at your chosen corner) summarizes all metrics in bar/gauge form. Even a non-technical user can glance at it: more “█” blocks = a higher value, colors match the plots. This is more intuitive than raw numbers.
Adaptive Thresholds : Using percentile ranks means MERV auto-adjusts to each market’s character, rather than requiring fixed thresholds.
Cycle Insight : The rhythm plot adds information rarely found in indicators – it shows if there’s a repeating cycle (and its period in bars) and how strong it is. This can hint at natural bounce or reversal intervals.
Modern Look : The neon color scheme and glow effects make the lines easy to distinguish (blue/pink for entropy, green/orange for tradeability, etc.) and the filled area between them highlights when one dominates the other.
Recommended Timeframes
MERV can be applied to any timeframe, but it will be more reliable on higher timeframes. The default len_entropy = 50 and len_rhythm = 30 mean we use 30–50 bars of history, so on a daily chart that’s ~2–3 months of data; on a 1-hour chart it’s about 2–3 days. In practice:
Swing/Position traders might prefer Daily or 4H charts, where the calculations smooth out small noise. Entropy and cycles are more meaningful on longer trends.
Day trader s could use 15m or 1H charts if they adjust the inputs (e.g. shorter windows). This provides more sensitivity to intraday cycles.
Scalpers might find MERV too “slow” unless input lengths are set very low.
In summary, the indicator works anywhere, but the defaults are tuned for capturing medium-term trends. Users can adjust len_entropy and len_rhythm to match their chart’s volatility. The dashboard position can also be moved (top-left, bottom-right, etc.) so it doesn’t cover important chart areas.
How the Scoring/Logic Works (Step-by-Step)
Compute Entropy : A linear regression line is fit to the last len_entropy closes. We compute R² (goodness of fit). Entropy = 1 – R². So a strong straight-line trend gives low entropy; a flat/noisy set of points gives high entropy.
Compute Tradeability : We get ATR over len_entropy bars, normalize it by price (so it’s a fraction of price). We also calculate the regression slope (difference between the predicted close and last close). We scale |slope| by ATR to get a dimensionless measure. We average these (ATR% and slope%) to get tradeability_raw. This represents how big and directional price moves are.
Convert to Percentiles : Each new entropy and tradeability value is inserted into a rolling array of the last 50 values. We then compute the percentile rank of the current value in that array (0–100%) using a simple loop. This tells us where the current bar stands relative to history. We then divide by 100 to plot on .
Determine Modes and Signal : Based on these normalized metrics: if entropy < 0.4 and tradeability > 0.6 (40% and 60% thresholds), we set mode = Trending (1). If entropy > 0.6 and tradeability < 0.4, mode = Choppy (-1). Otherwise mode = Neutral (0). Separately, if entropy_norm < 0.3 and tradeability > 0.7, we set an optimal flag. These conditions trigger the colored mode bars and the star line.
Rhythm Detection : Every bar, if we have enough data, we take the last len_rhythm closes and compute the mean and standard deviation. Then for lags from 5 up to len_rhythm, we calculate a normalized autocorrelation coefficient. We track the lag that gives the maximum correlation (best match). This “best lag” divided by len_rhythm is plotted (a value between 0 and 1). Its color changes with the correlation strength. We also smooth the best correlation value over 5 bars to plot as “Cycle Strength” (also 0 to 1). This shows if there is a consistent cycle length in recent price action.
Heatmap (Optional) : The background color behind the oscillator panel can change with entropy. If “Neon Rainbow” style is on, low entropy is blue and high entropy is pink (via a custom color function), otherwise a classic green-to-red gradient can be used. This visually reinforces the entropy value.
Volume Regime (Dashboard Only) : We compute vol_norm = volume / sma(volume, len_entropy). If this is above 1.5, it’s considered high volume (neon orange); below 0.7 is low (blue); otherwise normal (green). The dashboard shows this as a bar gauge and percentage. This is for context only.
Oscillator Plot – How to Read It
The main panel (oscillator) has multiple colored lines on a 0–1 vertical scale, with horizontal markers at 0.2 (Low), 0.5 (Mid), and 0.8 (High). Here’s each element:
Entropy Line (Blue→Pink) : This line (and its glow) shows normalized entropy (0 = very low, 1 = very high). It is blue/green when entropy is low (strong trend) and pink/purple when entropy is high (choppy). A value near 0.0 (below 0.2 line) indicates a very well-defined trend. A value near 1.0 (above 0.8 line) means the market is very random. Watch for it dipping near 0: that suggests a strong trend has formed.
Tradeability Line (Green→Yellow) : This represents normalized tradeability. It is colored bright green when tradeability is low, transitioning to yellow as tradeability increases. Higher values (approaching 1) mean big moves and strong slopes. Typically in a market rally or crash, this line will rise. A crossing above ~0.7 often coincides with good trend strength.
Filled Area (Orange Shade) : The orange-ish fill between the entropy and tradeability lines highlights when one dominates the other. If the area is large, the two metrics diverge; if small, they are similar. This is mostly aesthetic but can catch the eye when the lines cross over or remain close.
Rhythm (Cycle) Line : This is plotted as (best_lag / len_rhythm). It indicates the relative period of the strongest cycle. For example, a value of 0.5 means the strongest cycle was about half the window length. The line’s color (green, orange, or pink) reflects how strong that cycle is (green = strong). If no clear cycle is found, this line may be flat or near zero.
Cycle Strength Line : Plotted on the same scale, this shows the autocorrelation strength (0–1). A high value (e.g. above 0.7, shown in green) means the cycle is very pronounced. Low values (pink) mean any cycle is weak and unreliable.
Mode Bars (Bottom) : Below the main oscillator, thick colored bars appear: a green bar means Trending Mode, magenta means Choppy Mode, and cyan means Neutral. These bars all have a fixed height (–0.1) and make it very easy to see the current regime.
Optimal Regime Line (Bottom) : Just below the mode bars is a thick horizontal line at –0.18. Its color indicates regime quality: White (★) means “Optimal Regime” (very low entropy and high tradeability). Gold (★) means not quite optimal (high tradeability but entropy not low enough). Black means neither condition. This star line quickly tells you when conditions are ideal (white star) or simply good (gold star).
Horizontal Guides : The dotted lines at 0.2 (Low), 0.5 (Mid), and 0.8 (High) serve as reference lines. For example, an entropy or tradeability reading above 0.8 is “High,” and below 0.2 is “Low,” as labeled on the chart. These help you gauge values at a glance.
Dashboard (Fixed Corner Panel)
MERV also includes a compact table (dashboard) that can be positioned in any corner. It summarizes key values each bar. Here is how to read its rows:
Entropy : Shows a bar of blocks (█ and ░). More █ blocks = higher entropy. It also gives a percentage (rounded). A full bar (10 blocks) with a high % means very chaotic market. The text is colored similarly (blue-green for low, pink for high).
Rhythm : Shows the best cycle period in bars (e.g. “15 bars”). If no calculation yet, it shows “n/a.” The text color matches the rhythm line.
Cycle Strength : Gives the cycle correlation as a percentage (smoothed, as shown on chart). Higher % (green) means a strong cycle.
Tradeability : Displays a 10-block gauge for tradeability. More blocks = more tradeable market. It also shows “gauge” text colored green→yellow accordingly.
Market Mode : Simply shows “Trending”, “Choppy”, or “Neutral” (cyan text) to match the mode bar color.
Volume Regime : Similar to tradeability, shows blocks for current volume vs. average. Above-average volume gives orange blocks, below-average gives blue blocks. A % value indicates current volume relative to average. This row helps see if volume is abnormally high or low.
Optimal Status (Large Row) : In bold, either “★ Optimal Regime” (white text) if the star condition is met, “★ High Tradeability” (gold text) if tradeability alone is high, or “— Not Optimal” (gray text) otherwise. This large row catches your eye when conditions are ripe.
In short, the dashboard turns the numeric state into an easy read: filled bars, colors, and text let you see current conditions without reading the plot. For instance, five blue blocks under Entropy and “25%” tells you entropy is low (good), and a row showing “Trending” in green confirms a trend state.
Real-Life Example
Example : Consider a daily chart of a trending stock (e.g. “AAPL, 1D”). During a strong uptrend, recent prices fit a clear upward line, so Entropy would be low (blue line near bottom, perhaps below the 0.2 line). Volatility and slope are high, so Tradeability is high (green-yellow line near top). In the dashboard, Entropy might show only 1–2 blocks (e.g. 10%) and Tradeability nearly full (e.g. 90%). The Market Mode bar turns green (Trending), and you might see a white ★ on the optimal line if conditions are very good. The Volume row might light orange if volume is above average during the rally. In contrast, imagine the same stock later in a tight range: Entropy will rise (pink line up, more blocks in dashboard), Tradeability falls (fewer blocks), and the Mode bar turns magenta (Choppy). No star appears in that case.
Consolidated Use Case : Suppose on XYZ stock the dashboard reads “Entropy: █░░░░░░░░ 20%”, “Tradeability: ██████████ 80%”, Mode = Trending (green), and “★ Optimal Regime.” This tells the trader that the market is in a strong, low-noise trend, and it might be a good time to follow the trend (with appropriate risk controls). If instead it reads “Entropy: ████████░░ 80%”, “Tradeability: ███▒▒▒▒▒▒ 30%”, Mode = Choppy (magenta), the trader knows the market is random and low-momentum—likely best to sit out until conditions improve.
Example: How It Looks in Action
Screenshot 1: Trending Market with High Tradeability (SOLUSD, 30m)
What it means:
The market is in a clear, strong trend with excellent conditions for trading. Both trend-following and active strategies are favored, supported by high tradeability and strong volume.
Screenshot 2: Optimal Regime, Strong Trend (ETHUSD, 1h)
What it means:
This is an ideal environment for trend trading. The market is highly organized, tradeability is excellent, and volume supports the move. This is when the indicator signals the highest probability for success.
Screenshot 3: Choppy Market with High Volume (BTC Perpetual, 5m)
What it means:
The market is highly random and choppy, despite a surge in volume. This is a high-risk, low-reward environment, avoid trend strategies, and be cautious even with mean-reversion or scalping.
Settings and Inputs
The script is fully open-source; here are key inputs the user can adjust:
Entropy Window (len_entropy) : Number of bars used for entropy and tradeability (default 50). Larger = smoother, more lag; smaller = more sensitivity.
Rhythm Window (len_rhythm ): Bars used for cycle detection (default 30). This limits the longest cycle we detect.
Dashboard Position : Choose any corner (Top Right default) so it doesn’t cover chart action.
Show Heatmap : Toggles the entropy background coloring on/off.
Heatmap Style : “Neon Rainbow” (colorful) or “Classic” (green→red).
Show Mode Bar : Turn the bottom mode bar on/off.
Show Dashboard : Turn the fixed table panel on/off.
Each setting has a tooltip explaining its effect. In the description we will mention typical settings (e.g. default window sizes) and that the user can move the dashboard corner as desired.
Oscillator Interpretation (Recap)
Lines : Blue/Pink = Entropy (low=trend, high=chop); Green/Yellow = Tradeability (low=quiet, high=volatile).
Fill : Orange tinted area between them (for visual emphasis).
Bars : Green=Trending, Magenta=Choppy, Cyan=Neutral (at bottom).
Star Line : White star = ideal conditions, Gold = good but not ideal.
Horizontal Guides : 0.2 and 0.8 lines mark low/high thresholds for each metric.
Using the chart, a coder or trader can see exactly what each output represents and make decisions accordingly.
Disclaimer
This indicator is provided as-is for educational and analytical purposes only. It does not guarantee any particular trading outcome. Past market patterns may not repeat in the future. Users should apply their own judgment and risk management; do not rely solely on this tool for trading decisions. Remember, TradingView scripts are tools for market analysis, not personalized financial advice. We encourage users to test and combine MERV with other analysis and to trade responsibly.
-BullByte
RSI Divergence(CompactFX)This is the standard "RSI" with "divergence" displayed. Additionally, it has the following features:
- The line color shifts above and below the RSI 50 threshold.
- The MA can be displayed on the RSI.
- Signs of an expected reversal are displayed.
**Examples of Use**
*For Swing Traders
In addition to using the standard RSI, the divergence display can serve as a trigger for further consideration.
*For Scalpers
For athletic traders who prefer intuition over logic and calculation, we recommend customizing the RSI color to your liking for bulls and bears. Consider extending the price until the RSI color changes. Below is my example.
-One-Minute Scalping
When prices are moving above the long-term and short-term MAs, you can hold a position as long as the RSI is above 55 (below 45 for bears). In this case, pivot signs can also be used as a guide for closing positions. Of course, this is best done during periods of high momentum. Five- and 15-minute scalping also works well. However, these only work if you adhere to my logic. Don't forget to adhere to your own logic and framework.
The above is just an example. Feel free to use it as you like.