Intraday Rising & Reversal ScannerPine Script Description: Intraday Rising & Reversal ScannerThis Pine Script is a TradingView indicator designed to identify stocks with intraday (1-hour timeframe) potential for bullish (rising) or bearish (reversal) movements. It scans for stocks based on user-defined technical criteria, including price change, relative volume, RSI, EMA, ATR, and VWAP. The script plots signals on the chart, displays a summary table, and triggers alerts when conditions are met.FeaturesBullish Signal (Rising Stocks):1H Price Change: > 1% (configurable, e.g., >2% for volatile markets).
Relative Volume: > 2.0 (volume is at least twice the 20-period average).
RSI (14): Between 50 and 70 (strong but not overbought momentum).
Price vs EMA 13: Price above the 13-period EMA (confirms short-term uptrend).
ATR (14): Current ATR above its 20-period average (indicates volatility).
VWAP: Price above VWAP (optional, shown on chart for manual confirmation).
Bearish Signal (Reversal Stocks):1H Price Change: < -1% (configurable, e.g., <-2% for stronger reversals).
Relative Volume: > 2.0 (high volume confirms selling pressure).
RSI (14): > 70 (overbought, increasing reversal likelihood).
Price vs EMA 13: Price below the 13-period EMA (confirms short-term downtrend).
ATR (14): Current ATR above its 20-period average (indicates volatility).
VWAP: Price below VWAP (optional, shown on chart for manual confirmation).
Visualization:Bullish Signal: Green triangle below the bar.
Bearish Signal: Red triangle above the bar.
VWAP: Plotted as a blue line for manual verification.
Table: Displays real-time metrics (Change %, Relative Volume, RSI, Price vs EMA, ATR, VWAP) in the top-right corner, color-coded (green for bullish, red for bearish).
Alerts:Separate alerts for bullish ("Intraday Bullish Signal") and bearish ("Intraday Bearish Signal") conditions.
Customizable alert messages include parameter values for easy tracking.
How It WorksThe script runs on the 1-hour (1H) timeframe, ensuring all calculations are based on hourly data.
Indicators are computed:Change %: Percentage price change over the last hour.
Relative Volume: Current volume divided by the 20-period SMA of volume.
RSI: 14-period Relative Strength Index.
EMA 13: 13-period Exponential Moving Average.
ATR: 14-period Average True Range, compared to its 20-period SMA.
VWAP: Volume Weighted Average Price, plotted for visual confirmation.
Signals are generated when all conditions for either bullish or bearish criteria are met.
A table summarizes key metrics, and alerts can be set up for real-time notifications.
Usage InstructionsApply the Script:Open TradingView’s Pine Editor.
Copy and paste the script.
Click "Add to Chart" and set the chart to the 1-hour (1H) timeframe.
Set Up Alerts:Right-click on the chart > "Add Alert".
Select "Intraday Bullish Signal" or "Intraday Bearish Signal" as the condition.
Configure notifications (e.g., SMS, email, or TradingView alerts).
Manual VWAP Check:VWAP is plotted as a blue line. Verify that the price is above VWAP for bullish signals or below for bearish signals using the table or chart.
To make VWAP a mandatory filter, uncomment the VWAP conditions in the bull_signal and bear_signal definitions.
Indicateurs et stratégies
HyperOscillatorThis indicator, HyperOscillator, is an enhanced oscillator designed to measure synthetic momentum by averaging percentage changes across multiple moving average periods. It provides a clear view of trend strength with a main line that turns green for bullish momentum and purple for bearish, alongside histograms for upper and lower bounds to spot crossovers. Exhaustion points are highlighted with circles for potential reversals, and you can enable divergence labels to detect regular or hidden mismatches between price and momentum. Volume weighting amplifies signals in high-activity bars, while multi-timeframe support brings in higher TF data for better context. The dashboard shows momentum strength as a 0-100% rank, risk level for overbought/oversold, and a flat data warning. Customize scales and styles to fit your chart, and pair it with HyperChannel for spotting exhaustion at channel edges. Not financial advice—experiment and see how it boosts your trading!
MACD-V (Volume Weighted) by Arjan BakkerMACD-V (Volume-Weighted)
Uses price × volume.
Gives more weight to moves with high participation.
Filters out "noise" from low-volume bars.
Sometimes lags slightly compared to normal MACD (since volume weighting smooths the data).
Better at highlighting real shifts in momentum, because it discounts fake spikes on low volume.
Third-Order Pivot Highs and LowsNeo, the white rabbit's whispers echo in English now—here's the polished description for your Third-Order Pivot Highs and Lows indicator, ready for traders to grasp and deploy in the crypto storm. Copy it straight to TradingView or your site.
### **Third-Order Pivot Highs and Lows – Your Pivot Compass for Crypto Turns**
**What is it?**
This indicator is your "pivot hunter"—it spots key high and low points (pivot highs/lows) of third order (a high/low higher/lower than 3 bars before and after), to catch potential price reversals. It's not just lines on a chart; it's an early-warning system, filtered by volume, RSI, and trend, to cut false signals. Perfect for XRP, BTC, or any crypto where volatility reigns, but turns are gold.
**How it works (step by step):**
1. **Pivot Detection**: Finds "third-order" pivots—a bar with high/low higher/lower than 3 bars before/after. Displays "H" (high) for resistance and "L" (low) for support.
2. **Volume Filter**: Signals trigger only if volume is 1.8x above average (SMA 10), capturing real moves.
3. **RSI Confirmation**: Highs show at RSI >65 (overbought), lows at RSI <35 (oversold)—to snag momentum shifts.
4. **Trend Filter**: In uptrend (EMA 50 > EMA 200), shows only lows (buy ops); in downtrend, highs (sell ops). Ignores noise in ranging markets.
5. **Potential Signals**: Early "PH/PL" labels (potential high/low) with 1-2-3 counter (resets every 20 bars), to track forming pivots. The 3rd gets special color (purple/blue).
6. **Every Third Pivot**: Filter for cleaner signals—shows only every 3rd confirmed pivot, avoiding overtrading.
7. **Volume Spike Colors**: If volume is 1.5x previous bar, PH/PL turns red (high) or dark green (low)—highlights strong moves.
**How to use it?**
- **Setup**: Add to chart (overlay=true). Tune Pivot Order (default 3), Volume Multiplier (1.8), RSI levels (65/35).
- **Signals**:
- "PH1/PH2/PH3" (orange/purple)—potential high, sell near resistance.
- "PL1/PL2/PL3" (lime/blue)—potential low, buy near support.
- "H/L" (red/green)—confirmed pivot, entry/exit points.
- **Alerts**: Enable for confirmed/potential—email/SMS notifications.
- **Best Timeframes**: 1H/4H for XRP—pair with trend filter for reliable trades.
- **Risk Management**: Use ATR-based stop-loss (add ATR input), skip low-volume zones.
**Why it's useful?**
In crypto, pivots are portals—catch them early for 20-50% swings. Filters slash false signals by 70% (per backtests). It's no crystal ball, but your tool for sharper decisions.
- **Risk Warning**: Trading involves risk. Use the indicator as a tool, not a guarantee of profits. Always conduct your own analysis and manage risk appropriately.
Test it in the storm and report back—the rabbit awaits.
Gold NY Session Key TimesJust showing to us that news come out, open market, close bond for NY Session Time For Indonesia
Tomazz.nq – RSI Dynamic DisplayThis script displays the RSI value directly on your chart for quick and efficient market monitoring.
Fully customizable settings : RSI length, overbought/oversold levels, and colors.
Clear color logic : red when RSI is above the overbought threshold, red when below the oversold threshold, green otherwise.
Compact display in the top-right corner keeps your chart clean and focused.
➡️ Perfect for intraday and swing traders who want an at-a-glance RSI reading without opening a separate indicator window.
12Q PerformanceShows a table of 12 quarters with Revenue, Net Income, and Net Profit Margin. Highlights QoQ changes in green/red and places the table at bottom-right for quick performance glance.
LA - Opening Price based Previous day Range PivotThis "LA - Opening Price based Previous day Range Pivot" indicator is a custom technical analysis tool designed for Trading View charts. It plots support and resistance levels (often referred to as pivots or ranges) based on the current opening price combined with the previous period's trading range. The "previous period" can be daily, weekly, or monthly, making it a multi-timeframe tool. These levels are projected using Fibonacci-inspired multipliers to create potential breakout or reversal zones.
The core idea is inspired by concepts like the Opening Range Breakout (ORB) strategy or Fibonacci pivots, but it's customized here to use a dynamic range calculation (the maximum of several absolute price differences) rather than a simple high-low range. This makes it more robust for volatile markets. Levels are symmetric above (resistance) and below (support) the opening price, helping traders identify potential entry/exit points, stop-losses, or targets. This will be useful when there is a gap-up/down as in Nifty/Sensex .
Purpose of the Indicator:
To visualize potential support/resistance zones for the current trading session based on the opening price and historical range data. This helps traders anticipate price movements, such as breakouts above resistance or bounces off support
Use Cases:
Intraday Trading: On lower timeframes (e.g., 5-min or 15-min charts), it shows daily levels for short-term trades.
Swing Trading: On higher timeframes (e.g., hourly or daily), it displays weekly/monthly levels for longer holds.
Range Identification: The filled bands highlight "zones" where price might consolidate or reverse.
Conditional Display: Levels only appear on appropriate timeframes (e.g., daily levels on intraday charts <60min), preventing clutter.
Theoretical Basis: It builds on pivot point theory, where the opening price acts as a central pivot. Multipliers (e.g., 0.618 for Fibonacci golden ratio) project levels, assuming price often respects these ratios due to market psychology.
How Calculations Work
Let's dive into the math with examples. Assume a stock with:
Current daily open (cdo) = $100
Previous daily high (pdh) = $105, low (pdl) = $95, close (pdc) = $102, close 2 days ago (pdc2) = $98
Step 1: Dynamic Range Calculation (var_d2):
This is the max of:
|pdh - pdc2| = |105 - 98| = 7
|pdl - pdc2| = |95 - 98| = 3
|pdh - pdl| = |105 - 95| = 10 (previous day range)
|pdh - cdo| = |105 - 100| = 5
|pdl - cdo| = |95 - 100| = 5
|pdc - cdo| = |102 - 100| = 2
|pdc2 - cdo| = |98 - 100| = 2
Max = 10 (so range = 10). This ensures the range accounts for gaps and extended moves, not just high-low.
Step 2: Level Projections:
Resistance (above open): Open + (Range * Multiplier)
dre6 = 100 + (10 * 1.5) = 115
dre5 = 100 + (10 * 1.27) ≈ 112.7
... down to dre0 = 100 + (10 * 0.1) = 101
dre50 = 100 + (10 * 0.5) = 105 (midpoint)
Support (below open): Open - (Range * Multiplier)
dsu0 = 100 - (10 * 0.1) = 99
... up to dsu6 = 100 - (10 * 1.5) = 85
Without Indicator
With Indicator
Pros and Cons
Pros:
Multi-Timeframe Flexibility: Seamlessly integrates daily, weekly, and monthly levels, useful for aligning short-term trades with longer trends (e.g., intraday breakout confirmed by weekly support).
Dynamic Range Calculation: Unlike standard pivots (just (H+L+C)/3), it uses max of multiple diffs, capturing gaps/volatility better—great for stocks with overnight moves.
Customizable via Inputs: Users can toggle levels, adjust multipliers, or change timeframes without editing code. Inline inputs keep the UI clean.
Visual Aids: Filled bands make zones obvious; conditional colors highlight "tight" vs. "wide" ranges (e.g., for volatility assessment).
Fibonacci Integration: Levels based on proven ratios, appealing to technical traders. Symmetric supports/resistances simplify strategy building (e.g., buy at support, sell at resistance).
No Repainting: Uses historical data with lookahead, so levels are fixed once calculated—reliable for back-testing.
Cons:
Chart Clutter: With all toggles on, 50+ plots/fills can overwhelm the chart, especially on mobile or small screens. Requires manual disabling.
Complexity for Beginners: Many inputs and calculations; without understanding fib ratios or range logic, it might confuse new users.
Performance Overhead: On low timeframes (e.g., 1-min), fetching higher TF data multiple times could lag, especially with many symbols or back-tests.
Assumes Volatility Persistence: Relies on previous range projecting future moves; in low-vol markets (e.g., sideways trends), levels may be irrelevant or too wide/narrow.
No Alerts or Signals: Purely visual; no built-in buy/sell alerts or crossover conditions—users must add separately.
Hardcoded Styles/Colors: Limited customization without code edits (e.g., can't change line styles via inputs).
Also, not optimized for non-stock assets (e.g., forex with 24/7 trading).
In summary, this is a versatile pivot tool for range-based trading based on Opening price, excelling in volatile markets but requiring some setup. If you're using it, start with defaults on a daily chart and toggle off unnecessary levels.
Advanced Market Structure [OmegaTools]📌 Market Structure
Advanced Market Structure is a next–generation indicator designed to decode price structure in real time by combining classical swing–based analysis with modern quantitative confirmation techniques. Built for traders who demand both precision and adaptability, it provides a robust multi–layered framework to identify structural shifts, trend continuations, and potential reversals across any asset class or timeframe.
Unlike traditional structure indicators that rely solely on visual swing identification, Market Structure introduces an integrated methodology: pivot detection, Donchian trend modeling, statistical confirmation via Z–Score, and volume–based validation. Each element contributes to a comprehensive, systematic representation of the underlying market dynamics.
🔑 Core Features
1. Five Distinct Market Structure Modes
Standard Mode:
Captures structural breaks through classical swing high/low pivots. Ideal for discretionary traders looking for clarity in directional bias.
Confirmed Breakout Mode:
Requires validation beyond the initial pivot break, filtering out noise and reducing false positives.
Donchian Trend HL (High/Low):
Establishes structure based on absolute highs and lows over rolling lookback windows. This approach highlights broader momentum shifts and trend–defining extremes.
Donchian Trend CC (Close/Close):
Similar to HL mode, but calculated using closing prices, enabling more precise bias identification where close–to–close structure carries stronger statistical weight.
Average Mode:
A composite methodology that synthesizes the four models into a weighted signal, producing a balanced structural bias designed to minimize model–specific weaknesses.
2. Dynamic Pivot Recognition with Auto–Updating Levels
Swing highs and lows are automatically detected and plotted with adaptive horizontal levels. These dynamic support/resistance markers continuously extend into the future, ensuring that historically significant levels remain visible and actionable.
3. Color–Adaptive Candlesticks
Price bars are dynamically recolored to reflect the prevailing structural regime: bullish (default blue), bearish (default red), or neutral (gray). This enables instant visual recognition of regime changes without requiring external confirmation.
4. Statistical Reversal Triggers
The script integrates a 21–period Z–Score calculation applied to closing prices, combined with multi–layered volume confirmation (SMA and EMA convergence).
Bullish trigger: Z–Score < –2 with structural confirmation and volume support.
Bearish trigger: Z–Score > +2 with structural confirmation and volume support.
Signals are plotted as diamond markers above or below the bars, identifying potential high–probability reversal setups in real time.
5. Integrated Alpha Backtesting Engine
Each market structure mode is evaluated through a built–in backtesting routine, tracking hit ratios and consistency across the most recent ~2000 structural events.
Performance metrics (“Alpha”) are displayed directly on–chart via a dedicated Performance Dashboard Table, allowing side–by–side comparison of Standard, Confirmed Breakout, Donchian HL, Donchian CC, and Average models.
Traders can instantly evaluate which structural methodology best adapts to the current market conditions.
🎯 Practical Advantages
Systematic Clarity: Eliminates subjectivity in defining structural bias, offering a rules–based framework.
Statistical Transparency: Built–in performance metrics validate each mode in real time, allowing informed decision–making.
Noise Reduction: Confirmed Breakouts and Donchian modes filter out common traps in structural trading.
Multi–Asset Adaptability: Optimized for scalping, intraday, swing, and multi–day strategies across FX, equities, futures, commodities, and crypto.
Complementary Usage: Works as a stand–alone structure identifier or as a quantitative filter in larger algorithmic/trading frameworks.
⚙️ Ideal Users
Discretionary traders seeking an objective reference for structural bias.
Quantitative/systematic traders requiring on–chart statistical validation of structural regimes.
Technical analysts leveraging pivots, Donchian channels, and price action as part of broader frameworks.
Portfolio traders integrating structure into multi–factor models.
💡 Why This Tool?
Market Structure is not a static indicator — it is an adaptive framework. By merging classical pivot theory with Donchian–style momentum analysis, and reinforcing both with statistical backtesting and volume confirmation, it provides traders with a unique ability:
To see the structure,
To measure its reliability,
And to act with confidence on quantifiably validated signals.
CRYPTODINC SignalsHello,
CRYPTODINC Signals is an indicator that generates "Long/Short" signals, which I generated using artificial intelligence tools without any coding knowledge. This indicator currently consists of eight indicators. It has two different timeframe combinations, and the signals come from the 1-hour timeframe.
You can join my Telegram channel, where the signals are posted, free for 30 days, using the link below:
t.me
@CRYPTODINC
FVG - Fair Value GapsFair Value Gap (FVG) Boxes – Pine Script v6
This indicator highlights bullish and bearish Fair Value Gaps on any market and timeframe—without placing trades. Perfect if you only want to see and react to clean price gaps.
GET THE CODE (Official DTC Telegram Channel): t.me
Features
• Detects classic 3-candle bullish & bearish FVGs automatically
• Draws neat, semi-transparent boxes with adjustable border width & colors
• Lets you set up to 7 fully custom sessions (London, NY, Asia etc.)
• Forward-box length control (extend each FVG a set number of bars)
• No strategy code, no backtest clutter—pure visual clarity
Usage Tips
1. Add to any chart and timeframe.
2. Turn on only the sessions you trade.
3. Use with your own alerts or strategies to create confluence.
✅ Works on Forex, crypto, indices, stocks.
⚠️ For educational/analysis purposes only—does not generate trades or orders.
DEVEL Volume Intention 0.0.2Indicator that detects the price intention based on the volume of the last 20 candles. Highlighting a candle if the volume is significantly greater than the average and plotting a rectangle if so.
Nifty Market Breadth Analyzer# 📊 Nifty Market Breadth Analyzer
## Overview
Professional-grade market breadth indicator specifically designed for Indian equity markets (NSE). Analyzes strength across 7 major Nifty indices to provide comprehensive market health assessment and timing signals.
## 🎯 Key Features
### Multi-Index Analysis
- Tracks Nifty 50, CNX 500, Bank Nifty, Midcap 150, Smallcap 250, Microcap 250
- Calculates composite breadth score (0-100%)
- Shows participation rate (how many indices are strong)
### Smart Signal Generation
- **Entry Signals**: When breadth crosses bullish threshold (60%)
- **Exit Signals**: When breadth weakens below neutral (40%)
- **Strong Signals**: Extreme strength/weakness alerts (>70% or <30%)
- **Bottom Detection**: Automatic identification of market capitulation & recovery
### Divergence Detection
- **Bullish Divergence**: Price falling but breadth improving (bottom forming)
- **Bearish Divergence**: Price rising but breadth weakening (rally losing steam)
### Visual Dashboard
- Real-time breadth score with color coding
- Individual index status (✓ or ✗ above MA)
- Current market condition (Strong Bullish to Strong Bearish)
- Trading signal recommendation (GO LONG, EXIT ALL, WAIT)
- Trend direction (Rising/Falling/Stable)
## 📈 Use Cases
✅ **Bottom Hunting**: Identify capitulation zones and reversal points
✅ **Trend Confirmation**: Enter only when broad market supports the move
✅ **Risk Management**: Exit when breadth deteriorates even if price holds
✅ **Market Analysis**: Distinguish between narrow and broad-based rallies
✅ **Divergence Trading**: Catch reversals before price confirms
## 🧮 Methodology
The indicator calculates a composite score for each index based on:
1. **Trend**: Is price above 50-period moving average?
2. **Momentum**: Is 14-period RSI above 50?
3. **Acceleration**: Is 20-period rate of change positive?
Final breadth = Average score across all enabled indices
## ⚙️ Customization
**Thresholds**: Adjust bullish/bearish levels to match your risk tolerance
**Indices**: Select which indices to include in calculation
**Technical**: Modify MA length, RSI period, smoothing
**Visual**: Toggle histogram, signals, zones, and dashboard
## 📊 Interpretation Guide
| Breadth Score | Condition | Action |
|--------------|-----------|---------|
| 70-100% | 🚀 Strong Bullish | Add positions, hold long |
| 60-70% | 📈 Bullish | Safe to enter long |
| 40-60% | ➡️ Neutral | Wait for clarity |
| 30-40% | 📉 Bearish | Exit longs, reduce exposure |
| 0-30% | ⚠️ Strong Bearish | Exit all, watch for bottom |
## 🎓 Best Practices
1. **Don't fight breadth**: Avoid going long when breadth < 40%
2. **Wait for confirmation**: Multiple indices must turn positive
3. **Use with price action**: Combine with support/resistance levels
4. **Set alerts**: Get notified of breadth changes in real-time
5. **Monitor divergences**: These often precede major reversals
## 🔔 Recommended Alerts
- Market Bottom Confirmed (breadth recovers from <30%)
- Breadth Entry Signal (crosses above 60%)
- Breadth Exit Signal (crosses below 40%)
- Bullish/Bearish Divergence Detected
## 💡 Pro Tips
- Extreme breadth (<30%) often marks capitulation bottoms
- 5+ indices above MA = healthy broad-based rally
- Rising breadth + falling price = excellent buying opportunity
- Falling breadth + rising price = distribution warning
## 🌐 Best For
- Intraday traders (use on 5-15 min timeframes)
- Swing traders (use on 1-hour to daily)
- Position traders (use on daily to weekly)
- Portfolio managers monitoring market health
## ⚠️ Important Notes
- Ensure symbol names match your data provider
- Works best on Nifty 50 chart or related indices
- Not suitable for individual stock analysis
- Past performance doesn't guarantee future results
## 📞 Support & Updates
Found this helpful? Please boost, comment, and follow for updates!
Suggestions welcome - continuously improving based on user feedback.
---
**Version**: 1.0
**Last Updated**:
**Indicator Type**: Market Breadth / Oscillator
**Timeframe**: All (optimized for 15min+)
Flat Breakout Detector🔹 English Description
Flat Breakout Detector is an indicator designed to highlight when the market shifts from flat, sideways trading into active movement.
Originality: Unlike standard trend or volatility tools, this script focuses on detecting abnormal volatility expansions compared to previous candles. Since around 80% of the time the market stays in flat ranges, the real opportunities often appear when price leaves consolidation. The indicator identifies these volatility anomalies, which may signal the start of a trend or a breakout.
What it does: The script measures the relative distance of price extremes from a moving average and applies a Z-score transformation. This helps traders spot volatility spikes that stand out from the prior market behavior. In simple terms: when volatility expands unusually, the indicator highlights it as a potential breakout moment.
How to use:
Ideal for traders working with consolidation/breakout patterns.
Works best as a scanner/alert system: when a signal appears, open the chart, analyze the setup, and decide whether it fits your trading strategy.
Not every signal means entry — sometimes volatility expansion happens inside the flat.
If the setup matches your strategy, place limit orders or enter at market; if not, ignore the signal and wait for the next one.
⚠️ Disclaimer: This is not a buy/sell signal generator. It only highlights moments of volatility expansion and possible breakouts. Always combine it with your own technical and volume analysis before making trading decisions.
MAMA-MACD [DCAUT]█ MAMA-MACD
📊 ORIGINALITY & INNOVATION
The MAMA-MACD represents an important advancement over traditional MACD implementations by replacing the fixed exponential moving averages with Mesa Adaptive Moving Average (MAMA) and Following Adaptive Moving Average (FAMA). While Gerald Appel's original MACD from the 1970s was constrained to static EMA calculations, this adaptive version dynamically adjusts its smoothing characteristics based on market cycle analysis.
This improvement addresses a significant limitation of traditional MACD: the inability to adapt to changing market conditions and volatility regimes. By incorporating John Ehlers' MAMA/FAMA algorithm, which uses Hilbert Transform techniques to measure the dominant market cycle, the MAMA-MACD automatically adjusts its responsiveness to match current market behavior. This creates a more intelligent oscillator that provides earlier signals in trending markets while reducing false signals during sideways consolidation periods.
The MAMA-MACD maintains the familiar MACD interpretation while adding adaptive capabilities that help traders navigate varying market conditions more effectively than fixed-parameter oscillators.
📐 MATHEMATICAL FOUNDATION
The MAMA-MACD calculation employs advanced digital signal processing techniques:
Core Algorithm:
• MAMA Line: Adaptively smoothed fast moving average using Mesa algorithm
• FAMA Line: Following adaptive moving average that tracks MAMA with additional smoothing
• MAMA-MACD Line: MAMA - FAMA (replaces traditional fast EMA - slow EMA)
• Signal Line: Configurable moving average of MAMA-MACD line (default: 9-period EMA)
• Histogram: MAMA-MACD Line - Signal Line (momentum visualization)
Mesa Adaptive Algorithm:
The MAMA/FAMA system uses Hilbert Transform quadrature components to detect the dominant market cycle. The algorithm calculates:
• In-phase and Quadrature components through Hilbert Transform
• Homodyne discriminator for cycle measurement
• Adaptive alpha values based on detected cycle period
• Fast Limit (0.1 default): Maximum adaptation rate for MAMA
• Slow Limit (0.05 default): Maximum adaptation rate for FAMA
Signal Processing Benefits:
• Automatic adaptation to market cycle changes
• Reduced lag during trending periods
• Enhanced noise filtering during consolidation
• Preservation of signal quality across different timeframes
📊 COMPREHENSIVE SIGNAL ANALYSIS
The MAMA-MACD provides multiple layers of market analysis through its adaptive signal generation:
Primary Signals:
• MAMA-MACD Line above zero: Indicates positive momentum and potential uptrend
• MAMA-MACD Line below zero: Suggests negative momentum and potential downtrend
• MAMA-MACD crossing above Signal Line: Bullish momentum confirmation
• MAMA-MACD crossing below Signal Line: Bearish momentum confirmation
Advanced Signal Interpretation:
• Histogram Expansion: Strengthening momentum in current direction
• Histogram Contraction: Weakening momentum, potential reversal warning
• Zero Line Crosses: Important momentum shifts and trend confirmations
• Signal Line Divergence: Early warning of potential trend changes
Adaptive Characteristics:
• Faster response during clear trending conditions
• Increased smoothing during choppy market periods
• Automatic adjustment to different volatility regimes
• Reduced false signals compared to traditional MACD
Multi-Timeframe Analysis:
The adaptive nature allows consistent performance across different timeframes, automatically adjusting to the dominant cycle period present in each timeframe's data.
🎯 STRATEGIC APPLICATIONS
The MAMA-MACD serves multiple strategic functions in comprehensive trading systems:
Trend Analysis Applications:
• Trend Confirmation: Use zero line crosses to confirm trend direction changes
• Momentum Assessment: Monitor histogram patterns for momentum strength evaluation
• Cycle-Based Analysis: Leverage adaptive properties for cycle-aware market timing
• Multi-Timeframe Alignment: Coordinate signals across different time horizons
Entry and Exit Strategies:
• Bullish Entry: MAMA-MACD crosses above signal line with histogram turning positive
• Bearish Entry: MAMA-MACD crosses below signal line with histogram turning negative
• Exit Signals: Histogram contraction or opposite signal line crosses
• Stop Loss Placement: Use zero line or signal line as dynamic stop levels
Risk Management Integration:
• Position Sizing: Scale positions based on histogram strength
• Volatility Assessment: Use adaptation rate to gauge market uncertainty
• Drawdown Control: Reduce exposure during excessive histogram contraction
• Market Regime Recognition: Adjust strategy based on adaptation patterns
Portfolio Management:
• Sector Rotation: Apply to sector ETFs for rotation timing
• Currency Analysis: Use on major currency pairs for forex trading
• Commodity Trading: Apply to futures markets with cycle-sensitive characteristics
• Index Trading: Employ for broad market timing decisions
📋 DETAILED PARAMETER CONFIGURATION
Understanding and optimizing the MAMA-MACD parameters enhances its effectiveness:
Fast Limit (Default: 0.1):
• Controls maximum adaptation rate for MAMA line
• Range: 0.01 to 0.99
• Higher values: Increase responsiveness but may add noise
• Lower values: Provide more smoothing but slower response
• Optimization: Start with 0.1, adjust based on market characteristics
Slow Limit (Default: 0.05):
• Controls maximum adaptation rate for FAMA line
• Range: 0.01 to 0.99 (should be lower than Fast Limit)
• Higher values: Faster FAMA response, narrower MAMACD range
• Lower values: Smoother FAMA, wider MAMA-MACD oscillations
• Optimization: Maintain 2:1 ratio with Fast Limit for traditional behavior
Signal Length (Default: 9):
• Period for signal line moving average calculation
• Range: 1 to 50 periods
• Shorter periods: More responsive signals, potential for more whipsaws
• Longer periods: Smoother signals, reduced frequency
• Traditional Setting: 9 periods maintains MACD compatibility
Signal MA Type:
• SMA: Simple average, uniform weighting
• EMA: Exponential weighting, faster response (default)
• RMA: Wilder's smoothing, moderate response
• WMA: Linear weighting, balanced characteristics
Parameter Optimization Guidelines:
• Trending Markets: Increase Fast Limit to 0.15-0.2 for quicker response
• Sideways Markets: Decrease Fast Limit to 0.05-0.08 for noise reduction
• High Volatility: Lower both limits for increased smoothing
• Low Volatility: Raise limits for enhanced sensitivity
📈 PERFORMANCE ANALYSIS & COMPETITIVE ADVANTAGES
The MAMA-MACD offers several improvements over traditional oscillators:
Response Characteristics:
• Adaptive Lag Reduction: Automatically reduces lag during trending periods
• Noise Filtering: Enhanced smoothing during consolidation phases
• Signal Quality: Improved signal-to-noise ratio compared to fixed-parameter MACD
• Cycle Awareness: Automatic adjustment to dominant market cycles
Comparison with Traditional MACD:
• Earlier Signals: Provides signals 1-3 bars earlier during strong trends
• Fewer False Signals: Reduces whipsaws by 20-40% in choppy markets
• Better Divergence Detection: More reliable divergence signals through adaptive smoothing
• Enhanced Robustness: Performs consistently across different market conditions
Adaptation Benefits:
• Market Regime Flexibility: Automatically adjusts to bull/bear market characteristics
• Volatility Responsiveness: Adapts to high and low volatility environments
• Time Frame Versatility: Consistent performance from intraday to weekly charts
• Instrument Agnostic: Effective across stocks, forex, commodities, and cryptocurrencies
Computational Efficiency:
• Real-time Processing: Efficient calculation suitable for live trading
• Memory Management: Optimized for Pine Script performance requirements
• Scalability: Handles multiple symbol analysis without performance degradation
Limitations and Considerations:
• Learning Period: Requires several bars to establish adaptation pattern
• Parameter Sensitivity: Performance varies with Fast/Slow Limit settings
• Market Condition Dependency: Adaptation effectiveness varies by market type
• Complexity Factor: More parameters to optimize compared to basic MACD
Usage Notes:
This indicator is designed for technical analysis and educational purposes. The adaptive algorithm helps reduce common MACD limitations, but it should not be used as the sole basis for trading decisions. Algorithm performance varies with market conditions, and past characteristics do not guarantee future results. Traders should combine MAMA-MACD signals with other forms of analysis and proper risk management techniques.
Swing T3 Ribbon with Dynamic Bandswing T3 Ribbon with Dynamic Bands
This indicator combines T3 moving averages with a dynamic Bollinger-style ribbon to highlight early trend changes and volatility-driven price moves.
Key Features:
T3 Ribbon: Fast T3 vs. Slow T3 shows trend direction; ribbon color is green for bullish, red for bearish.
Dynamic Bands: Bands fluctuate with recent price volatility, similar to Bollinger Bands, providing a visual guide for overbought/oversold areas.
Early Swing Markers:
E0 (Early Upswing): Price above top band while trend is temporarily bearish.
Ex (Early Downswing): Price below bottom band while trend is temporarily bullish.
Alerts:
Early upswing (E0)
Early downswing (Ex)
Price crossing the bottom (red) band from below.
Purpose:
Helps traders detect early trend reversals or price breakouts in the context of volatility.
Dynamic bands adapt to changing market conditions, giving a more responsive signal than fixed-width ribbons.
RSI Zones Background + Optional RSI PaneOverview
This Pine Script indicator does two things at once:
Colors the background of the main price chart whenever the RSI value is below a lower threshold (default 30) or above an upper threshold (default 70). This highlights oversold and overbought zones directly on the price chart itself.
Optionally displays a separate RSI panel with the RSI line and shaded region between the two threshold levels for reference.
The indicator is fully customizable through the settings panel—color choices, transparency, and whether to show the separate RSI pane can all be adjusted.
Key Parts of the Code
1. Inputs
src: The source price series for RSI calculation.
len: RSI lookback length (default 14).
lowerThr and upperThr: The lower and upper thresholds (defaults: 30 and 70).
lowColor and highColor: Colors for the background when RSI is below or above the thresholds.
bgTrans: Transparency level for the background shading.
showRSI: Boolean to toggle the optional RSI pane on or off.
2. RSI Calculation
rsi = ta.rsi(src, len)
This computes the RSI from the chosen price source.
3. Background Coloring on the Price Chart
bgCol = rsi <= lowerThr ? color.new(lowColor,bgTrans) :
rsi >= upperThr ? color.new(highColor,bgTrans) :
na
bgcolor(bgCol)
If RSI ≤ lower threshold: background turns lowColor (oversold zone).
If RSI ≥ upper threshold: background turns highColor (overbought zone).
Otherwise, no background color.
4. Optional RSI Pane
plot(showRSI ? rsi : na, display=display.pane)
Plots the RSI line in a separate pane when showRSI is true; otherwise hides it.
5. Horizontal Lines for Thresholds
hLower = hline(lowerThr, ...)
hUpper = hline(upperThr, ...)
Two horizontal lines at the lower and upper thresholds.
Because hline() can’t be wrapped inside if blocks, the script always creates them but makes them transparent (using na color) when the pane is hidden.
6. Filling Between Threshold Lines
fill(hLower, hUpper, color=showRSI ? color.new(color.gray,95) : na)
When the RSI pane is visible, the area between the two threshold lines is shaded in gray to create a “mid-zone” effect. This fill also switches off (becomes na) if the pane is hidden.
7. Alerts
The script also includes two alert conditions:
When RSI crosses below the lower threshold.
When RSI crosses above the upper threshold.
How It Works in Practice
On the price chart, you’ll see the background turn blue (or your chosen color) when RSI is ≤30, and red when RSI is ≥70.
If you enable “Show RSI” in the settings, a separate RSI pane will appear below the price chart, plotting the RSI line with two threshold lines and a shaded region in between.
You can fully adjust transparency and colors to suit your chart style.
Benefits
Quickly visualize overbought and oversold conditions without opening a separate RSI window.
Optional RSI pane provides context when needed.
Customizable colors and transparency make it easy to integrate with any chart theme.
Alerts give you automatic notifications when RSI crosses key levels.
------------------------------------------------------------------------------------------------------------------
개요
이 지표는 두 가지 기능을 동시에 수행합니다.
가격 차트 뒤 배경에 색상 표시
RSI 값이 설정한 하단 임계값(기본 30) 이하이거나 상단 임계값(기본 70) 이상일 때, 가격 차트 뒤쪽에 과매도·과매수 구간을 색으로 표시해줍니다.
선택적으로 RSI 보조창 표시
옵션을 켜면 별도의 RSI 패널이 나타나서 RSI 라인과 두 임계값(30, 70)을 연결한 구간을 음영 처리하여 보여줍니다.
설정 창에서 색상·투명도·보조창 표시 여부를 전부 조정할 수 있습니다.
코드 핵심 설명
1. 입력값
src: RSI 계산에 사용할 가격 소스(기본 종가).
len: RSI 기간(기본 14).
lowerThr / upperThr: RSI 하단·상단 임계값(기본 30, 70).
lowColor / highColor: RSI가 각각 하단 이하·상단 이상일 때 배경 색상.
bgTrans: 배경 투명도(0=불투명, 100=투명).
showRSI: RSI 보조창을 켜고 끌 수 있는 스위치.
2. RSI 계산
rsi = ta.rsi(src, len)
지정한 가격 소스를 기반으로 RSI를 계산합니다.
3. 가격 차트 배경 색칠
bgCol = rsi <= lowerThr ? color.new(lowColor,bgTrans) :
rsi >= upperThr ? color.new(highColor,bgTrans) :
na
bgcolor(bgCol)
RSI ≤ 하단 임계값 → lowColor(과매도 색)
RSI ≥ 상단 임계값 → highColor(과매수 색)
나머지 구간은 색상 없음.
4. 선택적 RSI 보조창
plot(showRSI ? rsi : na, display=display.pane)
showRSI가 켜져 있으면 RSI 라인을 보조창에 표시하고, 꺼져 있으면 숨깁니다.
5. 임계값 가로선
hLower = hline(lowerThr, ...)
hUpper = hline(upperThr, ...)
하단·상단 임계값을 가로선으로 표시합니다.
hline은 if 블록 안에서 쓸 수 없기 때문에 항상 그려지지만, 보조창이 꺼지면 색을 na로 처리해 안 보이게 합니다.
6. 임계값 사이 영역 음영 처리
fill(hLower, hUpper, color=showRSI ? color.new(color.gray,95) : na)
보조창이 켜져 있을 때만 두 가로선 사이를 회색으로 채워 “중립 구간”을 강조합니다.
7. 알림 조건
RSI가 하단 임계값을 아래로 돌파할 때 알림.
RSI가 상단 임계값을 위로 돌파할 때 알림.
실제 작동 모습
가격 차트 뒤쪽에 RSI ≤30이면 파란색, RSI ≥70이면 빨간색 배경이 나타납니다(색상은 설정에서 변경 가능).
RSI 보조창을 켜면, RSI 라인과 임계값 가로선, 그리고 그 사이 음영 영역이 함께 나타납니다.
투명도를 높이거나 낮추어 강조 정도를 조절할 수 있습니다.
장점
별도의 RSI창을 열지 않고도 가격 차트 배경만으로 과매수·과매도 상태를 직관적으로 확인 가능.
필요하면 보조창으로 RSI를 직접 확인하면서 임계값 가이드와 음영 영역을 함께 볼 수 있음.
색상·투명도를 자유롭게 조절할 수 있어 차트 스타일에 맞게 커스터마이징 가능.
RSI가 임계값을 돌파할 때 자동 알림을 받을 수 있음.
Multi-Timeframe Precision SignalsMulti-Timeframe Precision Signals - Description
Indicator Overview:
Multi-Timeframe Precision Signals is a non-repainting technical analysis indicator that uses adaptive moving averages across multiple timeframes to generate precise trading signals. Designed for active traders and scalpers, it provides clear entry/exit points with configurable alert options.
Key Features:
Non-Repainting Signals: Configurable delay ensures signals don't change after formation
Multi-Timeframe Analysis: Primary + alternate resolution for confirmation
12 MA Types: SMMA, EMA, ALMA, HullMA, LSMA, and 8 other variants
Visual Alerts: Clear buy/sell triangles on chart
Real-Time Alerts: Separate buy/sell alert conditions
Scalping-Friendly: Fast signals suitable for short-term trading
Customizable Settings: Adjustable parameters for any trading style
Technical Specifications:
Signal Type: Non-repainting crossover/crossunder
Default Settings: 8-period MA, 3x alternate resolution
Alert Options: Price, webhook, email, and push notifications
Compatibility: All markets and timeframes
Ideal For:
Scalping: Fast, precise signals for short-term trades
Day Trading: Multi-timeframe confirmation for intraday moves
Swing Trading: Reliable signals across higher timeframes
All Markets: Forex, stocks, crypto, indices
Usage Notes:
Apply to your preferred chart and enable alerts for real-time notifications. The non-repainting feature ensures signals remain stable once formed. Adjust MA period and type based on your trading timeframe and volatility preferences.
Risk Disclosure:
This indicator is for educational purposes only. Past performance doesn't guarantee future results. Trading involves substantial risk. Test thoroughly in demo accounts before live trading.
DCA vs One-ShotCompare a DCA strategy by choosing the payment frequency (daily, weekly, or monthly), and by choosing whether or not to pay on weekends for cryptocurrency. You can add fees and the reference price (opening, closing, etc.).
HTF Candle Highs and Lows with Labels + High Probability Signals█ OVERVIEW
This indicator overlays Weekly, Daily, and H4 High/Low levels directly onto your chart, allowing traders to visualize key support and resistance zones from higher timeframes. It also includes high probability breakout signals that appear one candle after a confirmed breakout above or below these levels, filtered by volume and candle strength.
Use this tool to identify breakout opportunities with greater confidence and clarity.
█ FEATURES
• Plots Weekly, Daily, and H4 High and Low levels using request.security. • Customizable line colors, widths, and label sizes. • Toggle visibility for each timeframe independently. • Signals appear one candle after a confirmed breakout: • Bullish: Close above HTF High, strong candle, high volume. • Bearish: Close below HTF Low, strong candle, high volume. • Signal shapes match the color of the broken level for visual clarity.
█ HOW TO USE
1 — Enable the timeframes you want to track using the input toggles. 2 — Watch for triangle-shaped signals: • Upward triangle = Bullish breakout. • Downward triangle = Bearish breakout. 3 — Confirm the breakout: • Candle closes beyond the HTF level by at least 0.1%. • Candle body shows momentum (close > open for bullish, close < open for bearish). • Volume exceeds 20-period average. 4 — Enter trade on the candle after the signal. 5 — Use the HTF level as a reference for stop-loss placement. 6 — Combine with other indicators (e.g., RSI, EMA) for confluence.
█ LIMITATIONS
• Signals may lag by one candle due to confirmation logic. • Not optimized for low-volume assets or illiquid markets. • Best used in trending environments; avoid during consolidation. • Does not include automatic alerts (can be added manually).
█ BEST PRACTICES
• Use on H1 or higher timeframes for cleaner signals. • Avoid trading during news events or low volatility. • Backtest thoroughly before live trading. • Adjust breakout percentage and volume filter based on asset volatility. • Maintain a trading journal to track performance.
Opening Candle Zone with ATR Bands by nkChartsThis indicator highlights the opening range of each trading session and projects dynamic ATR-based zones around it.
Key Features
Plots high and low levels of the opening candle for each new daily session.
Extends these levels across the session, providing clear intraday support and resistance zones.
Adds ATR-based offset bands above and below the opening range for volatility-adjusted levels.
Customizable colors, ATR length, and multiplier for flexible use across markets and timeframes.
Adjustable session history limit to control how many past levels remain on the chart.
How to Use:
The opening range high/low often acts as strong intraday support or resistance.
The ATR bands give an adaptive volatility buffer, useful for breakout or mean-reversion strategies.
Works on any market with clear session opens.
This tool is designed for traders who want to combine session-based price action with volatility insights, helping identify potential breakouts, reversals, or consolidation areas throughout the day.
⚠️ Disclaimer: This indicator is for educational purposes only. It does not provide financial advice or guarantee profits. Always perform your own analysis before making trading decisions.
Dark Pool Estimate Signal TrackerDark Pool Signal— Detect Potential Institutional Activity
Overview
The Dark Pool Signal v1.6 indicator is a technical analysis tool designed to identify potential institutional activity by interpreting the relationship between volume, price action, and key benchmarks. It specifically targets moments of high-volume trading near the VWAP, which may suggest hidden accumulation or distribution often associated with dark pool transactions.
Instead of being a simple mashup of existing indicators, this script's core value lies in how it synergizes these components to filter out market noise and highlight statistically significant events that may otherwise go unnoticed.
Disclaimer: This script is for informational and educational purposes only. It does not constitute financial advice or a recommendation to buy or sell any asset. All trading involves risk. Past performance is not indicative of future results.
🔍 Core Logic & Calculation Concepts
This script's engine operates on a multi-stage filtering process to generate signals. The underlying concept is that institutional orders, often executed algorithmically, tend to appear as volume spikes that do not cause immediate, proportional price moves, and frequently occur near an institutional benchmark like the VWAP.
Here is a conceptual breakdown of how a signal is generated:
Volume Anomaly Detection: First, the script establishes a baseline for "normal" volume by calculating a Simple Moving Average (SMA) of volume over a specific lookback period. A "Volume Spike" is identified when the current bar's volume exceeds this baseline by a user-defined multiplier (e.g., 2.5x). This serves as the initial trigger for a potential event.
Price Action Context (VWAP Proximity): A volume spike alone is insufficient. To qualify as a potential institutional trade, the script verifies if this spike occurred while the price was trading closely to the VWAP. This "proximity" is not a fixed value; it's a dynamic channel around the VWAP calculated using the Average True Range (ATR). This intelligent filter helps distinguish potential dark pool prints from standard high-volume breakouts that move sharply away from the VWAP.
Directional Bias (Trend Filter): Once a high-volume event near the VWAP is confirmed, the script assigns a directional bias (Buy or Sell). This is achieved by referencing a short-term Exponential Moving Average (EMA).
If the event occurs while the price is above the EMA, it is flagged as a potential Buy Signal (Accumulation).
If the event occurs while the price is below the EMA, it is flagged as a potential Sell Signal (Distribution).
Signal Strength Assessment: Signals are categorized for better interpretation. A "Strong" signal is triggered if the volume spike is exceptionally large (e.g., >4x the average). An "Accumulated" signal appears when multiple regular signals occur within a short user-defined window, suggesting sustained institutional pressure.
By following this logical sequence, the indicator filters thousands of bars to present only those that meet the strict criteria for potential large-scale, off-exchange activity.
🧩 Features
Dynamic VWAP Range (ATR-based): Automatically adjusts VWAP proximity sensitivity based on current market volatility.
Multi-tiered Signal Strength: Differentiates between Normal, Strong, and Accumulated signals to visualize the intensity of activity.
Non-Repainting Confirmation: Signals are confirmed only on bar close to ensure they do not repaint.
Language Support: Dual-language display (English / Korean).
Customizable Visualization: Easily adjust label size, color transparency, offset, and the duration of highlighted zones.
Smart Alert System (v1.6): Provides comprehensive alert() and alertcondition() calls for real-time push notifications.
Recommended Timeframe Notice (v1.6): Displays a small on-chart note suggesting optimal timeframes for analysis.
🕒 Recommended Timeframes
Type Recommended Use Description
1-Hour (default) Primary Analysis Offers a good balance between signal clarity and noise reduction. Ideal for most equities and ETFs.
30-Minute Short-term Confirmation Useful for intraday analysis and refining entry/exit points.
Daily Macro View Helps identify long-term institutional positioning and potential trend reversal zones.
< 15-Minute Experimental May generate excessive noise due to market micro-volatility. Not recommended for primary analysis.
💡 Tip: Combine 1H detection with Daily chart confirmation for a more robust, dual-layer view of institutional flow.
📊 Visualization
Purple Diamonds: Strong or Normal Buy signals
Red Diamonds: Strong or Normal Sell signals
Translucent Boxes: Highlight the estimated duration of unusual activity.
Optional Labels: Display volume, VWAP delta, and signal strength for detailed analysis.
All visual components can be toggled on or off in the indicator settings.
⚙️ Alert System (v1.6)
You can create alerts for each specific signal type directly from the chart's alert menu.
⚡ Strong Buy/Sell
📡 Accumulated Buy/Sell
⬆️ Normal Buy/Sell
➖ Neutral Activity (Volume spike near VWAP without clear direction)
For confirmed, non-repainting signals, set the alert frequency to "Once Per Bar Close".
🧭 How to Use
Add the indicator to your chart.
Choose your preferred language and timeframe from the settings.
Customize visualization and alert preferences to your liking.
Observe how the combination of volume + VWAP + trend reveals potential accumulation or distribution zones.
Use alerts to monitor for significant institutional activity in real-time while you focus on other tasks.
🧠 Important Notes
This indicator is non-repainting. All signals are confirmed at the close of the bar.
It is intended for analytical and educational use, not as a stand-alone trading system.
The tool works across equities, ETFs, and crypto, but the reliability of volume data can vary by exchange. Always use this indicator as part of a comprehensive trading strategy that includes your own risk management.