Any Divergence for Many Indicators v6The community-based modification of the Divergence for Many Indicators v4 version has been upgraded to Pine Script v6, with the addition of 3 integrated alert signals. These alerts can simultaneously trigger notifications for both top and bottom divergences, fully utilizing the alert conditions of the watchlist.
Indicatori e strategie
Sonic Simple Long & Short BiasHi Guys
This is one simple indicator help us find the Long (Buy) Bias or Short (Sell) Bias.
M2SL/DXY vs Crypto//@version=5
indicator("M2SL/DXY vs Crypto", shorttitle="M2SL/DXY", timeframe="", timeframe_gaps=true)
// 定义 SMA 的周期
sma_length = input.int(20, title="SMA Length", minval=1) // 默认改为20,如果确实需要原始值,可以改回1
// 获取数据
// 注意:M2SL 通常是周度或月度数据。在日线图等低周期图表上,它会保持不变直到新数据发布。
m2sl_raw = request.security("FRED:M2SL", timeframe.period, close)
dxy_raw = request.security("TVC:DXY", timeframe.period, close)
// 计算 SMA (如果 sma_length > 1)
m2sl_sma = ta.sma(m2sl_raw, sma_length)
dxy_sma = ta.sma(dxy_raw, sma_length)
// 计算比率
// 使用平滑后的数据进行比率计算
ratio = m2sl_sma / dxy_sma
// 或者,先计算比率,再平滑比率 (这是另一种方法,结果会不同)
// ratio_raw = m2sl_raw / dxy_raw
// ratio_smoothed = ta.sma(ratio_raw, sma_length)
// 绘制结果
// 解释 offset: 正数向右(未来)平移,负数向左(过去)平移
// offset = 77 是一个非常大的向前平移,请确认是否需要。如果不需要,设为 0 或注释掉。
plot_offset = input.int(0, title="Plot Offset", tooltip="Positive shifts plot to the right (future), negative to the left (past). 77 is a large forward shift.")
plot(ratio, title="M2SL/DXY Ratio", color=color.new(color.blue, 0), linewidth=2, offset=plot_offset)
// 如果你想看到 M2SL 和 DXY 的原始值或SMA值进行调试或比较,可以取消注释下面的行
// plot(m2sl_sma, "M2SL SMA", color.orange)
// plot(dxy_sma, "DXY SMA", color.green)
50 & 200 SMA Death CrossSimple 50 and 200 Simple Moving Average Script with customizations. You can use these on the Daily Timeframe to confirm the "Death Cross" when trading Bitcoin. Right before the "Death Cross" happens the price usually dumps, and Right as they cross the price usually pumps. (Bitcoin must be in a bull market already)
Created by: Dan Heilman
CME Gaps on Price chart (Xpdev)This script was published to help traders monitor market gaps on the CME and overlay them directly on the price chart.
The script works in general for any market and on any time frame.
The script allows the user to:
- Specify the CME ticket for gap searching (default is BTC1!);
- Specify the time frame for gap searching;
- Specify how the gaps should be filled;
- Identify price gaps of a custom width (Gap Width);
- Overlay on the price chart gaps found through showing red and green areas.
- Option to show label and price CME on chart with a proximity parameter
- Option to show only Bull or Bear gaps
- Option to customize color for Bull and Bear gaps
- Options for gap info label
- Option for gap filling criteria
- Option to show closer Gaps info table
- Option to show statistic info table
** WARNING **
CME data may be delayed or unavailable depending on the type of subscription or additional packages purchased for your TW profile.
ICT OB/FVG + Envelope (VWAP Alertable)40 vol trading and envelope band trading.
vwap 40 over buy, break sell.
15 %, sell 1/3
30% sell 1/3
45% sell 1/3
Multi-Timeframe Trend Lines📌 What This Indicator Does
This tool helps you see the direction of the market across different timeframes—all on one chart.
Imagine you're looking at the price of a stock, crypto, or any other asset. You probably know the price can move differently in the short term and the long term. This indicator draws slanted lines to show if the price is generally going up or down over different time periods—like the past 1 minute, 5 minutes, 1 hour, 1 day, or even 1 month.
These lines are colored:
Green if the price is going up (a rising trend).
Red if the price is going down (a falling trend).
You can choose which timeframes you want to see—like 5 minutes or 1 day—by ticking checkboxes.
✅ Why This Is Useful
1. Helps You See the Bigger Picture
Even if you’re trading on a short timeframe (like 5 minutes), this indicator shows you the trend in longer timeframes (like 1 hour or 1 day). This helps you avoid going against the overall direction of the market.
2. Gives You More Confidence
When several timeframes show the same direction (all lines green, for example), it gives you more confidence that the trend is strong.
3. Saves Time
Instead of switching between different charts (like going from a 1-hour chart to a daily chart), you can see all the trends right on your current chart.
4. Easier Decision Making
You can quickly decide if it’s a good idea to buy (when most lines are green) or sell (when most lines are red).
👶 Example for a Beginner
Let’s say you’re looking at a 15-minute chart and thinking of buying.
* The 15-minute line is green (short-term price is going up).
* The 1-hour line is also green (medium-term price is going up).
* The 1-day line is green too (long-term price is going up).
This is a good sign that everything is moving upward, and it may be safer to buy.
But if the 1-day line is red while the shorter ones are green, it might mean the upward move is just temporary. That’s something to be careful about.
HONZ4 SessionsDisplaying sessions according to stock market opening times:
Stock exchanges: JPX (Tokyo), LSE (London), NASDAQ (New York).
Japan – 9:00 - 15:25 (UTC+9)
London – 8:00 - 16:30 (UTC / in summer UTC+1)
New York – 9:30 - 16:00 (UTC-5 / in summer UTC-4)
The conversion of these times to UTC as of May 2025 looks like this:
Japan – 0:00 - 6:25 (UTC)
London – 7:00 - 15:30 (UTC)
New York – 13:30 - 20:00 (UTC)
Multi VWAPsMulti VWAPs Inspired by Biran Shannon and his book:
"MAXIMUM TRADING GAINS WITH ANCHORED VWAP . The Perfect Combination of Price, Time & Volume."
(ISBN 9798986868004)
A comprehensive VWAP (Volume Weighted Average Price) indicator that combines multiple timeframes and sessions in one view. Perfect for day trading and swing trading across different markets.
Features:
• Multiple VWAP Timeframes:
- Daily VWAP
- Weekly VWAP
- Monthly VWAP
- Quarterly VWAP
- Yearly VWAP
• Session-specific VWAPs:
- London Session (3:00 AM - 11:30 AM NY time)
- New York Session (9:30 AM - 4:00 PM NY time)
• Additional Indicators:
- Midnight Price Line (Previous day's closing price)
- 5-Day Moving Average
- 50-Day Moving Average
• Customization Options:
- Toggle individual VWAPs and indicators
- Customize colors for each component
- Adjustable label positioning
- MA smoothing settings
- Option to show/hide previous day's midnight price
• Smart Features:
- Auto-adjusting calculations based on timeframe
- Clear session boundaries
- Optimized for all chart timeframes
- Clean label system
Perfect for:
• Day traders tracking multiple timeframe momentum
• Swing traders using longer-term VWAPs
• Session traders focusing on London/NY hours
• Multi-timeframe analysis
• Price action trading with VWAP support/resistance
This indicator combines essential trading tools in one clean interface, helping you make informed decisions without cluttering your chart.
Alert TrendThis indicator is designed to function as a dynamic BIAS tool but can be adapted to various strategies depending on user needs.
Key Features and Integration:
Personally, I pair it with the "EMA Suite" indicator, as my strategy revolves around Fibonacci-based moving averages. The indicator uses EMA 55 and EMA 233 as trend references, triggering a trend shift when a candle closes fully above or below these levels. To maintain structural integrity, the EMA values are not user-configurable in the settings: adjustments require direct script modification (e.g., switching to EMA 50 and EMA 200, widely recognized reference levels), this ensures logical consistency for advanced users familiar with Pine Script.
Output Signals and Interpretation:
The indicator generates four distinct signals:
1. Uptrend: Candle closes above both EMA 55 and EMA 233.
2. Weak Uptrend: Candle closes above EMA 55 but below EMA 233.
3. Downtrend: Candle closes below both EMA 55 and EMA 233.
4. Weak Downtrend: Candle closes below EMA 55 but above EMA 233.
The area between the two EMAs represents a "complex zone" where price action contradicts higher timeframe trends. To resolve ambiguity, combine this indicator with a primary timeframe (e.g., H4) and a confirmation timeframe (e.g., H1). In smaller timeframes may also serve as entry signals, a feature currently under exploration for automation.
Alert System and Strategy Integration:
The indicator includes customizable alerts for all four signals collectively or individually, streamlining integration into Strategy scripts. This flexibility enhances adaptability for backtesting or live trading.
Critical Note:
Configure the indicator to display exclusively on the selected timeframe. Higher intervals fail to render all signals due to overlapping visualizations, distorting analysis. To resolve this, set the visibility parameter to "Visibility on intervals/Current interval and below" in the chart settings. This ensures clarity and preserves signal accuracy.
Development Status and Collaboration:
As part of an ongoing project, this tool is already integrated into my personal strategy. While functional and publicly shareable, further refinements are planned. Though not a professional developer, I utilize Deepseek for coding assistance and possess sufficient Pine Script literacy to oversee the logic. Feedback, suggestions, and collaborations are welcome to optimize its utility.
I hope this tool proves valuable to fellow traders navigating multi-timeframe analysis and trend confirmation.
Smart S/R ZonesThis is not your average S/R script.
It combines proximity, bounce frequency, and volume clustering to automatically identify the most reliable support and resistance zones on your chart — no guesswork needed.
How It Works:
• Scans for recent highs/lows, SMA50 & SMA200, and pivot swing points
• Ranks each potential level using a weighted scoring system:
• Proximity to current price (50%)
• Bounce Count (30%) — how many times price respected that level
• Volume Score (20%) — how much volume traded around that level
• The top support and resistance levels are plotted with:
• Clear dashed lines
• Color-filled zones
• Simple percentage distance labels
Why This Script Stands Out:
• No settings to tweak — it just works
• Helps you react faster with high-confidence levels
• Adapts to any market: crypto, forex, stocks, indexes
• Ideal for both intraday and swing trading setups
Built-in Intelligence. Clean Visuals. Zero Noise.
TrueDelta Candles📖 Description:
TrueDelta Candles is a precision tool for traders who want deeper insight into market sentiment through real-time volume delta analysis. Rather than using traditional volume bars, this indicator colors each chart candle based on the net volume delta—the difference between buying and selling volume—fetched from a lower timeframe.
🚀 Key Features:
🎯 Real Candle Coloring: Colors actual price candles based on delta volume—green (buying pressure), red (selling pressure).
⏱️ Multi-Timeframe Volume Analysis: Automatically selects the appropriate lower timeframe for better delta approximation, or lets you set a custom one.
🔬 Order Flow Insight: Visualizes the tug-of-war between buyers and sellers within each candle.
⚡ Lightweight & Non-Intrusive: No clutter—just clean color overlays on your chart candles.
🔄 Live Updating: Responds instantly as new data arrives.
🧠 Ideal For:
Intraday and scalping strategies.
Momentum and breakout traders.
Order flow enthusiasts looking for a visual edge.
🛠️ How It Works:
Behind the scenes, the script uses ta.requestVolumeDelta() to retrieve granular buy/sell volume data from a lower timeframe. The net delta volume then determines whether the candle is colored green (positive delta) or red (negative delta). This makes it easy to spot when market pressure aligns or diverges from price action.
⚙️ Settings:
Use Custom Timeframe: Manually select the lower timeframe used for delta calculation (e.g., "1", "5").
Default Auto Mode: Automatically adapts to your current chart resolution for optimal data balance.
If you're serious about understanding the real dynamics behind every candle, TrueDelta Candles adds an essential layer of volume-based context that price alone can't offer.
Advanced Candlestick Pattern Detector (12 Types)This Pine Script identifies 12 major candlestick patterns and distinguishes them based on market context (trend), especially for those with similar shapes (e.g., Hammer vs Hanging Man).
FVG Candle HighlighterThis indicator highlights only the true Fair Value Gap (FVG) creator candle — the middle candle in a 3-bar FVG formation — with zero clutter.
🔹 Bullish FVG: Candle is colored if price gaps above the high two bars back
🔹 Bearish FVG: Candle is colored if price gaps below the low two bars back
✨ No boxes. No zones. Just pure, visual price-action accuracy.
🔧 Powered by Pine Script v6
🧠 Based on institutional-style FVG logic
🎯 Ideal for Smart Money / ICT / Order Block strategies
OrangeCandle Multi-Wave Trend Analyzer🍊 OrangeCandle Multi-Wave Trend Analyzer - OrangeCandle TripleWave
Your all-in-one visual helper for spotting market momentum, reversals, and volume-driven trends.
This indicator blends three trusted tools into one cozy setup:
Elliott Wave Oscillator (EWO) shows whether momentum is leaning bullish or bearish — with color-coded bars for easy viewing.
WaveTrend Oscillator helps you catch those classic overbought/oversold moments, along with crossover signals that hint at potential reversals.
Volume-Supported Linear Regression Trend gives you a sense of buying vs. selling pressure, using volume-weighted trend slopes for both short- and long-term outlooks.
It’s like having a weather forecast for the markets: clean, colorful, and surprisingly intuitive once you get the hang of it. Whether you're day trading or swing trading, this script aims to keep your chart informative without the clutter. Just plug it in, take a look, and let the waves guide you.
CVD 11192The Cumulative Volume Delta (CVD) is a volume-based technical indicator that measures the net buying or selling pressure in a market by tracking the relationship between price movement and volume. Unlike traditional volume indicators that only show the total trading activity, CVD provides insight into whether volume is predominantly buying or selling volume.
EMA 9, 21, 50, 200 with Touch Alert📈 EMA 9, 21, 50, 200 with Touch Alert
This indicator plots four key Exponential Moving Averages (EMAs):
EMA 9 (Black)
EMA 21 (Gold)
EMA 50 (Purple)
EMA 200 (Green)
These EMAs are commonly used by traders to identify market trends, momentum, and key areas of dynamic support and resistance.
🔔 Alert Feature
A built-in alert condition is triggered whenever the price touches the 21 EMA, allowing traders to react quickly to potential trend continuation or reversal zones. This is particularly useful for traders who rely on EMA-based pullback entries or want to monitor how price behaves around this key average.
⚙️ How It Works
The indicator checks if the closing price comes within a very small tolerance range of the 21 EMA, simulating a “touch”.
An alert condition is built in, so you can create a Tradingview alert using this logic and stay informed across your charts.
Volatility Exhaustion Cloud
// 📊 VOLATILITY EXHAUSTION CLOUD — Indicator Summary
//--------------------------------------------------------------------------------------------------
// 🔍 What It Is:
// A hybrid volatility overlay that combines Keltner Channels and FRAMA (Fractal Adaptive Moving Average) bands.
// It visually maps volatility extremes and tracks moments of exhaustion during strong price expansions.
//
// 📐 What It Measures:
// - **Keltner Channels** are ATR-based and reflect expected volatility envelopes.
// - **FRAMA Bands** adapt more aggressively to fractal price behavior.
// When the FRAMA band crosses outside the Keltner envelope, it suggests price is entering unsustainable extremes.
//
// ⚠️ Exhaustion Signals:
// - **Bull Exhaustion**: FRAMA Upper crosses above Keltner Upper → indicates aggressive overextension to the upside.
// - **Bear Exhaustion**: FRAMA Lower crosses below Keltner Lower → potential downside exhaustion or trap.
// - **Exhaustion Over**: Keltner band crosses back over FRAMA → market volatility rebalances or trend resumes.
//
// 🕒 Adaptive Settings:
// The indicator auto-optimizes for each timeframe, tightening band responsiveness to match market tempo
// — from scalping (1m) to swing trading (1D+).
//
// 🧠 How to Use:
// - Watch for FRAMA breakouts as potential exhaustion points.
// - Use Keltner crossbacks to signal possible trend continuation.
// - Combine with structure (BOS/CHoCH), order blocks, or volume for confirmation.
//
//--------------------------------------------------------------------------------------------------
EMA Break & Retest + Trend TableThis script is designed to identify potential buy and sell trading opportunities based on 21 EMA (Exponential Moving Average) break and retest patterns, with confirmation from multi-timeframe trend analysis. It combines actionable signal generation with a clean, real-time trend overview table.
✅ 1. EMA Break & Retest Logic
Detects when the price crosses above or below the 21 EMA and then closes in the direction of the breakout.
Generates buy signals on upward break/retest, and sell signals on downward break/retest.
✅ 2. Multi-Timeframe Confirmation
Filters signals using higher timeframe trends to avoid false entries.
Buy signals are shown only if the 1H or 4H trend is bullish.
Sell signals are shown only if the 1H or 4H trend is bearish.
✅ 3. Visual Signal Plotting
Displays green "BUY" labels below bars and red "SELL" labels above bars.
Users can toggle buy/sell signals on or off with checkboxes.
✅ 4. Alerts
Built-in alertcondition() functions allow traders to set real-time alerts when buy or sell signals are triggered.
✅ 5. Multi-Timeframe Trend Table
A dynamic table appears in the top-right corner showing trend status across:
Daily (D)
4 Hour (4H)
1 Hour (1H)
15 Minute (15M)
5 Minute (5M)
Each timeframe is marked as Bullish (green) or Bearish (red) depending on the current price vs. 21 EMA.
The latest signal (“BUY” / “SELL” / “—”) is displayed at the bottom of the table.
UT Bot + Cooldown + Visual FVGSynopsis – UT Bot + Cooldown + Visual FVG
This TradingView script combines:
✅ UT Bot Reversal Signals
Based on ATR and volatility logic
BUY when trend flips from bearish to bullish
SELL when trend flips from bullish to bearish
✅ Cooldown Filter
Limits signals to 1 per X bars (default 30)
Prevents overtrading during choppy price action
✅ Optional FVG Markers (Fair Value Gaps)
Visually shows bullish or bearish imbalances (3-bar gaps)
Does not affect signal generation — only for confluence
🔍 Ideal for traders who want clean, time-filtered signals with visual price-action context. Suitable for futures, crypto, or forex on intraday charts.
Pivot Points StandardAdvance pivot levels based on 4 hour time frame. Can use default settings for best results
Velez Price Action Signals (with 20 & 200 SMA)Velez Price Action Signals – With 20 & 200 SMA Overlay
This TradingView Pine Script is a clean and powerful reversal signal tool inspired by Oliver Velez’s price action philosophy, enhanced with trend context via two Simple Moving Averages.
🔍 Signal Logic
Buy Signal:
Current candle sweeps below the previous 5-bar low (liquidity grab).
Candle is bullish (close > open).
The lower wick is significantly larger than the body (e.g. ratio > 1.5).
Sell Signal:
Current candle sweeps above the previous 5-bar high.
Candle is bearish (close < open).
The upper wick is significantly larger than the body.
Signals appear as BUY/SELL labels on the chart (non-repainting).