Modular Range-Trading Strategy (V9.2)# 模块化震荡行情策略 (V9.2)
# Modular Range-Trading Strategy (V9.2)
## 策略简介 | Strategy Overview
该策略基于布林带 (Bollinger Bands)、RSI、MACD、ADX 等经典指标的组合,通过多逻辑模块化结构识别震荡区间的价格反转机会,支持多空双向操作,并在相同逻辑下允许智能加仓,适用于震荡市场的回测和研究。
This strategy combines classic indicators such as Bollinger Bands, RSI, MACD, and ADX to identify price reversal opportunities within ranging markets. It features a modular multi-logic structure, allowing both long and short trades with intelligent pyramiding under the same logic. It is designed for backtesting and research in range-bound conditions.
---
## 功能特点 | Key Features
- **多逻辑结构**:支持多套震荡逻辑(动能确认均值回归、布林带极限反转等)。
- **加仓与仓位互斥**:同逻辑下可智能加仓,不同逻辑间自动互斥,避免冲突。
- **回测可调时间范围**:可自定义回测起止时间,精准评估策略表现。
- **指标可视化**:布林带、RSI、MACD 及动态 ATR 止损线实时绘图。
- **K线收盘确认信号**:通过 `barstate.isconfirmed` 控制信号,避免未收盘的虚假信号。
- **Multi-logic structure**: Supports multiple range-trading logics (e.g., momentum-based mean reversion, Bollinger Band reversals).
- **Pyramiding with mutual exclusion**: Allows intelligent pyramiding within the same logic while preventing conflicts between different logics.
- **Adjustable backtesting range**: Customizable start and end dates for accurate performance evaluation.
- **Visual indicators**: Real-time plotting of Bollinger Bands, RSI, MACD, and dynamic ATR stop lines.
- **Close-bar confirmation**: Uses `barstate.isconfirmed` to avoid false signals before bar close.
---
## 使用说明 | Usage
1. 将该脚本添加到 TradingView 图表。
2. 在参数中设置回测时间段和指标参数。
3. 仅用于学习与策略研究,请勿直接用于实盘交易。
1. Add this script to your TradingView chart.
2. Configure backtesting dates and indicator parameters as needed.
3. For educational and research purposes only. **Not for live trading.**
---
## ⚠️ 免责声明 | Disclaimer
本策略仅供学习和研究使用,不构成任何形式的投资建议。
作者不参与任何实盘交易、资金管理或收益分成,也不保证策略盈利能力。
严禁将本脚本用于任何非法集资、私募募资或与虚拟货币相关的金融违法活动。
使用本策略即表示您自行承担所有风险与法律责任。
This strategy is for educational and research purposes only and does not constitute investment advice.
The author does not participate in live trading, asset management, or profit sharing, nor guarantee profitability.
The use of this script in illegal fundraising, private placements, or cryptocurrency-related financial activities is strictly prohibited.
By using this strategy, you accept all risks and legal responsibilities.
---
M-oscillator
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.
ATR%The time period can be customized, which is suitable for finding short-term high-volatility trading pairs, and may be suitable for finding grid trading.
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.
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.
Wolf ScalperWolf Scalper Strategy
An ultra-aggressive, high-frequency scalping system rigorously back-tested on major crypto pairs (BTC/USD, ETH/USD, etc.). It runs on a 30-second chart, with trend confirmation coming from 5-minute and 15-minute Super-trend indicators. Entries occur when the 30-second RSI(7) crosses 50 in the direction of the prevailing trend; exits use ATR-based stops (1.7×ATR(5)), profit targets (5.5×ATR(5)), and an optional trailing stop that kicks in at 10% of the target and moves in 10% increments. The strategy allows up to three concurrent positions (20% equity each) and is built for maximum intraday volatility capture in crypto markets.
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.
[Stratégia] VWAP Mean Magnet v2 (VolSzűrő)Ez a stratégia BTC- oldalazó időszakára van kifejlestve 1 perces chartra.
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.
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.
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
—
TFPS - TradFi Pressure ScoreThe Data-Driven Answer to a New Market Reality.
This indicator quantifies the pressure exerted by Wall Street on the crypto market across four critical dimensions: Risk Appetite, Fear, Liquidity Flows, and the Opportunity Cost of Capital. Our research has found that the correlation between this 4-dimensional pressure vector and crypto price action reaches peak values of 0.87. This is your decisive macro edge, delivered in real-time.
The Irreversible Transformation
A fundamental analysis of the last five years of market data proves an irreversible transformation: The crypto market has matured into a high-beta risk asset, its fate now inextricably linked to Traditional Finance (TradFi).
The empirical data is clear:
Bitcoin increasingly behaves like a leveraged version of the S&P 500.
The correlation to major stock indices is statistically significant and persistent.
The "digital gold" narrative is refuted by the data; the correlation to gold is virtually non-existent.
This means standard technical indicators are no longer sufficient. Tools like RSI or MACD are blind to the powerful, external macro context that now dominates price action. They see the effect, but not the cause.
The Solution: A 4-Dimensional Macro-Lens
The TradFi Pressure Score (TFPS) is the answer. It is an institutional-grade dashboard that aggregates the four most dominant external forces into a single, actionable score:
S&P 500 (SPY): The Pulse of Risk Appetite. A rising S&P signals a "risk-on" environment, fueling capital flows into crypto.
VIX: The Market's Fear Gauge. A rising VIX signals a "risk-off" flight to safety, draining liquidity from crypto.
DXY (US-Dollar Index): The Anchor of Global Liquidity. A strong Dollar (rising DXY) tightens financial conditions, creating powerful headwinds for risk assets like Bitcoin.
US 10Y Yield: The Opportunity Cost of Capital. Rising yields make risk-free assets more attractive, pulling capital away from non-yielding assets like crypto.
What makes the TFPS truly unique?
1. Dynamic Weighting (The Secret Weapon):
Which macro factor matters most right now? Is it a surging Dollar or a collapsing stock market? The TFPS answers this automatically. It continuously analyzes the correlation of all four components to your chosen asset (e.g., Bitcoin) and adjusts their influence in real-time. The dashboard shows you the exact live weights, ensuring you are always focused on the factor that is currently driving the market.
2. Adaptive Engine:
The forces driving a 15-minute chart are different from those driving a daily chart. The TFPS engine automatically recalibrates its internal lookback periods to your chosen timeframe. This ensures the score is always optimally relevant, whether you are a day trader or a swing trader.
3. Designed for Actionable Insights
The Pressure Line: The indicator's core output. Is its value > 0 (tailwind) or < 0 (headwind)? This provides an instant, unambiguous read on the macro environment for your trade.
The Z-Score (The Contrarian Signal): The background "Stress Cloud" and the discrete dots provide early warnings of extreme macro greed or fear. Readings above +2 or below -2 have historically pinpointed moments of market exhaustion that often precede major trend reversals.
Lead/Lag Status: Gain a critical edge by knowing who is in the driver's seat. The dashboard tells you if TradFi is leading the price action or if crypto is moving independently, allowing you to validate your trade thesis against the dominant market force.
This is a public indicator with protected source code
Access is now available for traders who understand the new market reality at the intersection of crypto and traditional finance.
You are among the first to leverage what is a new standard for macro analysis in crypto trading. Your feedback is highly valued as I continue to refine this tool.
Follow for updates and trade with the full context!
MACD Signal with Williams %R ColoringA simple fused indicator of 2, 1) MACD signal lines made colouring when 2) Williams % R is in overbought or oversold. not my own coding, just took two readily available indicators and coded them together.
HBD.warning wave scanningAlarms can be set for RSI, MACD, Stochastic, CCI, MFI, EMA50, EMA200, and automatic Fibonacci, among others. The Fibonacci last bar contact alert increases your chances of spotting prices at support levels.
Token Beta vs BTCWant to know how risky a crypto token is compared to Bitcoin?
It looks at the last 30 days of price data (you can change this number) for both the token you’re checking and Bitcoin. It calculates a number called beta, which tells you how much the token’s price swings compared to Bitcoin’s.
For example: If beta is 1.5, the token moves 1.5 times more than Bitcoin (pretty volatile!).
If beta is 0.8, it’s calmer than Bitcoin.
You set a “median beta” (default is 1.2), which is like a middle point for a group of tokens. The script checks if the token’s beta is higher than this median.
If it is, the token gets a score of 1 (meaning it’s riskier than average). If not, it gets a 0.
Table: A box pops up in the top-right corner of the chart, showing:
The token’s name (e.g., “SUIUSD”).
Its beta (e.g., “1.45”).
Its score (1 or 0, colored green for 1, red for 0).
Graphs: It draws a blue line for the beta value and a green bar graph for the score (1 or 0).
strategy15min bar, short-term and scalp strategy, eth, using stdev as trend line, long when price hits the lower line, short when price hits the upper line.
Gold 3min Trading Pro [XAU/USD]# Gold 3min Trading Pro - User Guide
## Overview
This is a professional scalping indicator specifically designed for Gold (XAU/USD) trading on 3-minute timeframes. It combines multiple technical analysis methods to provide high-probability entry signals for short-term trading.
## Key Features
### 1. Multi-Timeframe Trend Analysis
- **Major Trend**: Analyzes 15min, 1H, and 4H timeframes using moving averages
- **Short-term Trend**: Focuses on 3-minute price action and moving average alignment
- **Trend Strength**: Rated from 1-3 based on timeframe agreement
### 2. Core Indicators
- **RSI (9-period)**: Momentum oscillator for overbought/oversold conditions
- **Stochastic (9-period)**: %K and %D lines for entry timing
- **MACD**: Additional trend confirmation
- **Volume Analysis**: Detects volume spikes for signal validation
- **ATR-based Volatility Filter**: Ensures adequate market movement
### 3. Signal Types
- **Primary Signals**: Green triangles (LONG) and Red triangles (SHORT)
- **Enhanced Signals**: Stronger signals with multiple confirmations
- **Confirmation Signals**: Small circles for stochastic crossovers
## How to Use
### 1. Setup
- **Timeframe**: Use on 3-minute charts for Gold (XAU/USD)
- **Settings**: Default settings are optimized for Gold scalping
- **Session Filter**: Enable for London/New York sessions (recommended)
### 2. Entry Conditions
#### LONG Entry:
- Major trend is bullish (green background)
- Short-term trend is up or neutral
- RSI shows bullish momentum
- Stochastic indicates oversold recovery
- Volume spike confirmation
- Strong price action (bullish candle)
#### SHORT Entry:
- Major trend is bearish (red background)
- Short-term trend is down or neutral
- RSI shows bearish momentum
- Stochastic indicates overbought reversal
- Volume spike confirmation
- Strong price action (bearish candle)
### 3. Trade Management
- **Quick Target**: 50% of ATR-based calculation
- **Main Target**: Full ATR-based target
- **Stop Loss**: 60% of ATR below/above entry
- **Time Limit**: Exit if no progress within 20 bars (60 minutes)
### 4. Risk Management
- **Position Size**: Risk 1-2% of account per trade
- **Maximum Trades**: 3-5 trades per session
- **Avoid**: Low volatility periods and major news events
## Visual Elements
### Background Colors
- **Light Green**: Bullish major trend
- **Light Red**: Bearish major trend
- **Yellow**: Volume spike detected
- **Intense Colors**: Very strong trend alignment
### Chart Indicators
- **RSI Line (Blue)**: Main momentum indicator
- **Stochastic %K (Orange)**: Fast stochastic line
- **Stochastic %D (Yellow)**: Slow stochastic line
- **Horizontal Lines**: 70 (overbought), 30 (oversold), 50 (midline)
### Information Table (Top Right)
- Total signal count and performance statistics
- Current market conditions and trend strength
- RSI levels and volatility status
- Trading session information
- Last signal timing
## Alert System
### Standard Alerts
- **Scalp Long Signal**: Basic long entry signal
- **Scalp Short Signal**: Basic short entry signal
- **Premium Signals**: High-quality signals with strong confirmation
- **Trend Reversal**: Major trend change notifications
### Alert Setup
1. Right-click on chart → "Add Alert"
2. Select desired alert condition
3. Configure notification method (popup, email, webhook)
4. Set alert frequency to "Once Per Bar Close"
## Best Practices
### 1. Trading Sessions
- **Optimal**: London-NY overlap (3:00-5:00 PM EST)
- **Good**: London session (2:00-11:00 AM EST)
- **Avoid**: Asian session and major news releases
### 2. Market Conditions
- **Best**: Trending markets with normal to high volatility
- **Moderate**: Ranging markets during active sessions
- **Avoid**: Extremely low volatility or choppy conditions
### 3. Confirmation Rules
- Wait for signal triangle to appear
- Check that major trend aligns with signal direction
- Verify volume spike (yellow background)
- Ensure volatility is adequate (check info table)
### 4. Entry Timing
- Enter immediately after signal confirmation
- Use market orders for scalping speed
- Set stop loss and take profit levels immediately
## Settings Customization
### Essential Settings
- **MA Type**: EMA (recommended) or SMA
- **RSI Length**: 9 (default, can adjust 5-14)
- **Volume Threshold**: 1.8 (higher = fewer but stronger signals)
- **Volatility Filter**: Keep enabled for better signal quality
### Display Options
- **Show Scalping Signals**: Main entry signals
- **Show Performance Stats**: Information table
- **Show Trend Filter**: Background trend colors
- **Use Time Filter**: Session-based filtering
## Performance Optimization
### 1. Backtesting Tips
- Test on different market conditions
- Analyze win rate and average profit/loss
- Adjust settings based on historical performance
### 2. Signal Quality
- Higher trend strength (2-3) = better signals
- Volume confirmation improves success rate
- Enhanced signals have higher probability
### 3. Risk Control
- Never risk more than 2% per trade
- Use proper position sizing
- Stop trading after 3 consecutive losses
## Troubleshooting
### Common Issues
1. **No Signals**: Check volatility filter and session timing
2. **Too Many Signals**: Increase volume threshold or enable filters
3. **Poor Performance**: Verify timeframe (must be 3-minute) and symbol (XAU/USD)
### Support
- Ensure TradingView Pro+ subscription for multi-timeframe data
- Verify Gold symbol matches your broker's format
- Update to latest TradingView version
This indicator is designed for experienced traders familiar with scalping techniques and risk management. Always practice on demo accounts before live trading.
Indexrate Code BIndexrate Code B is an indicator and part of the Indexrate Code Set of Algorithm, which additionally includes the Indexrate Code A strategy.
The Indexrate Code Set of Algorithms can be used for any trading instruments and on any existing markets (Stock market, Forex, Cryptocurrency market, etc.).
Indexrate Code B consists of a set of indicators, oscillators and signals that are uniquely configured to interact with each other and allow traders to analyze the movement of an asset’s price:
- Momentum
This oscillator measures the amount of change in the price of an asset over a certain period of time. This is a great tool for understanding the strength of a trend and its potential sustainability. When the momentum oscillator is rising, it indicates that the price is moving up and vice versa.
Momentum is an advanced technical analysis tool that helps traders determine the rate of change or momentum of the market. It is typically used to determine the strength or rate at which the price of an asset increases or decreases for a set of returns. This oscillator is considered to be "fast moving" and "sensitive" as it reacts quickly to changes in price momentum. The fast-moving nature of this oscillator helps traders get early signals for potential market entry or exit points.
The Momentum Oscillator analyzes the current price compared to the previous price and adds two additional levels of analysis: Buy and Sell Movements and Extremes.
• Buying and Selling Movements: This oscillator layer helps identify the buying and selling pressure in the market. This can provide traders with valuable information about the possible direction of future price movements. When there is high buying pressure (demand), the price tends to rise, and when there is high selling pressure (supply), the price tends to fall.
• Extremes: This layer helps identify extreme overbought or oversold conditions. When the oscillator enters the overbought zone, it may indicate that price has peaked and could potentially reverse. Conversely, if the oscillator enters an oversold zone, it could indicate that the price is at a low and could potentially rebound.
Momentum usage example
Momentum is a sensitive and fast-moving oscillator that quickly adapts to price changes while tracking long-term momentum, making it easier to spot buying or selling opportunities in trends.
-Difference Momentum
The Momentum wave described above consists of two curves combined into a ribbon. Difference Momentum shows the intersection of these waves. Difference Momentum is an important component of the toolkit. It takes into account both the direction and dynamics of market trends. The waves within this system are fast and responsive, acting independently and offering the most relevant information at the most appropriate moments. Their fast response time ensures that traders receive timely information, which is very important in the fast-paced and dynamic world of trading.
An example of using Difference Momentum
Difference Momentum is able to identify trend reversals and pullbacks, allowing traders to enter or exit trades at optimal times.
Movement of the indicator curve from negative to positive values (from bottom to top) for Long and movement of the curve from positive to negative values (from top to bottom) for Short. As well as the intersection of the center line of the indicator channel (value “0”) in one direction or the other. The values can be observed in the status line.
-StochRSI
StochRSI is a type of momentum oscillator that is commonly used in technical analysis to predict price movements. As the name suggests, it is an enhanced form of the traditional Relative Strength Index (RSI) that provides traders with more timely signals to enter and exit the market.
StochRSI works on similar principles but is designed to provide signals ahead of traditional RSI. This is achieved through more complex mathematical modeling and calculations that aim to identify changes in market dynamics before they happen. It takes into account not only current price action, but also takes into account historical data in such a way that changes in trend directions can be anticipated.
Example of using StochRSI
StochRSI is an enhanced version of the traditional relative strength index, offering overbought or oversold market conditions.
The oscillator wave changes color from green to red. Where the green color serves as a priority for Long positions, and the red color serves as a priority for Short positions. Values in the “80” zone and above indicate the asset is overbought, and values in the “20” zone and below indicate the asset is oversold. The values can be observed in the status line.
-Money Flow Index (MFI)
Money Flow Index (MFI) or Money Flow Index is an indicator from the group of oscillators. It reflects the rate at which funds are invested in and withdrawn from a financial asset. Essentially, it measures the pressure of buyers and sellers. The oscillator calculates incoming and outgoing cash flows.
The Money Flow Index helps traders analyze positive and negative money flows and compare these data with price, which in turn allows them to better see trend strength and turning points.
Example of using Money Flow Index (MFI)
The transition of waves from gray to blue means that money is entering the asset, and vice versa from blue to gray means that money is leaving the asset. This leads to the conclusion that when money enters an asset, it becomes more expensive, and when money leaves an asset, it becomes cheaper. A hint of this movement gives the trader additional confirmation of the received signal. The bar at the top of the indicator duplicates the movement of Money Flow Index (MFI) waves for accurate visualization of these transitions. At the same time, when the wave is in blue color (Long), then purchases are considered a priority, and when the wave is in gray color (Short), then sales are considered a priority.
-Trend Score WMA
The Trend Score WMA indicator is an indicator that uses a weighted moving average (WMA). When calculating, each candle is assigned its own weight, which is calculated depending on the selected period. The indicator quickly reacts to market changes. Trend Score WMA is good for quick trading within a day or several days.
The indicator curve resembles a broken line directed up or down, into blue zones (Long) at the top and gray zones (Short) at the bottom. The maximum indicator values are 83 and -83.
Example of using Trend Score WMA
This is an indicator of trend direction. The movement of the indicator curve shows the movement of the trend in real time. The indicator curve moves from bottom to top, from the gray Short zone to the blue Long zone and from top to bottom, from the blue Long zone to the gray Short zone. It is also worth considering that finding a wave in the maximum values of both Long and Short zones may mean the continuation of stronger trend movements.
-Signals
Indexrate Code B(i), shows the direction of price movement, trend breaks, overbought and oversold zones of an asset and creates corresponding signals.
When the Momentum waves intersect, the Difference Momentum wave crosses the zero mark in the status line and the center of the channel boundary (white lines on the indicator having values of 60 and -60), a signal appears in the form of a column of the corresponding color (blue - Long, gray - Short), as well as a cross of the corresponding color appears.
When Momentum Waves intersect and simultaneously cross the channel boundary at a value of 60 or -60, a square of the corresponding color appears. This could mean stronger price movements.
If Momentum waves move from high peaks to lower ones, this also serves as signals for a change in price movement.
When working with the Indexrate Code B(i) indicator, it is necessary to take into account the totality of indicators of other indicators and oscillators to confirm the indicator signals, as shown in their examples.
The Indexrate Code Set of Algorithms is suitable for conservative traders who evaluate their success in the long term, and not in short-term excess profits.
IT IS IMPORTANT TO KNOW that no indicator is capable of 100% predicting a successful trade.
The market is a collection of people. It is thanks to human psychology that shapes the forces of supply and demand that financial markets exist (Charles Dow Theory).
Forecasting based on the analysis of mathematical algorithms (indicators) uses data from past trading - the price of the previous period of time and the volume of previous trading. It is these two indicators that are used by modern technical analysis.
The Indexrate Code Set of Algorithm is based on algorithms that evaluate trends, prices and volume indicators. Besides human psychology, which requires an assessment of the exact preceding periods for a specific timeframe, and not an assessment of the entire period from the moment of listing of a trading instrument on a specific exchange. Since market indicators completely change throughout the trading period and the exchange trading volume also changes.
All updates to the Indexrate Code Set of Algorithm will be free.
Trading is trading on probabilities. Investing is trading on opportunity. Nobody knows the future - Always protect your profits!
Russian translation
Indexrate Code В - это индикатор являющийся частью Комплекта алгоритмов Indexrate Code, включающего в себя дополнительно стратегию Indexrate Code А(s).
Комплект алгоритмов Indexrate Code, может быть использован для любых торговых инструментов и на любых существующих рынках (Фондовый рынок, Форекс, Криптовалютный рынок и тд).
Indexrate Code В состоит из совокупности индикаторов, осцилляторов и сигналов, настроенных уникальным образом для взаимодействия между собой и позволяющих трейдерам комплексно анализировать движение цены актива:
- Momentum
Этот осциллятор измеряет величину изменения цены актива за определенный промежуток времени. Это отличный инструмент для понимания силы тренда и его потенциальной устойчивости. Когда осциллятор импульса растет, это говорит о том, что цена движется вверх и наоборот.
Momentum - это продвинутый инструмент технического анализа, который помогает трейдерам определить скорость изменения или импульс рынка. Обычно он используется для определения силы или скорости, с которой цена актива увеличивается или уменьшается для набора доходностей. Этот осциллятор считается «быстродвижущимся» и «чувствительным», поскольку он быстро реагирует на изменения ценового импульса. Быстродвижущийся характер этого осциллятора помогает трейдерам получать ранние сигналы для потенциальных точек входа или выхода из рынка.
Осциллятор Momentum анализирует текущую цену по сравнению с предыдущей ценой и добавляет два дополнительных уровня анализа: «Движения покупки и продажи» и «Экстремумы».
Движения покупки и продажи: этот слой осциллятора помогает определить давление покупателей и продавцов на рынке. Это может предоставить трейдерам ценную информацию о возможном направлении будущих движений цен. Когда существует высокое давление покупателей (спрос), цена имеет тенденцию расти, а когда существует высокое давление продавцов (предложение), цена имеет тенденцию падать.
Экстремумы: этот слой помогает определить экстремальные условия перекупленности или перепроданности. Когда осциллятор входит в зону перекупленности, это может указывать на то, что цена достигла максимума и потенциально может развернуться. И наоборот, если осциллятор входит в зону перепроданности, это может указывать на то, что цена находится на минимуме и потенциально может отскочить.
Пример использования Momentum
Momentum — это чувствительный и быстро движущийся осциллятор, который быстро адаптируется к изменениям цен, отслеживая при этом долгосрочный импульс, что облегчает обнаружение возможностей покупки или продажи в трендах.
-Difference Momentum
Волна Momentum описанная выше, состоит из двух кривых объединенных в ленту. Difference Momentum, показывает пересечение этих волн. Difference Momentum является важным компонентом набора инструментов. Он учитывает как направление, так и динамику рыночных тенденций. Волны внутри этой системы быстрые и отзывчивые, действуют независимо и предлагают наиболее подходящую информацию в наиболее подходящие моменты. Их быстрое время реагирования гарантирует, что трейдеры получают своевременную информацию, что очень важно в быстро меняющемся и динамичном мире торговли.
Пример использования Difference Momentum.
Difference Momentum способен определять развороты и откаты тренда, позволяя трейдерам входить или выходить из сделок в оптимальные моменты.
Движение кривой индикатора с отрицательных значений в положительные (снизу вверх) для Long и движение кривой с положительных значений в отрицательные (сверху вниз) для Short. А также пересечение центральной линии канала индикатора (значение "0") в одну или в другую сторону. Значения можно наблюдать в строке статуса.
-StochRSI
StochRSI это тип осциллятора импульса, который обычно используется в техническом анализе для прогнозирования движения цен. Как следует из названия, это расширенная форма традиционного индекса относительной силы (RSI), которая предоставляет трейдерам более своевременные сигналы для входа и выхода из рынка.
StochRSI работает по аналогичным принципам, но предназначен для предоставления сигналов, опережающих традиционный RSI. Это достигается за счет более сложного математического моделирования и расчетов, целью которых является выявление изменений в динамике рынка до того, как они произойдут. Он учитывает не только текущее ценовое действие, но также учитывает исторические данные таким образом, чтобы можно было предвидеть изменения в направлениях тренда.
Пример использования StochRSI
StochRSI — это расширенная версия традиционного индекса относительной силы, предлагающая рыночные условия перекупленности или перепроданности.
Волна осциллятора меняет цвет с зеленого на красный. Где зеленый цвет служит приоритетом для позиций Long, а красный цвет приоритетом для позиций Short. Значение в зоне "80" и выше показывают перекупленность актива, а значение в зоне "20" и ниже, показывают перепроданность актива. Значения можно наблюдать в строке статуса.
-Money Flow Index (MFI)
Money Flow Index (MFI) или Индекс денежного потока, — индикатор из группы осцилляторов. Он отражает интенсивность, с которой денежные средства вкладываются в финансовый актив и выводятся из него. По сути, измеряет давление продавцов и покупателей. Осциллятор высчитывает входящие и выходящие денежные потоки.
Money Flow Index помогает трейдерам проанализировать положительные и отрицательные потоки денег и сравнить эти данные с ценой, что в свою очередь позволяет лучше видеть силу тренда и разворотные моменты.
Пример использования Money Flow Index (MFI)
Переход волн из серого цвета в голубой означает, что деньги входят в актив, а наоборот из голубого цвета в серый означает, что деньги из актива выходят. Отсюда следует вывод, что когда деньги входят в актив, он дорожает, а когда деньги выходят из актива, то он дешевеет. Намек на это движение, дает трейдеру дополнительное подтверждение полученного сигнала. Полоса в верхней части индикатора, дублирует движение волн Money Flow Index (MFI) для точности визуализации этих переходов. При этом, когда волна находится в голубом цвете (Long), то приоритетней считаются покупки, а когда волна находится в сером цвете (Short), то приоритетней считаются продажи.
-Trend Score WMA
Индикатор Trend Score WMA - это индикатор использующий взвешенную скользящую среднюю (WMA). При расчете каждой свече присваивается свой вес, который рассчитывается в зависимости от выбранного периода. Индикатор быстро реагирует на изменения рынка. Trend Score WMA хорошо подходит для быстрой торговли в течение дня или нескольких дней.
Кривая индикатора напоминает ломаную линию, направленную вверх или вниз, в зоны голубого цвета (Long) наверху и серого цвета (Short) внизу. Максимальными значениями индикатора являются 83 и -83.
Пример использования Trend Score WMA
Это индикатор направленности тренда. Движение кривой индикатора показывает движение тенденции в реальном времени. Кривая индикатора двигается снизу вверх, от серой зоны Short в голубую зону Long и сверху вниз, от голубой зоны Long до серой зоны Short. Стоит также учесть, что нахождение волны в максимальных значениях зон, как Long так и Short, может означать продолжение более сильных движений тенденции.
-Signals
Indexrate Code В(i), показывает направления движения цены, сломы тренда, зоны перекупленности и перепроданности актива и создает соответствующие сигналы.
Когда волны Momentum пересекаются, волна Difference Momentum пересекает нулевую отметку в строке статуса и центр границы канала (белые линии на индикаторе имеющие значение 60 и -60), появляется сигнал в виде столба соответствующего цвета (голубой - Long, серый - Short), а также появляется крест соответствующего цвета.
Когда Волны Momentum пересекаются и одновременно переходят границу канала в значении 60 или -60, появляется квадрат соответствующего цвета. Это может означать более сильные движения цены.
Если волны Momentum двигаются от высоких пиков к более низким, это тоже служит сигналам к изменению движения цены.
При этом работе с индикатором Indexrate Code В(i), необходимо учитывать совокупность показателей других индикаторов и осцилляторов для подтверждения сигналов индикатора, как показано в их примерах.
Комплект алгоритмов Indexrate Code, подходит консервативным трейдерам, оценивающим свой успех в долгосрочном перспективе, а не в краткосрочной сверх прибыли.
ВАЖНО ЗНАТЬ, что ни один индикатор не способен на 100% предсказать успешную сделку.
Рынок - это совокупность людей. Именно благодаря психологии людей, формирующей силы спроса и предложения, существуют финансовые рынки (Теория Чарльза Доу).
Прогнозирование на основе анализа математических алгоритмов (индикаторов), использует данные прошлых торгов - цену предыдущего периода времени и объем предыдущих торгов. Именно эти два показателя и используются современным техническим анализом.
В основе Комплекта алгоритмов Indexrate Code, лежат алгоритмы оценивающие тенденции, цены и показатели объема. А также психология людей, которая требует оценки точных предшествующих периодов для конкретного таймфрейма, а не оценка всего периода с момента листинга торгового инструмента на конкретной бирже. Так как показатели рынка полностью изменяются на всем торговом периоде и также меняется биржевой объем торгов.
Все обновления Комплекта алгоритмов Indexrate Code, будут бесплатны.
Трейдинг - это торговля на вероятностях. Инвестиции - это торговля на возможностях. Никто не знает будущего - Всегда защищайте свою прибыль.
MACD-RSI Divergence OscillatorMACD-RSI Divergence Oscillator: Dual Confirmation with Momentum + Divergence Signals
This powerful oscillator combines MACD and RSI into a single normalized visual tool, enriched with automatic divergence detection and smart signal alerts. It’s designed to give traders advanced insights into momentum shifts and trend reversals.
Key Features:
• MACD + RSI Combo: Both indicators are scaled and merged into one oscillator for clearer interpretation.
• Automatic Divergence Detection:
• Bullish & Bearish divergences on both MACD and RSI
• Highlights strong divergences when both confirm
• Trading Signals:
• Detects MACD crossovers and RSI reversals
• Smart buy/sell signals based on momentum + divergence
• Custom Oscillator View:
• Plots MACD and RSI on the same scale
• Visual zero-line, overbought/oversold levels, and customizable colors
• Optional Dashboard Table:
• Displays live indicator values, signal states, and divergence status
Ideal For:
• Spotting early trend reversals
• Confirming trade entries/exits
• Avoiding false signals using dual indicator logic
Highly customizable and suitable for all timeframes and asset types.