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.
Corak carta
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).
GapCluster SR For Intraday by Chaitu50c**GapCluster SR For Intraday by Chaitu50c**
**Overview**
GapCluster SR plots dynamic intraday support and resistance lines based on candle-to-candle gaps. Whenever an Open/Close or High/Low gap is detected, the script draws a horizontal level and “clusters” nearby gaps into a single line to keep your chart clean. Lines automatically color-code relative to price—green when below, red when above.
---
**Key Features**
* **Gap Detection Modes**: Choose between Open/Close gaps (default) or High/Low gaps.
* **Clustering**: Merge levels within a user-defined vertical range to avoid clutter.
* **Dynamic Coloring**: Levels below price turn green; levels above price turn red.
* **Session Reset**: Automatically removes levels older than X days.
* **Fully Customizable**: Adjust buffer, cluster range, line width, lookback period, and both above/below colors.
---
**Inputs**
| Input | Default | Description |
| ---------------------------- | :--------: | ------------------------------------------- |
| Gap Type | Open/Close | Select gap detection method |
| Price Buffer (points) | 5.0 | Maximum distance for gap matching |
| Cluster Range (points) | 100.0 | Vertical distance within which levels merge |
| Line Width | 2 | Thickness of plotted lines |
| Days to Include | 14 | Number of days to retain past levels |
| Color for Levels Above Price | red | Line color when level > current price |
| Color for Levels Below Price | green | Line color when level < current price |
---
**How to Use**
1. **Add to Chart**: Apply on any intraday timeframe (1 min, 5 min, etc.).
2. **Select Mode**: Pick Open/Close or High/Low in settings.
3. **Tweak Inputs**: Raise/lower buffer for tighter/looser gap detection; adjust cluster range to group levels; change lookback (“Days to Include”) to control session reset.
4. **Interpret Levels**:
* **Green Lines** mark potential support zones.
* **Red Lines** mark potential resistance zones.
5. **Combine with Your Strategy**: Use alongside volume, momentum, or trend filters for confirmation.
---
**Tips & Tricks**
* **Intraday Entries**: Look for price reaction at green (support) lines for long setups, or red (resistance) lines for shorts.
* **Filter Noise**: Increase the “Cluster Range” to consolidate many close levels into stronger, singular lines.
---
**Disclaimer**
This indicator is provided “as-is” for educational purposes only. Always backtest any setup and practice proper risk management.
Extended-hours Volume vs AVOL// ──────────────────────────────────────────────────────────────────────────────
// Extended-Hours Volume vs AVOL • HOW IT WORKS & HOW TO TRADE IT
// ──────────────────────────────────────────────────────────────────────────────
//
// ░ What this indicator is
// ------------------------
// • It accumulates PRE-MARKET (04:00-09:30 ET) and AFTER-HOURS (16:00-20:00 ET)
// volume on intraday charts and compares that running total with the stock’s
// 21-day average daily volume (“AVOL” by default).
// • Three live read-outs are shown in the data-window/table:
//
// AH – volume traded since the 16:00 ET close
// PM – volume traded before the 09:30 ET open
// Ext – AH + PM (updates in pre-market only)
// %AVOL – Ext ÷ AVOL × 100 (updates in pre-market)
//
// • It is intended for U.S. equities but the session strings can be edited for
// other markets.
//
// ░ Why it matters
// ----------------
// Big extended-hours volume almost always precedes outsized intraday range.
// By quantifying that volume as a % of “normal” trade (AVOL), you can filter
// which gappers and news names deserve focus *before* the bell rings.
//
// ░ Quick-start trade plan (educational template – tune to taste)
// ----------------------------------------------------------------
// 1. **Scan** the watch-list between 08:30-09:25 ET.
// ► Keep charts on 1- or 5-minute candles with “Extended Hours” ✔ checked.
// 2. **Filter** by `Ext` or `%AVOL`:
// – Skip if < 10 % → very low interest
// – Flag if 20-50 % → strong interest, Tier-1 candidate
// – Laser-focus if > 50 % → crowd favourite; expect liquidity & range
// 3. **Opening Range Breakout (long example)**
// • Preconditions: Ext ≥ 20 % & price above yesterday’s close.
// • Let the first 1- or 5-min bar complete after 09:30.
// • Stop-buy 1 tick above that bar (or pre-market high – whichever higher).
// • Initial stop below that bar low (or pre-market low).
// • First target = 1R or next HTF resistance.
// 4. **Red-to-Green reversal (gap-down long)**
// • Ext ≥ 30 % but pre-market gap is negative.
// • Enter as price reclaims yesterday’s close on live volume.
// • Stop under reclaim bar; scale out into VWAP / first liquidity pocket.
// 5. **Risk** – size so the full stop is ≤ 1 R of account. Volume fade or
// loss of %AVOL slope is a reason to tighten or exit early.
//
// ░ Tips
// ------
// • AVOL look-back can be changed in the input panel (21 days ⇒ ~1 month).
// • To monitor several symbols, open a multi-chart layout and sort your
// watch-list by %AVOL descending – leaders float to the top automatically.
// • Replace colour constants with hex if the namespace ever gets shadowed.
//
// ░ Disclaimer
// ------------
// For educational purposes only. Not financial advice. Trade your own plan.
//
// ──────────────────────────────────────────────────────────────────────────────
Market Structure- ZigZag, Break of Structure & Order BlocksDescription:
This script is an all-in-one market structure tool designed for traders who follow price action, Smart Money Concepts (SMC), or institutional order flow. It combines Order Block detection , Break of Structure (BOS) , Internal Structure Shifts (CHoCH) , and a ZigZag swing framework to provide a clear and actionable view of market behavior.
Key Features:
Order Blocks (OB) :
-Detects Bullish (Green) and Bearish (Red) order blocks upon valid market structure shifts.
-Optional deletion of mitigated (touched) blocks to keep charts clean.
-Customizable block duration, fill color, and border color.
Break of Structure (BOS) :
-Marks BOS with horizontal dotted lines when price breaks previous swing highs/lows.
-Confirms new trends and structural shifts.
Internal Structure Shifts (CHoCH-like) :
-Detects early internal changes in direction before BOS.
-User-selectable logic: based on candle Open or High/Low.
-Plotted as small black triangle markers.
ZigZag Swings :
-Connects confirmed internal shifts with black zigzag lines.
-Visually simplifies trend structure and major swing points.
-Tracks last swing highs/lows for BOS validation.
Alerts :
-Bullish/Bearish Engulfments (OB signals)
-Internal Structure Shifts
-Bullish/Bearish Break of Structure
-OB Mitigation Events
Inputs & Settings :
-Show/Hide Bullish or Bearish Order Blocks
-Calculate internal shifts by: Open or High/Low
-Set order block fill and border colors
-Enable or disable automatic deletion of mitigated blocks
-Set duration for order block display
This tool is designed to support price action trading by visually mapping key structural changes and zones of interest directly on your chart. It is not intended to function as a standalone trading strategy , but rather as a supplementary tool to inform your own analysis and discretion.
XAU/USD Scalping Bot [Jake-Style 1500+] FINALDescription:
This advanced scalping bot is engineered for XAU/USD using Jake-style visual overlays with predictive trade triggers, early entry signals, and multi-layer confirmation tools.
Key Features:
• EMA Cloud System with color-coded directional bias (5/13/21/55/144/377)
• PSAR Flip-Only Dots to highlight trend reversal moments without chart clutter
• Bollinger Band Zones to visualize volatility channels
• Predictive Entry Flags for early buy/sell signals before momentum candles (≥2 pip move)
• TRUE Candle Logic for confirmed trend-following entries
• Multi-Level TP/SL Lines with real-time alerts:
• TP1 / TP2 / TP3 with precise trigger logic
• Stop Loss hit detection
• Red Flag Warnings for exit caution during reversal zones (overbought TDI / failed breakouts)
Optimized For:
• 1m / 3m / 5m / 15m / 30m timeframes
• Scalping & intraday trading with high-precision entries
• Traders who prefer visual confirmation before committing to entries
Created by: @Livingstonedan
Powered by: ChatGPT x Jake-style automation logic
RSI Phan Ky FullThe RSI divergence indicator is like a magnifying glass that spots gaps between price swings and momentum. When price keeps climbing but RSI quietly sags, it’s a flashing U‑turn sign: the bulls are winded, and the bears are lacing up their boots. Flip it around—price is sliding yet RSI edges higher—and you’ve got bulls secretly stockpiling. Hidden divergences shore up the trend; regular divergences hint at a pivot. Blend those signals with overbought/oversold zones, support‑resistance, and volume, and RSI divergence turns into a radar that helps traders jump in with swagger and bail out just in time.
Candle Wick Analysis🔍 What This Indicator Does
The Candle Wick Analysis indicator dynamically colors each candle body based on the comparative strength of its wicks and body, helping traders visually assess market sentiment, rejection zones, and momentum exhaustion with higher clarity.
This tool is especially useful for:
Price action traders
Scalpers
Reversal and trend continuation traders
Anyone who uses candlestick structure for confirmations
📊 How It Works
The indicator analyzes each candle and compares the percentage change of the upper wick, body, and lower wick relative to the opening price. Based on this relationship, it assigns a green or red color to the candle body to indicate likely price strength or weakness.
🧠 Logic Breakdown
✅ If the Candle is Bullish (close > open):
🔵 Green Candle Body: If the upper wick is smaller than the combined percentage size of the body + lower wick
→ Indicates strong bullish momentum with low upper rejection.
🔴 Red Candle Body: If the upper wick is larger than body + lower wick
→ Suggests potential exhaustion or rejection at the top.
✅ If the Candle is Bearish (close < open):
🔴 Red Candle Body: If the lower wick is smaller than the combined percentage size of the body + upper wick
→ Indicates strong bearish momentum with low lower support.
🟢 Green Candle Body: If the lower wick is larger than body + upper wick
→ Suggests potential downside rejection or support zone bounce.
⚪ Neutral Candles:
If the candle does not meet any specific wick/body criteria, it is displayed in gray to indicate neutrality or indecision (such as a doji).
🛠️ Technical Highlights
Built in Pine Script v5
Uses precise percentage-based wick/body comparison
Works on any timeframe and instrument
Minimalist coloring style: only the body color changes, while wicks stay gray
💡 Use Cases
Quickly spot exhaustion candles, where strong wicks may indicate a reversal or trap.
Validate trend strength: strong candles are colored green, weak ones red, even within bullish or bearish structures.
Filter entries and exits using visual confirmation of wick-to-body dynamics.
📌 Notes
This is a visual tool, not a buy/sell signal indicator.
Best used in conjunction with other forms of analysis (support/resistance, volume, moving averages, etc.)
Can be enhanced with alerts, filters (e.g., volume spikes), or labeling based on user feedback.
Zen FDAX Session📝 Description
OVERVIEW
The Zen FDAX Session indicator highlights periods outside the regular trading hours of the FDAX (DAX Futures) on the Xetra exchange. It shades the chart background during non-trading hours, aiding traders in distinguishing active market periods from inactive ones.
FUNCTIONALITY
Customizable Trading Hours: Users can define the session's start and end times in UTC, allowing flexibility to match personal trading schedules or account for daylight saving changes.
Visual Clarity: The indicator applies a subtle background color to non-trading hours, ensuring clear demarcation without obscuring price data.
Time Zone Awareness: Designed with UTC inputs to maintain consistency across different user time zones.
USAGE
Add the Indicator: Apply the "Zen FDAX Session" indicator to your chart.
Set Trading Hours: Input your desired session start and end times in UTC.
Interpret the Shading: Areas with shaded backgrounds represent times outside your defined trading session.
Note: This indicator does not generate buy/sell signals but serves as a visual aid to identify trading sessions.
Balanced Price Range | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Balanced Price Range (BPR) indicator! A Balanced Price Range is a trading concept used by price action traders. It is detected by finding overlapping area between two contrary Fair Value Gaps (FVGs). These areas can be used as entry points during market pullbacks. For more information about the process, please check the "HOW DOES IT WORK ?" section.
Balanced Price Range Features :
Balanced Price Range Detection : Identifies areas where bullish and bearish FVGs overlap, suggesting a zone of price equilibrium.
Customizable FVG & BPR Detection : You can fine-tune FVG detection and sensitivity for BPR detection to your liking.
Retest Labels : Bullish & Bearish retest labels will be rendered for BPRs.
Alerts : You can set alerts for Bullish & Bearish BPR detection and their retests.
🚩 UNIQUENESS
This indicator doesn't just detect standard FVGs but specifically looks for areas where bullish and bearish IFVGs (Invalidated Fair Value Gaps) overlap, defining a Balanced Price Range. It also actively manages and updates identified BPR zones, removing them when they are invalidated or remain untouched for a specified period. It highlights and alerts users to retests of established BPR zones, signaling potential trading opportunities. Users can tailor the appearance of the BPR zones and retest markers, as well as configure specific alerts for new BPR formations and retests.
📌 HOW DOES IT WORK ?
A Fair Value Gap generally occur when there is an imbalance in the market. They can be detected by specific formations within the chart. The indicator first detects bullish & bearish FVG zones according to their formations on chart. Then, they are dynamically tracked and flagged as invalidated if the price crosses them, turning them into IFVGs. When a FVG & IFVG of the same type overlaps, the indicator combines them into a single BPR of corresponding type. The detected BPR is updated as new data comes in, and renders retests labels as they occur. A bullish BPR can be used to find long trade entry opportunities, while a bearish BPR can be used to find short trade entry opportunities. Retests can also indicate potential movements in the corresponding direction of the BPR. Users can set-up alerts for BPR detection & BPR retests and will get notified as they occur.
⚙️ SETTINGS
Show Historic Zones: If enabled, invalidated or expired BPR zones will remain visible on the chart.
Balanced Price Range:
FVG Detection Method: Determines the criteria for the bar types forming the initial FVG.
Same: All three bars forming the FVG must be of the same type (all bullish or all bearish).
Mixed: The bar types must vary (a mix of bullish and bearish bars).
All: Bar types can vary or be the same.
FVG Invalidation Method: Determines which part of the candle (wick or close) invalidates the initial FVG.
BPR Invalidation Method: Determines which part of the candle (wick or close) invalidates the Balanced Price Range.
Sensitivity: Adjusts the sensitivity of FVG detection. Higher values may identify fewer, larger BPRs, while lower values may detect more, smaller BPRs.
Labels: Toggles the display of text labels on the identified zones.
Retests: Enables or disables the detection and visualization of BPR retests.
Gartley 222 Strategy (Final Full Version)Gartley 222 Strategy (Bullish Pattern) — Repaint-Free, Backtestable
This strategy is based on the classic Gartley 222 harmonic pattern, originally introduced by H.M. Gartley in Profits in the Stock Market (1935). It identifies potential bullish reversal zones by detecting a five-point retracement structure (X-A-B-C-D) using pivot points and Fibonacci confluence.
🧠 Strategy Logic:
Detects valid pivot-based X, A, B, C points
Validates Gartley ratios:
AB = 61.8%–78.6% of XA
CD = 78.6%–88.6% of AB
Enters long at point D only after pivot confirmation (non-repainting)
Exits at 127% Fibonacci extension of XA or on stop loss
🔍 Features:
✅ Repaint-free and fully backtestable
✅ Visual X–A–B–C–D pattern lines on chart
✅ Customizable pivot length, risk, and reward ratios
✅ Alerts for real-time Gartley Buy pattern completion
Ideal for swing traders using 4H or Daily timeframes on trending instruments like NIFTY, BANKNIFTY, or major stocks.
SuperTrend CorregidoThis script implements a SuperTrend indicator based on the Average True Range (ATR). It is designed to help traders identify trend direction and potential buy/sell opportunities with visual signals on the chart.
🔧 Key Features:
ATR-Based Trend Detection: Calculates trend shifts using the ATR and a user-defined multiplier.
Buy/Sell Signals: Displays "Buy" and "Sell" labels directly on the chart when the trend changes direction.
Visual Trend Lines: Plots green (uptrend) and red (downtrend) SuperTrend lines to highlight the current market bias.
Trend Highlighting: Optionally fills the background to emphasize whether the market is in an uptrend or downtrend.
Customizable Settings:
ATR period and multiplier
Option to switch ATR calculation method
Toggle for signal visibility and trend highlighting
🔔 Alerts Included:
SuperTrend Buy Signal
SuperTrend Sell Signal
SuperTrend Direction Change
This indicator is useful for identifying entries and exits based on trend momentum and can be used across various timeframes.
Hybrid: RSI + Breakout + DashboardHybrid RSI + Breakout Strategy
Adaptive trading system that switches modes based on market regime:
Ranging: Buys when RSI < 30 and sells when RSI > 70.
Trending: Enters momentum breakouts only in the direction of the 200-EMA bias, with ADX confirming trend strength.
Risk Management: Trailing stop locks profits and caps drawdown.
Optimized for BTC, ETH, and SOL on 1 h–1 D charts; back-tested from 2017 onward. Educational use only—run your own tests before deploying live funds.
Stochastic RSI with MTF TableShort Description of the Script
The provided Pine Script indicator, titled "Stochastic RSI with MTF Table," calculates and displays the Stochastic RSI for the current timeframe and multiple other timeframes (5m, 15m, 30m, 60m, 240m, and daily). The Stochastic RSI is a momentum indicator that blends the Relative Strength Index (RSI) and Stochastic Oscillator to identify overbought and oversold conditions, as well as potential trend reversals via K and D line crossovers.
Key features of the script include:
Inputs: Customizable parameters such as K smoothing (default 3), D smoothing (default 3), RSI length (default 14), Stochastic length (default 14), source price (default close), and overbought/oversold levels (default 80/20).
MTF Table: A table displays the Stochastic RSI status for each timeframe:
"OB" (overbought) if K > 80, "OS" (oversold) if K < 20, or "N" (neutral) otherwise.
Crossovers: "K↑D" for bullish (K crosses above D) and "K↓D" for bearish (K crosses below D).
Visualization: Plots the K and D lines for the current timeframe, with horizontal lines at 80 (overbought), 50 (middle), and 20 (oversold), plus a background fill for clarity.
Table Position: Configurable to appear in one of four chart corners (default: top-right).
This indicator helps traders assess momentum across multiple timeframes simultaneously, aiding in the identification of trend strength and potential entry/exit points.
Trading Strategy with 50EMA and 200EMA for Highest Winning Rate
To create a strategy with the best probability of a high winning rate using the Stochastic RSI MTF indicator alongside the 50-period Exponential Moving Average (50EMA) and 200-period Exponential Moving Average (200EMA), we can combine trend identification with momentum-based entry timing. The 50EMA and 200EMA are widely used to determine medium- and long-term trends, while the Stochastic RSI MTF table provides multi-timeframe momentum signals. Here’s the strategy:
1. Determine the Overall Trend
Bullish Trend: The 50EMA is above the 200EMA on the current timeframe (e.g., daily or 60m chart). This suggests an uptrend, often associated with a "Golden Cross."
Bearish Trend: The 50EMA is below the 200EMA on the current timeframe. This indicates a downtrend, often linked to a "Death Cross."
Implementation: Plot the 50EMA and 200EMA on your chart and visually confirm their relative positions.
2. Identify Entry Signals Using the Stochastic RSI MTF Table
In a Bullish Trend (50EMA > 200EMA):
Look for timeframes in the MTF table showing:
Oversold (OS): K < 20, indicating a potential pullback in the uptrend where price may rebound.
Bullish Crossover (K↑D): K crosses above D, signaling rising momentum and a potential entry point.
Example: If the 60m and 240m timeframes show "OS" or "K↑D," this could be a buy signal.
In a Bearish Trend (50EMA < 200EMA):
Look for timeframes in the MTF table showing:
Overbought (OB): K > 80, suggesting a rally in the downtrend where price may reverse downward.
Bearish Crossover (K↓D): K crosses below D, indicating declining momentum and a potential short entry.
Example: If the 30m and daily timeframes show "OB" or "K↓D," this could be a sell/short signal.
Current Timeframe Check: Use the plotted K and D lines on your trading timeframe for precise entry timing (e.g., confirm a K↑D crossover on a 60m chart for a long trade).
3. Confirm Signals Across Multiple Timeframes
Strengthen the Signal: A higher winning rate is more likely when multiple timeframes align with the trend and signal. For instance:
Bullish trend + "OS" or "K↑D" on 60m, 240m, and daily = strong buy signal.
Bearish trend + "OB" or "K↓D" on 15m, 60m, and 240m = strong sell signal.
Prioritize Higher Timeframes: Signals from the 240m or daily timeframe carry more weight due to their indication of broader trends, increasing reliability.
4. Set Stop-Loss and Take-Profit Levels
Long Trades (Bullish):
Stop-Loss: Place below the most recent swing low or below the 50EMA, whichever is closer, to protect against trend reversals.
Take-Profit: Target a key resistance level or use a risk-reward ratio (e.g., 2:1 or 3:1) based on the stop-loss distance.
Short Trades (Bearish):
Stop-Loss: Place above the most recent swing high or above the 50EMA, whichever is closer.
Take-Profit: Target a key support level or apply a similar risk-reward ratio.
Trailing Stop Option: As the trend progresses, trail the stop below the 50EMA (for longs) or above it (for shorts) to lock in profits.
5. Risk Management
Position Sizing: Risk no more than 1-2% of your trading capital per trade to minimize losses from false signals.
Volatility Consideration: Adjust stop-loss distances and position sizes based on the asset’s volatility (e.g., wider stops for volatile stocks or crypto).
Avoid Overtrading: Wait for clear alignment between the EMA trend and MTF signals to avoid low-probability setups.
Example Scenario
Chart: 60-minute timeframe.
Trend: 50EMA > 200EMA (bullish).
MTF Table: 60m shows "OS," 240m shows "K↑D," and daily is "N."
Action: Enter a long position when the 60m K line crosses above D, confirming the table signal.
Stop-Loss: Below the recent 60m swing low (e.g., 2% below entry).
Take-Profit: At the next resistance level or a 3:1 reward-to-risk ratio.
Outcome: High probability of success due to trend alignment and multi-timeframe confirmation.
Why This Strategy Works
Trend Following: Trading in the direction of the 50EMA/200EMA trend reduces the risk of fighting the market’s momentum.
Momentum Timing: The Stochastic RSI MTF table pinpoints pullbacks or reversals within the trend, improving entry timing.
Multi-Timeframe Confirmation: Alignment across timeframes filters out noise, increasing the win rate.
Risk Control: Defined stop-loss and position sizing protect against inevitable losses.
Caveats
No strategy guarantees a 100% win rate; false signals can occur, especially in choppy markets.
Test this strategy on historical data or a demo account to verify its effectiveness for your asset and timeframe.
This approach leverages the strengths of both trend-following (EMA) and momentum (Stochastic RSI) tools, aiming for a high-probability, disciplined trading system.
BB Vicinity Reversal SignalsThis indicator detects potential intraday reversal opportunities based on price action near the outer edges of Bollinger Bands (±2.7 std dev). Unlike traditional Bollinger Band signals that require strict band touches or crossings, this tool identifies reversals that occur in the vicinity of the outer bands, increasing signal frequency while maintaining logical precision.
✅ Key Features:
Buy Signal: Triggered when a bullish candle with a strong body forms near the lower Bollinger Band.
Sell Signal: Triggered when a bearish candle with a strong body forms near the upper Bollinger Band.
Vicinity logic: User-adjustable % range from the outer bands (default: 20%) to define how close price must be.
Body-to-candle ratio filter: Ensures that only meaningful directional candles trigger signals.
No repainting: All signals are generated in real-time based on confirmed candle closes.
Built-in alerts: Receive instant notifications for buy and sell setups.
This tool is ideal for traders looking to capture high-probability mean-reversion trades without being overly restrictive. It works well on intraday timeframes like 5m, 15m, and 1h.
Bollinger Volatility AnalyzerThe Bollinger Volatility Analyzer (BVA) is a powerful enhancement of the traditional Bollinger Bands indicator, tailored to help traders identify volatility cycles and catch potential breakouts with better precision and timing. It builds upon the foundational concept of Bollinger Bands—using a moving average and standard deviation bands—but adds crucial insights into market contraction and expansion, which can be instrumental in timing entries and exits.
Here's how it works and why it's useful
At its core, the indicator calculates a moving average (called the "basis") and plots two bands—one above and one below—based on a multiple of standard deviation. These bands expand during volatile periods and contract during quiet ones. The width between these bands, normalized as a percentage of the basis, gives us a sense of how compressed or expanded the market currently is. When the band width drops below a user-defined threshold (like 2%), the script highlights this with an orange triangle below the bar. This is the "squeeze" condition, signaling a potential buildup of market energy—a kind of calm before the storm.
What makes this version of Bollinger Bands particularly powerful is that it not only detects squeezes, but also tells you when price breaks out of that squeeze range. If price closes above the upper band after a squeeze, a green "Breakout ↑" label is shown; if it closes below the lower band, a red "Breakout ↓" appears. These breakout labels act as entry signals, suggesting that volatility is returning and a directional move has begun.
This indicator is especially useful in markets that tend to alternate between consolidation and breakout phases, such as forex, crypto, and even individual stocks. Traders who look for early signs of momentum—whether for swing trading, scalping, or position building—can benefit from this tool. During a quiet market phase, the indicator warns you that a move might be coming; when the move starts, it tells you the direction.
In fast-moving markets, BVA helps filter out noise by focusing only on high-probability conditions: quiet consolidation followed by a strong breakout. It’s not a complete system by itself—it works best when paired with volume confirmation or oscillators like RSI—but as a volatility trigger and directional guide, it’s a reliable component of a trading workflow.
Aroon Buy & Sell (Custom TFs)Here's a detailed explanation of your Pine Script titled "Aroon Buy & Sell (Custom TFs)":
🧠 Strategy Overview:
This script generates buy and sell signals using the Aroon indicator across two different timeframes:
* One for detecting the primary trend (Trend Timeframe)
* One for confirming precise entry signals (Signal Confirmation Timeframe)
📊 Key Components:
1. User Inputs
* trendTF: The timeframe used to determine overall trend direction (e.g., 5-minute).
* signalTF: The faster timeframe for confirming trade signals (e.g., 1-minute).
* aroonLength: Lookback period for the Aroon calculation (default 14).
* cooldownPeriod: Number of bars to wait before allowing a new signal.
2. Aroon Calculation Function
Calculates Aroon Up and Aroon Down values using the number of bars since the highest high and lowest low.
3. Multi-Timeframe Aroon Values
Uses request.security to compute Aroon values on both trendTF and signalTF.
4. Trend Detection
* A bullish trend is defined when Aroon Up crosses above Aroon Down on the trend timeframe.
* A bearish trend is defined when Aroon Down crosses above Aroon Up.
5. Signal Logic
* Buy Signal: When the overall trend is bullish and Aroon Down = 100 on the signal timeframe.
* Sell Signal: When the trend is bearish and Aroon Up = 100 on the signal timeframe.
6. Cooldown Mechanism
Prevents back-to-back signals by enforcing a cooldown (e.g., 20 bars) after each buy/sell.
7. Signal Plotting & Alerts
Plots buy/sell signals directly on the chart and supports alerts for automation.
📈 Visual Output:
* BUY label below the bar when buy conditions are met.
* SELL label above the bar when sell conditions are met.
🔔 Alerts:
Two alertconditions are defined to trigger alerts whenever a buy or sell signal occurs.
Granville's 8 Rules Visualizer 🧠 Granville’s 8 Rules Indicator
I’ve created a Pine Script indicator that visually implements **Granville’s Eight Rules**, one of the foundational theories for price movement relative to a moving average (MA). This tool helps traders better time entries and exits based on momentum shifts and MA behavior.
---
### 📈 What is Granville’s Law?
Joseph Granville’s theory suggests that **price and moving average (typically SMA)** interactions produce **8 recurring signals**:
* **4 Buy signals** (B1–B4)
* **4 Sell signals** (S1–S4)
These rules help identify the beginning or continuation of bullish and bearish trends.
---
### 🔍 Indicator Logic
This indicator uses a simple 20-period SMA (modifiable) and tracks price action in relation to it. Each signal is drawn as a triangle with a label (`B1` to `B4` or `S1` to `S4`), based on the following rules:
#### ✅ Buy Signals:
* **B1**: Price crosses above a rising MA (classic breakout)
* **B2**: Price pulls back below a rising MA, then begins rising again
* **B3**: Price bounces off a falling MA
* **B4**: Price is above a rising MA but temporarily drops
#### ❌ Sell Signals:
* **S1**: Price crosses below a falling MA
* **S2**: Price pulls back above a falling MA, then starts dropping again
* **S3**: Price bounces down off a rising MA
* **S4**: Price is below a falling MA but temporarily rises
---
### 🛠 How to Use It:
1. **Trend Confirmation**: Use the moving average slope (rising or falling) as your trend filter.
2. **Entry Timing**: Look for Buy signals (B1–B4) in uptrends and Sell signals (S1–S4) in downtrends.
3. **Avoid Noise**: Combine with volume or volatility filters (e.g. ATR or squeeze) to eliminate weak setups.
4. **Customize**: Adjust the MA type or length to fit your market (e.g. EMA for crypto, SMA for FX).
---
### 💡 Example Strategies:
* Pair **B1 + rising volume** for early trend entries
* Use **B2/B4** for retracement-based entries
* Exit on **S3/S4** for profit taking or stop logic
Happy trading!
5-Min Candle Ranges (Last 1000)Average candle size for 1000 candles. This indicators looks at the volatility of candles and averages the size of the candles.
Hybrid Swing/Day Alert System - PLATINUM EditionThis indicator is a complete trading assistant designed for crypto swing and day traders, built to identify high-probability long and short setups based on a multi-confirmation system.
Strategy Logic
The system scans and confirms entries only when 6 major confluences align:
1. EMA Trend: Price is above or below the EMA 9, 21, and 200 (bullish or bearish trend).
2. RSI Zone: RSI(14) is between 40-60 (ideal reversal zone).
3. Volume Confirmation: Volume is declining on pullback and then spikes.
4. Accumulation/Distribution: A/D line rising (for longs) or falling (for shorts).
5. Fibonacci Pullback Zone: Automatic detection of swing high/low and checks if price is inside the golden zone (0.5-0.618).
Built-In Alerts
- Long Setup Confirmed - Short Setup Confirmed - Setup Forming: Monitor
Conclusion
This script is ideal for disciplined traders who value confluence-based entries, risk/reward logic, and trend-aligned trades. Perfect for semi-automated trading via alerts or manual execution.6. Candle Pattern: Bullish (hammer, doji, engulfing) or Bearish (rejection wick, engulfing, doji).
Visual Features
- Long Entry: Green square
- Short Entry: Red triangle
- Pre-Signal Alert: Blue circle (confluence forming)
- Dynamic Table: Displays all 6 confirmations in real time
- Fibonacci Zones: Auto-plotted long/short retracement zones
- Customizable: Turn on/off alerts, overlays, and direction filters
Best Use Cases
- 4H/Daily: Trend confirmation
- 1H: Entry execution
- 15min: Scalping (use cautiously)
- Works great with BTC, ETH, SOL, XAU, and meme coins
MA Dispersion+MA Dispersion+ — read the “breathing space” between your moving-averages
Get instant feedback on trend strength, volatility expansion and mean-reversion — across any timeframe.
MA Dispersion+ turns the humble moving-average stack into a single, easy-to-read oscillator that tells you at a glance whether price is coiling or fanning out.
🧩 What it does
Plugs into your favourite MA setup
• Pick the classic 5 / 20 / 50 / 200 lengths or disable any combination with one click.
• Choose the MA engine you trust — SMA, EMA, RMA, VWMA or WMA.
• Works on any timeframe thanks to TradingView’s security() engine.
Measures “spread”
For every bar it calculates the absolute distance of each selected MA from their average.
The tighter the stack, the lower the value; the wider the fan, the higher the value.
Adds professional-grade controls
• Weighting — let short-term MAs dominate (Inverse Length), keep everything equal, or dial in your own custom weights.
• Normalisation — convert the raw distance into a percentage of price, ATR multiples, or scale by the MAs’ own mean so you can compare symbols of any price or volatility.
🔍 How traders use it
Trend confirmation – rising dispersion while price breaks out = momentum is genuine.
Volatility squeeze – dispersion parking near zero warns that a big move is loading.
Multi-TF outlook – drop one pane per timeframe (e.g. 5 m, 1 h, 1 D) and see which layer of the market is driving.
Mean-reversion plays – spikes that fade quickly often coincide with exhaustion and snap-backs.
⚙️ Quick-start
Add MA Dispersion+ to your chart.
Set the pane’s timeframe in the first input.
Tick the MA lengths you actually use.
(Optional) Pick a weighting scheme and a normaliser.
Repeat the indicator for as many timeframes as you like — each instance keeps its own settings.
✨ Why you’ll love it
Zero clutter – one orange line tells you what four separate MAs whisper.
Configurable yet bullet-proof – all lengths are hard-coded constants, so Pine never complains.
Context aware – normalisation lets you compare BTC’s $60 000 chaos with EURUSD’s four--decimals calm.
Lightweight – no labels, no drawings, no background processing — perfect for mobile and multi-pane layouts.
Give MA Dispersion+ a try and let your charts breathe — you’ll never look at moving-average ribbons the same way again.
Happy trading!
Buy and Sell Pressure Signals (Clean)This script identifies strong buy and sell pressure based purely on candlestick structure — no indicators, no clutter. It highlights key reversal or momentum candles using minimal visuals:
🔼 Green Triangle (Buy Pressure): A bullish candle with a large body and small upper/lower wicks, indicating strong upward momentum and buyer control.
🔽 Red Triangle (Sell Pressure): A bearish candle with a large body and small wicks, showing strong downward momentum and seller dominance.
Designed for traders who prefer clean, price-action-based signals without text labels or distracting overlays. Ideal for scalping, trend confirmation, or identifying exhaustion zones.
Divergence Macro Sentiment Indicator (DMSI)The Divergence Macro Sentiment Indicator (DMSI)
Think of DMSI as your daily “mood ring” for the markets. It boils down the tug-of-war between growth assets (S&P 500, copper, oil) and safe havens (gold, VIX) into one clear histogram—so you instantly know if the bulls have broad backing or are charging ahead with one foot tied behind.
🔍 What You’re Seeing
Green bars (above zero): Risk-on conviction.
Equities and commodities are rallying while gold and volatility retreat.
Red bars (below zero): Risk-off caution.
Gold or VIX are climbing even as stocks rise—or stocks aren’t fully joined by oil/copper.
Zero line: The line in the sand between “full-steam ahead” and “proceed with care.”
📈 How to Read It
Cross-Zero Signals
Bullish trigger: DMSI flips up through zero after a red stretch → fresh long entries.
Bearish trigger: DMSI tumbles below zero from green territory → tighten stops or go defensive.
Divergence Warnings
If SPX makes new highs but DMSI is rolling over (lower green bars or red), that’s your early red flag—rallies may fizzle.
Strength Confirmation
On pullbacks, only buy dips when DMSI ≥ 0. When DMSI is deeply positive, you can be more aggressive on position size or add leverage.
💡 Trade Guidance & Use Cases
Trend Filter: Only take your S&P or sector-ETF long setups when DMSI is non-negative—avoids hollow rallies.
Macro Pair Trades:
Deep red DMSI: go long gold or gold miners (GLD, GDX).
Strong green DMSI: lean into cyclicals, industrials, even energy names.
Risk Management:
Scale out as DMSI fades into negative territory mid-trade.
Scale in or add to winners when it stays bullish.
Swing Confirmation: Overlay on any oscillator or price-pattern system—accept signals only when the macro tide is flowing in your favour.
🚀 Why It Works
Markets don’t move in a vacuum. When stocks rally but the “real-economy” metals and volatility aren’t cooperating, something’s off under the hood. DMSI catches those cross-asset cracks before price alone can—and gives you an early warning system for smarter entries, tighter risk, and bigger gains when the macro trend really kicks in.