🧊 Frozen Bias Zones – Sentiment Lock-ins🧊 Frozen Bias Zones – Sentiment Lock-ins
Overview
The Frozen Bias Zones indicator visualizes market sentiment lock-ins using a combination of RSI, MACD, and OBV. It creates "bias zones" that indicate whether the market is in a sustained bullish or bearish phase. These zones are then highlighted on the chart, helping traders spot when the market is locked in a bias. The script also detects breakout events from these zones and marks them with clear labels for easier decision-making.
Features
Multi-Indicator Sentiment Analysis: Combines RSI, MACD, and OBV to detect synchronized bullish or bearish sentiment.
Frozen Bias Zones: Identifies and visually represents zones where the market has remained in a particular sentiment (bullish or bearish) for a defined period.
Breakout Alerts: Displays labels to indicate when the price breaks out of the established bias zone.
Customizable Inputs: Adjust the zone duration, RSI, MACD, and breakout label visibility.
Input Parameters
Bias Duration (biasLength)
The minimum number of candles the market must stay in a specific sentiment to consider it a "Frozen Bias Zone".
Default: 5 candles.
RSI Period (rsiPeriod)
Period for the Relative Strength Index (RSI) calculation.
Default: 14 periods.
MACD Settings
MACD Fast (macdFast): The fast-moving average period for the MACD calculation.
Default: 12.
MACD Slow (macdSlow): The slow-moving average period for the MACD calculation.
Default: 26.
MACD Signal (macdSig): The signal line period for MACD.
Default: 9.
Show Break Label (showBreakLabel)
Toggle to show labels when the price breaks out of the bias zone.
Default: True (shows label).
Bias Zone Colors
Bullish Bias Color (bullColor): The color for bullish zones (light green).
Bearish Bias Color (bearColor): The color for bearish zones (light red).
How It Works
This indicator analyzes three key market metrics to determine whether the market is in a bullish or bearish phase:
RSI (Relative Strength Index)
Measures the speed and change of price movements. RSI > 50 indicates a bullish phase, while RSI < 50 indicates a bearish phase.
MACD (Moving Average Convergence Divergence)
Measures the relationship between two moving averages of the price. A positive MACD histogram indicates bullish momentum, while a negative histogram indicates bearish momentum.
OBV (On-Balance Volume)
Uses volume flow to determine if a trend is likely to continue. A rising OBV indicates bullish accumulation, while a falling OBV indicates bearish distribution.
Bias Zone Detection
The market sentiment is considered bullish if all three indicators (RSI, MACD, and OBV) are bullish, and bearish if all three indicators are bearish.
Bullish Zone: A zone is created when the market sentiment remains bullish for the duration of the specified biasLength.
Bearish Zone: A zone is created when the market sentiment remains bearish for the duration of the specified biasLength.
These bias zones are visually represented on the chart as colored boxes (green for bullish, red for bearish).
Breakout Detection
The script automatically detects when the market exits a bias zone. If the price moves outside the bounds of the established zone (either up or down), the script will display one of the following labels:
Bias Break (Up): Indicates that the price has broken upwards out of the zone (with a green label).
Bias Break (Down): Indicates that the price has broken downwards out of the zone (with a red label).
These labels help traders easily identify potential breakout points.
Example Use Case
Bullish Market Conditions: If the RSI is above 50, the MACD histogram is positive, and OBV is increasing, the script will highlight a green bias zone. Traders can watch for potential bullish breakouts or trend continuation after the zone ends.
Bearish Market Conditions: If the RSI is below 50, the MACD histogram is negative, and OBV is decreasing, the script will highlight a red bias zone. Traders can look for potential bearish breakouts when the zone ends.
Conclusion
The Frozen Bias Zones indicator is a powerful tool for traders looking to visualize prolonged market sentiment, whether bullish or bearish. By combining RSI, MACD, and OBV, it helps traders spot when the market is "locked in" to a bias. The breakout labels make it easier to take action when the price moves outside of the established zone, potentially signaling the start of a new trend.
Instructions
To use this script:
Add the Frozen Bias Zones indicator to your TradingView chart.
Adjust the input parameters to suit your trading strategy.
Observe the colored bias zones on your chart, along with breakout labels, to make informed decisions on trend continuation or reversal.
Now you're ready to visualize sentiment lock-ins and breakout opportunities in real-time with Frozen Bias Zones! Happy trading! 🎯
이동 평균 컨버전스 / 다이버전스 (MACD)
RSI-MACD Momentum Fusion Indicator(RMFI)📈 RSI-MACD Momentum Fusion Indicator (RMFI)
The RMFI combines the strengths of two RSI variants with a dynamically adaptive MACD module into a powerful momentum oscillator ranging from 0 to 100. The goal is to unify converging momentum information from different perspectives into a clear, weighted overall signal.
🔧 Core Features
RSI 1: Classic Wilder RSI, sensitive to short-term momentum.
RSI 2: Modified RSI based on normalized price movement ranges (Range Momentum).
MACD (3 Modes):
Standardized (min/max-based)
Fully adaptive (Z-score normalization)
50% adaptive (hybrid weighting of both approaches)
Dynamic MACD mode selection (optional): Automatic switching of MACD normalization based on volatility levels (ATR-based).
Signal Line: Smoothed average of all components to visualize momentum trends and crossovers.
🎯 Visualization
Clear separation of overbought (>70) and oversold (<30) zones with color highlighting.
Different colors based on the dynamic MACD mode – visually indicates how strongly the market adapts to volatility.
⚙️ Recommended Use
Ideal for trend following, divergence confirmation (with external divergence logic), and momentum reversals.
Particularly effective in volatile markets, as the MACD component adaptively responds to instability.
© champtrades
Ghosty's MACD ROCThis indicator takes the classic MACD (Moving Average Convergence Divergence) and gives it a fresh twist to help you spot trading opportunities faster and smoother. It uses a single MACD—set to a medium speed (24, 52, 18)—and focuses on how quickly the MACD is moving up or down, rather than waiting for it to cross its signal line.
Here’s how it works:
The purple line (MACD) and yellow line (signal) show you the trend’s strength, squished into a simple -1 to 1 range so they’re easy to read. When they merge and flatten, a change is brewing.
The blue line above (Rate of Change, or ROC) tracks the MACD’s speed. It’s smoothed out to cut through market noise, so you’re not distracted by tiny wiggles.
Green crosses pop up on the MACD line when its speed turns positive—think of it as a “go” signal for buying. Red crosses appear when the speed turns negative—a “stop” or sell signal.
It’s designed to catch moves early, before the trend fully kicks in, while keeping false signals in check. Perfect for traders who want a clear, no-fuss way to time their entries and exits. You can tweak the settings—like the MACD lengths or smoothing—to match your style or market.
enjoy -
👻
⚡ Micro Scalping Strategy [EMA, VWAP, MACD]💡 What This Strategy Does
This TradingView script is a robot trader you can run on your charts. Its job is to:
🔹 Buy stocks quickly when it sees a great setup
🔹 Sell them just as fast, either:
When it makes money (Take Profit 🤑)
Or loses too much (Stop Loss 😬)
Or if it's been holding the trade too long (Timeout ⏰)
It’s built for super short-term trading (scalping) between 7am–11am when the market is most active.
⚙️ What It Uses (The Brain Behind It)
EMAs (Exponential Moving Averages):
These are like magic lines that tell the robot if the price is going up or down:
EMA 9 and EMA 20 → short-term signals
EMA 200 → long-term trend direction
VWAP (Volume Weighted Average Price):
This is like a fair value line. The robot wants the stock to be trading above VWAP to consider buying.
MACD (Moving Average Convergence Divergence):
It shows momentum (strength) of price. Robot looks for upward momentum before buying.
Relative Volume (RelVol):
We only want to trade stocks that are hot and active! If a stock has 1.5x more volume than usual, it’s considered “high relative volume.”
🧠 When the Robot Buys (Entry Rules)
The robot only buys when all of these are true:
✅ It's between 7–11 AM New York time
✅ The price is above EMA 200 and VWAP (strong uptrend)
✅ EMA 9 crosses above EMA 20 (momentum building)
✅ MACD says the price is getting stronger
✅ The stock is trading with lots of volume (1.5x more than normal)
✅ We're not already in a trade
💰 How the Robot Exits a Trade
Once it buys, it watches the price closely.
It will sell the stock in any of these 3 cases:
✅ Take Profit: Price goes +25% higher = SELL FOR WIN 🎉
⛔ Stop Loss: Price drops -7% below entry = SELL TO STOP LOSS 😢
⏱️ Timeout: After holding for 15 candles (bars) = SELL ANYWAY ⏳
📈 What Timeframe to Use
This works best on 30-minute or lower charts (1m, 5m, 15m, etc).
You can set this when adding the strategy on a chart.
This will show you:
Win rate %
Average time in trade
How much money it would’ve made
Drawdown (how far it went down before winning or losing)
MACD Filtered CrossThis indicator adds on to the standard MACD cross by adding a filter. It can be used to filter only MACD crosses above zero or below zero.
I separated the cross ups and cross downs if you only want to see bullish or bearish crosses.
Personally, I like looking for bullish MACD crosses above 0 for possible longs.
Enjoy!
Kombine Al/Sat SistemiFeatures:
Support/Resistance Levels: Green line indicates support, red line indicates resistance levels.
RSI Indicator: Green triangle signals when RSI goes above 30.
Buy/Sell Signals: Shows "BUY" and "SELL" labels with EMA intersections and RSI combination.
Money Input: Marked with a blue circle in case of volume increase + price increase.
MACD Histogram: Provides extra momentum information.
This indicator will show all these features together when you add it to your chart. You can adjust the parameters according to your own trading strategy.
MACD Chart Signalsgoes with other macd - this is the actual macd that is displayed separately from the trading signals. don't have to use them together. the buy/sell signals come from here. converted from old python algorithm......
MACD Indicatormacd indicator converted from algorithm written in python. nothing revolutionary, more of an experiment - goes with other macd indicator
Multi-Divergence Strategy - VerbeterdThe Multi-Divergence Strategy is designed for traders who want to capitalize on technical divergences while maintaining disciplined risk management. This strategy integrates three popular indicators (RSI, MACD, and Stochastic) to identify bullish and bearish signals through crossovers. Users can choose, on an indicator-by-indicator basis, whether to include them in the analysis. Additionally, a trend filter based on a 50-period moving average ensures that positions are only taken in line with the prevailing market trend. For risk management, both fixed stop-loss and take-profit levels, as well as a trailing stop, are implemented to limit losses and secure profits. This combination makes the strategy robust and flexible, suitable for both beginners and experienced traders looking for a systematic approach to technical analysis and position management.
SYMBOL ; XAUUSD on 5 MINUTES TIMEFRAME
Disclaimer:
Trading in financial markets carries significant risks and may result in the loss of your entire investment. The information, strategies, and signals provided herein are intended solely for educational and informational purposes and do not constitute financial or investment advice. No warranty is given regarding the profitability of any strategy, and past performance is not indicative of future results. You are advised to conduct your own thorough research and, if necessary, consult with a qualified financial advisor before making any trading decisions. Always trade using risk capital that you can afford to lose and assume full responsibility for your investment decisions.
ALSHIHRI2025this is buy and sell signal depends on MACD and OBV and SMA, don't use it if you are not expert on technical analysis
Scalping Strategy with DCA - V2Strategy Overview
This advanced scalping strategy combines technical analysis with strategic Dollar Cost Averaging (DCA) for short-term crypto trading. It utilizes multiple indicators to identify high-probability entry points and implements a structured approach to position management with predefined risk controls.
Key Features
Multi-indicator confirmation system using EMA 48, RSI 14, MACD, and Bollinger Bands
Smart entry detection based on trend changes, price action, and divergence patterns
Fixed risk management limiting exposure to 1-3% of total account per trade
Structured DCA approach with 1-2-6 ratio for averaging down
Higher timeframe confirmation to avoid false signals
Preset take-profit levels at 0.5% and 1% for partial profit taking
Dynamic stop-loss adjustment with breakeven protection after securing profits
Trading Conditions
The strategy enters trades when all of the following conditions align:
Price crosses the EMA 48 in the intended direction
RSI confirms strength (>60 for longs, <40 for shorts)
MACD line crosses above/below signal line confirming momentum
Price is near previous support/resistance zones
RSI shows divergence at the 5th peak/trough
Higher timeframe confirms this is the 2nd pivot point
Risk Management
Initial risk limited to 1-3% of account
Position sizing follows 1-2-6 DCA ratio for averaging down
Stop loss set at 1-3% from entry, calculated in monetary terms
After full DCA deployment, stop loss updated to 1.3% from entry
Take profit at 0.5% (close 25%) and 1% (close 50%)
Stop loss moves to breakeven after second take profit hit
Best Trading Conditions
Use only on cryptocurrencies with large market capitalization
Trade coins with holder percentage above 7%
Best results in trending markets with clear support/resistance
Optimal on 5-minute to 1-hour timeframes for scalping
Implementation Notes
This strategy is designed for precision scalping in crypto markets. It combines volatility controls with trend-following techniques and systematic position management to maximize reward while strictly limiting risk exposure.
Swift Trend Signals (MTF) [Atiloan]Atiloan Swift Trend Signals 🚀
Elevate your trend-following strategy with precision-engineered signals designed to provide fast and accurate decision-making across multiple timeframes.
Key Features:
Zero-Lag Trend Detection
Utilizes a Zero-Lag EMA (ZLEMA) to smooth price data and minimize delays, delivering more responsive trend signals.
Multi-Timeframe Signals
Displays trend signals across up to 5 different timeframes, ranging from 5 minutes to daily, in a clear and concise table.
Volatility-Based Bands
Adaptive upper and lower bands identify trend reversals while minimizing false signals, improving accuracy.
Custom Alerts
Receive real-time notifications for significant trend changes with customizable alert conditions.
Color-Coded Visualization
Bullish and bearish signals are clearly differentiated through color coding, simplifying chart analysis.
Full Customizability
Adjust EMA length, band multiplier, colors, and timeframe settings to align the tool with your trading strategy.
How to Use:
Add the Indicator
Add the indicator to your favorites by clicking the star icon.
Set your preferred EMA length and band multiplier.
Select your desired timeframes for comprehensive multi-timeframe analysis.
Monitor the Table & Chart
The table at the top-right will update with bullish or bearish signals across multiple timeframes.
Colored arrows on the chart highlight potential entry points when the price crosses the ZLEMA, confirmed by the volatility bands.
Enable Alerts
Set up real-time alerts to be notified immediately when trends shift, eliminating the need for constant chart monitoring.
How It Works:
The Zero-Lag EMA (ZLEMA) reduces data lag, providing accurate and timely moving averages for better trend detection.
Volatility Shifts are identified using the Average True Range (ATR), which generates upper and lower deviation bands. Price movements outside these bands signal potential trend changes.
The indicator consolidates trend data from up to five configurable timeframes and presents it in a concise table, making multi-timeframe analysis quick and efficient.
Visual Signals, such as upward and downward arrows on the chart, indicate potential entry or exit points based on trend alignment across timeframes.
This approach enables traders to make well-timed decisions, reduce lag-related risks, and enhance overall trading performance.
Advanced MACD + MA + RSI + Trend Buy/SellThis advanced indicator combines MACD, dual moving averages, RSI, volume spikes, and a 200 EMA trend filter to generate high-confidence Buy/Sell signals. It aims to reduce false signals by aligning multiple technical conditions:
QuantumTrend Signals [Atiloan]Introducing the Quantum Trend Signals Indicator by Atiloan
Unlock precision in trend analysis with the Trend and Strength Signals indicator, expertly crafted to help you identify market trends and assess market strength with clarity and ease.
Key Features:
Customizable Parameters
Tailor your experience with adjustable settings for the period, standard deviation multiplier, gauge size, and color schemes, ensuring the tool aligns perfectly with your unique trading style.
Trend Detection
Seamlessly visualize trends with clear, color-coded signals that highlight both uptrends and downtrends for quick, actionable insights.
Dynamic Strength Gauge
Measure market strength with a responsive gauge that adapts to current price action, providing real-time feedback on market conditions.
Alerts
Stay ahead of the market with customizable alerts for bullish and bearish trend crossovers, as well as key take-profit points to optimize your trading strategy.
Visual Enhancements
Enjoy a clean, intuitive charting experience with integrated plot shapes, color fills, and gradient gauges that reduce clutter and focus your analysis.
How to Get Started:
Maximize your trading efficiency by following these simple steps to set up the Trend and Strength Signals indicator:
Add the Indicator
Add the indicator to your favorites and customize it according to your trading preferences, including period, multiplier, and color settings.
RMH MidTermThis script combines technical indicators (RSI and MACD), the trend of the HYG ETF, and a long-term moving average to detect buying or selling opportunities in markets with a medium-term bias.
Buy when the RSI breaks out of oversold territory, the MACD crosses upward, the HYG shows relative strength, and the price is above the 200-day moving average.
Sell when the RSI enters overbought territory, the MACD crosses downward, the HYG shows weakness, and the price falls below the 200-day moving average.
It also marks global trend changes using the 200-day moving average as a reference.
Double MACD Overlay [NLR]This indicator plots two MACD signals directly on your price chart to help you spot trends and shifts in momentum more clearly:
🔹 Main MACD - The classic MACD with customizable Fast, Slow, and Signal lengths. Great for confirming broader trend direction.
🔹 Short MACD - A faster MACD with an option to smooth the input, helping you catch early signals or identify short-term momentum changes.
Each MACD is visualized as:
A line showing the moving average
A colored histogram showing the MACD minus the signal
A zero line for reference
Why use this?
By comparing a short-term MACD with a longer-term one, you get early signals without losing the big picture. Use it for confirmation, divergence spotting, or just cleaner trend visualization.
Best For:
✅ Trend-followers
✅ Momentum traders
✅ Anyone who wants more context from their MACD signals
Recommended Settings:
Here are some ideal settings to get the most out of this indicator:
On a 5-Minute Chart:
Compare your current MACD with the 15-minute MACD.
- MACD Multiplier: 3
On a 1-Minute Chart:
Spot short-term moves while comparing them to the 5-minute MACD.
- MACD Multiplier: 5
- Use Smoothed Source (Short MACD): ON (for a cleaner short MACD signal)
Happy trading! 💹
MACD Volume Strategy (BBO + MACD State, Reversal Type)Overview
MACD Volume Strategy (BBO + MACD State, Reversal Type) is a momentum-based reversal system that combines MACD crossover logic with volume filtering to enhance signal accuracy and minimize noise. It aims to identify structural trend shifts and manage risk using predefined parameters.
※This strategy is for educational and research purposes only. All results are based on historical simulations and do not guarantee future performance.
Strategy Objectives
Identify early trend transitions with high probability
Filter entries using volume dynamics to validate momentum
Maintain continuous exposure using a reversal-style model
Apply a consistent 1:1.5 risk-to-reward ratio per trade
Key Features
Integrated MACD and volume oscillator filtering
Zero repainting (all signals confirmed on closed candles)
Automatic position flipping for seamless direction shifts
Stop-loss and take-profit based on recent structural highs/lows
Trading Rules
Long Entry Conditions
MACD crosses above the zero line (BBO Buy arrow)
Volume oscillator is positive (short EMA > long EMA)
MACD is above the signal line
Close any existing short and enter a new long
Short Entry Conditions
MACD crosses below the zero line (BBO Sell arrow)
Volume oscillator is positive
MACD is below the signal line
Close any existing long and enter a new short
Exit Rules
Take Profit (TP) = Entry ± (risk distance × 1.5)
Stop Loss (SL) = Recent swing low (for long) or high (for short)
Early Exit = Triggered when a reversal signal appears (flip logic)
Risk Management Parameters
Pair: ETH/USD
Timeframe: 10-minute
Starting Capital: $3,000
Commission: 0.02%
Slippage: 2 pip
Risk per Trade: 5% of account equity (adjusted for sustainable practice)
Total Trades: 312 (backtest on selected dataset)
※Risk parameters are fully configurable and should be adjusted to suit each trader's personal setup and broker conditions.
Parameters & Configurations
Volume Short Length: 6
Volume Long Length: 12
MACD Fast Length: 11
MACD Slow Length: 21
Signal Smoothing: 10
Oscillator MA Type: SMA
Signal Line MA Type: SMA
Visual Support
Green arrow = Long entry
Red arrow = Short entry
MACD lines, signal line, and histogram
SL/TP markers plotted directly on the chart
Strategic Advantages & Uniqueness
Volume filtering eliminates low-participation, weak signals
Structurally aligned SL/TP based on recent market pivots
No repainting — decisions are made only on closed candles
Always in the market due to the reversal-style framework
Inspirations & Attribution
This strategy is inspired by the excellent work of:
Bitcoinblockchainonline – “BBO_Roxana_Signals MACD + vol”
Leveraging MACD zero-line cross and volume oscillator for intuitive signal generation.
HasanRifat – “MACD Fake Filter ”
Introduced a signal filter using MACD wave height averaging to reduce false positives.
This strategy builds upon those ideas to create a more automated, risk-aware, and technically adaptive system.
Summary
MACD Volume Strategy is a clean, logic-first automated trading system built for precision-seeking traders. It avoids discretionary bias and provides consistent signal logic under backtested historical conditions.
100% mechanical — no discretionary input required
Designed for high-confidence entries
Can be extended with filters, alerts, or trailing stops
※Strategy performance depends on market context. Past performance is not indicative of future results. Use with proper risk management and careful configuration.
Mr_Pips817 RSI Divergence PROBuilt for professional traders who demand precision.
The TMA - RSI Divergence PRO indicator combines high-probability divergence detection with smart liquidity-based price action levels to identify turning points, trend reversals, and entry/exit zones.
✅ Detects RSI/Momentum/Smoothed divergence
✅ Marks Buy/Sell signals with graded confidence levels
✅ Includes Best / Great / Good / Quality signal types
✅ Fully customizable oscillator levels
✅ Adjustable timeframe alert filter
✅ Invite-only & source-protected
Use it on any market: FX, crypto, indices, stocks, commodities
Optimized for scalping, intraday, and swing trading strategies.
🧠 How It Works:
Select your oscillator (RSI, Momentum, or Smoothed).
When price forms a pivot high/low and diverges from the oscillator, the system flags the divergence.
When the oscillator crosses specific liquidity zones (customizable), it triggers a Buy/Sell label.
Each signal type is visually and logically ranked by quality.
Optional: Filter alerts by your desired chart timeframe for enhanced control.
🧪 Signal Tiers Explained:
Type Signal Meaning
Best Quality Sell "Sell" Optimal sell signal (buy-side liquidity sweep)
Great Quality ⇩⇩ / ⇧⇧ Strong momentum shift
Good Quality ⇩ / ⇧ Probable trend start
Quality • (dot) Early warning / low-grade signal
🚨 Alerts & Controls:
Toggle alerts on/off per signal type
Filter alerts by timeframe
Fine-tune divergence & signal thresholds for each market
📈 Suggested Settings:
Use RSI Divergence for FX and Crypto
Use Smoothed Divergence for Indexes or higher timeframes
Tune liquidity levels based on market volatility
Trend Strength MeterThe Trend Strength Meter (TSM) is a powerful and versatile indicator designed to help traders identify market trends, measure their strength, and detect potential reversals with ease. This indicator combines the power of moving averages, divergence detection, and a clean, customizable dashboard to provide actionable insights for traders of all levels.
How It Works
Trend Strength Calculation:
1. The TSM calculates the trend strength using the difference between two Exponential Moving Averages (EMAs): a fast EMA (default: 20) and a slow EMA (default: 50).
2. The difference is expressed as a percentage of the slow EMA, providing a clear measure of the trend's strength and direction.
Histogram Visualization:
1. A color-coded histogram visually represents the trend strength:
Green: Bullish trend
Red: Bearish trend
Gray: Neutral or no significant trend
2. A smoothed trend strength line (SMA of the trend strength) is also plotted for better clarity.
Divergence Detection:
1. The indicator detects bullish and bearish divergences using the RSI (Relative Strength Index) and price action.
2. Bullish Divergence: Price makes a lower low, but RSI makes a higher low, signaling potential upward momentum.
3. Bearish Divergence: Price makes a higher high, but RSI makes a lower high, signaling potential downward momentum.
=> Divergences are marked with arrows on the chart:
Green Arrow: Bullish divergence
Red Arrow: Bearish divergence
Dashboard:
1. A clean and informative dashboard displays key information:
Trend Strength Value: The current strength of the trend
Trend Direction: Bullish, Bearish, or Neutral
Last Signal: Buy, Sell, or None (based on divergence signals)
The dashboard is fully customizable and can be positioned anywhere on the chart (e.g., top-right, bottom-left, center, etc.).
Key Features
1. Trend Strength Measurement: Quickly identify the strength and direction of the trend.
2. Divergence Detection: Spot potential reversals before they occur with bullish and bearish divergence signals.
3. Customizable Dashboard: Move the dashboard to your preferred location on the chart for better visibility.
4. User-Friendly Design: Clean visuals and intuitive color coding make it easy to interpret market conditions.
5. Actionable Signals: Provides clear Buy/Sell signals based on divergence, helping traders make informed decisions.
How to Use
1. Trend Confirmation:
Use the histogram and trend strength value to confirm the current market trend.
Green bars indicate a bullish trend, while red bars indicate a bearish trend.
2. Divergence Signals:
Look for divergence arrows (green for bullish, red for bearish) to anticipate potential reversals.
Combine divergence signals with other technical analysis tools for higher accuracy.
3. Dashboard Insights:
Monitor the dashboard for real-time updates on trend strength, direction, and the latest signal.
Use the "Last Signal" (Buy/Sell) to validate your trading decisions.
4. Custom Settings:
Adjust the EMA lengths and divergence lookback period to suit your trading style and timeframe.
Position the dashboard anywhere on the chart for convenience.
Best Practices
1. Use the TSM in conjunction with other indicators or price action analysis for confirmation.
2. Test the indicator on different timeframes to find the one that works best for your strategy.
3. Always practice proper risk management when trading.
Disclaimer
This indicator is a tool to assist in technical analysis and should not be used as a standalone trading strategy. Past performance is not indicative of future results. Always conduct your own research and consult with a financial advisor before making trading decisions.
VVV DivergenciaThe **VVV Divergencia** indicator identifies bullish and bearish divergences on the chart by analyzing price action and fractal patterns. Here's a summary of its functions:
**Divergence Detection**: The indicator identifies regular and hidden divergences:
- **Bullish Divergence**: Occurs when the price forms a lower low while the oscillator makes a higher low, indicating potential upward momentum.
- **Bearish Divergence**: Occurs when the price forms a higher high while the oscillator makes a lower high, suggesting possible downward momentum.
- **Hidden Divergences**: These occur when the price does not align with the oscillator's movement, signaling potential continuation of the trend.
**Visual Indicators**: The script visually highlights these divergences on the chart:
- Bullish and bearish divergences are drawn as lines with different colors.
- The background color of the bars is changed based on the divergence signal, where green and orange indicate bullish patterns and red and aqua indicate bearish patterns.
**Customizable Parameters**: Users can adjust the source of the price data BASED ON ANY indicator.
This indicator is useful for traders looking to spot divergence patterns, which are often used to predict potential reversals or continuations in price trends.
A **VVV Divergencia** indikátor a divergenciák felismerésére szolgál a grafikonon.
**Divergenciák Felismerése**: Az indikátor a normál és rejtett divergenciákat is felismeri:
- **Bika Divergencia (Bullish Divergence)**: Akkor fordul elő, amikor az ár alacsonyabb mélypontot képez, miközben az oszcillátor magasabb mélypontot formál, ami emelkedésre utalhat.
- **Medve Divergencia (Bearish Divergence)**: Akkor jelenik meg, amikor az ár magasabb csúcsot ér el, miközben az oszcillátor alacsonyabb csúcsot mutat, ami csökkenésre utalhat.
- **Rejtett Divergenciák**: Ezek akkor fordulnak elő, amikor az ár nem igazodik az oszcillátor mozgásához, ami a trend folytatódására utalhat.
**Vizualizálás**: Az indikátor vizuálisan kiemeli a divergenciákat a grafikonon:
- A bullish és bearish divergenciák különböző színekkel vonalakként jelennek meg.
- A gyertyák háttérszíne is változik a divergenciák jelei alapján: a zöld és a türkiz bullish mintát, míg a piros és a narancssárga bearish mintát jelez.
**Testreszabható Paraméterek**: A felhasználók beállíthatják az árforrást ami bármilyen indikátorra beállítható.
Ez az indikátor hasznos lehet azoknak a tradereknek, akik a divergenciák alapján szeretnének előrejelzéseket készíteni, mivel ezek a minták gyakran előre jelzik az árfolyam fordulatait vagy a trendek folytatódását.
MACD Boundary PSA - CoffeeKillerMACD Boundary PSA - CoffeeKiller Indicator Guide
Welcome traders! This guide will walk you through the MACD Boundary PSA indicator, a powerful market analysis tool developed by CoffeeKiller that enhances the traditional MACD with advanced boundary detection and peak signaling features.
🔔 **Warning: This Indicator Has No Signal Line or MACD Line** 🔔 This indicator is my version of the MACD, that I use in conjunction with the Rev&Line indicator.
Core Concept: Enhanced MACD Analysis
The foundation of this indicator builds upon the classic Moving Average Convergence Divergence (MACD) indicator, adding boundary tracking and peak detection systems to provide clearer signals and market insights.
Histogram Bars: Market Momentum
- Positive Green Bars: Bullish momentum
- Negative Red Bars: Bearish momentum
- Color intensity varies based on momentum strength
- Special coloring for new high/low boundaries
Marker Lines: Dynamic Support/Resistance
- High Marker Line (Magenta): Tracks the highest point reached during a bullish phase
- Low Marker Line (Cyan): Tracks the lowest point reached during a bearish phase
- Acts as dynamic boundaries that help identify strength of current moves
Peak Detection System:
- Triangular markers identify significant local maxima and minima
- Background highlighting shows important momentum peaks
- Helps identify potential reversal points and momentum exhaustion
Core Components
1. MACD Calculation
- Customizable fast and slow moving averages
- Signal line smoothing options
- Flexible MA type selection (SMA or EMA)
- Custom source input options
2. Boundary Tracking System
- Automatic detection of highest values in bullish phases
- Automatic detection of lowest values in bearish phases
- Step-line visualization of boundaries
- Color-coded for easy identification
3. Peak Detection System
- Identification of local maxima and minima
- Background highlighting of significant peaks
- Triangle markers for peak visualization
- Zero-line cross detection for trend changes
4. Time Resolution Control
- Normal mode: calculations based on chart timeframe
- Custom resolution mode: calculations based on specified timeframe
Main Features
Time Resolution Settings
- Normal mode: calculations match your chart's timeframe
- Custom resolution mode: calculations based on specified timeframe
- Helps identify stronger signals from other timeframes
Visual Elements
- Color-coded histogram bars
- Dynamic marker lines for boundaries
- Peak triangles for significant turning points
- Background highlighting for peak identification
Signal Generation
- Zero-line crosses for trend change signals
- Boundary breaks for momentum strength
- Peak formation for potential reversals
- Color changes for momentum direction
Customization Options
- MA types and lengths
- Signal smoothing
- Color schemes
- Marker line visibility
- Peak background display options
Trading Applications
1. Trend Identification
- Histogram crossing above zero: bullish trend beginning
- Histogram crossing below zero: bearish trend beginning
- Histogram color: indicates momentum direction
- Consistent color intensity: trend strength
2. Reversal Detection
- Peak triangles after extended trend: potential exhaustion
- Background highlighting: significant reversal points
- Histogram approaching marker lines: potential trend change
- Color shifts from bright to muted: decreasing momentum
3. Momentum Analysis
- Histogram breaking above previous high boundary: accelerating bullish momentum
- Histogram breaking below previous low boundary: accelerating bearish momentum
- Special coloring (magenta/cyan): boundary breaks indicating strength
- Distance from zero line: overall momentum magnitude
4. Market Structure Assessment
- Consecutive higher peaks: strengthening bullish structure
- Consecutive lower troughs: strengthening bearish structure
- Peak comparisons: relative strength of momentum phases
- Boundary line steps: market structure levels
Optimization Guide
1. MACD Settings
- Fast Length: Shorter values (8-12) for responsiveness, longer values (20+) for smoother signals
- Slow Length: Shorter values (21-34) for more signals, longer values (72+) for major moves
- Default settings (22, 72, 9): balanced approach for most timeframes
- Consider using 8, 21, 5 for shorter timeframes and 34, 144, 5 for longer timeframes
2. MA Type Selection
- EMA: More responsive, follows price more closely
- SMA: Smoother, fewer false signals, potentially more lag
- Mix and match for oscillator and signal lines based on your preference
3. Time Resolution
- Match chart timeframe: for aligned analysis
- Use higher timeframe: for filtering signals
- Lower timeframe: for earlier entries but more noise
4. Color Customization
- Normal bullish/bearish colors: represent standard momentum
- High/low marker line colors: customize visibility
- Peak marker colors: adjust for your visual preference
- Consider chart background when selecting colors
Best Practices
1. Signal Confirmation
- Wait for zero-line crosses to confirm trend changes
- Look for peak formations to identify potential reversals
- Check for boundary breaks to confirm strong momentum
- Use custom timeframe option for higher timeframe confirmation
2. Timeframe Selection
- Lower timeframes: more signals, potential noise
- Higher timeframes: cleaner signals, less frequent
- Custom resolution: allows comparison across timeframes
- Consider using multiple timeframes for confirmation
3. Market Context
- Strong bullish phase: positive histogram breaking above marker line
- Strong bearish phase: negative histogram breaking below marker line
- Histogram approaching zero: potential trend change
- Peak formations: potential exhaustion points
4. Combining with Other Indicators
- Use with trend indicators for confirmation
- Pair with oscillators for overbought/oversold conditions
- Combine with volume analysis for validation
- Consider support/resistance levels with boundary lines
Advanced Trading Strategies
1. Boundary Break Strategy
- Enter long when histogram breaks above previous high marker line
- Enter short when histogram breaks below previous low marker line
- Use zero-line as initial stop-loss reference
- Take profits at formation of opposing peaks
2. Peak Trading Strategy
- Identify significant peaks with triangular markers
- Look for consecutive lower peaks in bullish phases for shorting opportunities
- Look for consecutive higher troughs in bearish phases for buying opportunities
- Use zero-line crosses as confirmation
3. Multi-Timeframe Strategy
- Use custom resolution for higher timeframe MACD trend
- Enter trades when both timeframes align
- Higher timeframe for trend direction
- Chart timeframe for precise entry
4. Histogram Color Strategy
- Enter long when histogram turns bright green (increasing momentum)
- Enter short when histogram turns bright red (increasing momentum)
- Exit when color intensity fades (decreasing momentum)
- Use marker lines as dynamic support/resistance
Practical Analysis Examples
Bullish Market Scenario
- Histogram crosses above zero line
- Green bars grow in height and intensity
- High marker line forms steps upward
- Peak triangles appear at local maxima
- Background highlights appear at significant momentum peaks
Bearish Market Scenario
- Histogram crosses below zero line
- Red bars grow in depth and intensity
- Low marker line forms steps downward
- Peak triangles appear at local minima
- Background highlights appear at significant momentum troughs
Consolidation Scenario
- Histogram oscillates around zero line
- Bar colors alternate frequently
- Marker lines remain relatively flat
- Few or no new peak highlights appear
- Histogram values remain small
Understanding Market Dynamics Through MACD Boundary PSA
At its core, this indicator provides a unique lens to visualize market momentum and boundaries:
1. Momentum Strength: The histogram height/depth shows the strength of current momentum, with color intensity providing additional context about acceleration or deceleration.
2. Dynamic Boundaries: The marker lines create a visual representation of the "high water marks" of momentum in both directions, helping to identify when markets are making new momentum extremes.
3. Exhaustion Signals: The peak detection system highlights moments where momentum has reached a local maximum or minimum, often precursors to reversals or consolidations.
4. Trend Confirmation: The histogram color and intensity provide instant feedback about the current trend direction and strength, with special colors highlighting particularly significant moves.
Remember:
- Combine signals from histogram, marker lines, and peak formations
- Use appropriate timeframe settings for your trading style
- Customize the indicator to match your visual preferences
- Consider market conditions and correlate with price action
This indicator works best when:
- Used as part of a comprehensive trading system
- Combined with proper risk management
- Applied with an understanding of current market conditions
- Signals are confirmed by price action and other indicators
**DISCLAIMER**: This indicator and its signals are intended solely for educational and informational purposes. They do not constitute financial advice. Trading involves significant risk of loss. Always conduct your own analysis and consult with financial professionals before making trading decisions.
Reversal + Confirm ZonesThis script is written in Pine Script (version 5) for TradingView and creates an indicator called **"Reversal + Confirm Zones"**. It overlays visual zones on a price chart to identify potential reversal points and confirmation signals for trading. The indicator combines **Bollinger Bands** and **RSI** to detect overbought/oversold conditions (reversal zones) and uses **EMA crosses** and **MACD zero-line crosses** to confirm bullish or bearish trends. Below is a detailed explanation:
---
### **1. Purpose**
- The script highlights:
- **Reversal Zones**: Areas where the price might reverse due to being overbought (green) or oversold (red).
- **Confirmation Zones**: Areas where a trend reversal is confirmed using EMA and MACD signals (green for bullish, red for bearish).
- It provides visual backgrounds and alerts to assist traders in spotting potential trade setups.
---
### **2. Components**
The script is divided into two main parts: **Reversal Logic** and **Confirmation Logic**.
---
### **3. Reversal Logic (Red & Green Zones)**
#### **Bollinger Bands**
- **Parameters**:
- Length: 20 periods.
- Source: Closing price (`close`).
- Multiplier: 2.0 (standard deviations).
- **Calculation**:
- `basis`: 20-period Simple Moving Average (SMA).
- `dev`: 2 times the standard deviation of the price over 20 periods.
- `upper`: `basis + dev` (upper band).
- `lower`: `basis - dev` (lower band).
- **Purpose**: Identifies when the price moves outside the normal range (beyond 2 standard deviations).
#### **Relative Strength Index (RSI)**
- **Parameters**:
- Length: 14 periods.
- Low Threshold: 30 (oversold).
- High Threshold: 70 (overbought).
- **Calculation**: `rsiValue = ta.rsi(close, rsiLength)`.
- **Purpose**: Measures momentum to confirm overbought or oversold conditions.
#### **Zone Conditions**
- **Red Zone (Oversold)**:
- Condition: `close < lower` (price below lower Bollinger Band) AND `rsiValue < rsiLowThreshold` (RSI < 30).
- Visual: Light red background (`color.new(color.red, 80)`).
- Alert: "Deep Oversold Signal triggered!".
- **Green Zone (Overbought)**:
- Condition: `close > upper` (price above upper Bollinger Band) AND `rsiValue > rsiHighThreshold` (RSI > 70).
- Visual: Light green background (`color.new(color.green, 80)`).
- Alert: "Deep Overbought Signal triggered!".
#### **Interpretation**
- Red Zone: Suggests the price is oversold and may reverse upward.
- Green Zone: Suggests the price is overbought and may reverse downward.
---
### **4. Confirmation Logic (EMA and MACD Crosses)**
#### **Exponential Moving Averages (EMAs)**
- **Parameters**:
- Short EMA Length: 9 periods (user adjustable).
- Long EMA Length: 21 periods (user adjustable).
- **Calculation**:
- `emaShort = ta.ema(close, emaShortLength)`.
- `emaLong = ta.ema(close, emaLongLength)`.
- **Conditions**:
- **Bullish EMA Cross**: `emaCrossBullish = ta.crossover(emaShort, emaLong)` (9 EMA crosses above 21 EMA).
- **Bearish EMA Cross**: `emaCrossBearish = ta.crossunder(emaShort, emaLong)` (9 EMA crosses below 21 EMA).
#### **MACD**
- **Parameters**:
- Fast Length: 12 periods (user adjustable).
- Slow Length: 26 periods (user adjustable).
- Signal Smoothing: 9 periods (user adjustable).
- **Calculation**:
- ` = ta.macd(close, macdFastLength, macdSlowLength, macdSignalSmoothing)`.
- Only the MACD line and signal line are used; the histogram is ignored (`_`).
- **Conditions**:
- **Bullish MACD Cross**: `macdCrossBullish = ta.crossover(macdLine, 0)` (MACD crosses above zero).
- **Bearish MACD Cross**: `macdCrossBearish = ta.crossunder(macdLine, 0)` (MACD crosses below zero).
#### **Combined Confirmation Conditions**
- **Bullish Confirmation**:
- Condition: `bullishConfirmation = emaCrossBullish and macdCrossBullish`.
- Visual: Very light green background (`color.new(color.green, 90)`).
- Meaning: A bullish trend is confirmed when the 9 EMA crosses above the 21 EMA AND the MACD crosses above zero.
- **Bearish Confirmation**:
- Condition: `bearishConfirmation = emaCrossBearish and macdCrossBearish`.
- Visual: Very light red background (`color.new(color.red, 90)`).
- Meaning: A bearish trend is confirmed when the 9 EMA crosses below the 21 EMA AND the MACD crosses below zero.
---
### **5. Visual Outputs**
- **Reversal Zones**:
- Red background for oversold conditions.
- Green background for overbought conditions.
- **Confirmation Zones**:
- Light green background for bullish confirmation.
- Light red background for bearish confirmation.
- Note: The script does not plot the Bollinger Bands, EMAs, or MACD lines—only the background zones are visualized.
---
### **6. Alerts**
- **Deep Oversold Alert**: Triggers when the red zone condition is met.
- **Deep Overbought Alert**: Triggers when the green zone condition is met.
- No alerts are set for the confirmation zones (EMA/MACD crosses).
---
### **7. How It Works**
1. **Reversal Detection**:
- The script uses Bollinger Bands and RSI to flag extreme price levels (red for oversold, green for overbought).
- These zones suggest potential reversals but are not confirmed yet.
2. **Trend Confirmation**:
- EMA crosses (9/21) and MACD zero-line crosses provide confirmation of a trend direction.
- Bullish confirmation (green) occurs when both indicators align upward.
- Bearish confirmation (red) occurs when both indicators align downward.
3. **Trading Strategy**:
- Look for a red zone (oversold) followed by a bullish confirmation for a potential long entry.
- Look for a green zone (overbought) followed by a bearish confirmation for a potential short entry.
---
### **8. How to Use**
1. Add the script to TradingView.
2. Adjust inputs (EMA lengths, MACD settings) if desired.
3. Monitor the chart:
- Red zones indicate oversold conditions—watch for a potential upward reversal.
- Green zones indicate overbought conditions—watch for a potential downward reversal.
- Light green/red backgrounds confirm the trend direction after a reversal zone.
4. Set up alerts for oversold/overbought conditions to catch reversal signals early.
---
### **9. Key Features**
- **Dual Purpose**: Combines reversal detection (Bollinger Bands + RSI) with trend confirmation (EMA + MACD).
- **Visual Simplicity**: Uses background colors instead of plotting lines, keeping the chart clean.
- **Customizable**: Allows users to tweak EMA and MACD periods.
- **Alerts**: Notifies users of extreme conditions for timely action.
---
### **10. Limitations**
- No plotted indicators (e.g., Bollinger Bands, EMAs, MACD) for visual reference—relies entirely on background shading.
- Confirmation signals (EMA/MACD) may lag behind reversal zones, potentially missing fast reversals.
- No alerts for confirmation zones, limiting real-time notification of trend confirmation.
This script is ideal for traders who want a straightforward way to spot potential reversals and confirm them with trend-following indicators, all overlaid on the price chart.
Moving Average Convergence DivergenceThis script is written in Pine Script (version 6) for TradingView and implements the **Moving Average Convergence Divergence (MACD)** indicator. The MACD is a popular momentum oscillator used to identify trend direction, strength, and potential reversals. This version includes customizable inputs, visual enhancements (like crossover markers), and alerts for key events. Below is a detailed explanation of the script:
---
### **1. Purpose**
- The script calculates and displays the MACD line, signal line, and histogram.
- It highlights key events such as MACD/signal line crossovers and zero-line crosses with shapes and colors.
- It provides alerts for changes in the histogram's direction (rising to falling or vice versa).
---
### **2. User Inputs**
- **Fast Length**: Period for the fast moving average (default: 12).
- **Slow Length**: Period for the slow moving average (default: 26).
- **Source**: Data input for calculation (default: closing price, `close`).
- **Signal Smoothing**: Period for the signal line (default: 9, range: 1–50).
- **Oscillator MA Type**: Type of moving average for MACD calculation (options: SMA or EMA, default: EMA).
- **Signal Line MA Type**: Type of moving average for the signal line (options: SMA or EMA, default: EMA).
---
### **3. MACD Calculation**
The MACD is calculated in three parts:
1. **MACD Line**: Difference between the fast and slow moving averages.
- Fast MA: Either SMA or EMA of the source over `fast_length`.
- Slow MA: Either SMA or EMA of the source over `slow_length`.
- Formula: `macd = fast_ma - slow_ma`.
2. **Signal Line**: A moving average (SMA or EMA) of the MACD line over `signal_length`.
- Formula: `signal = sma_signal == "SMA" ? ta.sma(macd, signal_length) : ta.ema(macd, signal_length)`.
3. **Histogram**: Difference between the MACD line and the signal line.
- Formula: `hist = macd - signal`.
---
### **4. Key Events Detection**
#### **MACD/Signal Line Crossovers**
- **Bullish Cross**: MACD crosses above the signal line (`ta.crossover(macd, signal)`).
- **Bearish Cross**: MACD crosses below the signal line (`ta.crossunder(macd, signal)`).
#### **Zero Line Crosses**
- **Cross Above Zero**: MACD crosses above 0 (`ta.crossover(macd, 0)`).
- **Cross Below Zero**: MACD crosses below 0 (`ta.crossunder(macd, 0)`).
---
### **5. Colors**
- **MACD Line**: Green (#089981) if MACD > signal (bullish), red (#f23645) if MACD < signal (bearish).
- **Signal Line**: White (`color.white`).
- **Histogram**:
- Positive (MACD > signal): Light green (#B2DFDB) if decreasing, darker green (#26A69A) if increasing.
- Negative (MACD < signal): Light red (#FFCDD2) if increasing in magnitude, darker red (#FF5252) if decreasing in magnitude.
- **Zero Line**: Gray with 50% transparency (`color.new(#787B86, 50)`).
---
### **6. Visual Outputs**
#### **Plotted Lines**
- **MACD Line**: Plotted with dynamic coloring based on its position relative to the signal line.
- **Signal Line**: Plotted in white.
- **Histogram**: Displayed as columns, with colors indicating direction and momentum.
- **Zero Line**: Horizontal line at 0 for reference.
#### **Shapes for Key Events**
- **Bullish Cross Below Zero**: Green circle on the MACD line when MACD crosses above the signal line while still below zero.
- **Bearish Cross Above Zero**: Red circle on the MACD line when MACD crosses below the signal line while still above zero.
- **Cross Above Zero**: Green upward label at the zero line when MACD crosses above 0.
- **Cross Below Zero**: Red downward label at the zero line when MACD crosses below 0.
---
### **7. Alerts**
- **Rising to Falling**: Triggers when the histogram switches from positive (or zero) to negative.
- Condition: `hist >= 0 and hist < 0`.
- Message: "MACD histogram switched from rising to falling".
- **Falling to Rising**: Triggers when the histogram switches from negative (or zero) to positive.
- Condition: `hist <= 0 and hist > 0`.
- Message: "MACD histogram switched from falling to rising".
---
### **8. How It Works**
1. **Trend Direction**:
- MACD above signal line (green) suggests bullish momentum.
- MACD below signal line (red) suggests bearish momentum.
2. **Momentum Strength**:
- Histogram height shows the strength of the momentum (larger bars = stronger momentum).
- Histogram color changes indicate whether momentum is increasing or decreasing.
3. **Reversal Signals**:
- Crossovers between MACD and signal lines often signal potential trend changes.
- Zero-line crosses indicate shifts between bullish (above 0) and bearish (below 0) territory.
---
### **9. How to Use**
1. Add the script to TradingView.
2. Adjust inputs (e.g., fast/slow lengths, MA types) to suit your trading style.
3. Monitor the chart:
- Green MACD and upward histogram bars suggest bullish conditions.
- Red MACD and downward histogram bars suggest bearish conditions.
- Watch for circles (crossovers) and labels (zero-line crosses) for trade signals.
4. Set up alerts to notify you of histogram direction changes.
---
### **10. Key Features**
- **Customization**: Flexible MA types and periods.
- **Visual Clarity**: Dynamic colors and shapes highlight key events.
- **Alerts**: Notifies users of momentum shifts via histogram changes.
- **Intuitive**: Combines all MACD components (line, signal, histogram) in one indicator.
This script is ideal for traders who rely on MACD for momentum analysis and want clear visual cues and alerts for decision-making.
Smart MACD Reversal Oscillator Pro [TradeDots]The TradeDots Smart MACD Reversal Oscillator Pro is an advanced technical analysis tool that combines traditional MACD functionality with multi-layered signal detection and divergence identification systems. This comprehensive oscillator helps traders identify potential market reversals, trend continuations, and extremes with greater precision than conventional indicators.
📝 HOW IT WORKS
Accumulation & Distribution Detection System
The indicator begins with a proprietary calculation that identifies potential accumulation and distribution phases:
Calculation: Processes EMA differentials with specific time constants to detect underlying accumulation/distribution pressure
Visualization: Green-filled areas indicate accumulation phases (bullish pressure building) while red-filled areas show distribution phases (bearish pressure building)
Significance: This system often identifies trend reversals before traditional indicators by detecting institutional buying/selling activity
Multi-Timeframe MACD Implementation
Unlike traditional MACD indicators that use a single timeframe, this oscillator incorporates multiple calculation methods:
1. Primary Oscillator: Uses a proprietary calculation that combines price extremes with smoothed averages:
Implements specialized moving average types (SMMA and ZLEMA)
Generates a histogram that changes color based on price position relative to these averages
Produces a signal line that identifies crossover opportunities
2. Secondary MACD: Traditional MACD implementation with customizable parameters:
User-selectable MA types (SMA/EMA) for both oscillator and signal line
Color-coded histogram for momentum visualization
Separate crossover detection system
Dynamic Band System
The indicator implements an innovative dynamic band system to identify overbought and oversold conditions:
Band Calculation: Analyzes historical oscillator values to establish statistically significant extremes
Adaptive Scaling: Automatically adjusts to different market volatility regimes using a customizable Y-axis scale factor
Signal Integration: Incorporates band levels into signal generation for higher-probability trades
Signal Generation System
Four distinct signal types are generated to identify potential trading opportunities:
Green Dots: Bullish crossover signals (primary oscillator crosses above signal line)
Red Dots: Bearish crossover signals (primary oscillator crosses below signal line)
Blue Dots: Secondary MACD bullish crossovers in oversold territory
Orange Dots: Secondary MACD bearish crossovers in overbought territory
Advanced Divergence Detection
The oscillator incorporates a sophisticated divergence detection system:
Regular Divergences: Identifies when price makes lower lows while the oscillator makes higher lows (bullish) or price makes higher highs while the oscillator makes lower highs (bearish)
Hidden Divergences: Optional detection of continuation patterns (currently disabled by default)
Visual Markers: Clear labels identifying divergence formations directly on the chart
Zero-Line Filter: Optional filtering to only detect divergences that don't cross the zero line
🛠️ HOW TO USE
Signal Interpretation
Momentum Direction
Histogram Color: Green shades indicate bullish momentum, red shades indicate bearish momentum
Oscillator Position: Above zero indicates bullish momentum, below zero indicates bearish momentum
Filled Background: Green fill shows accumulation phases, red fill shows distribution phases
Buy Signals (In Order of Strength)
Bullish Divergence + Green Dot: Highest probability reversal signal (price making lower lows while oscillator makes higher lows, followed by crossover)
Green Dot Below Short Average Line: Strong oversold reversal signal
Green Dot + Blue Dot Alignment: Multiple indicator confirmation
Green Dot During Green Fill Expansion: Trend continuation signal
Sell Signals (In Order of Strength)
Bearish Divergence + Red Dot: Highest probability reversal signal (price making higher highs while oscillator makes lower highs, followed by crossover)
Red Dot Above Long Average Line: Strong overbought reversal signal
Red Dot + Orange Dot Alignment: Multiple indicator confirmation
Red Dot During Red Fill Expansion: Trend continuation signal
Trading Strategies
Divergence Trading Strategy
Identify "Bullish" or "Bearish" divergence labels on the chart
Wait for confirming dot signal in the same direction
Enter when both divergence and dot signal align
Set stops based on recent swing points
Target the opposite band or previous significant level
Overbought/Oversold Reversal Strategy
Wait for the oscillator to reach extreme bands (Long or Short Average lines)
Look for crossover signals at these extreme levels:
Bullish Crossover (Oversold): Green dots when oscillator is below Short Average
Bearish Crossover (Overbought): Red dots when oscillator is above Long Average
Enter when price confirms the reversal
Set stops beyond the recent extreme
Target the opposite band or at least the zero line
Multi-Confirmation Strategy
For highest probability trades, look for:
Multiple signal types aligning (e.g., Green + Blue dots or Red + Orange dots)
Signals occurring at band extremes
Divergence patterns reinforcing the signal direction
Background fill color supporting the signal (green fill for buys, red fill for sells)
⚙️ CUSTOMIZATION OPTIONS
The indicator offers extensive customization to adapt to different markets and trading styles:
Y-axis scale factor: Controls the band range multiplier (default 2.5)
Parameter 1: Controls the smoothing period for main calculations (default 8)
Parameter 2: Controls the signal line calculation period (default 9)
Fast/Slow Length: Controls traditional MACD calculation periods (12/26)
Oscillator MA Type: Selection between SMA and EMA for main oscillator
Signal Line MA Type: Selection between SMA and EMA for signal line
Divergence Settings: Customizable lookback parameters and display options
Don't touch the zero line?: Toggle option for divergence filtering
❗️LIMITATIONS
Signal Lag: The system identifies reversals after they have begun, potentially missing the absolute bottom or top
False Signals: Can occur during periods of high volatility or during ranging markets
Divergence Validation: Not all divergences lead to reversals; confirmation is essential
Timeframe Sensitivity: The indicator works best on intermediate timeframes (15m to 4h) for most markets
Bar Closing Requirement: All signals are based on closed candles and may be subject to change until the candle closes
RISK DISCLAIMER
Trading involves substantial risk, and most traders may incur losses. All content, tools, scripts, articles, and education provided by TradeDots are for informational and educational purposes only. Past performance is not indicative of future results.
This oscillator should be used as part of a complete trading approach that includes proper risk management, consideration of the broader market context, and confirmation from price action patterns. No trading system can guarantee profits, and users should always exercise caution and use appropriate position sizing.