Impulse Candle Detector with MA RibbonIndicator Overview
The Impulse Candle Detector with MA Ribbon highlights “impulsive” candles—those with unusually large range, volume and body proportion—by coloring them blue (bullish) or orange (bearish) and firing an alert when they complete. In addition, it plots up to four moving averages on any chosen timeframe, with full control over type, length, source and color.
What It Does
Impulse Candle Detection
A candle is marked impulsive only when all three conditions are met:
Range exceeds the n-bar SMA of true-range multiplied by a size factor.
Volume exceeds the n-bar SMA of volume multiplied by a volume factor.
Body size (|close – open|) is at least a specified fraction of the candle’s total high-low range.
MA Ribbon
Four independent moving averages can be plotted, each optionally fetched from a different timeframe. You choose the MA type (SMA, EMA, SMMA/RMA, WMA or VWMA), the calculation source (open, high, low, close or custom), the length in periods, and the line color.
Typical Use Cases
Traders can use the impulse candle signal to spot strong momentum surges or reversal traps. Overlaying these signals on an MA ribbon gives trend context: impulsive candles aligned with the ribbon direction suggest continuation, while impulsive candles against the ribbon warn of counter-trend exhaustion. Alerts automate detection so you never miss a key move.
Inputs and Defaults
Impulse Candles Group
You’ll find four inputs under “Impulse Candles.”
Length for Average Calculation (integer, default 10): bars used to compute the SMA of true-range and volume.
Size Multiplier (float, default 1.5): threshold factor for range vs. average range.
Volume Multiplier (float, default 1.5): threshold factor for volume vs. average volume.
Body-to-Wick Ratio (float, default 0.7): minimum candle-body fraction of total range.
Moving Averages Group
There is one timeframe input and then settings for MA #1 through MA #4. Each MA has five properties.
Set MA Timeframe (timeframe, default blank): timeframe to fetch the MAs; leave blank to use the chart’s timeframe.
For each MA #X: Show (true/false), Type (SMA, EMA, SMMA/RMA, WMA, VWMA), Source (price series), Length (integer ≥ 1)
Color (hex code)
Alert Configuration
When all three impulsive-candle conditions are true on the prior bar, an alert named “Impulsive Candle” fires with the message “Impulsive candle detected.”
How to Use
Copy the script into TradingView’s Pine Editor, save and add it to your chart.
Under Impulse Candles, adjust length and multipliers to match your asset’s volatility.
Under Moving Averages, set your desired timeframe (if different), then toggle and customize each MA line.
Create an alert on the indicator, selecting the built-in Impulsive Candle condition to get notified whenever a qualifying candle closes.
Disclaimer
This indicator is provided for educational purposes only and does not constitute financial advice or a guaranteed strategy. Trading involves substantial risk and may result in significant losses; past performance does not guarantee future results. Always conduct your own research and consider seeking advice from a qualified financial professional before making any trading decisions.
Indicatori e strategie
Volumen + Agotamiento + Tendencia Vol ↓This script detects potential exhaustion zones based on volume behavior, ideal for intraday trading on the 5-minute timeframe.
🔍 What it highlights:
- **Exhaustion signals** (bullish or bearish) when:
- Current volume is **below the 30-period moving average**.
- The previous candle had higher volume.
- Price attempts to continue in one direction but shows weakness.
📉 It also displays:
- A subtle "Vol ↓" label when there is a **volume downtrend**, defined as at least 60% of the last 5 candles showing decreasing volume.
🕒 Time filter:
- Signals only appear between **9:00 AM and 2:00 PM (New York time)**, aligning with the most liquid trading hours.
✅ Recommended usage:
- Best suited for **5-minute charts** and **intraday setups**.
- Works great as a confirmation layer for support/resistance levels, VWAP zones, or trend exhaustion.
- Can be combined with order flow tools like Bookmap or delta-based analysis for precise execution.
⚠️ Note:
This is not a delta or absorption-based indicator. It simplifies visual exhaustion detection based on volume structure. Use it as a **contextual alert**, not a standalone signal generator.
📎 Script by: Daniel Gonzalez
🔁 100% open-source and customizable
Linear Regression Trendline on Close
This indicator draws a linear regression trendline that connects the closing prices of the last N candles, where N is a user-defined input.
🔹 Key Features:
Uses least-squares linear regression to fit a straight line to recent closes
Automatically adapts to any timeframe (5min, 1h, daily, etc.)
Input lets you select how many recent candles to include
Helps identify short-term trend direction and momentum
🔸 How to Use:
Set the "Number of Candles" input to choose how far back the regression line should look
The line updates in real time as new candles form
Use it to gauge short-term bias, or combine with support/resistance/zones for confirmation
🧠 Tip: Increase the number of candles for smoother trends; decrease for more reactive trendlines.
Crypto Scalping Dashboard [Dubic]Crypto Scalping Dashboard - 5m
This powerful and user-friendly indicator is designed specifically for crypto scalpers trading the 5-minute timeframe. It combines trend-following and pullback detection techniques to help you enter trades with high confidence and precision.
Key Features:
EMA Trend Detection: Uses fast (9) and slow (21) EMAs to identify the primary market trend.
SuperTrend Confirmation: Filters trades based on the SuperTrend indicator to confirm momentum direction.
Pullback Re-entry Signals: Detects optimal pullbacks using RSI and price action around the fast EMA, enabling you to re-enter trending moves for maximized profits.
Recent High/Low Avoidance: Prevents entries near recent extreme price levels to reduce false signals and premature reversals.
Clear Visual Alerts: Buy and sell arrows mark initial entries and pullback re-entries right on your chart.
Intuitive Dashboard: A compact on-chart table displays real-time signals from EMA, SuperTrend, RSI pullback status, and overall trade bias.
Alert-Ready: Custom alert conditions for new entries and re-entries ensure you never miss a trading opportunity.
How It Works:
The indicator combines multiple trend and momentum signals to identify the start of strong trends and potential re-entries after pullbacks. It only signals entries when the market conditions align across EMA, SuperTrend, and RSI, ensuring high-probability trades. It also avoids taking trades too close to recent support or resistance levels to minimize risks.
Ideal for traders seeking a balanced blend of trend following and tactical pullback entries in fast-moving crypto markets.
38-Ticker Volume Alertcompares ticker volume with its volume moving average and sends alert in case of volume surprise
(Decode) Moving Average Toolkit(Decode) Moving Average Toolkit: Your All-in-One MA Analysis Powerhouse
The Decode MAT is a comprehensive TradingView indicator designed to give you deep insights into market trends and potential trading signals using a versatile set of moving averages (MAs) and related tools. It's built for traders who want flexibility and a clear visual representation of MA-based strategies.
Here’s a breakdown of its key features and how you might use them in your trading:
1. Extensive Moving Average Options (5 EMAs & 5 SMAs)
What it is: The toolkit provides you with ten moving averages in total:
- Five Exponential Moving Averages (EMAs)
- Five Simple Moving Averages (SMAs)
Customization: You can set the length (period) for each of these ten MAs independently. This means you can track very short-term price action, long-term trends, and anything in between, all on one chart.
Visibility Control: Each MA line can be individually turned on or off directly from the "Inputs" tab using its "Show EMA X" or "Show SMA X" checkbox. This keeps your chart clean and focused. The color and line width for each MA are pre-defined in the script (EMAs are blueish with transparency, SMAs are solid with corresponding colors) but can be further customized in the "Style" tab of the indicator settings.
Defaults: EMA 1 (10-period) and EMA 2 (20-period) are visible by default. SMA 3 (50-period) and SMA 5 (200-period) are also visible by default. Other MAs are off by default.
Trading Ideas:
Trend Identification: Use longer-term MAs (e.g., 50, 100, 200-period SMA or EMA) to identify the overall market direction. Price above these MAs generally suggests an uptrend; price below suggests a downtrend.
Dynamic Support & Resistance: MAs can act as dynamic levels of support in an uptrend or resistance in a downtrend. Watch for price bouncing off these MAs.
Multi-Timeframe Feel: By plotting MAs of different lengths (e.g., a 20-period for short-term and a 200-period for long-term), you can get a sense of how different market participants might be viewing the trend.
2. EMA/SMA Ribbons (5 Hardcoded Pairs)
What it is: The indicator can display up to five "ribbons." Each ribbon is hardcoded to visually fill the space between a specific EMA and its numerically corresponding SMA:
- Ribbon 1: EMA 1 / SMA 1
- Ribbon 2: EMA 2 / SMA 2
- Ribbon 3: EMA 3 / SMA 3
- Ribbon 4: EMA 4 / SMA 4
- Ribbon 5: EMA 5 / SMA 5
Enable/Disable: Each of these five ribbons can be individually turned on or off from the "Inputs" tab using its "Show Ribbon EMAX/SMAX" checkbox. A ribbon will appear if its toggle is checked, regardless of whether its constituent MA lines are currently visible (the fill uses the underlying plot data).
Defaults: Ribbon 3 (EMA3/SMA3) is visible by default. Other ribbons are off by default.
Color-Coded Insights:
Green Ribbon: Appears when the EMA is above its corresponding SMA, often indicating bullish momentum or an uptrend for that pair.
Red Ribbon: Appears when the EMA is below its corresponding SMA, often indicating bearish momentum or a downtrend for that pair.
Trading Ideas:
Trend Strength & Confirmation: A widening ribbon can suggest increasing trend strength. A ribbon consistently staying one color (e.g., green) reinforces the current trend.
Entry/Exit Signals: Some traders look for the ribbon to change color as a potential signal. For example, a change from red to green might be a bullish entry signal, while green to red might be bearish.
Visualizing Momentum: The ribbons provide an immediate visual cue of the relationship between the faster-reacting EMA and the smoother SMA for standard MA pairings.
3. Configurable Crossover Alerts & On-Chart Symbols (Up to 5 Alerts)
What it is: This is a powerful feature for signal generation. You can set up to five independent crossover alert conditions.
Flexible MA Selection for Alerts: For each of the five alerts, you can choose any two moving averages from the ten available (5 EMAs, 5 SMAs) to act as your "Fast MA" and "Slow MA."
On-Chart Visual Symbols:
When a configured "Fast MA" crosses above the "Slow MA" (a bullish crossover), a green upward triangle (▲) can be plotted below the price bar.
When a configured "Fast MA" crosses below the "Slow MA" (a bearish crossover), a red downward triangle (▼) can be plotted above the price bar.
A symbol will only appear if: 1) The main "Enable Alert X" checkbox is active, 2) The crossover condition is met, AND 3) The "Show Symbols for Alert X" checkbox is active.
Defaults: Alert 1 (EMA 1 / EMA 2 cross) is enabled with symbols on. Alert 5 (SMA 3 / SMA 5 cross) is enabled with symbols on. Alerts 2, 3, and 4 are disabled by default.
TradingView Alert Integration: The script defines these crossover conditions. You can then go into TradingView's alert manager, select this indicator, and choose a specific condition (e.g., "Alert 1 Bullish Cross") to receive notifications.
Trading Ideas:
Classic & Custom Crossover Signals: Set up alerts for well-known patterns like the Golden/Death Cross, or create alerts for crossovers between any MAs relevant to your strategy.
Entry/Exit Triggers: Use crossover alerts as potential entry or exit signals.
Multi-Condition Confirmation: Combine alert signals with the visual information from the ribbons and overall MA structure.
4. General Customization
Price Source: You can choose what price data the moving averages are calculated from (e.g., Close, Open, High, Low, (H+L)/2, etc.).
Overall Trading Strategies & Benefits
The (Decode) Moving Average Toolkit is designed for versatility:
Trend Following: Use long-term MAs for trend direction, and shorter-term MA crossovers (with alerts) or ribbon changes for entries in the direction of that trend.
Swing Trading: Identify swings using medium-term MAs and look for pullbacks or crossovers as entry points, confirmed by ribbon behavior.
Momentum Confirmation: Gauge trend strength using the relationship between multiple MAs, visualized through the ribbons.
Focused Charting: Toggle the visibility of individual MAs and ribbons to keep your chart relevant to your current analysis.
Automated Scanning (via Alerts): Set up alerts for your preferred crossover conditions across multiple instruments and let TradingView notify you.
Bollinger Bands on DMI (+DI / -DI)TradingView Pine Script: Bollinger Bands on +DI/-DI
Here's a custom Pine Script for TradingView that overlays Bollinger Bands on +DI and -DI:
//@version=5
Index Futures vs Cash ArbitrageThis indicator measures the statistical spread between major stock index futures and their corresponding cash indices (e.g., ES vs SPX, NQ vs NDX) using Z-score normalization. It automatically detects commonly traded index pairs (S&P 500, Nasdaq, Dow Jones, Russell 2000) and calculates a smoothed spread between futures and spot prices. A Z-score is then derived from this spread to highlight potential overpricing or underpricing conditions.
Traders can use customizable thresholds to identify mean-reversion opportunities where the futures contract may be temporarily overvalued or undervalued relative to the index. The histogram highlights the direction of the Z-score (green = futures > index, red = futures < index), while built-in alerts notify users of key threshold breaches or zero-line crosses.
This tool is designed for discretionary traders, pairs traders, or anyone exploring statistical arbitrage strategies between futures and spot markets. It is not a buy/sell signal by itself and should be used with additional confluence or risk management techniques.
Trend-Based High Vol Doji (Pullback Reversal)This TradingView script identifies high-probability reversal Doji candles that appear after pullbacks within a larger trend, using Heiken Ashi candles and volume confirmation.
EMA 20/50/100/200 Color-Coded20/50/100/200 EMA indicator with a color-coding option that changes the color of an EMA line to green every time the price is above the EMA and red every time the price is below the EMA.
Buy Setup with TP/SL5 EMA entry and Stoploss only. you need to take decision of where to take profit. some time trade can continue in your favour for 2 to 3 days.
Triple Moving Average by XeodiacThis script, "Triple Moving Average Indicator", is a simple yet powerful tool designed to help traders track trends and detect potential market reversals. Here’s what it does:
What It Does:
Plots three moving averages on your chart.
Customizable to suit your trading style with options for the type of moving average, the period, color, and thickness of the lines.
Alerts you when important crossovers occur, helping you stay on top of potential trading opportunities.
Features:
Customizable Moving Averages (MAs):
Choose from four types of MAs:
Simple Moving Average (SMA)
Exponential Moving Average (EMA)
Smoothed Moving Average (SMMA)
Weighted Moving Average (WMA)
Set individual periods, colors, and line thickness for each moving average.
Alerts:
Notifies you when:
The price crosses above or below any moving average.
One moving average crosses another (e.g., short-term crosses above long-term).
Visual Clarity:
Plots three distinct lines on the chart for easy comparison and interpretation.
Why Use It?
Track Trends: See the direction of short, medium, and long-term trends at a glance.
Spot Crossovers: Identify golden crosses (bullish) or death crosses (bearish) to refine entry and exit points.
Stay Informed: With alerts, you’ll never miss a key market movement.
Bearish Pennant DetectorHere’s a simple Pine Script that attempts to identify bearish pennant patterns and plot a clear visual on TradingView. This version uses:
A downtrend check using moving averages.
A tight consolidation (pennant body) via narrowing Bollinger Bands.
A bearish breakout trigger.
A red triangle visual on the chart when a bearish pennant is detected.
CVD Divergenz System – modular with Exchange + LabelsA smart volume-based strategy tool using CVD divergence, ATR-based risk management, and Open Interest filters — now with visual chart labels and exchange switching.
Designed for crypto traders who want precise entry signals, volume insight, and a clean UI.
🔍 Key Features:
✅ CVD Divergence Detection
Automatically detects bullish or bearish divergences between price and cumulative delta (CVD)
✅ Open Interest Logic (Simulated)
Signals are only valid when OI is rising – otherwise a warning is issued
✅ ATR-Based Entry, Stop & Target Zones
Auto-calculated based on your chosen R multiple (e.g., 1.5R), plotted in the chart
✅ Visual Dashboard Panel (table)
Compact panel with CVD, OI change, ATR, signal status, and selected exchange — always visible in top-right
✅ Exchange Selector + Fallback to Binance
Choose between Binance, Bybit, Bitget, or Coinbase — if data is unavailable, Binance is used automatically
✅ Modular Chart Labels
Optionally display 📈 LONG, 📉 SHORT or ⚠️ WARNING labels directly on the chart with a toggle
✅ Alerts Built-In
Get notified instantly when a setup triggers (long, short, or warning) — works with app, popup, or webhook
✅ Fully Modular Controls
Enable or disable the dashboard, trade zones, and labels via simple checkboxes
⚠️ Technical Notes:
CVD is calculated from delta volume (volume * sign(close - open)) — not true order flow
Open Interest is simulated using volume as a placeholder (due to Pine Script limitations)
Best suited for 5–30min timeframes on crypto futures pairs like BTCUSDT, ETHUSDT, etc.
💡 Pro Tips:
Use near key support/resistance zones or liquidity levels
Combine with price action and higher timeframe confluence
Alerts work best with "Once Per Bar Close" trigger setting
📈 Built to support faster decisions, cleaner setups, and institutional-level insights — all in one tool.
Aggregated Perpetual Futures Open InterestPurpose
Aggregates perpetual futures open interest across Binance, Bybit, and OKX for the base currency of the asset loaded in your tradingview window.
How It Works
Symbol detection: The script grabs syminfo.basecurrency (e.g., “BTC”) from whatever market is on screen.
Ticker mapping: It constructs the three perp-OI feeds that TradingView publishes in the form EXCHANGE:USDT.P_OI
Data request: For each feed it fetches the full OHLC candle (request.security) on the chart’s timeframe. If a venue doesn’t list that perp, the request simply returns na.
Aggregation: The script adds the opens, highs, lows, and closes of all non-na feeds to produce a single aggregated OI candle.
General Notes
The status line shows each venue’s individual OI close.
Real-Time RSI Map (RT-RSI)🌀 Real-Time RSI Map (RT-RSI) is an enhanced RSI-based indicator designed to address key limitations of the traditional Relative Strength Index. It specifically solves two major issues:
✅ Real-time tracking of RSI dynamics in relation to price – RRSI captures price levels where RSI briefly enters extreme overbought or oversold zones during the trading session, allowing traders to assess actual intraday "buy/sell" signals rather than relying solely on the closing RSI value.
✅ Fills the gap where RSI spikes intraday but closes neutral – Traditional RSI often misses significant intraday movements that reverse before close. RRSI records these temporary extremes, helping traders detect valuable signals that would otherwise be lost.
📌 Key Benefits:
Identifies price points corresponding to momentary RSI extremes, revealing hidden opportunities
Helps distinguish between true overbought/oversold moves and false breakouts
Especially valuable for active traders and intraday strategies as a real-time signal reference
📐 Fully customizable and compatible with other indicators like RSI, Bollinger Bands, and MACD to build more complete entry/exit systems.
Horizontal ATR LinesDisclaimer:
This script was generated using OpenAI’s ChatGPT. I take no responsibility for the correctness, performance, or financial impact of this indicator. Use it at your own risk and discretion.
This indicator draws horizontal ATR-based levels from the last closed candle on a user-selected timeframe. It is designed for traders who want to visualize realistic volatility zones for setting dynamic support/resistance, take-profit, or stop-loss levels.
What it does:
Calculates the Average True Range (ATR) using a customizable period and timeframe.
Plots four horizontal lines:
+1 ATR and –1 ATR from the last closed candle’s close
+X ATR and –X ATR, where X is a second custom multiplier
Each level includes a compact label showing:
The price of the level
The percentage distance from the close price
Use cases:
Identify realistic intraday or swing price movement boundaries
Build volatility-aware take-profit and stop-loss zones
Visually track market compression or expansion in context
Customization:
ATR period and timeframe
Two independent ATR multipliers
Custom color settings for each group of levels
Global M2 Money Supply (USD) (27 currencies)M2 for 27 currencies, converted into USD.
Does not constitute 100% of global M2, but ~90% accounted for.
Leverages Dylan LeClair's starting point, adds to it.
1m EMA Background ColorEntry Color background indicator where when the 5 ema 1 min timeframe is above the 21 ema 1 min timeframe background is green and when 5 is below the 21 it is red. this can be used for long or short trading