SMC + Dual UT Bot buy and sell AlertsThis script is a composite indicator for TradingView (Pine Script v5) that merges Smart Money Concepts (SMC) with a Dual-instance UT Bot. It has been styled with a high-contrast "Neon Cyberpunk" theme (Cyan/Pink) and is fully compliant with the CC BY-NC-SA 4.0 license.
Here is a breakdown of its two main components:
1. Smart Money Concepts (SMC)
This portion, originally by LuxAlgo, is designed to identify institutional price levels and structural market shifts. It provides a detailed map of market structure rather than simple entry/exit signals.
Market Structure (BOS & CHoCH):
BOS (Break of Structure): Marks trend continuation (e.g., breaking a higher high in an uptrend).
CHoCH (Change of Character): Marks potential trend reversals (e.g., the first time a higher low is broken in an uptrend).
Order Blocks (OB):
Highlights specific candles where institutional buying or selling likely occurred. These act as high-probability support/resistance zones.
Neon Blue/Cyan for Bullish OBs.
Neon Pink for Bearish OBs.
Fair Value Gaps (FVG):
Identifies imbalances (gaps) in price action where the market often returns to "fill" orders.
Neon Mint for Bullish FVGs.
Neon Red for Bearish FVGs.
Premium/Discount Zones: Automatically plots the range equilibrium (50% level) to help you buy in "Discount" (low) and sell in "Premium" (high) areas.
Liquidity (EQH/EQL): Automatically detects "Equal Highs" and "Equal Lows," which are magnets for price as they represent liquidity pools (stop losses).
2. Dual UT Bot Alerts
This portion provides the actual Entry Signals. It runs two separate instances of the "UT Bot" strategy simultaneously with different sensitivity settings to filter noise.
Instance 1 (Buy Only):
Settings: Key Value = 4, ATR Period = 10 (Faster, more sensitive).
Visual: Plots a Neon Cyan "Buy" label.
Function: Looks for bullish reversals earlier to catch the start of a move.
Instance 2 (Sell Only):
Settings: Key Value = 7, ATR Period = 20 (Slower, smoother).
Visual: Plots a Neon Pink "Sell" label.
Function: Uses a wider ATR band to avoid getting shaken out of shorts too early, focusing on major downtrends.
How to Use It
The strength of this script is confluence.
Wait for a Signal: Look for a UT Bot "Buy" or "Sell" tag.
Confirm with SMC: Check if the signal aligns with SMC concepts.
Example Buy: Did the UT Bot give a "Buy" signal while price was bouncing off a Bullish Order Block?
Example Buy: Did price just sweep Liquidity (EQL) before the Buy signal?
Example Sell: Is the "Sell" signal happening inside a Premium Zone or a Bearish Fair Value Gap?
Wskaźniki i strategie
SMC Buy and Sell Signals By Amit NamdeoSMC Buy and Sell Signals
Overview
The SMC Buy and Sell Signals indicator is a comprehensive trading tool designed to identify high-probability setups based on Smart Money Concepts (SMC) and Market Structure principles. It automates the detection of structural breaks—specifically Break of Structure (BOS) and Change of Character (CHoCH)—to generate clear Buy and Sell signals.
Beyond simple signal generation, this tool assists with trade management by automatically projecting Stop Loss (SL) and three distinct Take Profit (TP) levels immediately after a breakout is confirmed, helping traders maintain a disciplined Risk-to-Reward ratio.
Key Features
Automated Market Structure Identification:
The script dynamically identifies Pivot Highs and Pivot Lows based on a user-defined Swing Size.
It differentiates between trend continuations (BOS) and potential trend reversals (CHoCH).
Buy & Sell Signals:
Bullish Signal: Generated when price breaks above a valid structural high.
Bearish Signal: Generated when price breaks below a valid structural low.
Dynamic Trade Management (Auto TP & SL):
Upon a signal, the indicator immediately plots an Entry, Stop Loss, and 3 Take Profit levels.
TP1 (Conservative): Closest target.
TP2 (Moderate): Middle target.
TP3 (Aggressive): Furthest target based on a 1:3 Risk/Reward profile relative to the calculated volatility.
Live Statistics Dashboard:
A table displayed on the chart tracks the performance of the signals in real-time, showing the Total Signals generated and the Win Rate for hitting TP1, TP2, and TP3.
Visual Trend Confirmation:
Candles are colored based on the active trade status (Bullish Green or Bearish Red), making it easy to identify the current market bias at a glance.
Comprehensive Alerts:
Fully integrated alerts for Signal detection, TP hits, and SL hits, allowing for automated trading notifications.
How It Works
Pivot Detection: The indicator looks back and forward a specific number of bars (defined by Market Structure Time-Horizon) to find significant high and low points.
Breakout Confirmation: You can choose to confirm a breakout based on the Candle Close (more conservative) or the Wick (more aggressive).
Level Calculation:
The distance for targets is calculated based on the volatility of the breakout move.
SL is placed just below/above the breakout structure.
TPs are projected in the direction of the breakout using a tiered structure.
Settings
Market Structure Time-Horizon: Adjusts the sensitivity of the pivot detection. Higher numbers result in fewer but more significant signals (swing trading); lower numbers are better for scalping.
BOS Confirmation Type:
Candle Close: Price must close beyond the structure to trigger a signal.
Wicks: A wick piercing the structure triggers a signal.
Show CHoCH: Toggles the specialized labels for Change of Character (trend reversals).
Visualization: Fully customizable colors for Bullish and Bearish setups.
How to Use
Trend Trading: Use BOS signals to add to positions in the direction of the prevailing trend.
Reversal Trading: Watch for CHoCH labels to catch early trend reversals.
Risk Management: Use the projected SL and TP lines to set your orders. The statistics table will help you understand the probability of price reaching TP1 vs TP3 on the current asset/timeframe.
Extreme HMA ATR BandsThe Extreme HMA ATR Bands are an advanced trend following tool focused on high speed & high smoothness over multiple assets.
Benefits:
- High Speed
- Smooth trend catching with low amount of false signals
- Great performance on CRYPTO:SOLUSD , BINANCE:SUIUSD , CRYPTO:CROUSD
- Plotting allowing easier visualization of the performance
The Idea
The idea is to create bands that "weight" data into the extreme points. These extreme points are to be taken from HMA to provide a smoother result. Averaging the extreme points we get the "middle" to which we can simply apply the ATR to get high accuracy signals.
How it works:
It calculates HMA over a short period to get a smooth source.
Then calculates the Highest & Lowest point of the HMA and their Lowest & Highest points.
By finding the Lowest Lowest Highest HMA and Highest Highest Lowest HMA and averaging them, you get a middle ground between high responsivness & smoothness.
Enjoy Gs!
AiQ Drama Channel [VIP MEMBER ONLY]AiQ PREMIUM Designed by KS
AiQ PREMIUM is not just an indicator; it is a complete, visually immersive trading ecosystem designed for traders who demand precision, aesthetics, and data-driven confidence.
Built upon advanced Fractal Adaptive Moving Average (FRAMA) logic and fused with a proprietary volatility engine, AiQ PREMIUM filters out market noise to reveal high-probability institutional setups.
💎 Core Features
1. DRAMA Volatility Engine (D-FRAMA) Unlike standard Moving Averages, our adaptive algorithm adjusts to market fractal dimensions. It tightens during consolidation to avoid false signals and expands during trends to capture the full move.
2. Multi-Timeframe (MTF) Matrix Stop guessing the trend. The built-in "Trend Matrix" scans M5, M15, M30, H1, and H4 timeframes in real-time. Signals are only generated when there is a confluence of momentum.
3. AiQ Confidence Score & Win Rate The dashboard calculates a dynamic Confidence Score (1-5 Stars) based on historical performance, trend alignment, and volatility strength.
⭐⭐⭐⭐⭐ = Strong Institutional Alignment
⭐ = Risky / Counter-trend
4. Auto-Fibonacci Extensions & Risk Management
Smart Entries: Clear visual signals with glassmorphism UI.
Dynamic Risk: SL/TP are calculated using ATR (Average True Range) to adapt to market volatility.
Auto Targets: Automatically projects TP1, TP2, TP3 (Fib 2.618), and TP4 (Fib 4.236).
5. Premium Visual Experience Choose your trading personality with our Theme Engine:
🏆 Black Gold: Luxury, high-contrast dark mode.
🦄 Cyber Neon: Modern, vibrant aesthetics.
⚪ Clean Quant: Minimalist institutional look.
🛠️ How to Use
Wait for the Signal: Look for the 🚀 LONG SETUP or 🚀 SHORT SETUP badge.
Check the Stars: Ideally, take trades with 3 stars or above on the dashboard.
Confirm with Matrix: Ensure the MTF Matrix (Top Right) shows "BULL" for Longs or "BEAR" for Shorts on higher timeframes (H1/H4).
Manage the Trade:
Secure partial profits at ✅ TP1.
Move SL to Breakeven at ✅ TP2.
Let runners fly to ✅ TP3 and ✅ TP4.
⚠️ Disclaimer - Trading involves high risk. This tool is designed to assist your analysis, not to replace it. Past performance is not indicative of future results. Always use proper risk management.
Market Structure Buy and Sells This indicator is based on these two indicators:
- Next Candle Predictor with Auto Hedging by HackWarrior
- Market Structure by odnac
How It Works
The Entry (Breakout): The script tracks the most recent Swing Highs and Lows. When price closes above a Swing High, it triggers a Buy Signal. When it closes below a Swing Low, it triggers a Sell Signal.
The Stop Loss (Signal #1): Unlike standard indicators that use a fixed pip amount, this uses "Signal #1"—a volatility-based calculation that finds the recent wave bottom (for buys) or wave top (for sells) to set a logical, market-based stop loss.
The Take Profit: Once the risk is defined by Signal #1, the indicator automatically projects a target based on your desired Risk:Reward Ratio (default is 1:1).
Key Features
Visual Trade Boxes: Instantly see your Profit (Green) and Loss (Red) zones on the chart the moment a signal triggers.
RSI "C" Exit (Optional): A toggleable safety switch that allows you to exit trades early if the RSI becomes overbought or oversold, protecting your gains before a reversal.
Live Backtest Table: A real-time dashboard in the corner of your chart that tracks Total Trades, Wins, Losses, and Win Rate so you can see how the strategy performs on any timeframe.
Integrated Alerts: Full support for alerts on both Buy and Sell signals.
SMA Reversal Sequential MTFSMA Reversal Sequential MTF (Multi-Timeframe)OverviewThe SMA Reversal Sequential MTF is a professional-grade price action tool designed to detect qualitative trend shifts and structural breakouts across multiple timeframes simultaneously. Unlike standard crossover indicators, this script analyzes the "curvature" of the Simple Moving Average (SMA) to identify when the market's average momentum has genuinely rotated.1. Core Logic: SMA Slope CurvatureThe script detects a trend reversal when the SMA (20-period by default) changes its trajectory from a "V-shape" (bottoming out) or an "Inverted V-shape" (topping out).The Reversal Algorithm:Bullish Reversal: Occurs when the SMA value at a specific historical offset is higher than the intermediate offset, but the intermediate offset is lower than the most recent value.Bearish Reversal: Occurs when the SMA value at a specific historical offset is lower than the intermediate offset, but the intermediate offset is higher than the most recent value.By using an OFFSET parameter, the script filters out minor price noise, ensuring that only significant rotations in the moving average are labeled.2. Structural Breakout Detection (MSB)Once a reversal is confirmed, the script automatically identifies the Market Structure of that specific timeframe by looking back at the highest high or lowest low within a defined period (LOOKBK).How Breakouts Work:Level Anchoring: When a reversal is detected, the script "locks in" the highest/lowest price of that swing.Confirmation: A "BREAK" signal and a horizontal line are generated only when a candle closes beyond this structural level.Visual Persistence: The break-line is extended to the right, providing a clear visual reference for support-turned-resistance (or vice versa).3. Advanced Multi-Timeframe (MTF) IntegrationMonitor up to 6 timeframes (5M, 15M, 1H, 4H, 1D, 1W) on a single chart.Auto-Filtering (hideLowerTF): To maintain chart clarity, the script can automatically hide timeframe data that is lower than your current chart (e.g., if you are on a 1H chart, 5M and 15M labels are hidden).Non-Repainting: Built using barmerge.gaps_on and confirmed candle logic, ensuring that historical signals remain accurate and do not disappear or move after the fact.4. Dual Preset ModesSwitch between two specialized trading styles with a single click in the settings:PresetParameters (SMA / Offset / Lookback)Ideal ForStandard (Default)20 / 6 / 20Trend following, swing trading, and major pullbacks.Short-Term5 / 4 / 7Scalping, fast day trading, and sensitive structure shifts.5. Visual Interface FeaturesTimeframe Labels: Clearly indicates which timeframe has rotated (e.g., "1H", "15M").Dynamic BREAK Labels: Labels follow the price action with a customizable right-side offset, ensuring they never overlap with the candles.Memory Management: Uses Pine Script Arrays to manage objects, ensuring the script runs smoothly without hitting the platform's drawing limits.6. How to Trade with This ScriptConfluence Trading: Wait for a "BREAK" on a higher timeframe (e.g., 4H) and then look for a matching "REVERSAL" on a lower timeframe (e.g., 15M) to refine your entry.Trailing Stops: Use the structural breakout lines as logical levels for stop-loss placement or profit-taking targets.Technical SpecificationsLanguage: Pine Script v5Overlay: YesAlerts: Compatible with standard alert functions.
このインジケーターは、**「トレンドの質的な転換」と「構造的な重要水準の打破(ブレイク)」**を、マルチタイムフレーム(MTF)で同時に監視する総合的なプライスアクションツールです。1. コア・コンセプト:SMA Reversal通常の移動平均線クロスオーバーとは異なり、このスクリプトは**SMA(単純移動平均線)の「曲率(カーブ)」**に着目します。判定アルゴリズムSMAが「下落から上昇」または「上昇から下落」へ変化する瞬間を、特定のオフセット(間隔)を用いて検知します。上昇転換(V字回復): NYSE:SMA > SMA $ かつ NYSE:SMA < SMA $下落転換(逆V字): NYSE:SMA < SMA $ かつ NYSE:SMA > SMA $これにより、価格の一時的なノイズに惑わされず、移動平均線という「相場の平均的な意思」が明確に方向を変えたタイミングを捉えます。2. 構造的ブレイクアウトの検知転換が確認された際、スクリプトはその時点から遡って過去LOOKBK期間内の最高値・最安値を特定します。これが「構造的なレジスタンス・サポート」として機能します。ブレイクの定義水準の固定: 転換が発生した瞬間の高値・安値を、その時間足の「重要ライン」として記憶します。確定足での判定: 終値がそのラインを明確に上抜いた(または下抜いた)時、チャート上に "BREAK" ラベルと水平線を表示します。3. マルチタイムフレーム(MTF)機能このインジケーターの最大の強みは、1つのチャート上に最大6つの時間足(5M, 15M, 1H, 4H, 1D, 1W)の状態を重ねて表示できる点です。自動フィルタリング: hideLowerTF 設定により、5分足チャートを見ている時は全時間足を表示し、日足チャートを見ている時は日足と週足のみを表示するといった、視認性の自動最適化が行われます。非リペイント処理: barmerge.gaps_on を使用した request.security 処理により、過去の検証データにおいて「未来の情報を参照して描画する」リペイント現象を防いでいます。4. 2つのプリセット設定ユーザーは相場の性質に合わせて、設定画面のチェックボックス一つで計算ロジックを切り替えられます。設定名SMA期間 / オフセット / 参照期間特徴標準 (規定値)20 / 6 / 20中長期的なトレンド転換を捉える。押し目買い・戻り売りに最適。短期 (Short)5 / 4 / 7スキャルピングや短期デイトレ用。微細な構造の変化を素早く察知。5. 視覚的インターフェースの説明転換ラベル (5M, 1H等): その時間足でSMAの転換が確定したポイント。常に「最新の1つ」のみが表示されるため、チャートが煩雑になりません。BREAKラベル & ライン: 構造が破壊された価格水準。ラインは右側に延長され、現在の価格との距離感がひと目で分かります。右オフセット: ブレイクラベルを現在価格より右側に配置することで、ローソク足とラベルが重なるのを防ぎます。6. 推奨される活用法上位足のBREAKを待つ: 例えば、1時間足で "1H BREAK" が出ている方向にのみ、5分足や15分足でエントリーを仕掛ける「環境認識」のツールとして非常に強力です。損切りの目安: 表示されたブレイクラインの反対側に価格が戻ってきた場合、構造が否定されたと判断し、迅速な撤退の根拠にできます。技術仕様(開発者向け)言語: Pine Script v5描画制限: 常に最新のオブジェクト(ライン・ラベル)のみを保持するように配列(Array)でメモリ管理を行っており、TradingViewの描画制限エラーを回避しています。計算コスト: request.security を効率的に呼び出しているため、複数の時間足を表示しても動作は軽快です。
DEMA MACD BUY signal confirmationDEMA MACD – Trend Continuation Signals
Okay I made this script and wrote this description using AI. I was inspired by the HAP MACD indicator so I made signal confirmation indicator based on that.
This indicator is a momentum-based signal tool built around a DEMA MACD model.
It is designed to help identify potential continuation entries within an existing trend.
Important notes
This indicator works best in clear uptrend conditions.
It is not suitable for consolidation or downtrend markets.
Higher timeframes (Daily / Weekly) generally provide more reliable signals than lower timeframes.
Signals
BUY
Indicates a potential entry in the direction of the current trend.
SELL
Indicates an exit from the previous BUY.
This is not a short or sell-to-open signal.
Usage
Use this tool as a confirmation, not as a standalone decision maker.
Always consider overall market context and basic price structure.
Risk management is essential.
This indicator is shared for educational purposes and reflects one possible approach to trend continuation trading.
HOHO Oscillator Squeeze With Goldilocks Pivot FractalsDESCRIPTION:
HOHO Oscillator Squeeze With Goldilocks Pivot Fractals combines three powerful technical analysis methodologies into one comprehensive momentum indicator designed for identifying high-probability trading opportunities.
Core Components:
1. HOHO (Hump Oscillator)
Multi-timeframe momentum analysis using dual oscillators (fast and slow) to identify market momentum shifts. The histogram colors change based on momentum direction and strength, providing clear visual cues for trend changes.
2. Squeeze Detection
Bollinger Bands and Keltner Channel compression analysis identifies periods of low volatility (squeeze conditions) that often precede significant price moves. Yellow dots on the zero line indicate active squeeze conditions.
3. Goldilocks Pivot Fractals
Williams Fractals-based reversal detection identifies significant swing highs and lows. BUY and SELL signals are dynamically positioned to "hug" the histogram, providing clear entry and exit signals at major turning points.
Key Features:
- Dynamic Signal Positioning: Arrows and text automatically adjust to histogram height for optimal visibility
- Customizable Visual Elements: Full control over colors for arrows, text, squeeze dots, and histogram
- Multiple Alert Options: Configurable alerts for fractals, squeeze events, and momentum shifts
- Adjustable Sensitivity: Fractal periods can be tuned for different trading styles (lower = more signals, higher = fewer signals)
- Paint Bars Option: Optional bar coloring based on fast or slow oscillator momentum
- Non-Repainting: All signals are based on confirmed price action
- Independent Spacing Controls: Separate BUY and SELL text spacing for perfect visual balance
How to Use:
Entry Signals:
- BUY arrows appear below histogram at swing lows (bullish fractals)
- SELL arrows appear above histogram at swing highs (bearish fractals)
- Best entries occur when squeeze releases coincide with fractal signals
Momentum Confirmation:
- Green histogram = bullish momentum
- Red histogram = bearish momentum
- Lighter shades indicate weakening momentum
- Darker shades indicate strengthening momentum
Squeeze Conditions:
-Yellow dots = Volatility compression (squeeze active)
- Gray dots = Normal volatility (no squeeze)
- Watch for squeeze release followed by directional move
HOHO Settings:
- Adjustable MA lengths and types (EMA/SMA)
- Customizable smoothing parameters
Goldilocks Fractals:
- Fractal Periods: Sensitivity control (default: 2)
- Arrow Spacing: Distance from histogram (default: 2.0)
- BUY Text Spacing: Distance from BUY arrow (default: 1.7)
- SELL Text Spacing: Distance from SELL arrow (default: 0.8)
- Toggle arrows and text independently
Visual Customization:
- Arrow colors (bullish/bearish)
- Text colors (BUY/SELL)
- Squeeze dot colors (ON/OFF)
- Dot size adjustment
Alerts:
- Bullish/Bearish fractal detection
- Squeeze start/release
- Momentum shift crossovers
Best Practices:
- Trend Alignment: Use on higher timeframes (15m+) for more reliable signals
- Confluence: Combine fractal signals with momentum direction for higher probability trades
- Risk Management: Place stops beyond the fractal high/low that triggered the signal
- Squeeze Strategy: Wait for squeeze release before taking directional positions
- Filter Signals: Increase fractal periods (10-20) to focus only on major turning points
Recommended Timeframes:
- Scalping: 5m-15m (fractal periods 2-5)
- Day Trading: 15m-1H (fractal periods 5-10)
- Swing Trading: 4H-Daily (fractal periods 10-20)
Important Notes:
This indicator is provided for educational and informational purposes only. It is not financial advice. Past performance does not guarantee future results. Always perform your own analysis and use proper risk management. Trading involves substantial risk of loss.
Zig Zag ++ SG (Premium)🔥 Zig Zag ++ SG
Professional Market Structure & Cycle Analyzer
Zig Zag ++ SG is an advanced, research-grade market structure indicator built on top of a refined ZigZag engine, designed for traders and investors who want to understand price cycles, not chase candles.
This is not a buy-sell arrow tool.
It is a decision-support system used to analyze trend strength, exhaustion, pullback depth, and cycle behavior across any market and timeframe.
🧠 What Makes Zig Zag ++ SG Different?
Most ZigZag indicators only draw lines.
Zig Zag ++ SG answers the real questions:
Is the trend getting stronger or weaker?
Are higher highs still meaningful?
How deep are pullbacks in percentage terms?
Which stocks recover fast vs stay weak?
Is this accumulation, distribution, or reversal?
It does this by combining:
Market Structure (HH / HL / LH / LL)
Consecutive structure counting
Gain & fall percentage per swing
Clean visual logic (no repaint confusion)
📌 Core Features
✅ 1. Automatic Market Structure Detection
Labels every major swing as:
HH – Higher High
HL – Higher Low
LH – Lower High
LL – Lower Low
This instantly shows whether the market is:
Trending
Consolidating
Distributing
Reversing
✅ 2. Consecutive Structure Count (ON by default)
Each structure type is counted sequentially:
HH (1), HH (2), HH (3)…
HL (1), HL (2)…
This reveals:
Trend maturity
Exhaustion zones
Early breakdown warnings
Example:
HH (4) = trend may be overextended
HL (3) = healthy trend continuation
✅ 3. Gain & Fall % on Every Swing (ON by default)
Every HH, HL, LH, LL shows:
Exact % move from the previous pivot
This allows you to:
Compare pullback depth across stocks
Identify leaders (shallow HLs)
Spot weak stocks (deep HLs / LHs)
Study cycle symmetry
Example label:
HL (2)
-6.4%
✅ 4. Clean, Readable Visual Design
🟩 Green labels → White text
🟥 Red labels → High-contrast white text
Optional background trend shading (OFF by default)
Works perfectly in dark & light mode
Designed for long chart study sessions, not flashy screenshots.
✅ 5. Safe Repaint Logic (Transparent by Design)
Uses ZigZag logic intentionally
No fake “non-repainting” claims
Ideal for analysis, research & planning
What you see is structurally correct
This indicator is for thinking traders, not signal chasers.
⚙️ Best Settings (Recommended)
🔹 Intraday Trading
Timeframe: 5m / 15m
Depth: 8–10
Deviation: 3–5
Backstep: 2
🔹 Swing Trading (Most Popular)
Timeframe: Daily
Depth: 12–15
Deviation: 5
Backstep: 2
🔹 Long-Term / Investing
Timeframe: Weekly
Depth: 15–20
Deviation: 5–8
Backstep: 3
💡 Tip:
Lower depth = more swings
Higher depth = cleaner, major cycles
📈 How to Use Zig Zag ++ SG (Practically)
🔹 Trend Strength
HH (3+) + HL (2–3)
→ Strong, healthy trend
🔹 Exhaustion Warning
HH (4+)
→ Risk of distribution or slowdown
🔹 Pullback Quality
HL −3% to −7%
→ Strong stock
HL −12% to −20%
→ Weak hands / fragile trend
🔹 Reversal Confirmation
LH followed by LL (2+)
→ Trend change likely
🧪 Who Is This Indicator For?
✅ Swing traders
✅ Positional traders
✅ Long-term investors
✅ Market structure students
✅ Stock researchers
✅ Anyone tired of noisy indicators
❌ Not for:
People wanting instant buy/sell arrows
Scalpers chasing 1-minute signals
“Magic indicator” seekers
💎 Why This Is Worth Purchasing
Built with Pine Script v6 best practices
Solves real market questions
Helps avoid:
Buying late
Selling early
Holding weak stocks too long
Encourages process-driven trading
One-time learning tool you’ll use for years
Most traders lose money not because of entries —
but because they misread structure and cycles.
Zig Zag ++ SG fixes that.
Momentum RSIThe Momentum RSI is a smoother and faster version of the famous RSI made by J. Welles Wilder.
Benefits
- Higher speed relative to the classic RSI
- Lower noise
- Momentum which can be watched for additional data and more educated investments
- Low/High Value catching
- Plotting for better visualization
- High CRYPTO:SOLUSD performance
The Idea
The idea is to make the RSI faster by adding momentum to it. This can prevent false signals and speed up entries.
What is the momentum in here? The momentum is the difference between a short-term & a longer term Moving Average, which can also signal uptrends/downtrends.
How it works
First it calculates the basic RSI using the standard calculation. Then it applies 2 averages on it, one with higher lookback and one with lower lookback.
The difference between the lower lookback and higher lookback averages is what gives us the momentum.
Another momentum is a lower length RSI - higher length RSI.
These two momentum calculations are then added on top of the previous RSI value .
This is the entire calculation - simple & efficient.
Enjoy Gs!
Alpha Hunter System [MTF + Risk Manager] by Amit NamdeoThis is a comprehensive, "Institutional-Grade" Trend Following System. It is designed not just to give signals, but to filter out bad trades, manage risk automatically, and help you exit at the right time.
Here is a breakdown of exactly how your script works:
1. The Core Engine (High/Low Channel)
The Foundation: Instead of a single line, the script creates a Channel using two Exponential Moving Averages (EMAs).
Green Line: 50 EMA calculated on the Highs of the candles.
Red Line: 50 EMA calculated on the Lows of the candles.
The Logic: This creates a "No-Trade Zone" in the middle.
BUY Signal: Generated when price forcefully breaks above the Green High band.
SELL Signal: Generated when price forcefully breaks below the Red Low band.
2. The "Smart Filters" (Safety Mechanisms)
To prevent false signals (whipsaws), the script checks three separate conditions before showing a Buy or Sell label:
A. Sensitivity Filter (ATR): The price must not just touch the line; it must break it by a specific margin (based on Volatility/ATR). This filters out small wicks.
B. Volume Filter: A breakout is ignored if the Volume is low. The script requires the breakout candle's volume to be higher than the recent average. This ensures "Smart Money" supports the move.
C. Sideways Filter (ADX): Uses the Average Directional Index (ADX). If the trend is weak (ADX < 20), the channel turns Gray and blocks all signals. This saves you from trading in choppy, flat markets.
D. Multi-Timeframe (MTF) Consensus: This is the "60% Rule." The script secretly checks the trend on the 5m, 15m, 1H, 4H, and Daily charts. It only allows a signal if the majority of these timeframes agree with the direction.
3. Automatic Risk Management
This feature automates the math that professional traders usually do in Excel:
Dynamic Stop Loss (SL):
On a Buy, the SL is set to the Red (Low) Band.
On a Sell, the SL is set to the Green (High) Band.
Why? This adapts the SL to the current market volatility.
Take Profit Targets (TP):
It calculates your Risk (Entry - SL).
TP1: 1.5x Risk.
TP2: 2.5x Risk.
TP3: 4.0x Risk.
Visuals: It draws these lines on the chart immediately when a signal appears, so you know exactly where to place your orders.
4. Trailing Stop (The Purple Line)
What it is: A dynamic Purple Line that appears behind the candles.
How it works: It acts like a "Chandelier Exit."
As price moves in your favor, the line moves up to lock in profit.
It never moves backward.
Exit Rule: If a candle closes across this purple line, the trend is likely over, and you should exit.
Live Label: A label follows the line showing the exact price (e.g., "Trail SL: 1950.2") so you can update your order easily.
5. Alerts & Dashboard
Dashboard (Top Right): A live status panel showing:
Current Trend (Bullish/Bearish/Sideways).
MTF Consensus (Are the other timeframes agreeing?).
Volume Status (Pass/Fail).
Alerts: You can set phone/desktop notifications for:
Entries: Buy/Sell.
Targets: TP1, TP2, TP3 Hit.
Safety: Trailing Stop Hit (Exit trade).
Summary of Visual Colors
🟢 Green Channel: Bullish Trend (Look for Buys).
🔴 Red Channel: Bearish Trend (Look for Sells).
⚪ Gray Channel: Sideways Market (Do Not Trade).
🟣 Purple Line: Your Trailing Stop Loss.
Regression SuperTrend WAIT🔹 DESCRIPTION
Regression SuperTrend + WAIT Panel is a trend-filter and market regime indicator designed to help traders identify the dominant market direction and avoid low-quality trading conditions.
This script combines:
Regression-based SuperTrend to define the primary trend (UP / DOWN)
A WAIT panel to filter tradable conditions
ADX, RSI, and CCI values displayed in a compact panel for quick context
Buy / Sell labels on the chart do not represent entry signals.
They only indicate trend regime changes.
🔹 How to Use
1. Trend Direction
Green line (UP) → Focus on LONG setups only
Red line (DOWN) → Focus on SHORT setups only
2. WAIT Panel
WAIT(L) → Long bias environment, wait for proper entries
WAIT(S) → Short bias environment, wait for proper entries
Low ADX → Weak or ranging market, trading is not recommended
RSI and CCI values are shown for momentum context only.
🔹 Best Practice
This indicator is not a standalone trading system.
It is intended to be used as:
A higher-timeframe bias tool
A trend and regime filter for lower-timeframe strategies or oscillators
Example:
Regression UP + WAIT(L) → Only look for long setups on lower timeframes
🔹 Who Is This For?
Trend-based traders
ICT / market structure traders
Traders who want to clearly identify when NOT to trade
⚠️ Disclaimer
This script is for educational purposes only.
It is not financial advice.
All trading decisions and risk management are the user’s responsibility.
Volume-Adjusted CCI Trend [Alpha Extract]A sophisticated trend identification system that combines dual EMA direction analysis with volume-weighted normalization and CCI momentum filtering for comprehensive trend validation. Utilizing Volume RSI integration and standard deviation-based bands that expand and contract with volume characteristics, this indicator delivers institutional-grade trend detection with multi-layered confirmation requirements. The system's volume adjustment mechanism modulates signal sensitivity based on participation strength while CCI thresholds prevent false signals during weak momentum conditions, creating a robust trend-following framework with reduced whipsaw susceptibility.
🔶 Advanced Dual EMA Direction Engine
Implements fast and slow exponential moving average comparison to establish primary trend direction bias with configurable period parameters for timeframe optimization. The system calculates trend direction as binary +1 (bullish when fast EMA exceeds slow EMA) or -1 (bearish when slow exceeds fast), providing foundational directional input that requires additional confirmation before generating actionable trend states.
🔶 Volume-Adjusted Normalization Framework
Features sophisticated normalization calculation that measures price deviation from basis EMA, scales by standard deviation, then applies volume-weighted adjustment factor for participation-sensitive signal generation. The system calculates Volume RSI to quantify relative volume strength, converts to ratio format, and multiplies normalized deviation by volume factor scaled by impact parameter, creating signals that strengthen during high-volume confirmations and weaken during low-volume moves.
// Volume-Adjusted Normalization
Vol_Ratio = Volume_RSI / 50
Vol_Factor = 1 + (Vol_Ratio - 1) * Vol_Impact
Dev = src - Basis_EMA
Raw_Normalized = Dev / (StdDev * Multiplier)
Vol_Adjusted_Norm = Raw_Normalized * Vol_Factor
🔶 CCI Momentum Filter Integration
Implements Commodity Channel Index threshold system with configurable upper and lower bounds to validate trend strength and filter sideways market conditions. The system calculates standard CCI with adjustable length, compares against asymmetric thresholds (default +100 bullish, -50 bearish), and requires CCI confirmation in addition to EMA direction and normalized deviation before transitioning trend states, ensuring only high-conviction signals generate entries.
🔶 Multi-Layer Trend State Logic
Provides intelligent trend state machine requiring simultaneous confirmation from EMA direction, volume-adjusted normalization threshold breach, and optional CCI momentum validation. The system maintains persistent trend state that only transitions when all three conditions align, preventing premature reversals during temporary retracements or low-volume fluctuations while capturing genuine trend changes with institutional-grade confirmation requirements.
🔶 Dynamic Volume Band Architecture
Creates volatility-adjusted bands around basis EMA using standard deviation multiplied by volume factor, producing channels that widen during high-volume periods and contract during low-volume consolidations. The system applies identical volume adjustment to band calculations as normalization metric, ensuring visual envelope consistency with underlying signal logic and providing intuitive reference boundaries for trend-following price action.
🔶 Gradient Strength Visualization System
Implements color intensity modulation based on normalized signal strength relative to threshold requirements, creating visual feedback that communicates trend conviction. The system calculates strength ratio by dividing absolute normalized value by threshold, caps at 1.0, and applies gradient interpolation from muted to vivid colors, instantly conveying whether current trend exhibits marginal or strong characteristics through line and candle coloring.
🔶 Volume RSI Calculation Engine
Utilizes RSI methodology applied to volume series rather than price to quantify relative participation strength with normalization to 0.5-1.5 range for factor multiplication. The system processes volume through standard RSI calculation, divides by 50 to center around 1.0, and produces ratio values where readings above 1.0 indicate above-average volume and below 1.0 suggest below-average participation for signal adjustment purposes.
🔶 Asymmetric Threshold Configuration
Features separate positive and negative normalization thresholds with independent CCI upper and lower bounds enabling optimization for bullish versus bearish signal generation characteristics. The system defaults to symmetric normalized thresholds (±0.2) but asymmetric CCI levels (+100/-50), recognizing that bullish momentum often requires stronger confirmation than bearish reversals in typical market structures.
🔶 Comprehensive Visual Integration
Provides multi-dimensional trend visualization through color-coded basis line, volume-adjusted bands with gradient fills, trend-synchronized candle coloring, and transition signal labels. The system enables selective display toggling for each visual component while maintaining consistent color scheme and strength-based intensity across all elements for cohesive chart presentation without overwhelming information density.
🔶 Alert and Signal Framework
Generates trend change alerts when state transitions occur with all confirmation requirements satisfied, providing notifications for bullish (transition to +1) and bearish (transition to -1) signals. The system implements state change detection through comparison with previous bar trend state, ensuring single alert per transition rather than continuous notifications during sustained trends.
🔶 Performance Optimization Architecture
Employs efficient calculation methods with null value handling for Volume RSI initialization and nz() functions preventing calculation errors during early bars. The system includes intelligent state persistence maintaining previous trend during ambiguous conditions and optimized gradient calculations balancing visual quality with computational efficiency across extended historical periods.
🔶 Why Choose Volume-Adjusted CCI Trend ?
This indicator delivers sophisticated trend identification through multi-layered confirmation combining directional EMA analysis, volume-weighted normalization, and momentum validation via CCI filtering. Unlike traditional trend indicators relying solely on price-based calculations, the volume adjustment mechanism ensures signals strengthen during high-participation moves and weaken during low-volume drifts, reducing false breakouts and choppy market whipsaws. The system's requirement for simultaneous EMA direction, normalized threshold breach, and CCI momentum confirmation creates institutional-grade signal quality suitable for systematic trend-following approaches across cryptocurrency, forex, and equity markets. The volume-adjusted bands provide dynamic support/resistance references while the gradient strength visualization enables instant assessment of trend conviction for position sizing and risk management decisions.
Supply & Demand MTF x3 (Input TF)📦 Supply & Demand MTF x3 (Input TF)
Supply & Demand MTF x3 is a clean and powerful indicator designed to automatically detect and display Supply and Demand zones across multiple timeframes directly on your chart.
It focuses on clarity, flexibility, and control, allowing traders to visualize higher-timeframe institutional zones while trading on any lower timeframe.
🚀 Key Features
✅ Up to 3 independent timeframes
✅ Automatic Supply & Demand zone detection
✅ Swing-based logic (pivot highs & lows)
✅ Non-repainting zones
✅ Automatic zone invalidation
✅ Maximum zone control (keep charts clean)
✅ Fully customizable colors, borders, and visibility
✅ Works on any market and timeframe
🧠 How It Works
The indicator identifies Supply and Demand zones using pivot highs and pivot lows:
Supply Zone
Created from a pivot high
Represents areas where selling pressure previously dominated
Demand Zone
Created from a pivot low
Represents areas where buying pressure previously dominated
Each zone:
Starts at the candle where the swing is confirmed
Extends automatically to the current bar
Is deleted immediately once price invalidates it:
Supply → price closes above the zone
Demand → price closes below the zone
This ensures that only valid and active zones remain on the chart.
⏱ Multi-Timeframe Logic (MTF x3)
You can enable up to 3 different timeframes, each with its own settings.
For example:
TF1 → 15m (execution zones)
TF2 → 1H (intraday structure)
TF3 → 4H / Daily (institutional zones)
Each timeframe is processed independently and displayed on your current chart.
⚙️ Common Settings
These settings apply to all timeframes:
▸ Swing Left / Right Bars
Defines how many candles are used to confirm a swing high or low.
Higher values → stronger, more reliable zones
Lower values → more frequent zones
▸ Minimum Zone Size (%)
Filters out very small zones.
Helps remove noise
Keeps only meaningful price areas
▸ Max Supply / Demand Zones
Limits how many zones can be displayed at the same time.
Oldest zones are removed first
Keeps the chart clean and readable
⏱ Timeframe Settings (TF1 / TF2 / TF3)
Each timeframe has its own dedicated section.
▸ Timeframe
Choose the timeframe used to calculate zones (e.g. 15, 60, 240).
▸ Show Supply / Demand
Enable or disable Supply or Demand zones individually.
▸ Colors
Fully customizable:
Supply fill & border
Demand fill & border
▸ Border Width
Adjust zone visibility based on your chart style.
🎯 Best Use Cases
This indicator works best when used as:
🔹 HTF Supply & Demand map
🔹 Confluence tool for entries
🔹 Support & resistance replacement
🔹 Scalping, intraday, or swing trading
Combine it with:
Market structure
Liquidity concepts
Price action confirmations
Trend filters
🧼 Clean by Design
No repainting
No future leak
No over-drawing
No unnecessary calculations
Only validated zones that matter stay on your chart.
⚠️ Important Notes
Zones are not trade signals
They represent areas of interest, not guaranteed reversals
Always use proper confirmation and risk management
🧩 Summary
Supply & Demand MTF x3 gives you:
✔ Multi-timeframe perspective
✔ Maximum customization
✔ Clean charts
PSP Suite for Algo 1HTF -25% Target## 🔹 PSP Suite for Algo 1HTF – 25% Target
**(Nifty Options – CE / PE)**
### 📌 What this indicator is for
PSP Suite for Algo is a **trend-based directional options indicator** designed specifically for **NIFTY index options trading**.
It helps traders capture **high-probability directional moves** with **clear CE / PE signals**, controlled risk, and predefined targets.
---
## ⏱ Best Timeframe
* **Primary Timeframe:** ✅ **1 Hour (1H TF)**
* Do **not** use on lower timeframes for best accuracy
* Works best during **trending sessions**
---
## 📊 Instrument Best Suited
* **NIFTY Index**
* **NIFTY Weekly Options**
* Buy **CE** on BUY signal
* Buy **PE** on SELL signal
⚠️ Avoid Bank Nifty / Fin Nifty unless properly back-tested.
---
## 🟢 How to Trade (Simple Rules)
### ▶ BUY CE Signal
* When **BUY CE** label appears:
* Buy **ATM or slight ITM CE**
* Prefer same-week expiry
* Enter **after candle close** on 1H timeframe
### ▶ BUY PE Signal
* When **SELL PE** label appears:
* Buy **ATM or slight ITM PE**
* Prefer same-week expiry
* Enter **after candle close** on 1H timeframe
🚫 No over-trading: **Only one position per signal**
---
## 🎯 Target & Stop Loss (Strict Rule)
* **Target:** 🎯 **25% Option Premium**
* **Stop Loss:** ❌ **25% Option Premium**
* **Risk : Reward:** ⚖️ **1 : 1**
👉 When trade moves strongly in your favor, **manual trailing is recommended** (as shown on chart).
---
## 💰 Expected Returns on Nifty
* **Per Trade:**
* ~ **100 – 250 Nifty points equivalent move**
* Option premium typically gives **20–40% moves**
* **Accuracy:** High during **clear trends**
* Best results when market is **not sideways**
---
## 📅 Ideal Market Conditions
✅ Trending Market
✅ Expansion after consolidation
❌ Avoid very low-volatility / choppy sessions
---
## 🔔 Alerts
* Built-in alerts available for:
* **BUY CE**
* **BUY PE**
* Recommended to enable **Once Per Bar Close**
---
## 🧠 Important Notes
* This is **not a scalping tool**
* Designed for **positional intraday / short swing**
* Follow **discipline in SL & position sizing**
* Works best with **trend confirmation from price structure**
---
## ⚠️ Disclaimer
This indicator is for **educational and analytical purposes only**.
Options trading involves risk. Please trade responsibly.
Old Glory Exhaustion Detector / In Chart Oscillator SignalsThis custom oscillator-based indicator detects potential trend exhaustion and reversal points through overextension thresholds. It highlights overextended candle bodies in gold and plots diamonds for buy/sell signals (red/blue), regular divergences (yellow), and hidden divergences (silver). Customize lengths, thresholds, and all colors via inputs for flexible analysis across timeframes.
Cumulative Volume Delta (CVD) Suite [QuantAlgo]🟢 Overview
The Cumulative Volume Delta (CVD) Suite is a comprehensive toolkit that tracks the net difference between buying and selling pressure over time, helping traders identify significant accumulation/distribution patterns, spot divergences with price action, and confirm trend strength. By visualizing the running balance of volume flow, this indicator reveals underlying market sentiment that often precedes significant price movements.
🟢 How It Works
The indicator begins by determining the optimal timeframe for delta calculation. When auto-select is enabled, it automatically chooses a lower timeframe based on your chart period, e.g., using 1-second bars for minute charts, 5-second bars for 5-minute charts, and progressively larger intervals for higher timeframes. This granular approach captures volume flow dynamics that might be missed at the chart level.
Once the timeframe is established, the indicator calculates volume delta for each bar using directional classification:
getDelta() =>
close > open ? volume : close < open ? -volume : 0
When a bar closes higher than it opens (bullish candle), the entire volume is counted as positive delta representing buying pressure. Conversely, when a bar closes lower than its open (bearish candle), volume becomes negative delta representing selling pressure. This classification is applied to every bar in the selected lower timeframe, then aggregated upward to construct the delta for each chart bar:
array deltaValues = request.security_lower_tf(syminfo.tickerid, lowerTimeframe, getDelta())
float barDelta = 0.0
if array.size(deltaValues) > 0
for i = 0 to array.size(deltaValues) - 1
barDelta := barDelta + array.get(deltaValues, i)
This aggregation process sums all the individual delta values from the lower timeframe bars that comprise each chart bar, capturing the complete volume flow activity within that period. The resulting bar delta then feeds into the various display calculations:
rawCVD = ta.cum(barDelta) // Cumulative sum from chart start
smoothCVD = ta.sma(rawCVD, smoothingLength) // Smoothed for noise reduction
rollingCVD = math.sum(barDelta, rollingLength) // Rolling window calculation
Note: This directional bar approach differs from exchange-level orderflow CVD, which uses tick data to separate aggressive buy orders (executed at the ask price) from aggressive sell orders (executed at the bid price). While this method provides a volume flow approximation rather than pure tape-reading precision, it offers a practical and accessible way to analyze buying and selling dynamics across all timeframes and instruments without requiring specialized data feeds on TradingView.
🟢 Key Features
The indicator offers five distinct visualization modes, each designed to reveal different aspects of volume flow dynamics and cater to various trading strategies and market conditions.
1. Oscillator (Raw): Displays the true cumulative volume delta from the beginning of chart history, accompanied by an EMA signal line that helps identify trend direction and momentum shifts. When CVD crosses above the signal line, it indicates strengthening buying pressure; crosses below suggest increasing selling pressure. This mode is particularly valuable for spotting long-term accumulation/distribution phases and identifying divergences where CVD makes new highs/lows while price fails to confirm, often signaling potential reversals.
2. Oscillator (Smooth): Applies a simple moving average to the raw CVD to filter out noise while preserving the underlying trend structure, creating smoother signal line crossovers. Use this when trading trending instruments where you need confirmation of genuine volume-backed moves versus temporary volatility spikes.
3. Oscillator (Rolling): Calculates cumulative delta over only the most recent N bars (configurable window length), effectively resetting the baseline and removing the influence of distant historical data. This approach focuses exclusively on current market dynamics, making it highly responsive to recent shifts in volume pressure and particularly useful in markets that have undergone regime changes or structural shifts. This mode can be beneficial for traders when they want to analyze "what's happening now" without legacy bias from months or years of prior data affecting the readings.
4. Histogram: Renders the per-bar volume delta as individual histogram bars rather than cumulative values, showing the immediate buying or selling pressure that occurred during each specific candle. Positive (green) bars indicate that bar closed higher than it opened with buying volume, while negative (red) bars show selling volume dominance. This mode excels at identifying sudden volume surges, exhaustion points where large delta bars fail to move price, and bar-by-bar absorption patterns where one side is aggressively consuming the other's volume.
5. Candles: Transforms CVD data into OHLC candlestick format, where each candle's open represents the CVD at the start of the bar and subsequent intra-bar delta changes create the high, low, and close values. This visualization reveals the internal volume flow dynamics within each time period, showing whether buying or selling pressure dominated throughout the bar's formation and exposing intra-bar reversals or sustained directional pressure. Use candle wicks and bodies to identify volume acceptance/rejection at specific CVD levels, similar to how price candles show acceptance/rejection at price levels.
▶ Built-in Alert System: Comprehensive alerts for all display modes including bullish/bearish momentum shifts (CVD crossing signal line), buying/selling pressure detection (histogram mode), and bullish/bearish CVD candle formations. Fully customizable with exchange and timeframe placeholders.
▶ Visual Customization: Choose from 5 color presets (Classic, Aqua, Cosmic, Ember, Neon) or create your own custom color schemes. Optional price bar coloring feature overlays CVD trend colors directly onto your main chart candles, providing instant visual confirmation of volume flow and making divergences immediately apparent. Optional info label with configurable position and size displays current CVD values, data source timeframe, and mode at a glance.
HVMTRIGGERS
This uses INTRADAY price action to find triggers where retail traders are trapped and milked for liquidity
eBacktesting - Learning: Order BlockseBacktesting – Learning: Order Blocks helps you spot Order Blocks on your chart in a clean, beginner-friendly way.
When price breaks structure, the indicator highlights the last opposite candle that often becomes a key reaction zone later (the Order Block). You’ll see the OB marked as a zone, and when price comes back and mitigates it (returns into the zone), that OB is removed so your chart stays uncluttered and focused on what matters now.
This indicator is built to pair perfectly with the eBacktesting extension, where traders can practice these concepts step-by-step. Backtesting concepts visually like this is one of the fastest ways to learn, build confidence, and improve trading performance.
Educational use only. Not financial advice.
Gann Sacred Geometry Hexagram Ver 1.2━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔯 GANN SACRED GEOMETRY HEXAGRAM v1.2
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
A comprehensive technical analysis tool combining W.D. Gann's sacred geometry principles,
hexagram patterns, and advanced confluence scoring for high-probability trade signals.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📖 GANN THEORY BACKGROUND
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
W.D. Gann (1878-1955) believed markets move in geometric patterns and that price
and time must be in balance. His methods incorporated:
- The Square of Nine
- Geometric angles (1x1, 2x1, etc.)
- Sacred geometry and natural law
- Cycle theory and time divisions
- The principle "When time and price square, a change in trend is imminent"
This indicator applies these timeless principles with modern confluence analysis.
SACRED GEOMETRY FOUNDATION:
The hexagram (six-pointed star) is formed by two overlapping equilateral triangles:
- ▲ Upward triangle = Yang energy, bullish forces, expansion
- ▼ Downward triangle = Yin energy, bearish forces, contraction
When overlapped, they create the "Star of David" - representing perfect balance
between opposing market forces. Gann believed this geometry revealed natural
support and resistance zones where price would react.
HEXAGRAM IN MARKETS:
- 6 outer points = Major reversal zones
- Center point = Balance/equilibrium price
- Inner intersections = Secondary support/resistance
- The shape itself creates "harmonic" price levels
GANN'S SQUARE PHILOSOPHY:
"When time and price square, a change in trend is imminent."
- W.D. Gann
This indicator applies the "squaring" concept:
1. SPATIAL SQUARE: Grid cells are perfect squares in price-time space
2. TEMPORAL SQUARE: Time divisions (1/4, 1/2, 3/4) create cycle points
3. PRICE SQUARE: Price divisions (25%, 50%, 75%) mirror time divisions
4. GEOMETRIC SQUARE: All geometry radiates from perfect square centers
When price reaches a corner or edge of a square at a time cycle point,
the "squaring" of price and time creates a reversal probability zone.
PHI IN GANN GEOMETRY:
The Golden Ratio appears throughout natural phenomena and market structure.
This script uses φ in two primary ways:
1. INNER TRIANGLE SCALING:
- Outer triangles span the full cell (100%)
- Inner triangles scaled by φ⁻¹ (0.618 or 61.8%)
- This creates Fibonacci retracement levels geometrically
2. HARMONIC RESONANCE:
- φ ratio divides price space into natural harmony
- Markets tend to pause/reverse at these φ-scaled levels
- Combines Fibonacci analysis with Gann geometry
MATHEMATICAL RELATIONSHIP:
Inner Triangle Height = Outer Height × 0.618
Inner Triangle Width = Outer Width × 0.618
These create the 61.8% retracement levels automatically
within each grid cell's geometry.
GANN'S COMPLETE ANGLE SYSTEM:
Gann identified 9 primary angles that price follows. Each represents a different
relationship between price movement and time passage:
╔════════════════════════════════════════════════════════════════╗
║ ANGLE │ RATIO │ DEGREES │ MEANING ║
╠════════════════════════════════════════════════════════════════╣
║ 1x8 │ 1:8 │ 7.125° │ Very slow trend (gentle) ║
║ 1x4 │ 1:4 │ 14.036° │ Slow trend ║
║ 1x3 │ 1:3 │ 18.435° │ Moderate-slow trend ║
║ 1x2 │ 1:2 │ 26.565° │ Moderate trend ║
║ 1x1 │ 1:1 │ 45.000° │ MASTER ANGLE (most important) ║
║ 2x1 │ 2:1 │ 63.435° │ Strong trend ║
║ 3x1 │ 3:1 │ 71.565° │ Very strong trend ║
║ 4x1 │ 4:1 │ 75.964° │ Extreme trend ║
║ 8x1 │ 8:1 │ 82.875° │ Parabolic trend (unsustainable)║
╚════════════════════════════════════════════════════════════════╝
THE 1x1 ANGLE - THE MASTER:
- Most important angle in Gann theory
- Represents perfect balance: 1 unit price = 1 unit time
- When price is ABOVE 1x1 = Bullish control
- When price is BELOW 1x1 = Bearish control
- Crossing 1x1 = Major trend change signal
ANGLE FANS:
- From any pivot point, all 9 angles radiate outward
- Creates a "fan" of dynamic support/resistance
- Steeper angles (4x1, 8x1) = strong momentum resistance
- Gentler angles (1x4, 1x8) = weak support in downtrends
THE SACRED DIVISIONS OF TIME:
Gann divided all cycles into 8 equal parts, based on ancient geometry
and astrological principles:
CYCLE DIVISIONS (8ths):
┌─────────────────────────────────────────────────────┐
│ 1/8 = 12.5% │ First minor turn point │
│ 2/8 = 25.0% │ First major turn (Cardinal) │
│ 3/8 = 37.5% │ Second minor turn │
│ 4/8 = 50.0% │ MID-CYCLE (most powerful) │
│ 5/8 = 62.5% │ Third minor turn │
│ 6/8 = 75.0% │ Second major turn (Cardinal) │
│ 7/8 = 87.5% │ Fourth minor turn │
│ 8/8 = 100.0% │ CYCLE COMPLETION (reversal zone) │
└─────────────────────────────────────────────────────┘
WHY EIGHTHS?
- 8 is the number of balance in sacred geometry
- Octave divisions create harmonic resonance
- 360° circle ÷ 8 = 45° (the 1x1 master angle)
- Natural cycles show 8-fold symmetry
IN THIS SCRIPT:
When current time position is within 8% of any eighth division,
the "Gann 8ths Timing" factor activates, adding confluence points.
THE CARDINAL CROSS SYSTEM:
The Cardinal Cross divides any square into four equal quadrants,
creating a cross pattern:
100% ●━━━━━━━━━━━━━●
┃ ↑ ┃
75% ┃ SELL ZONE ┃ ← Resistance quadrant
┃ ↑ ┃
50% ●━━━━━●━━━━━━● ← EQUILIBRIUM (most important)
┃ ↓ ┃
25% ┃ BUY ZONE ┃ ← Support quadrant
┃ ↓ ┃
0% ●━━━━━━━━━━━━━●
PRICE LEVELS:
- 0% = Bottom support (grid cell low)
- 25% = Lower mid-level support
- 50% = PERFECT BALANCE - most powerful level
- 75% = Upper mid-level resistance
- 100% = Top resistance (grid cell high)
TIME DIVISIONS:
- 0% = Cycle start (grid cell left edge)
- 25% = First quarter turn
- 50% = Mid-cycle (most powerful timing)
- 75% = Third quarter turn
- 100% = Cycle completion (grid cell right edge)
CONFLUENCE MAGIC:
When BOTH price AND time align at cardinal points simultaneously:
Example: Price at 50% level + Time at 50% of cycle = Maximum power
This is the "squaring" Gann referred to.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 KEY FEATURES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Dynamic Grid System (1x1 to 7x7) - Automatically constructed from swing high to swing low
✅ Sacred Geometry Hexagrams - Overlapping triangles creating Star of David pattern
✅ Golden Ratio (φ = 1.618) Inner Triangles - Fibonacci harmony in geometry
✅ 9 Complete Gann Angles - 1x1, 2x1, 1x2, 3x1, 1x3, 4x1, 1x4, 8x1, 1x8
✅ Cardinal Cross Levels - 0%, 25%, 50%, 75%, 100% price divisions
✅ Gann 8ths Timing Cycles - 1/8, 1/4, 3/8, 1/2, 5/8, 3/4, 7/8 time divisions
✅ Price-Time Square Balance - Gann's principle of harmonious price-time relationship
✅ Advanced Confluence Scoring - Multi-factor signal validation (8-30 score range)
✅ Optimized Geometry Display - Shows full detail only near current price (reduces clutter)
✅ Customizable Visual Themes - Full color and thickness control
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 HOW IT WORKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📍 GRID CONSTRUCTION:
The indicator identifies the most recent significant swing high-to-low movement using
configurable pivot periods (default: 88 bars). This creates the base "square" which is
then replicated in a grid pattern both vertically (price) and horizontally (time).
📐 SACRED GEOMETRY:
Each grid cell contains:
- Outer hexagram (Star of David) formed by two overlapping triangles
- Inner φ-ratio triangles scaled by the Golden Ratio
- Gann angles radiating from the center point
- Cardinal cross levels dividing price into quarters
🔍 CONFLUENCE SCORING SYSTEM:
Signals are generated when multiple Gann principles align:
1. Cardinal Cross Levels (0-6 points) - Price at key quarter divisions
2. Gann Angle Touches (0-5 points) - Price touching dynamic support/resistance angles
3. Angle Clustering (0-6 points) - Multiple angles converging = strong zone
4. Gann 8ths Timing (0-3 points) - At critical time cycle points
5. Price-Time Square (0-4 points) - Balanced price/time movement
6. Trend Alignment (0-3 points) - Signal direction matches trend
7. Grid Boundary Timing (0-3 points) - Near cell edges = reversal zones
8. φ Triangle Touches (0-2 points) - Golden ratio support/resistance
9. Reversal Patterns (0-2 points) - Wick rejections confirming reversal
Minimum confluence score of 15 required for signal (adjustable 8-30).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ RECOMMENDED SETTINGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 For Daily Charts (Swing Trading):
- Gann Number: 88
- Grid Size: 4x4
- Confluence Score: 15
- Geometry Range: 5
- Trend Filter: ON
📊 For 4H Charts (Intraday):
- Gann Number: 44
- Grid Size: 3x3
- Confluence Score: 12-13
- Geometry Range: 3-4
- Trend Filter: ON
📊 For 15M Charts (Scalping):
- Gann Number: 22
- Grid Size: 2x2
- Confluence Score: 10-12
- Geometry Range: 2-3
- Allow Counter-Trend: Consider enabling
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📚 BEST PRACTICES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✓ Use higher confluence scores (15+) for higher probability trades
✓ Combine with volume analysis for confirmation
✓ Respect trend filter - signals with trend are stronger
✓ Watch for signals at grid boundaries (time cycle completions)
✓ Higher scores (20+) indicate exceptional setups
✓ Use alerts to catch signals in real-time
✓ Works best on liquid markets with clear swings
EXAMPLE 1: Strong Buy Signal (Score: 18)
✓ Price touched 50% level (6 pts)
✓ 1x1 Gann angle support (5 pts)
✓ At Gann 8th cycle point (3 pts)
✓ Price-Time squared (4 pts)
= High probability long entry
EXAMPLE 2: Medium Sell Signal (Score: 15)
✓ Price at 75% level (4 pts)
✓ 2x1 angle resistance (3 pts)
✓ Trend aligned downward (3 pts)
✓ Near grid boundary (3 pts)
✓ Bearish wick rejection (2 pts)
= Valid short entry
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎨 CUSTOMIZATION OPTIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Structure: Gann Number (11, 22, 44, 88, 176, 352)
- Grid: Size from 1x1 to 7x7
- Geometry: Toggle squares, triangles, angles, levels
- Optimization: Show geometry only near price (performance boost)
- Thickness: All line widths adjustable (1-5)
- Colors: Full color customization for all elements
- Scoring: Adjust all tolerance and threshold parameters
- Timing: Enable/disable Gann 8ths, Price-Time Square
- Filters: Trend filter, boundary requirement, counter-trend signals
- Display: 4 signal styles (Labels, Diamonds, Circles, Stars)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT NOTES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- This indicator is for educational purposes
- Not financial advice - always do your own research
- Past performance does not guarantee future results
- Use proper risk management and position sizing
- Combine with other analysis methods for best results
- Grid redraws when new swing high/low forms
- Signals appear in real-time based on confluence scoring
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📞 SUPPORT & UPDATES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Follow for updates and improvements. Feedback welcome!
Version 1.2 - January 2025
- Optimized geometry rendering
- Enhanced confluence scoring
- Improved visual clarity
- Performance optimizations
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Swing trend Pro Buy and Sell Alerts Bu AMit NamdeoThis script, "Swing Pro ", is a complete Trend Following system designed for Swing Trading. It moves away from the complexity of needing all 3 EMAs to align perfectly and instead uses a simpler, more robust logic that filters out noise using a "Base Support" concept.
Here is a breakdown of exactly how it works:
1. The Strategy Logic (The Core)
The script combines Momentum (Crossovers) with Location (Base Support) to generate high-probability signals.
The Trigger (Entry):
It watches for a crossover between the Fast EMA (20) and Medium EMA (50).
Buy Trigger: 20 EMA crosses Above 50 EMA.
Sell Trigger: 20 EMA crosses Below 50 EMA.
The Filter (Location):
Signals are only valid if they happen on the correct side of the Slow EMA (200) (The Blue Line).
For Buys: The price must be ABOVE the Blue 200 EMA. This ensures you are buying in a long-term uptrend where the 200 EMA acts as a floor/support.
For Sells: The price must be BELOW the Blue 200 EMA. This ensures you are selling in a downtrend where the 200 EMA acts as a ceiling/resistance.
ADX Filter:
It checks the ADX (Average Directional Index). If the ADX is below 20 (default), the market is considered "Choppy/Sideways," and the signal is ignored. This saves you from entering false breakouts.
2. Risk Management (Automated)
Once a trade is entered, the script automatically handles the risk math for you based on the ATR (Average True Range).
Stop Loss (SL):
Initial SL: Placed at 1.5x ATR away from the entry price.
Trailing SL: As the price moves in your favor, the Orange SL line automatically moves up (for buys) or down (for sells). It acts as a ratchet—it never moves backwards, locking in your profit.
Take Profits (TP):
TP1: 2.0x ATR (Conservative target).
TP2: 3.5x ATR (Standard swing target).
TP3: 5.0x ATR (Extended trend target).
3. Visuals & Layout
Modern Badges: Bright Green "BUY" and Red "SELL" buttons appear directly on the chart candles.
Dynamic Lines:
Orange Line: Your Trailing Stop Loss. It disappears when the trade is over.
Blue Dashed Lines: Your TP1, TP2, and TP3 targets.
EMA Colors:
Green Line: Fast EMA (20).
Orange Line: Medium EMA (50).
Thick Blue Line: Slow EMA (200 / Base Support).
Bar Coloring: The candles turn bright Green or Red during an active trade to help you instantly see the trend state.
4. How to Trade with It
The Buy Setup:
Wait for the price to be floating above the Thick Blue Line (200 EMA).
Wait for the Green Line (20) to cross up through the Orange Line (50).
A "BUY" badge appears.
Action: Enter the trade. Set your physical Stop Loss at the price shown by the Orange SL line.
The Sell Setup:
Wait for the price to be below the Thick Blue Line (200 EMA).
Wait for the Green Line (20) to cross down through the Orange Line (50).
A "SELL" badge appears.
Action: Enter Short. Follow the Orange SL line down as price drops.
5. Settings Menu
You can customize almost everything in the indicator settings:
Lengths: Change the EMA lengths (e.g., to 9/21/200 if you prefer faster scalping).
Risk: Change the ATR multipliers to make the Stop Loss tighter (e.g., 1.0) or wider (e.g., 2.0).
Visuals: Change the badge sizes (Small/Normal/Large) and colors to fit your dark/light theme.
CVD Complete Volume Analysis ProCVD Complete Volume Analysis Pro | Order Flow & Absorption
Introduction:
In the world of modern trading, Price is the advertisement, but Volume is the fuel. However, standard volume indicators on TradingView are often insufficient. They tell you how much was traded, but they don’t tell you how it was traded.
Was that large volume spike aggressive buying driving the trend? or was it a "buying frenzy" hitting a wall of passive limit orders (absorption)?
The CVD Complete Volume Analysis Pro (v5) is an advanced institutional-grade Order Flow engine. By utilizing 1-second intrabar data, this indicator reconstructs the "Tick Rule" to separate Aggressive (Market) orders from Passive (Limit) orders. It calculates Cumulative Volume Delta (CVD), detects Absorption/Distribution anomalies, and utilizes an embedded Logistic Regression model to predict daily directional bias.
This is not just an indicator; it is a complete Order Flow Dashboard designed to aid and support complex footprint charts for the everyday trader.
🏗️ How It Works: The "Micro-Structure" Engine
Most volume indicators on TradingView look at the close of a 1-minute or 5-minute bar to guess the volume direction. This script goes deeper.
1. The 1-Second Granularity
Using TradingView's request.security_lower_tf capability, this script pulls 1-second resolution data regardless of the chart timeframe you are on.
It analyzes the price movement every second.
It applies the "Tick Rule": If price moves up, volume is classified as Buy. If price moves down, volume is classified as Sell.
This allows for a highly accurate reconstruction of Buying vs. Selling pressure that standard indicators miss.
2. The "Cluster" Concept
The script aggregates these 1-second data points into Clusters.
Default: 60 seconds (1 minute) per cluster.
This creates a normalized "Heartbeat" of the market, allowing us to compare the efficiency of volume over fixed time windows, removing the noise of time-based chart distortions.
3. The "Passive" Detection Logic (The Core Feature)
This is the most powerful aspect of the tool. It calculates the relationship between Effort (CVD) and Result (Price Move).
The Baseline: The script calculates a rolling statistical baseline (Standard Deviation) of how much price should move for a given amount of Delta.
Absorption (Hidden Buying): If we see massive Aggressive Selling (Negative CVD) but price refuses to drop (or drops significantly less than the statistical model predicts), the script identifies this as Passive Buying.
Distribution (Hidden Selling): If we see massive Aggressive Buying (Positive CVD) but price refuses to rise, the script identifies this as Passive Selling.
📊 The Dashboard Breakdown
The on-screen dashboard is your command center. It updates in real-time to provide a snapshot of the market's internal mechanics.
Section 1: Flow Analysis
This section analyzes the current session's behavior.
Flow Type: Categorizes the market state using algorithmic logic.
Aggressive Buying/Selling: The market is trending, and aggressive participants are winning.
Strong Accumulation/Distribution: A reversal signal. Aggressive participants are trapped, and passive whales are absorbing order flow.
Flow vs. Price: Detects divergences instantly.
Bullish Divergence: Net Flow is Positive, but Price is down (indicates manipulation or temporary suppression).
Bearish Divergence: Net Flow is Negative, but Price is up (indicates a "trap" move).
Section 2: Volume Breakdown
A detailed ledger of the day's activity.
Aggressive Buy/Sell: Market orders executing at the ask/bid. This represents "Impatience."
Passive Buy/Sell: The estimated volume of Limit Orders absorbing the aggressive flow. This represents "Intent."
Net Flow: The mathematical sum of all buy pressure minus sell pressure.
Section 3: Net Positioning (Multi-Day)
Markets don't happen in a vacuum. This section looks back (default 5 days) to see the accumulated inventory.
Bias: Are we in a multi-day accumulation or distribution phase?
Activity Type:
High Hidden Activity: Indicates a fighting market with heavy limit orders (choppy/reversal prone).
Mostly Aggressive: Indicates a trending market with low resistance.
Section 4: Predictive Model (Machine Learning)
The script features an embedded Logistic Regression Model.
It trains on the last N days of Flow Data (CVD, Net Aggressive, Net Passive, Passive Ratios).
It outputs a Probability Score (0% to 100%) regarding the likelihood of an UP close for the current session.
Note: This is a probability model based on order flow history, not a guarantee. Use it as a bias confirmation tool.
🧠 Educational: How to Trade With This
Strategy 1: The "Absorption" Reversal
Context: Price hits a major resistance level.
Look at the Dashboard: You want to see "Flow Type" switch to "Strong Distribution".
The Logic: Price is rising, and aggressive buyers are hitting the ask. However, the script detects that for every buy order, a passive seller is absorbing it. Price stops moving up despite high volume.
The Trigger: When Price creates a lower low on the chart while the dashboard shows Distribution, this is a high-probability short entry.
Strategy 2: The Flow Divergence
Context: Price is trending down.
Look at the Dashboard: Price is making new lows, but the "Net Flow" is turning Green (Positive), or the "Cum CVD" is sloping upwards.
The Logic: This is "Effort vs. Result." Sellers are exhausted. They are pushing price down, but the net flow is shifting to buyers.
The Trigger: Enter Long on the first structure break.
Strategy 3: Trend Continuation
Context: Market is opening or breaking a range.
Look at the Dashboard: You want "Full Alignment."
Signals: "Flow Type" says Aggressive Buying, Net Flow is Positive, and the Predictive Model shows >60% Bullish Probability.
The Logic: There is no passive resistance. Aggressive buyers are pushing price up freely.
The Trigger: Buy pullbacks.
⚙️ Settings & Configuration
Cluster Size: The number of 1-second bars to group together.
Use 60 (1 min) for Scalping.
Use 300 (5 min) for Day Trading.
Average Length: The baseline for statistical calculations. Higher numbers = smoother baselines but slower adaptation.
Detection Settings:
Passive Multiplier: Adjusts the sensitivity of the absorption estimation. 1.0 is standard. Increase to 1.5 if you only want to see extreme anomalies.
Daily Tracking:
History Days: How many days of data to display in the table. Note: Due to TradingView data limits, keeping this between 3-5 days ensures the most stability.
⚠️ Important Technical Limitations
Please read this section carefully to understand the constraints of the Pine Script environment:
Data Depth (The 100k Limit): TradingView limits request.security_lower_tf to approximately 100,000 intrabars.
This means the script can typically only "see" the last 3 to 5 days of true 1-second data.
If you set History Days or Training Days too high (e.g., 20 days), the script may return 0 values for older dates because the high-resolution data simply doesn't exist on the server.
Approximation of Ticks: While 1-second data is extremely precise, it is still an aggregation. In extremely high-volatility events (like CPI releases), multiple ticks happen inside one second. The script attributes the volume of that second based on the close relative to the open/prev close. It is the best approximation possible on TradingView, but not a replacement for Level 3 Tick Data feeds.
Calculation Time: This is a heavy script. On lower-end devices or when loading on many charts simultaneously, you may experience a "Calculation took too long" warning. If this happens, reduce the History Days to 3.
🛡️ Disclaimer
No Repainting: This indicator uses strict historical referencing and does not repaint closed clusters.
Not Financial Advice: This tool provides data visualization. Order flow is a subjective art. Always manage your risk.
Author's Note:
I built this tool because I wanted the power of Order Flow footprint charts without the visual clutter. By using statistical baselines to detect passive liquidity, we can finally see the "invisible hand" of the market directly on our TradingView charts. I hope this adds value to your trading.
👍 If you find this script useful, please leave a Boost and a Comment below!






















