平滑异同移动平均线(MACD)
MACD Sticky Dots Bull & Bear
**Sticky Dots – Multi-Confirmation Momentum & Trend Indicator**
What is it?
Dots designed to show momentum of trend, weak or strong illustrated through size and color. Certain thresholds give GREEN DOTS OR RED DOTS, when strong the dots are LARGER. Colors of candles are plotted along with Buy and Sell signals and rare reversal signals (these are all plotted based on inputs in the indicator). Along with these Dots is a moving average derived from Bollinger Bands, this acts as both support and resistance to price. Also Pivot Highs and Pivot Lows get plotted based on all these inputs and price action combined.
BELOW IS MORE DETAILS
**Key Visual Elements & Color/Symbol Meaning**
**1. Candlestick Colors** (toggle: "Show Candle Colors")
- **Bright Green** (#00FF00 shades): Price closes ≥ upper dispersion band (close ≥ disp_up). Strong bullish momentum.
- **Bright Red** (#FF0000 shades): Price closes ≤ lower dispersion band (close ≤ disp_down). Strong bearish momentum.
- **Yellow** (#FFEA00): Price inside the dispersion bands (neutral zone). Trend is consolidating or weak.
**2. Basis Moving Average Line** (20-period EMA, toggle: "Show Price Basis MA")
The thick line on price follows the same coloring logic as candles derived from thresholds that deem them bullish(green), consolidating(yellow) or bearish(red):
- **Dark Green** (rgb(0,162,30)): Strong bullish
- **Lime Green** (rgb(153,253,2)): Moderate bullish
- **Yellow** (#FFEA00): Neutral or weak.
- **Red** (rgb(243,13,13)): Bearish
**3. MACD Dots/Circles** (below bars, toggle: "Show Dots")
Normalized & sigmoid-compressed MACD histogram plotted as sticky dots:
- **small Green Dots** MACD positive:
- Solid bright green (#00FF00): Increasing momentum.
- Slightly transparent green (#16FF0A): Decreasing but still bullish.
- **Large Circle** (instead of small dot): Stochastic Momentum is in strong bull zone→ overbought emphasis.
- **Red Dots/Circles** (condensed_histNorm < 50):
- Solid bright red (#FF0000): Decreasing momentum (stronger bearish).
- Slightly transparent red (#FF0707): Increasing but still bearish.
- **Large Circle**: Stochastic Momentum is in strong bear zone → oversold emphasis.
**4. Buy/Sell Signals**
- **"B"** (green, below bar): Buy signal – confluence of all inputs in indicator in bullish state prints B
- **"S"** (red, above bar): Sell signal – confluence of all inputs in indicator in bearish state prints S
- **"R"** (yellow, below bar): Reversal – appears only after a completed downswing when price closes back above basis with new green dots (signals potential bottom).
**5. Pivot High / Pivot Low Lines** (horizontal) DESIGNED TO FIND PIVOT TOPS/BOTTOMS
- **Red horizontal line** (from swing high): Marks confirmed Pivot High during an active long (buy) position. Triggered when red circles appear after a bright red condition.
- **Green horizontal line** (from swing low): Marks confirmed Pivot Low during an active short (sell) position. Triggered on fresh green circles.
**6. Optional Plots**
- **Outer Bollinger Bands**: Standard Bollinger bands by the Great John Bollinger.
- **Dispersion Bands** (white, with translucent fill matching Trend color)
**How to Read & Trade the Indicator**
1. **Overall Trend Direction**
- Look at the Basis MA color first:
- Green → Uptrend bias.
- Red → Downtrend bias.
- Yellow → Range/Consolidation.
2. **Momentum Strength**
- Green dots/circles (especially large ones) = bullish momentum building.
- Red dots/circles (especially large) = bearish momentum building.
- Brighter dots + price outside dispersion = stronger conviction.
3. **Candle Coloring for Quick Bias**
- Green candles = price in strong bullish zone.
- Red candles = strong bearish zone.
- Yellow = indecision/consolidation – wait for breakout.
4. **Entry Signals**
- Wait for a **"B"** in a green/yellow candle context with green dots appearing.
- Best entries when price is above basis and Green dots are Large
- **"R"** label =potential big Reversal
5. **Exit / Reversal Management**
- Active long → watch for red circles → confirmed PH line = potential exit zone.
- Active short → watch for green circles → confirmed PL line = potential cover zone.
- **"R"** label = early warning of possible reversal after a downswing.
2H ReversalsThis is a combination of many reversal strategies rolled into one including but not limited to MACD crossover, RSI, Stochastic Oscillator, EMA crossover, Parabolic SR.... This indicator is best on the 2hour timeframe. It only trades in the direction of the daily timeframe trend bias.
Intuitive Predictive MACD TargetsThis indicator uses Reverse Engineering math to calculate the exact price the market needs to reach for specific MACD events to happen on the current bar.
Standard MACD is a lagging indicator—you usually wait for the candle to close to confirm a signal. This script changes that by drawing "Finish Lines" on your chart, showing you exactly where price must go right now to trigger a Crossover or a Momentum Hook.
The "Reverse Engineering" Concept
Instead of calculating MACD from Price, we calculate the Required Price from the Target MACD.
Q: "At what price will the MACD line cross the Signal line?"
A: The script solves this and draws the Green/Red "Crossover" Line.
Key Features
1. Three Distinct Targets
Crossover Target (PCO/NCO): The exact price needed to trigger a Buy/Sell signal on the current candle.
Dynamic Coloring: Turns Green if price needs to go UP to cross, Red if price needs to go DOWN.
Settlement Target (The Hook): The exact price where the MACD momentum flattens out (Angle = 0). If price touches this Orange Dashed Line, the trend is likely pausing or preparing to reverse.
Zero Cross Target: The price needed for MACD to reclaim the Zero Line.
2. Smart "Staggered" Labels (No Overlap)
Unlike other scripts where text piles up and becomes unreadable, this indicator automatically spreads labels horizontally.
Crossover info stays near the price.
Settlement info is shifted to the right.
Zero info is shifted further right.
Result: You can read all three targets clearly, even if the prices are almost identical.
3. Full Customization
Line Length: Choose "Infinite" to see targets as Support/Resistance levels across the screen, or "Short" to keep your chart background clean.
Text Visibility: Option to force text to White or Black for high contrast on Dark/Light themes.
Styles: Fully adjustable colors, line widths, and styles (Solid, Dashed, Dotted) for each target type.
How to Use
The "Finish Line" Strategy: If you are Long, and the Red NCO Line appears just below the current price, be cautious. It means a very small drop will confirm a Bearish Cross.
Momentum Checks: Watch the Orange "Settlement" Line.
If price is moving away from the Orange line, the trend is accelerating (Safe to hold).
If price touches the Orange line, momentum has died (Consider taking profit).
Settings
Visual Settings: Change Line Length (Infinite/Short) and Text Color.
MACD Settings: Standard inputs (Default 12, 26, 9).
Toggles: Option to show/hide the Zero Line target.
BTC Scalping 3m | Supertrend + MACD Squeeze (NY) [v6 FINAL]BTC 3-Minute Scalping Strategy
Supertrend Bias + MACD Squeeze (New York Session)
This is a fully mechanical BTC scalping strategy designed to capture short momentum bursts that occur when volatility expands in the direction of the higher-timeframe trend.
The strategy combines trend confirmation, volatility compression/expansion, and strict session filtering to reduce noise and improve consistency.
How It Works
Trend Bias
Uses a 15-minute Supertrend to define market direction.
Trades are taken only in the direction of the higher-timeframe trend.
Counter-trend signals are ignored.
Timing & Entry
Executes on the 3-minute chart.
Waits for volatility compression using a LazyBear-style MACD Squeeze.
Enters only when the squeeze releases and momentum turns positive.
Entry occurs on candle close above the execution-timeframe Supertrend.
Session Filter
Trades only during the New York session (13:00–21:00 UTC).
This avoids low-liquidity periods and reduces false breakouts.
Risk & Exits
Dynamic stop-loss placed at the execution-timeframe Supertrend.
Risk is calculated using the actual filled entry price for accurate R-based exits.
Primary profit target is 0.5R, optimized for scalping.
Positions are exited immediately if:
Price closes against Supertrend
Supertrend flips direction
Momentum (MACD histogram) turns negative
Trades are typically short-lived (1–3 candles), keeping exposure minimal.
Key Characteristics
Non-repainting logic
Fully rule-based (no discretion)
High win-rate, low-RR scalping profile
Designed for BTC futures/perpetuals
Optimized for New York session volatility
Usage Notes
Run on BTC 3-minute charts
Best results during active NY hours
Performance will vary by exchange, fees, and slippage
This strategy is intended for education and testing, not financial advice
Summary
This strategy focuses on trading volatility expansion aligned with trend, using Supertrend for structure and MACD Squeeze for timing. By restricting trades to high-liquidity hours and enforcing strict exits, it aims for consistent, repeatable scalps rather than large directional bets.
Digital MACD Divergences MTF [LUPEN]Digital MACD Divergences MTF V1.0
Overview:
Digital MACD Divergences MTF is an advanced momentum oscillator based on digital signal processing techniques.
Instead of relying on traditional moving-average smoothing, it applies Finite Impulse Response (FIR) digital filters to extract momentum more cleanly, reducing lag and short-term market noise.
The indicator is designed to provide a clear visualization of momentum structure, divergence behavior, and multi-timeframe context, rather than discrete trading signals.
Conceptual Architecture
At its core, the indicator reinterprets the classic MACD framework through digital convolution logic:
FIR filters are used to compute momentum in a more responsive and stable manner than standard EMA-based MACD.
The resulting histogram represents momentum intensity and direction as a continuous state rather than binary conditions.
A digitally smoothed signal line provides structural reference without introducing excessive delay.
This approach emphasizes momentum quality and structure, not signal frequency.
Divergence Detection Logic:
The script includes automatic divergence detection based on pivot analysis:
Regular bullish and bearish divergences are identified using confirmed pivot points.
Divergences are visualized with explicit line structures and optional filled areas, highlighting the zone of disagreement between price behavior and momentum.
The visualization is designed to remain readable without obscuring price action.
Divergences are presented as contextual information, not as mandatory actions.
Multi-Timeframe (MTF) Context
Digital MACD Divergences MTF supports native multi-timeframe analysis through a dual-pane workflow:
A lower-timeframe instance visualizes local momentum dynamics.
A higher-timeframe instance visualizes the broader momentum regime within which lower-timeframe fluctuations occur.
The higher-timeframe view is not intended as confirmation or filtering logic, but as a contextual background layer that helps interpret short-term momentum behavior inside a larger structural environment.
This separation avoids decision compression and keeps each timeframe’s role conceptually distinct.
Visual Design
Gradient-based histogram fills represent momentum intensity in a continuous manner.
Positive and negative momentum regions are clearly differentiated while remaining adaptable to both dark and light chart themes.
All visual elements are designed to emphasize state and regime, not discrete events.
Reliability
No repainting: all divergences and momentum states are confirmed on candle close and remain fixed.
Designed for consistency across instruments and timeframes.
Customization Options
Timeframe selection for MTF mode (leave empty to use the chart’s timeframe).
Adjustable signal smoothing parameters.
Divergence visibility controls, pivot sensitivity, and optional divergence fill.
Fully customizable color palette.
Usage Notes
This indicator is a visual market analysis tool intended to support momentum interpretation and structural context.
It does not provide investment advice, trading signals, or automated decision logic, and should be used as part of a broader analytical framework.
Final quotes:
"Trading is not about prediction, but about understanding momentum structure.
Digital MACD removes noise to make that structure visible."
Chill Momentum Elite!We have taken 2 Important Indicators
Our momentum and MACD and put completely on one indicator!
Momentum is the histogram and MACD are the lines!
MACD Standard DeviationThe MACD Standard Deviation is a new trend following tool, designed to be smoother & more accurate
Benefits
- High BINANCE:BNBUSDT performance
- Fast entries with less noise
- Simple calculation
The Idea
The idea is simple - get a MACD that is less noisy. This would increase the accuracy and make it a more reliable tool.
How is works
It works by calculating the MACD and calculating the Standard Deviation of the MACD and add it as "bands". This adjusts the MACD to be more accurate and to be able to reduce false signals.
Enjoy Gs!
RSI & BB Oversold Scalper with MACD Confirmation [DotGain]RSI & BB Oversold Scalper with MACD Confirmation
The RSI & BB Oversold Scalper is a mean reversion / dip-buying indicator designed for traders who want to combine oversold conditions with momentum confirmation .
It uses a multi-step logic: first detect an oversold setup, then wait for a MACD confirmation within a defined time window before issuing a buy signal.
---
Core Concept
1. Detect an oversold setup using Bollinger Bands %b, RSI and an optional DSS filter
2. Keep the setup active for a limited number of candles
3. Trigger the entry using a MACD bullish crossover
4. Reset after entry to avoid multiple signals from the same setup
---
Buy Signal Logic
A buy signal is generated when the following conditions are met:
1. Oversold Setup (filters can be enabled/disabled individually)
• Bollinger Bands %b Oversold (Lookback-based)
The price has traded below the lower Bollinger Band at least once within the last `lookbackBB` candles.
• RSI Oversold (Lookback-based)
The RSI has dropped below 30 at least once within the last `lookbackRSI` candles.
• DSS (Double Smoothed Stochastic) Reversal Filter
A bullish crossover of the DSS line above its signal line while the DSS value is below 20 , indicating a potential momentum reversal from oversold conditions.
Note:
BB %b and RSI are lookback filters , while the DSS condition is a single-bar crossover event .
---
2. MACD Confirmation (Entry Timing)
After the setup becomes active, the indicator waits for a bullish MACD crossover (`MACD line crosses above Signal line`) within a user-defined time window (`validWindow` candles).
If the MACD confirmation occurs within this window, a buy signal is printed.
If the window expires without confirmation, the setup is discarded automatically.
---
Reset Logic
• After a buy signal, the setup is reset immediately
• Only one signal is allowed per setup
• No late entries after the time window expires
---
Inputs & Customization
• Enable or disable BB, RSI and DSS filters individually
• Adjust lookback periods to control how recent oversold conditions must be
• Tune the MACD confirmation window to balance early vs. conservative entries
Smaller windows = faster, more aggressive entries
Larger windows = fewer but more confirmed signals
Recommended Markets & Timeframes
• Cryptocurrencies, Forex, Indices, liquid stocks
• Best suited for 1m – 15m scalping
• Also usable on 15m – 1h for slower mean-reversion trades
Visuals
• Buy signals are displayed as labels below the price candles
Important Notes
• This indicator is a signal and timing tool , not a complete trading system
• Always combine with higher-timeframe trend, support/resistance or volume analysis
• Backtesting and paper trading are strongly recommended
Disclaimer:
This "RSI & BB Oversold Scalper with MACD Confirmation" (Oversold Scalper) indicator is provided for informational and educational purposes only. It does not, and should not be construed as, financial, investment, or trading advice.
The signal generated by this tool (Green) is the result of a specific set of algorithmic conditions. They are not a direct recommendation to buy or sell any asset. The indicator's purpose is to highlight possible weakness in the markets, not to provide infallible trade signals.
All trading and investing in financial markets involves a substantial risk of loss. You can lose all of your invested capital.
Past performance is not indicative of future results. Even an indicator designed to filter out "chop" may produce false, lagging, or losing signals. Markets can remain unpredictable longer than you can remain solvent.
The creator DotGain assumes no liability for any financial losses or damages you may incur, directly or indirectly, as a result of using this indicator or the information it provides.
You are solely responsible for your own trading and investment decisions. Always conduct your own research (DYOR), validate signals with other methods, and consider your personal risk tolerance before entering any trade.
Zabbo Confluence Strategy (Unified Flip, Intrabar)Description
This script combines the power of multiple proven swing trend indicators into a single, unified confluence system. A trade signal is generated when the specified number of indicators align in the same bullish or bearish direction, helping traders identify high-probability long or short opportunities.
The script includes an on-chart dashboard that displays the current status of each individual indicator, along with the overall confluence score, allowing you to visually track trend alignment as market conditions evolve.
Included Indicators:
Xtreme Trend – View Script
MACD (12-26-9) – View Script
MACD (144-34-9) Histogram – View Script
WaveTrend Oscillator – View Script
QQE MT4 (Glaz-Modified by JustUncleL) – View Script
Signal Conditions:
A BUY signal is triggered when:
Xtreme Trend is Bullish
MACD (12-26-9) shows a bullish cross
MACD (144-34-9) histogram is increasing
WaveTrend Oscillator is bullish
QQE MT4 line crosses above its signal
A SELL signal is triggered when:
Xtreme Trend is Bearish
MACD (12-26-9) shows a bearish cross
MACD (144-34-9) histogram is decreasing
WaveTrend Oscillator is bearish
QQE MT4 line crosses below its signal
Users can enable or disable individual indicators in the settings and adjust the confluence threshold (from 1 to 5) to suit their trading style. They also have the ability to toggle off the Xtrend indicator, the 200 EMA, and the confluence dashboard.
Best Use
Performs best on higher timeframes such as 1H, 4H, and Daily.
Lower timeframes (<1H) and choppy, sideways markets may produce frequent signals with smaller spreads.
Increasing the confluence requirement reduces the number of signals, but increases the reliability of potential market tops and bottoms.
Key Features
Five popular trend/trading indicators in one script
Adjustable confluence threshold (1–5)
On-chart dashboard for quick signal confirmation
Customizable indicator inclusion/exclusion
Works across any market (forex, crypto, stocks, commodities)
AMS Adaptive MACDAMS Adaptive MACD
A regime-aware MACD built to show when momentum matters and when it doesn’t.
Most MACDs react the same way in every environment. AMS Adaptive MACD does not.
It dynamically adjusts itself to market conditions so momentum expansions stand out clearly, while chop, compression, and late-stage fades are intentionally muted.
This indicator is designed for traders who want cleaner momentum context, not constant crossover noise.
What it shows (at a glance)
Adaptive MACD lines that automatically adjust to current market conditions
A non-repainting momentum state:
BULL / BEAR PUSH – momentum is pressing
BULL / BEAR FADE – momentum is cooling
NEUTRAL / COIL – compression / low-quality conditions
Optional Trader HUD that summarizes the recent regime in plain language:
Market control (Bull / Bear / Range / Transition)
Dominance strength over a lookback window
Tape quality (Clean vs Choppy)
Volatility regime (Compressed / Normal / Elevated)
A simple context cue (not trade signals)
How traders typically use it
Filter out neutral or choppy conditions
Focus only on higher-quality momentum pushes
Stay aligned with the dominant regime instead of reacting to every wiggle
Add structure and patience to discretionary decision-making
This tool is contextual, not predictive. It helps frame what phase the market is in, not where to click buy or sell.
Technical overview (high-level)
AMS Adaptive MACD uses dynamic fast, slow, and signal lengths that respond to market regime rather than remaining fixed.
Without exposing proprietary logic, the engine accounts for:
Broader trend persistence and volatility conditions
Current timeframe efficiency (trend vs chop)
Stability controls to prevent over-reaction or parameter thrashing
All higher-timeframe inputs are handled in a non-repainting manner, and state labeling is locked on confirmed bars.
Important notes
This is an analytical and educational tool, not financial advice - A standalone educational engine inspired by the same design philosophy as the Atmos Suite.
No entries, exits, or alerts are generated by default
Best used as a context filter alongside price, structure, and risk management
AMS Adaptive MACD is built for traders who care less about more signals and more about better conditions.
MACD Crossover
Enter Long:
Above 200 EMA
MACD crossover below 0-line
Enter Short:
Below 200 EMA
MACD crossunder above 0-line
JRockets MACDThis is my favorite indicator, that I use as one of my conformations before entering a trade in the 15M timeframe This MACD is tailor made by me to work efficient, consistent, and effectively. I back tested tons of times, it helps if you're entering too early, late and even get faked out. The MACD is by far my favorite and one and only indicator, and here's why. The MACD contains 2 EMA lines where it gives me a signal on when to buy or sell. If the Blue line crosses the red line on the bottom of the indicator its giving buy signals as long as the blue line stays on top, and when the red line crosses the blue line on top of the indicator its giving sell signals as long as the redline stay on top. Be sure to pay attention to the candle stick patterns as well and has to be around key levels. What makes this a better signal as well, the MACD has a built-in momentum hologram, some see it as overbought/undersold, or volume indicator. By combining the momentum hologram with your buy/sell ema will prevent you from entering a trade in the wrong area. The momentum hologram is almost self-explanatory, when there is buying pressure, the hologram turns blue, the darker the blue the stronger the momentum as well as the length of the hologram, once is start losing momentum it starts to turn to a lighter blue. Eventually a light red to a solid red showing momentum for a strong sell, this works vice versa. Combing all that at once and built instincts it becomes very effective. You can also use the EMA signals as divergence, but I don't really trade with divergence but could possibly give you conformation. Using the MACD is like having 3-4 indicators in one with all of them working fluent together. I have the MACD locked on the 15M timeframe because that's where it works more accurately. You can make the EMA lines a bit thicker to be easier to see. I would change the MACD visible for the 15M timeframe only or 1M to 1H timeframe. I hope this indicator helps you, as it did for me. You can simply click add on your charts on the top left to get this free indicator. Peace out and enjoy! Be sure to share, this indicator with your friends as it may help someone out.
Trend Master [Sensai trading]Trend Master — Advanced Trend Detection Made Simple
Trend Master is a powerful and highly configurable trend indicator designed for traders who want clarity, confidence, and consistency in trending markets .
Instead of relying on a single signal, Trend Master combines multiple proven technical factors to determine the true market direction. By blending MACD crossovers, RSI analysis, and moving average crossovers, it filters out market noise and focuses on what really matters: the dominant trend.
Why Trend Master?
Markets don’t trend cleanly all the time — and that’s exactly why Trend Master stands out. The multi-factor approach dramatically reduces false signals, especially when trading higher timeframes, where trend reliability is key.
Key Features
✅ Multi-Factor Trend Detection
Combines MACD crossovers, RSI conditions, and moving average crossovers for robust confirmation. The trend changes when all activated indicators are alligned.
⚙️ Highly Customizable
Fine-tune settings and combinations to match your trading style and market preferences.
📉 Reduced False Signals
Designed to filter chop and noise.
📈 Ideal for Trending Markets
Best used when markets are moving with direction and momentum.
Who Is It For?
Trend Master is perfect for:
Trend traders
Swing traders
Forex, Indices, Stocks, Crypto
MACD Multitimeframe Histogram Color with shapesMACD Multitimeframe Histogram Color with Shapes
Overview
This indicator displays MACD status across 8 timeframes simultaneously in a single pane. Each timeframe is represented by a row of shapes that indicate both the MACD direction (above or below signal) and whether the histogram is expanding or contracting.
The visual encoding lets you quickly assess trend alignment across multiple timeframes without switching charts or cluttering your screen with multiple MACD panels.
How It Works
For each of the 8 configurable timeframes, the indicator calculates the standard MACD (fast MA minus slow MA) and signal line. It then determines:
Direction: Is MACD above or below the signal line?
Momentum: Is the histogram expanding (moving away from zero) or contracting (moving toward zero)?
Shapes indicate direction:
Circle: MACD above signal (bullish)
X Cross: MACD below signal (bearish)
Colors indicate momentum:
Bright green: Bullish and expanding
Dark green: Bullish but contracting
Bright red: Bearish and expanding
Dark red: Bearish but contracting
Each timeframe plots on its own horizontal level, with shorter timeframes at the bottom and longer timeframes at the top.
Settings
MACD Parameters:
Fast Length: Fast MA period (default 12)
Slow Length: Slow MA period (default 26)
Signal Smoothing: Signal line period (default 9)
Oscillator MA Type: SMA or EMA for MACD calculation
Signal Line MA Type: SMA or EMA for signal line
Colors:
Bullish Expansion Color
Bullish Contraction Color
Bearish Expansion Color
Bearish Contraction Color
Timeframes:
8 configurable timeframes (default: 5m, 10m, 15m, 30m, 1H, 2H, 4H, 1D)
Usage
Look for alignment across timeframes. When most or all timeframes show the same direction and are expanding, it suggests strong trend momentum. Mixed signals or contracting histograms across timeframes may indicate consolidation or potential reversal.
This works well as a confirmation tool alongside price action analysis or other indicators. The multi-timeframe view helps avoid taking trades against the higher timeframe trend.
Tip:
You can turn off as many MACDs as you want and it will resize. I usually use 4 - and keep them close together time wise. For the 5 minute chart, I use 5, 7, 9, 11 minutes. For something longer, like the hour chart, I will use 60 minutes, 75 minutes, 90 minutes, and 105 minutes (15 min intervals).
Adaptive MACD DivergencesOverview
The Adaptive MACD Divergences Indicator is an advanced technical analysis tool that combines traditional MACD analysis with revolutionary R-squared (R²) correlation-based adaptation and sophisticated divergence detection. Unlike standard MACD indicators, this system automatically adjusts its sensitivity based on market conditions, providing cleaner signals in ranging markets and faster responses during strong trends.
Key Features
1. R² Adaptive Technology
Automatically measures market trend strength using R-squared correlation
Self-adjusts between responsive (trending) and smooth (choppy) modes
Reduces false signals without manual parameter changes
2. Enhanced Visual System
Gradient color-coded lines showing momentum strength at a glance
Beautiful shadow histogram with depth effects
Real-time R² value display showing adaptation strength
3. Advanced Divergence Detection
Four types of divergences (Regular/Hidden, Bullish/Bearish)
Multi-pivot scanning for catching all valid divergences
Sophisticated filtering to reduce false signals
4. Professional Grade Features
Customizable alert conditions for automated trading
Extensive parameter control with detailed tooltips
Works on all timeframes and instruments
How the Adaptive R² System Works
Understanding R-Squared (R²)
R² measures how well price follows a linear trend, ranging from 0 to 1:
R² = 0.8-1.0: Strong linear trend → MACD becomes MORE responsive
R² = 0.3-0.7: Moderate trend → Balanced MACD behavior
R² = 0.0-0.3: No trend/choppy → MACD becomes SMOOTHER
Adaptation Benefits
In Trending Markets: Catches moves early, stays with trends longer
In Ranging Markets: Filters out noise, reduces whipsaws
During Transitions: Automatically adjusts as market changes
The indicator displays the current R² value with color coding:
🟢 Green: Strong trend detected (R² > 0.7)
🟡 Yellow: Moderate trend (R² 0.3-0.7)
🔴 Red: Choppy/ranging market (R² < 0.3)
Input Parameters Explained
MACD Calculation Method
📊 Use Adaptive R² Mode
ON (Default): Enables intelligent market adaptation
OFF: Uses traditional fixed MACD calculation
When to use each:
Adaptive: Most market conditions, especially mixed trending/ranging
Standard: When you need consistent behavior regardless of market state
Adaptive Settings
R² Correlation Period (Default: 20)
Controls how many bars are analyzed to determine trend strength
5-15 bars: Quick adaptation, good for scalping
20-30 bars: Balanced for day trading
40+ bars: Smooth adaptation for position trading
Show R² Value Table
Displays real-time adaptation strength
Helps understand when indicator is most/least responsive
MACD Parameters
Fast EMA Period (Default: 12)
The quick-responding component
Lower (8-10): More sensitive, more signals
Higher (14-16): Smoother, fewer false signals
Slow EMA Period (Default: 26)
The trend-following component
Lower (20-24): More responsive to changes
Higher (28-35): Better trend filtration
Signal Line Smoothing (Default: 9)
Creates the trigger line for crossovers
Lower (5-7): Faster signals, more whipsaws
Higher (10-15): Delayed but more reliable signals
Price Source
Close: Standard, most accurate
HL2: (High+Low)/2, reduces noise
HLC3: Typical price, good balance
OHLC4: Most smoothing
Visual Settings
Shadow Intensity (Default: 0.4)
Controls histogram gradient strength
0.1-0.3: Subtle, clean appearance
0.4-0.6: Balanced visibility
0.7-1.0: Bold, high contrast
Gradient Lookback (Default: 100)
Determines color intensity scaling
20-50: Colors change frequently
100: Balanced color distribution
150-200: Stable colors
Divergence Detection
Divergence Types
🟢 Regular Bullish: Reversal signal at bottoms
🔴 Regular Bearish: Reversal signal at tops
🟢 Hidden Bullish: Trend continuation in uptrends
🔴 Hidden Bearish: Trend continuation in downtrends
Zero Line Filter (Default: ON)
When enabled, divergences must respect the zero line
Filters out weaker, less reliable divergences
Pivot Lookback Left/Right (Default: 5/5)
Determines pivot point significance
Lower (2-4): More pivots detected, more signals
Higher (6-10): Only major pivots, stronger signals
Minimum Pivot Distance (Default: 2)
Prevents duplicate signals from nearby pivots
1-2: Maximum sensitivity
3-5: Clean, distinct signals
6+: Only widely spaced divergences
Lookback Range (Min: 5, Max: 60)
How far back to search for divergence patterns
Narrow (5-20): Recent divergences only
Wide (40-60): Can find older developing patterns
Pivots to Scan (Default: 5)
How many previous pivots to check
Higher values catch more divergences but use more resources
Strict Zero Check (Default: OFF)
OFF: Quick validation using highest/lowest
ON: Bar-by-bar validation for highest quality signals
Trading Strategies
Strategy 1: Trend Following with R² Confirmation
Setup:
Use Adaptive Mode
Watch R² value for trend strength
Focus on MACD/Signal crossovers
Entry Rules:
Long: MACD crosses above Signal when R² > 0.5
Short: MACD crosses below Signal when R² > 0.5
Avoid: All signals when R² < 0.3 (choppy market)
Exit Rules:
When R² drops below 0.3 (trend weakening)
Opposite crossover signal
Fixed stop-loss at swing high/low
Best For: Trending markets, position trading
Strategy 2: Divergence Reversal Trading
Setup:
Enable Regular Divergences only
Use Zero Line Filter
Set Strict Zero Check for quality
Entry Rules:
Bullish: Enter long when Regular Bullish divergence appears
Confirm with price above recent swing low
MACD starting to curve upward
Bearish: Enter short when Regular Bearish divergence appears
Confirm with price below recent swing high
MACD starting to curve downward
Risk Management:
Stop-loss beyond the divergence pivot point
Target 2:1 risk/reward minimum
Reduce position if divergence pivot is violated
Best For: Range trading, catching reversals
Strategy 3: Momentum Continuation
Setup:
Enable Hidden Divergences
Use histogram color intensity
Monitor gradient line colors
Entry Rules:
Hidden Bullish: Add to longs in uptrends
Hidden Bearish: Add to shorts in downtrends
Confirm with histogram expanding in trade direction
Position Sizing:
Scale in when hidden divergences appear
Increase position when R² rises above 0.7
Reduce when histogram shows weakening (color fading)
Best For: Trending markets, pyramiding positions
Strategy 4: Multi-Timeframe Confluence
Setup:
Apply indicator on 3 timeframes (e.g., 1H, 4H, Daily)
Look for alignment across timeframes
Entry Rules:
Strong Signal: Divergence on higher timeframe + Crossover on lower
Confirmation: R² > 0.5 on at least 2 timeframes
Direction: All timeframes showing same histogram color bias
Management:
Use highest timeframe for overall direction
Middle timeframe for entry timing
Lowest timeframe for precise execution
Best For: Swing trading, high probability setups
Strategy 5: Adaptive Scalping
Setup:
Set R² Correlation Period to 10
Fast EMA to 8, Slow to 21, Signal to 5
Focus on histogram momentum changes
Entry Rules:
Enter when histogram changes from decreasing to increasing
Confirm with line color gradient brightening
R² must be above 0.4
Quick Exit Rules:
Exit when histogram peaks (color at maximum intensity)
Or when gradient color starts fading
Maximum hold time: 10-15 bars
Best For: Active traders, liquid markets
Risk Management Guidelines
Position Sizing
High R² (>0.7): Can use standard position size
Medium R² (0.3-0.7): Reduce to 75% size
Low R² (<0.3): Reduce to 50% or avoid
Stop-Loss Placement
Regular Divergences: Beyond the pivot point
Hidden Divergences: Previous swing high/low
Crossover Trades: Below/above recent support/resistance
Trade Filtering
Avoid signals when R² is unstable (rapidly changing)
Skip divergences that barely meet minimum requirements
Don't trade against strong histogram momentum
Market Condition Guidelines
Best Market Conditions
Trending Markets: R² > 0.5, clear directional movement
Reversal Points: Multiple divergences converging
Breakout Setups: R² rising from low to high values
Avoid Trading When
R² remains below 0.3 for extended periods
Histogram repeatedly crosses zero without follow-through
Divergences appear in both directions simultaneously
Alert Setup
The indicator provides four alert conditions:
Regular Bullish Divergence: Major bottom reversal signal
Regular Bearish Divergence: Major top reversal signal
Hidden Bullish Divergence: Uptrend continuation signal
Hidden Bearish Divergence: Downtrend continuation signal
Alert Best Practices
Combine with price alerts at key levels
Use different alert sounds for different divergence types
Set alerts on higher timeframes to reduce noise
Optimization Tips
For Different Market Types
Trending Markets:
Increase R² Correlation Period (25-30)
Standard MACD settings work well
Focus on Hidden Divergences
Ranging Markets:
Decrease R² Correlation Period (15-20)
Increase Signal smoothing (12-15)
Focus on Regular Divergences with strict filtering
Volatile Markets:
Enable Strict Zero Check
Increase Minimum Pivot Distance (3-4)
Use higher Pivot Lookback values (6-7)
For Different Trading Styles
Day Trading:
R² Period: 15-20
Fast EMA: 8-10
Enable all divergence types
Swing Trading:
R² Period: 25-30
Standard MACD settings
Focus on Regular Divergences
Position Trading:
R² Period: 40-50
Slow EMA: 30-35
Only major divergences (increase pivot lookback)
Common Questions
Q: When should I use Adaptive vs Standard mode?
A: Use Adaptive for most situations. Only use Standard when you need consistent behavior for systematic trading or backtesting.
Q: Why are some divergences not detected?
A: Check your Zero Line Filter and Strict Zero Check settings. These filters improve quality but reduce quantity.
Q: What R² value is considered "good" for trading?
A: Above 0.5 indicates sufficient trend. Above 0.7 is strong. Below 0.3 suggests waiting for better conditions.
Q: Can this indicator be the sole basis for trading decisions?
A: No indicator should be used in isolation. Combine with price action, support/resistance, and overall market context.
Conclusion
The Adaptive MACD Divergences Indicator represents a significant evolution in MACD technology. By combining correlation-based adaptation with sophisticated divergence detection and professional visualization, it provides traders with a powerful tool that automatically adjusts to changing market conditions. The key to success is understanding when the indicator is most effective (R² feedback) and combining it with sound risk management principles.
RSI + MACD (RSI Divergence) V3.2
RSI + MACD (RSI Divergence)
This indicator combines RSI divergence detection with a scaled MACD overlay to help traders visualize momentum structure and divergence more clearly in a single pane.
Instead of using RSI and MACD as isolated signals, this script focuses on relative movement, swing structure, and divergence logic, making it especially useful for discretionary traders who analyze momentum behavior rather than fixed indicator levels.
________________________________________
Key Features
RSI Divergence Engine
• Detects Regular Bullish / Bearish Divergence
• Optional Hidden Divergence (for trend continuation)
• Uses confirmed pivot logic (left/right lookback) to avoid repainting
• Adjustable divergence range to filter weak or overly distant signals
RSI is shifted by -50 to center it around zero, allowing better visual alignment with MACD without affecting divergence logic.
________________________________________
Scaled MACD Overlay (Visual Momentum Only)
• MACD, Signal, and Histogram are rescaled dynamically to match the RSI oscillator range
• Designed for wave structure, phase comparison, and momentum timing
• Not intended as a traditional MACD signal generator
• Helps identify momentum agreement or disagreement with RSI divergence
________________________________________
Clean & Practical Design
• Single pane display (no chart clutter)
• Color warnings for RSI overbought / oversold zones
• Adjustable scaling lookback for different markets and timeframes
• Optimized for smooth performance and non-repainting behavior
________________________________________
How to Use
• Best used on indices, crypto, and liquid forex pairs
• Combine RSI divergence signals with:
o Market structure
o Support / resistance
o Trend context
• Use the MACD overlay to:
o Confirm momentum shifts
o Spot early loss of strength
o Compare oscillator phase alignment
This indicator is best suited for analysis and confirmation, not mechanical entry signals.
________________________________________
Notes
• MACD values are scaled for visualization only and do not represent real MACD values
• Divergence signals are confirmation-based, not predictive
• No repainting once pivots are confirmed
________________________________________
Who Is This For?
• Swing traders
• Momentum & divergence traders
• Traders who prefer structure-based confirmation over raw indicator signals
• Anyone who wants RSI & MACD behavior in a single, readable oscillator
Enjoy and happy trading!
DISCLAIMER
This script is intended for informational and educational purposes only. It does not constitute financial, investment, or trading advice. All trading decisions made based on its output are solely the responsibility of the user
Waduji MACD with Timeframe This indicator will not change any setting or information for standard MACD but only display selected timeframe on MACD this will be helpful for the traders who trade purely MTF MACD
Oracle V3 (by beardsnbarbs)Oracle V3 — How to Read the Signals
Purpose:
This guide explains how to interpret Oracle V3 signals together, not in isolation. Oracle is a hierarchical decision system, meaning signal strength comes from context and confluence, not frequency.
***This is a reading guide — not a trading strategy.***
───────✧❁✧──────────────✧❁✧───────
1. The Most Important Rule
Do not read Oracle signals as buy/sell commands.
Each signal answers a different market question. Their value comes from sequence, alignment, and regime, not from acting on a single dot.
───────✧❁✧──────────────✧❁✧───────
2. The Oracle Signal Stack (Top–Down)
Oracle signals are ordered from earliest to most structural:
A. Signal 1 — Momentum Ignition
B. Signal 2 — Momentum Continuation
C. Signal 3 — Reversal (Mean Reversion)
D. Signal 4 — Structural Divergence
E. Signal 5 — Extreme / Regime Event
Earlier signals are faster and weaker. Later signals are slower and stronger.
───────✧❁✧──────────────✧❁✧───────
3. Signal-by-Signal Interpretation
Signal 1 — Momentum Ignition
What it tells you:
“Momentum may be waking up.”
How to read it:
• Early warning only
• Expect noise
• Useful for awareness, not confirmation
Best used when:
• Followed by Signal 2
• Appears near Wave extremes
Signal 2 — Momentum Continuation
What it tells you:
“Momentum is trying to continue with context.”
How to read it:
• First actionable momentum signal
• Strength depends on trend confidence
• More selective in high volatility
Best used when:
• Aligned with background trend
• Supported by stable volatility
Signal 3 — Reversal (Mean Reversion)
What it tells you:
“Momentum may be failing or reverting.”
How to read it:
• Counter-move signal
• Selective during high volatility
• Stronger when aligned with higher-timeframe trend
Best used when:
• Appears after extended moves
• Occurs near Wave exhaustion zones
Signal 4 — Structural Divergence
What it tells you:
“Market structure is breaking.”
How to read it:
• High-quality signal
• Independent of trend direction
• Stronger with absorption or order flow confirmation
Wave-enriched divergences:
• Indicate better momentum agreement
• Improve confidence, not validity
Signal 5 — Extreme / Regime Event
What it tells you:
“Market behavior is abnormal.”
How to read it:
• Rare, high-impact context
• Not directional by itself
• Signals regime stress, not entries
Best used when:
• Combined with other signals
• Managing risk or expectations
───────✧❁✧──────────────✧❁✧───────
4. How to Combine Signals (Practical Reading)
Strong Continuation Context
• Signal 1 → Signal 2 → strong trend background
Pullback in Trend
• Signal 2 active
• Signal 3 aligned with trend
Potential Reversal Zone
• Signal 4 divergence
• Signal 3 confirmation
High-Risk / High-Volatility Environment
• Signal 5 active
• Reduced reliability of Signals 1–3
───────✧❁✧──────────────✧❁✧───────
5. Common Misinterpretations (Avoid These)
• Acting on Signal 1 alone
• Treating every dot as equal
• Ignoring volatility regime
• Using divergence as trend confirmation
• Overriding structure with trend bias
───────✧❁✧──────────────✧❁✧───────
6. What Oracle Does Not Do
Oracle V3 does not:
• Predict price targets
• Guarantee reversals
• Replace risk management
• Optimize entries/exits automatically
It provides decision context, not certainty.
───────✧❁✧──────────────✧❁✧───────
7. Final Mental Model
Oracle V3 does not say “buy” or “sell”.
It says: “Pay attention — this is the type of market behavior occurring now.”
Users who read Oracle as a system — not a signal generator — will extract the most value.
◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦•◦
FAQs
1. Do Oracle V3 signals repaint?
No. Oracle V3 signals do not repaint in the classic sense.
Once a signal is confirmed and plotted on a closed bar, it will not disappear or change later.
________________________________________
2. Why do some signals appear “late”?
Some Oracle signals (especially Signal 3 and Signal 4) require confirmation before they are allowed to appear.
Examples:
• Reversals need momentum exhaustion confirmation
• Divergences require confirmed pivots (which take several bars)
This means the signal may appear after the move has already started.
This is intentional and prioritizes reliability over early prediction.
________________________________________
3. Why did I get an alert after the signal already happened?
Oracle alerts fire when a signal becomes fully confirmed, not when early conditions begin forming.
What you may be noticing:
• Early price behavior → not yet a signal
• Confirmation occurs later → alert fires
This is normal behavior and does not indicate repainting.
________________________________________
4. Why did I get an alert, but no signal appears on the chart?
This is usually caused by TradingView alert settings, not Oracle.
Common reasons:
• The alert was set to trigger intrabar, but the condition did not hold at bar close
• The alert was created on an internal condition, not the final plotted signal
• The signal is plotted with transparency or conditional visibility
Recommendation:
Always set Oracle alerts to “Once per bar close” and use the exact plotted signal condition.
________________________________________
5. Which signals are most delayed by design?
• Signal 4 (Divergence) — requires confirmed pivots, so it can appear many bars after the swing
• Signal 3 (Reversal) — waits for exhaustion confirmation
• Signal 2 (Continuation) — fires on bar close, not intrabar
This is expected and intentional.
Note: I am not a professional trader, nor have extensive experience with pinescript. I made this script at the best of my abilities thought the last couple of months. Best of luck to you and thank you for giving Oracle a test run. Cheers!.
- Trading Bot - Stochastic MACD / SMA - Robot Strategy -Overview
This strategy is a complete algorithmic trading solution designed for traders looking to automate their positions on cryptocurrency or traditional markets. It combines the precision of the Stochastic Oscillator with the trend-following power of the MACD and a Multi-Timeframe SMA.
Unlike simple crossover strategies that often fail in ranging markets, this script uses a "Funnel Logic" to filter out low-probability trades, ensuring that entries are only taken when momentum and trend are aligned.
1. The Logic Behind the Strategy
The strategy operates on a three-layer confirmation system:
Layer 1: The Trend Filter (SMA MTF)
The strategy first checks the long-term trend using a Simple Moving Average (SMA).
Longs are only allowed if the price is above the SMA.
Shorts are only allowed if the price is below the SMA.
Note: You can select a higher timeframe for this SMA (e.g., viewing the 4H trend while trading on the 15m chart).
Layer 2: The Momentum Filter (MACD)
The MACD (Moving Average Convergence Divergence) ensures we are not trading against short-term momentum.
A Long signal requires the MACD line to be above the Signal line.
A Short signal requires the Signal line to be above the MACD line.
Layer 3: The Trigger (Stochastic)
Once the trend and momentum are validated, the strategy waits for a precise entry signal from the Stochastic Oscillator (%K and %D).
Entry: Occurs when the %K line crosses the defined threshold (e.g., oversold for longs).
Exit: Occurs when the %K line crosses the opposite threshold (e.g., 50% median line) or hits a Stop-Loss.
2. Key Features for Automation
This script is specifically engineered for third-party automation (custom webhooks) :
Clean Alert Messages: The comment= fields in the order alerts only contain the necessary entry/exit strings, keeping your logs clean.
JSON Data Plots: The script includes invisible plots (display.none) that output strategy values (leverage, quantity type, trade direction) specifically formatted to be picked up by dynamic placeholders in TradingView alerts.
Backtest Date Range: You can restrict the strategy to a specific date range to test performance over specific market cycles.
3. Risk Management & Safety
Stop-Loss: Configurable percentage-based Stop-Loss for Longs and Shorts.
Cooldown Mechanism: To prevent "revenge trading" or chopping in volatile markets, the script features a "Cooldown" system. If a Stop-Loss is hit, the strategy pauses for a set number of bars.
SMA Re-Cross Requirement: Optionally, you can force the strategy to wait for the price to re-cross the SMA after a cooldown before taking a new trade, adding an extra layer of safety.
4. How to use
Add the script to your chart (Recommended timeframes: 15m, 1h, 4h).
Open the settings to choose your Trading Mode (Long Only, Short Only, or Both).
Adjust the Stochastic and MACD settings to fit the volatility of your specific asset.
Enable the Filters (SMA/MACD) based on your preference.
Set up your alerts using the provided message placeholders for your trading bot.
Disclaimer
Past performance is not indicative of future results. This script is a tool for technical analysis and automation. Please use proper risk management and backtest thoroughly before using real funds.
RSI & MACD SuiteRSI & MACD Suite
A professional combination of two essential momentum indicators - Relative Strength Index (RSI) and Moving Average Convergence Divergence (MACD) - designed to provide comprehensive market analysis in a single, clean interface.
OVERVIEW
This indicator combines the power of RSI and MACD to help traders identify potential overbought/oversold conditions, momentum shifts, and trend changes. Both indicators are displayed with enhanced visual elements including gradient fills, customizable bands, and clear signal lines.
FEATURES
RSI (Relative Strength Index)
- Customizable Period: Adjustable RSI length (default: 14)
- Visual Zones: Overbought zone (above 70) with green gradient, Oversold zone (below 30) with red gradient, Background fill between bands for easy reference
- Key Levels: Clear horizontal lines at 30, 50, and 70
- Flexible Source: Choose any price source (close, open, high, low, etc.)
MACD (Moving Average Convergence Divergence)
- Customizable Parameters: Fast Length (default: 12), Slow Length (default: 26), Signal Length (default: 9)
- MA Type Selection: Choose between EMA or SMA for both oscillator and signal line
- Color-Coded Histogram: Green for bullish momentum, Red for bearish momentum
- Clear Signal Lines: Blue MACD line and orange Signal line for easy identification
ALERT CONDITIONS
The indicator includes 7 built-in alert conditions:
RSI Alerts:
1. RSI Overbought - Triggers when RSI crosses above 70
2. RSI Oversold - Triggers when RSI crosses below 30
3. RSI Midline Cross - Triggers when RSI crosses the 50 level
MACD Alerts:
4. MACD Bullish Cross - Triggers when MACD line crosses above Signal line
5. MACD Bearish Cross - Triggers when MACD line crosses below Signal line
6. MACD Histogram Bullish - Triggers when histogram crosses above zero
7. MACD Histogram Bearish - Triggers when histogram crosses below zero
CUSTOMIZATION
Clean Organization
- Inputs Tab: Separate groups for RSI and MACD settings
- Style Tab: All visual elements clearly labeled with "RSI -" or "MACD -" prefixes for easy identification
- Full Control: Customize colors, line widths, and visibility of all elements
Visual Clarity
- Professional color scheme optimized for both light and dark themes
- Gradient fills for intuitive zone identification
- Clear separation between RSI and MACD elements
SETTINGS
RSI Settings
- Length: Lookback period for RSI calculation (default: 14)
- Source: Price data to use for calculation (default: close)
MACD Settings
- Source: Price data to use for calculation (default: close)
- Fast Length: Period for fast moving average (default: 12)
- Slow Length: Period for slow moving average (default: 26)
- Signal Length: Period for signal line (default: 9)
- Oscillator MA Type: EMA or SMA for MACD calculation
- Signal MA Type: EMA or SMA for signal line
TECHNICAL DETAILS
- Pine Script Version: v6
- Indicator Type: Oscillator (subplot)
- Calculation Method: RSI uses Relative Strength Index with RMA smoothing, MACD uses Fast MA minus Slow MA with configurable MA types
- Input Validation: Built-in checks to ensure valid parameter combinations
NOTES
- Default settings are industry-standard values (RSI: 14, MACD: 12/26/9)
- All visual elements can be hidden/shown individually in the Style tab
- Alerts must be manually created by users through TradingView's alert system
- This indicator does not repaint - all signals are based on closed candles
WHO SHOULD USE THIS
- Day traders looking for momentum signals
- Swing traders identifying trend changes
- Technical analysts performing multi-indicator analysis
- Traders who want a clean, all-in-one momentum solution
DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice. Always perform your own analysis and risk assessment before making trading decisions.
Version: 1.0
Author: aaboomar
License: Mozilla Public License 2.0






















