Candlestick analysis
Bullmart VWAP [LTF STR]Bullmart Discounted Momentum in conjunction with VWAP is an indicator for identifying areas of increased liquidity on lower timeframes, where stop losses and liquidations are most likely to occur.
The indicator is not designed to search for entry points "by signal". Its main task is to provide a context in which it is possible to understand where the price is moving due to liquidity.
Use Bullmart VWAP only in conjunction with Bullmart Discounted momentum
Clean EMA VWAP Trend Pullback - SrPyeA clean, confirmation-based trend pullback indicator using EMA and VWAP alignment.
Designed to reduce noise and highlight high-probability continuation setups.
Best used on 1–2 minute charts during high-liquidity sessions.
This indicator is designed as a confirmation tool, not a standalone trading system.
Good For NY Session 9:30am - 11:00am - After Lunch 1:00pm- 3:00pm
OR Optional Alerts
- Sr.Pye
Previous HTF Candle Dashboard by UpendraDisplays selected time frames previous closed candle status.. contact me if you need any other information....
predictive tp and SL for tradingThis trading strategy is designed to help you follow the dominant price direction and trade with clearly defined entry, Stop Loss, and Take Profit levels. It combines directional candle signals with the strength of the trend measured by a 14‑period DMI (Directional Movement Index).
On the chart, the script displays a prediction label under each candle, as well as horizontal levels and labels for SL and TP. These visuals are meant to show your trade plan directly on price, so you can focus on execution rather than raw calculations.
How to Buy
Wait for a clear BUY condition:
The prediction label below the candle shows a bullish bias (for example, mainly green wording or “up” bias).
The 14‑period DMI confirms an active uptrend:
The +DI line is above the -DI line.
ADX (the trend strength line within DMI 14) is at a level that indicates a meaningful trend, not a flat or choppy market.
Once these conditions are met at the close of the signal candle:
Use the closing price of that candle as your reference entry for a long position.
Look at the levels marked on the chart:
The SL label marks your Stop Loss level below price.
The TP label marks your Take Profit level above price (TP1 by default, TP2 if you choose it in the settings).
Execute the BUY:
Open a long position after the signal candle closes.
Set your Stop Loss exactly at the SL level indicated by the script.
Set your Take Profit at the TP level currently selected:
By default, the strategy uses TP1 as the main target.
If you switch the input to TP2, the system aims for a more distant target with higher potential reward but a lower hit probability.
Manage the position:
As long as DMI 14 continues to support the uptrend (+DI above -DI and ADX not collapsing), let the trade run until SL or TP is hit.
If you see the DMI structure weakening (ADX drops sharply or -DI crosses above +DI), you may choose to close the position early or tighten your risk, even if TP has not yet been reached.
How to Sell
Wait for a clear SELL condition:
The prediction label under the candle shows a bearish bias (for example, mainly red wording or “down” bias).
The 14‑period DMI confirms a valid downtrend:
The -DI line is above the +DI line.
ADX is at a level that signals a real trend, not just random noise.
Once these conditions are met at the close of the signal candle:
Use the closing price of that candle as your reference entry for a short position.
Check the labels on the chart:
The SL label marks your Stop Loss level above price.
The TP label marks your Take Profit level below price (TP1 by default, or TP2 if selected).
Execute the SELL:
Open a short position after the signal candle closes.
Place your Stop Loss at the SL level shown by the indicator.
Place your Take Profit at the chosen TP level:
TP1 for a nearer, more conservative target.
TP2 for a more ambitious trend trade.
Manage the position:
Keep the short open as long as DMI 14 supports the downtrend (-DI above +DI and ADX remains healthy).
If DMI starts to show signs of reversal (ADX drops or +DI crosses above -DI), you can protect profits by exiting early or adjusting the position.
Risk and Trade Management
Every trade is paired with a predefined Stop Loss and a single active Take Profit level, making the risk–reward profile visible at a glance.
Position sizing should be aligned with your account risk tolerance (for example, risking 1–2% of equity per trade based on the SL distance).
The goal of combining the directional prediction labels with DMI 14 is to keep the decision process simple: wait for alignment between the price bias and the trend strength, then follow the SL and TP levels drawn on the chart.
Impulse Trend TrackerTitle:
Impulse Trend Tracker – Candle-Based Momentum & Dynamic Zones
Description:
The Impulse Trend Tracker is a powerful tool for traders seeking to identify high-probability market momentum and key support/resistance areas using a candle-based acceleration model that measures rapid increases in price movement relative to preceding candles. This approach highlights when the market is trending, slowing, or reversing, helping traders make timely decisions.
Key Features:
• Impulse Detection: Identifies bullish and bearish trend impulses by measuring rapid candle acceleration relative to prior bars.
• Momentum Loss: Detects when price movement slows or stalls, indicating potential trend pauses or reversals.
• Dynamic Supply & Demand Zones: Automatically generates bullish (demand) and bearish (supply) zones based on recent price action and customizable candle counts.
• Mitigation & Broken Zone Handling: Optionally dims or deletes zones that are mitigated or broken, keeping your chart clean and focused.
• Alternating Impulse Tracking: Ensures bullish and bearish impulses are tracked in sequence for clearer trend visualization.
• Customizable Visualization: Full control over colors for bullish, bearish, neutral candles, and zone fills/borders.
• Alerts: Built-in alert conditions for bullish/bearish impulses and loss of momentum for real-time market reaction.
Inputs & Settings:
• Acceleration Factor (φ) & inverse for impulse detection
• Target Cumulative Displacement for trend thresholds
• Wick ratio filtering for weak or indecisive candles
• Candle count and duration for zone creation
• Options to show, dim, or delete mitigated/broken zones
• Full color customization for candles and zones
Usage:
This indicator helps traders:
• Spot when momentum is accelerating or losing strength in real time
• Identify high-probability supply and demand zones for entries or exits
• Track short-term market structure and trend shifts
• Combine with other strategies for confirmation of trend direction
Technical Notes:
• Works on standard OHLC charts. Non-standard chart types (Heikin Ashi, Renko, etc.) may produce inconsistent impulse signals.
• Historical signals should consider realistic slippage and commissions; past impulses do not guarantee future results.
Invite-Only Access Instructions:
To request access to this script, please contact me directly through TradingView messages. Only users who explicitly request access will be granted permission.
Impulse Candle TrackerTitle:
Impulse Candle Tracker
Description:
The Impulse Candle Tracker is a powerful tool for traders seeking to identify high-probability market momentum and supply/demand zones using a candle-based acceleration model that detects rapid price movements relative to preceding candles.
Key Features:
• Impulse Detection: Identifies bullish and bearish impulse candles by measuring strong relative price movement, highlighting genuine momentum shifts.
• Wick Analysis: Suppresses candles with dominant wicks to filter false momentum signals and focus on meaningful moves.
• Dynamic Order Blocks: Automatically generates supply (bearish) and demand (bullish) zones using a customizable number of preceding candles and adjustable duration.
• Mitigation Handling: Optionally dims or deletes mitigated and broken zones to maintain clarity on active levels.
• Customizable Visualization: Full control over colors for bullish, bearish, neutral candles, and zone fills/borders.
• Alerts: Built-in alert conditions for bullish and bearish impulses, allowing real-time reactions to market momentum.
Inputs & Settings:
• Acceleration Factor & inverse for momentum detection
• Wick Ratio Threshold for filtering weak impulses
• Candle count and duration for order block creation
• Options to show, dim, or delete mitigated/broken zones
• Full color customization for candles and zones
Usage:
This indicator helps traders:
• Identify when momentum is accelerating or slowing in real time
• Spot high-probability supply and demand zones for entries or exits
• Understand short-term market structure and price action dynamics
• Combine with other analysis techniques or strategies for trend confirmation
Technical Notes:
• The indicator works on standard OHLC charts. Non-standard chart types (Heikin Ashi, Renko, etc.) are not recommended for impulse detection.
• Backtesting or historical signals should account for realistic slippage and commissions; past impulse signals do not guarantee future results.
Invite-Only Access Instructions:
To request access to this script, please contact me directly through TradingView messages. Only users who explicitly request access will be granted permission.
TAPDA Hourly Open Lines (Candle Body Box)(2)This indicator is designed for traders who follow ICT (Inner Circle Trader) or SMC (Smart Money Concepts) principles, specifically focusing on "TAPDA" hours. It helps visualize key liquidity and session opening levels by drawing horizontal lines based on the candle body (Open and Close) at specific times of the day.
📘 Indicator Description
The TAPDA Hourly Open Lines script acts as an automated "Session Marker." Instead of just marking a single price point, it captures the Candle Body Box—the range between the opening price and the closing price of the first candle of a specific hour.
Key Features:
Automatic Levels: Automatically plots lines for Midnight, 2:00 AM (London Open), 9:00 AM, 9:30 AM (NYSE Open), 2:00 PM (PM Session), and 4:00 PM (Market Close).
Visual Range: It draws two lines (Top and Bottom) for every timeframe, effectively showing you the "body" of that opening candle.
Clean Charts: Uses an array-based system to automatically delete old lines, ensuring your chart doesn't become cluttered with historical data.
Customization: You can toggle specific times on/off, change colors, adjust line thickness, and modify the label text to fit your personal trading style.
🛠 How to Apply the Indicator
Follow these steps to get the script running on your TradingView chart:
1. Copy the Script
Copy the Full Corrected Script provided in the previous message.
2. Open the Pine Editor
At the bottom of your TradingView screen, click on the Pine Editor tab.
If there is existing code there, click Open -> New Blank Indicator and delete everything inside.
3. Paste and Save
Paste the code into the editor.
Click the Save button in the top right. Give it a name like "TAPDA Hourly Open Lines."
4. Add to Chart
Click the Add to Chart button next to the Save button.
The lines should now appear on your price action.
⚠️ Important Usage Notes
To ensure the indicator works correctly, pay attention to these two settings:
A. The Timeframe Requirement
Because the script checks for specific minutes (like 9:30 AM), you must be on a lower timeframe for all lines to show up.
If you are on a 1-Hour chart, the 9:30 AM line will not appear because there is no 9:30 candle.
Recommended Timeframes: 1m, 5m, or 15m.
B. Adjusting the "Manual Time Offset"
The script uses a GMT offset to calculate New York time. If the lines are appearing at the wrong hours:
Open the indicator Settings (gear icon next to the indicator name).
Find Manual Time Offset.
Change this number (e.g., -4, -5, or -7) until the "9:30 AM" label actually aligns with the 9:30 AM candle on your chart.
Note: This usually changes when Daylight Savings Time begins or ends.
C. Max Lines
By default, the script shows the last 10 sets of lines. If you want to see more historical levels, increase the Max Lines to show setting in the inputs.
RIBERLAN FVGThis indicator highlights Fair Value Gaps (FVGs) based on the ICT methodology on your chart.
Key Features:
Detects Bullish and Bearish FVGs
Only marks FVGs where the 2nd and 3rd candle are in the same direction (both bullish or both bearish)
Highlights FVG zones with colored boxes for easy visualization
Configurable box extension to the right
Built-in alerts trigger whenever a new FVG is formed
Overlay on price chart
Usage:
Ideal for traders following ICT concepts or looking for potential imbalance zones
Works on all instruments and timeframes
Alert notifications help you react immediately when a new FVG forms
Customization:
Change box colors and extension length in the input settings
Alerts can be set for bullish, bearish, or both FVGs
RIBERLAN FVGThis indicator highlights Fair Value Gaps (FVGs) based on the ICT methodology on your chart.
Key Features:
Detects Bullish and Bearish FVGs
Only marks FVGs where the 2nd and 3rd candle are in the same direction (both bullish or both bearish)
Highlights FVG zones with colored boxes for easy visualization
Configurable box extension to the right
Built-in alerts trigger whenever a new FVG is formed
Overlay on price chart
Usage:
Ideal for traders following ICT concepts or looking for potential imbalance zones
Works on all instruments and timeframes
Alert notifications help you react immediately when a new FVG forms
Customization:
Change box colors and extension length in the input settings
Alerts can be set for bullish, bearish, or both FVGs
EMA Crossover Candle Color - 9/21A simple visual trend highlighter for intraday/day trading. This overlay indicator plots a fast 9-period EMA (orange) and a slower 21-period EMA (blue). Candles turn green on the exact bar where the 9 EMA crosses above the 21 EMA (bullish momentum shift), and red when the 9 EMA crosses below the 21 EMA (bearish shift). Otherwise, candles remain default. Great for spotting quick trend changes, momentum entries, or filtering chop on 5-min charts (or any timeframe). Pairs well with VWAP, volume, or price action for confluence.
Market Intelligence Hub Pro v1.5# 🎯 Market Intelligence Hub Pro™
## Overview
Market Intelligence Hub Pro™ is not just another indicator—it's a complete professional trading command center that consolidates 7 institutional-grade analysis modules into one unified, intelligent system. Designed for serious traders who demand comprehensive market analysis, real-time trade management, and data-driven decision making, this indicator transforms your TradingView chart into a professional trading terminal.
Unlike traditional indicators that show isolated metrics, Market Intelligence Hub Pro™ synthesizes multiple analysis layers—market regime detection, multi-timeframe confluence, order flow dynamics, institutional footprints, session analysis, live trade tracking, and performance analytics—all working together to provide actionable intelligence exactly when you need it.
---
## 🌟 What Makes This Different
### **1. Unified Intelligence System**
Most traders juggle 5-10 different indicators, creating visual clutter and analysis paralysis. Market Intelligence Hub Pro™ consolidates all essential analysis into one cohesive system where modules work together, not in isolation.
### **2. Context-Aware Analysis**
The system adapts to current market conditions. It knows when the market is trending vs. ranging, high vs. low volatility, optimal vs. poor trading times—and adjusts recommendations accordingly.
### **3. Real-Time Trade Management**
Built-in live trade tracker monitors your active positions with automatic P&L calculations, R:R ratios, trailing stops, and visual trade lines—something most indicators completely lack.
### **4. Institutional-Grade Order Flow**
Goes beyond basic volume analysis to include delta tracking, bid/ask imbalance detection, institutional footprint recognition, and liquidity pool identification.
### **5. Performance Analytics**
Built-in daily performance tracker monitors your trades, win rates, and P&L—helping you become a data-driven trader who continuously improves.
### **6. Fully Customizable**
Every color, every module, every threshold can be customized. Make it yours with 4 themes (Dark, Light, Matrix, Professional) and granular color controls for all visual elements.
---
## 📊 THE 7 CORE MODULES
### **MODULE 1: Market Regime Detector ⚡**
**What It Does:**
Automatically classifies current market conditions into distinct regimes, so you know exactly what type of market you're trading.
**Key Features:**
- **Trend Classification**: Strong Uptrend / Uptrend / Ranging / Downtrend / Strong Downtrend
- **Trend Strength Score**: 0-100% quantitative measurement
- **Market Phase Detection**: Accumulation / Markup / Distribution / Markdown (Wyckoff method)
- **Volatility Regime**: Quiet / Normal / Explosive / Extreme (percentile-based)
- **Visual Background**: Optional color-coded chart background for instant regime recognition
**How It Works:**
Uses 5 EMAs (8, 21, 50, 100, 200) with weighted scoring to calculate trend direction (-100 to +100) and strength (0-100). Combines with volatility analysis (ATR percentile ranking) and volume-price range analysis to determine market phase.
**Why It Matters:**
Trading strategies that work in trending markets fail in ranging markets. This module prevents you from applying the wrong strategy to the wrong market condition.
**Usage Example:**
- Trend Strength >70% + Uptrend = Use trend-following strategies
- Trend Strength <40% + Ranging = Avoid directional trades, consider range-bound strategies
- Volatility = Extreme + Distribution phase = Caution, potential reversal
---
### **MODULE 2: Session Tracker & Time Analysis 🌍**
**What It Does:**
Tracks global trading sessions (Asia, London, New York) and identifies optimal trading windows based on liquidity and volatility patterns.
**Key Features:**
- **Live Session Detection**: Automatically identifies which major session is active
- **Session Overlap Highlighting**: Marks London/NY overlap (highest liquidity period)
- **Volatility Classification**: Session-specific volatility ratings (High/Medium/Low)
- **Optimal Time Windows**: Flags the best hours for active trading
- **Real-Time Updates**: Displays current session in HUD dashboard
**How It Works:**
Uses hour-based logic to detect active trading sessions:
- Asia: 00:00-09:00
- London: 03:00-12:00
- New York: 08:00-17:00
- London/NY Overlap: 08:00-12:00 (highest volume)
**Why It Matters:**
70% of daily volume occurs during London and NY sessions. Trading during low-liquidity hours increases spreads, slippage, and false breakouts. This module helps you trade when institutions are active.
**Usage Example:**
- London/NY Overlap + High Volatility = Prime time for breakout trades
- Off Hours + Low Volume = Avoid trading, wait for next session
- Asia Session + Ranging Market = Scalping opportunities
---
### **MODULE 3: Multi-Timeframe Confluence Scanner 🎯**
**What It Does:**
Analyzes price action across 6 timeframes simultaneously (1m, 5m, 15m, 1H, 4H, Daily) and calculates a confluence score showing alignment strength.
**Key Features:**
- **6-Timeframe Analysis**: Current + 5 higher timeframes
- **Confluence Score**: 0-100% showing how many timeframes agree
- **Traffic Light System**: Visual indicators (🟢 bullish / 🔴 bearish) for each timeframe
- **Higher Timeframe Bias**: Shows overall direction from 4H + Daily
- **Side Panel Display**: Compact MTF panel showing all timeframes at a glance
- **Smart Entry Filtering**: Only generates signals when minimum confluence met
**How It Works:**
Requests price and EMA-21 data from each timeframe, determines if price is above/below EMA (bullish/bearish bias), then calculates what percentage of timeframes are aligned. A score of 100% means all 6 timeframes are bullish; 0% means all are bearish.
**Why It Matters:**
Trading with the grain (multiple timeframes aligned) dramatically increases win rates. Fighting higher timeframe trends is the #1 cause of failed trades.
**Usage Example:**
- Confluence Score 85%+ = Strong directional bias, high-confidence trades
- Confluence Score 50% = Conflicted timeframes, avoid or wait for clarity
- 1H/4H/Daily all green + Entry on 5m = High probability long setup
---
### **MODULE 4: Order Flow & Liquidity Analysis 💧**
**What It Does:**
Provides institutional-grade order flow analysis typically only available on professional platforms like BookMap or ATAS.
**Key Features:**
- **Delta Tracking**: Real-time cumulative buy vs. sell volume
- **Bid/Ask Imbalance Detection**: Identifies where aggressive buying/selling is occurring
- **Volume Ratio Analysis**: Compares current volume to average (identifies spikes)
- **Institutional Footprint Detection**: Recognizes large block trades (3x+ average volume)
- **Liquidity Pool Identification**: Marks swing highs/lows where stop-losses cluster
- **Absorption Detection**: Identifies where large orders are absorbing price movement
- **Visual Markers**: Liquidity levels shown as dotted lines with "LIQ" labels
**How It Works:**
- **Delta**: Calculates buy volume (close > open) minus sell volume (close < open), cumulates over time
- **Imbalance**: Analyzes where close finishes within the bar's range (>70% = bid pressure, <30% = ask pressure)
- **Institutional Detection**: Flags bars with 3x+ volume, strong directional close, and >60% body-to-range ratio
- **Liquidity Pools**: Uses pivot detection to identify swing points where stops are likely placed
**Why It Matters:**
Price doesn't move randomly—it moves where there's liquidity (stop losses, pending orders). Professional traders hunt these levels. This module helps you see what they see.
**Usage Example:**
- Delta turning positive + Price at liquidity low = Potential reversal (stops triggered)
- Institutional Buy + Demand zone test = High probability long entry
- Bid imbalance + Strong volume = Continuation move likely
---
### **MODULE 5: Intelligent Entry Zones 🎪**
**What It Does:**
Identifies and marks demand/supply zones (order blocks) where institutional orders were placed, then alerts when price returns to test these levels.
**Key Features:**
- **Demand Zone Detection**: Marks institutional support areas (bullish order blocks)
- **Supply Zone Detection**: Marks institutional resistance areas (bearish order blocks)
- **Visual Zone Boxes**: Color-coded, persistent zones with custom colors
- **Zone Testing Alerts**: Notifies when price returns to test a zone
- **Setup Quality Scoring**: 0-100% score based on 5 confirmation factors
- **Entry Signal Generation**: Only triggers when quality score exceeds threshold
- **Risk Management**: Auto-calculates stop loss (1.5x ATR) and take profit (based on R:R ratio)
- **Multi-Factor Confirmation**: Trend + MTF + Momentum + Volume + Order Flow
**How It Works:**
Zones are created when:
1. Institutional volume detected (3x+ average with strong directional close), OR
2. High volume spike + RSI extreme (<40 bullish, >60 bearish)
Setup quality score combines:
- Trend Alignment (25 points): Is current trend supporting the trade?
- MTF Confluence (25 points): Are higher timeframes aligned?
- Momentum (20 points): RSI + MACD confirming direction?
- Volume (15 points): Adequate volume for the move?
- Order Flow (15 points): Delta + bid/ask pressure supporting?
**Why It Matters:**
Institutional traders leave "footprints" when placing large orders. These zones act as magnets—price often returns to test these levels before continuing. Trading these retests offers high-probability, high-reward setups.
**Usage Example:**
- Price drops to demand zone + 75% quality score = Strong buy signal
- Price rallies to supply zone + MTF bearish + 80% score = Strong sell signal
- Zone created 3 bars ago + Price retesting now = Fresh zone, higher probability
**Signal Interpretation:**
- 🚀 BUY 80%+ = Critical long setup, highest probability
- ⚠️ SELL 80%+ = Critical short setup, highest probability
- 70-79% = High-quality setup, solid entry
- 60-69% = Moderate setup (only in aggressive mode)
- <60% = No signal generated
---
### **MODULE 6: Live Trade Tracker & Management 📈**
**What It Does:**
Actively monitors your open positions with automatic calculations, visual trade lines, and intelligent trailing stop management.
**Key Features:**
- **Position Monitoring**: Tracks entry price, stop loss, take profit for active trades
- **Live P&L Calculation**: Real-time profit/loss in percentage and dollars
- **R:R Ratio Tracking**: Shows current risk/reward ratio as position develops
- **Time in Trade**: Counts bars since entry
- **Automatic Trailing Stop**: Activates at customizable R:R threshold (default 1.5:1)
- **Visual Trade Lines**: Entry (yellow), Stop (red), Target (green) drawn on chart
- **Entry Label**: "ENTRY" marker at entry price for clear reference
- **Dashboard Integration**: Active trade stats shown in HUD
- **Auto Exit Detection**: Automatically detects when stop or target hit
**How It Works:**
- **Entry**: When entry signal triggers, captures current price as entry, calculates stop (1.5x ATR below/above) and target (R:R ratio * stop distance)
- **Monitoring**: Each bar checks if stop or target hit, updates P&L
- **Trailing Stop**: Once R:R ratio hits activation threshold, stop moves to lock in profits (ATR-based trailing)
- **Exit**: Trade closes when stop or target touched, stats added to performance tracker
**Trailing Stop Logic:**
- Bullish trade: Stop = close - ATR, only moves up (never down)
- Bearish trade: Stop = close + ATR, only moves down (never up)
- Updates every bar while R:R > activation threshold
**Why It Matters:**
Most traders enter a trade, then forget to manage it properly. They hold losers too long and exit winners too early. This module enforces disciplined trade management automatically.
**Usage Example:**
- Enter long at 100, stop at 95, target at 115 (3:1 R:R)
- Price moves to 107.50 → Current R:R = 1.5:1 → Trailing stop activates
- Stop moves to 102.50 (locking in 2.50 profit)
- Price hits 115 → Trade exits at target → +15% captured
**Dashboard Displays:**
- P&L: +2.45% (real-time)
- R:R: 1.83:1 (current ratio)
- BARS: 23 (time in position)
---
### **MODULE 7: Performance Analytics 📊**
**What It Does:**
Tracks all completed trades during the trading day, calculating key performance metrics to help you improve systematically.
**Key Features:**
- **Daily Trade Counter**: Total number of trades taken today
- **Win Rate Calculation**: Percentage of winning trades
- **Total P&L Tracking**: Sum of all profits and losses in dollars
- **Automatic Reset**: Resets at midnight for fresh daily tracking
- **Dashboard Display**: Shows all stats in HUD for constant visibility
- **Color-Coded Metrics**: Win rate shown in green (>60%), yellow (40-60%), red (<40%)
**How It Works:**
- Monitors trade tracker module for trade completions
- When trade exits (stop or target hit), records outcome
- Calculates P&L based on account size, risk %, and price movement
- Adds to running totals for trades, wins, losses, and P&L
- Resets all counters at day change (dayofmonth change detection)
**Metrics Explained:**
- **TRADES**: How many positions you opened today
- **WIN RATE**: (Wins / Total Trades) * 100
- **TOTAL P&L**: Sum of all trade outcomes in account currency
**Why It Matters:**
You can't improve what you don't measure. This module provides immediate feedback on your trading performance, helping you identify patterns, strengths, and weaknesses.
**Usage Example:**
- After 10 trades: 7 wins, 3 losses = 70% win rate ✓
- Total P&L: +$450 = Profitable day ✓
- Next day starts fresh at 0 trades, ready for new session
**Performance Targets:**
- Win Rate >60% = Excellent consistency
- Win Rate 50-60% = Good if R:R ratio >2:1
- Win Rate <40% = Review strategy, reduce trade frequency
---
## 🎨 VISUAL FEATURES
### **Professional HUD Dashboard**
- **Position**: Choose from 4 corners (Top Right, Top Left, Bottom Right, Bottom Left)
- **Size**: 4 sizes (Tiny, Small, Normal, Large) for any screen
- **Modular Display**: Each module can be toggled on/off independently
- **Collapsible Sections**: Organized with clear separators
- **Color-Coded Data**: Instant visual interpretation (green=bullish, red=bearish, yellow=caution)
- **Real-Time Updates**: All metrics update every bar
### **MTF Side Panel**
- **Compact Design**: Minimal screen real estate
- **Traffic Light System**: 🟢 bullish / 🔴 bearish for each timeframe
- **Quick Glance**: Instant confluence assessment
- **Confluence Score**: Large display at bottom showing alignment percentage
### **Chart Annotations**
- **Demand/Supply Zones**: Persistent boxes with custom colors
- **Liquidity Levels**: Dotted lines showing stop-hunt zones
- **Entry Signals**: Large, clear labels with probability scores
- **Trade Management Lines**: Entry, stop, target clearly marked
- **EMA Lines**: 4 customizable moving averages
### **Background Regime Coloring**
- Optional regime-based background tinting
- Subtle transparency (98%) for minimal distraction
- Green tint = Bullish regime
- Red tint = Bearish regime
- Yellow tint = Ranging regime
---
## ⚙️ CUSTOMIZATION OPTIONS
### **Module Toggles (Enable/Disable Individually):**
- ✅ Market Regime Detector
- ✅ Multi-Timeframe Scanner
- ✅ Intelligent Entry Zones
- ✅ Session Tracker
- ✅ Order Flow & Liquidity
- ✅ Trade Manager
- ✅ Performance Tracker
- ✅ Main HUD Dashboard
### **Color Customization (Full Control):**
**Zone Colors:**
- Demand Zone: Border, Background, Text (independent)
- Supply Zone: Border, Background, Text (independent)
**Signal Colors:**
- Buy Signal label color
- Sell Signal label color
**Trade Line Colors:**
- Entry line color (default: yellow)
- Stop loss line color (default: red)
- Take profit line color (default: green)
**EMA Colors:**
- EMA 8, 21, 50, 200 (each customizable)
**Liquidity Colors:**
- Liquidity highs (resistance)
- Liquidity lows (support)
### **Strategy Settings:**
- **Risk Per Trade**: 0.1% to 5.0% (default: 1.0%)
- **Account Size**: Any amount in dollars (for P&L calculation)
- **Minimum Confluence**: 50% to 90% (default: 60%)
- **Minimum R:R Ratio**: 1.0 to 5.0 (default: 2.0)
- **Aggressive Mode**: Enable for more signals at 60% threshold vs. 70%
### **Trade Management:**
- **Trailing Stop**: Enable/disable
- **Trail Activation**: 1.0 to 3.0 R:R (when trailing begins)
### **Display Settings:**
- **HUD Position**: 4 corners
- **HUD Size**: Tiny, Small, Normal, Large
- **Theme**: Dark, Light, Matrix, Professional
- **Regime Background**: Enable/disable color tinting
---
## 📚 HOW TO USE - COMPLETE GUIDE
### **Step 1: Installation & Setup**
1. Add indicator to chart
2. Open settings (gear icon)
3. Choose your preferred theme (Dark/Light/Matrix/Professional)
4. Set HUD position and size for your screen
5. Enable/disable modules based on your needs
6. Customize colors if desired
### **Step 2: Understanding the Dashboard**
**Market Regime Section:**
- STATUS: Current trend classification
- STRENGTH: 0-100% (>70% = strong trend, <40% = weak/ranging)
- PHASE: Wyckoff cycle position
- VOLATILITY: Current volatility regime
**Session Section:**
- ACTIVE: Current trading session
- OPTIMAL: Whether now is a good time to trade
**Confluence Section:**
- SCORE: 0-100% timeframe alignment (>65% bullish, <35% bearish)
- HTF BIAS: Overall direction from 4H + Daily
**Order Flow Section:**
- DELTA: Positive = buying pressure, Negative = selling pressure
- VOLUME: High/Normal/Low relative to average
**Active Trade Section:**
- P&L: Current profit/loss percentage
- R:R: Current risk/reward ratio
- STATUS: Active or no position
**Performance Section:**
- TRADES: Count of completed trades today
- WIN RATE: Winning percentage
- TOTAL P&L: Dollar profit/loss for the day
### **Step 3: Reading the MTF Panel**
- **All Green (🟢)**: Strong bullish alignment, favor longs
- **All Red (🔴)**: Strong bearish alignment, favor shorts
- **Mixed**: Conflicted timeframes, wait or reduce position size
- **Bottom Number**: Overall confluence score
### **Step 4: Identifying Entry Opportunities**
**Perfect Long Setup:**
1. Regime: Uptrend or Strong Uptrend (Dashboard)
2. MTF Confluence: >65% (green)
3. Session: London/NY (optimal)
4. Price: Testing demand zone (green box on chart)
5. Signal: 🚀 BUY label appears with 70%+ score
6. Order Flow: Delta positive, bid pressure
7. Volume: High or normal (not low)
**Perfect Short Setup:**
1. Regime: Downtrend or Strong Downtrend
2. MTF Confluence: <35% (red)
3. Session: London/NY (optimal)
4. Price: Testing supply zone (red box on chart)
5. Signal: ⚠️ SELL label appears with 70%+ score
6. Order Flow: Delta negative, ask pressure
7. Volume: High or normal (not low)
### **Step 5: Trade Entry & Management**
1. **Signal Appears**: 🚀 BUY or ⚠️ SELL label
2. **Check Quality**: Tooltip shows confluence %, R:R, stop, target
3. **Verify Context**: Check dashboard (regime, session, order flow)
4. **Enter Trade**: Use the exact stop and target shown
5. **Monitor**: Watch HUD "ACTIVE TRADE" section for live P&L and R:R
6. **Trailing Stop**: Automatically activates at 1.5:1 R:R (if enabled)
7. **Exit**: Automatically detected when stop or target hit
### **Step 6: Performance Review**
- Check "TODAY'S STATS" section at end of day
- Win rate >60% = Excellent
- Win rate 50-60% = Good if R:R maintained
- Win rate <40% = Review setups, maybe too aggressive
---
## 🎯 TRADING STRATEGIES
### **Strategy 1: High-Confluence Trend Following**
**Best For**: Day traders, swing traders
**Setup Requirements**:
- Trend Strength >60%
- Confluence Score >70%
- Entry signal appears
- Optimal trading session
**Execution**:
1. Wait for signal at demand/supply zone
2. Enter immediately
3. Use provided stop loss
4. First target: Shown target price
5. Second target (optional): Trail stop until opposite signal
**Expected Win Rate**: 65-75%
**Expected R:R**: 2:1 to 3:1
### **Strategy 2: Order Flow Scalping**
**Best For**: Active scalpers
**Setup Requirements**:
- Any trend direction
- Strong delta movement (>1000 volume)
- Institutional footprint detected
- Liquidity pool test
**Execution**:
1. Wait for price to reach liquidity level
2. Watch for institutional buy/sell alert
3. Enter in direction of delta + institutional flow
4. Tight stop (ATR-based)
5. Quick target (1:1 to 1.5:1 R:R)
**Expected Win Rate**: 55-65%
**Expected R:R**: 1:1 to 1.5:1
### **Strategy 3: MTF Confluence Swing Trading**
**Best For**: Part-time traders, lower timeframes
**Setup Requirements**:
- Confluence Score >80%
- All higher timeframes aligned (4H, D)
- Entry signal on lower timeframe (5m, 15m)
- High-quality score (>75%)
**Execution**:
1. Identify HTF bias (bullish/bearish)
2. Wait for pullback on LTF to demand/supply zone
3. Enter only when all timeframes re-align
4. Wide stop (2x ATR)
5. Hold for target or opposite MTF alignment
**Expected Win Rate**: 70-80%
**Expected R:R**: 3:1 to 5:1
### **Strategy 4: Session Breakout Trading**
**Best For**: Traders available at session opens
**Setup Requirements**:
- London or NY session open
- Ranging price action pre-session
- Volatility increasing
- Clear support/resistance levels
**Execution**:
1. Identify pre-session range
2. Wait for session open (check SESSION indicator)
3. Enter on breakout with volume confirmation
4. Stop below/above range
5. Target: 2x range height
**Expected Win Rate**: 50-60%
**Expected R:R**: 2:1 to 3:1
---
## ⚠️ RISK MANAGEMENT RULES
### **Position Sizing**
- Set "Account Size" in settings accurately
- Set "Risk Per Trade %" to 1-2% maximum
- Never risk more than you can afford to lose
- System calculates P&L based on these settings
### **Stop Loss Discipline**
- Always use the stop loss shown in signal tooltip
- Never move stop loss further from entry (against you)
- Allow trailing stop to work (don't override it)
- If stop hit, exit immediately—no "holding and hoping"
### **Take Profit Strategy**
- **Conservative**: Exit 50% at target, trail remaining 50%
- **Balanced**: Exit 100% at target shown
- **Aggressive**: Trail entire position for larger gains
### **Trade Frequency**
- Quality over quantity
- In ranging markets (Strength <40%), reduce frequency
- During off-hours, avoid trading
- Maximum 5-10 trades per day to avoid overtrading
### **Confluence Requirements**
- Minimum 60% confluence score (adjustable)
- In volatile markets, increase to 70%+
- Never trade against all higher timeframes (score <35% for longs)
---
## 💡 PRO TIPS & BEST PRACTICES
### **For Beginners:**
1. Start with default settings
2. Paper trade for 2 weeks before risking capital
3. Only take 80%+ quality signals initially
4. Focus on one strategy at a time
5. Review daily stats to track improvement
### **For Intermediate Traders:**
1. Customize confluence threshold based on your win rate
2. Experiment with aggressive mode on lower timeframes
3. Use multiple timeframes (trade 5m, check 15m/1H)
4. Note which session works best for your strategy
5. Track performance by setup type
### **For Advanced Traders:**
1. Customize all colors for your workflow
2. Adjust R:R ratio based on volatility regime
3. Combine with your existing volume profile tools
4. Use as confirmation for your existing strategy
5. Create multiple chart layouts for different approaches
### **Universal Best Practices:**
1. **Never fight the regime**: If trending, don't mean-revert; if ranging, don't trend-follow
2. **Respect higher timeframes**: Don't short when Daily + 4H are bullish
3. **Volume confirms everything**: Low volume moves are unreliable
4. **Sessions matter**: 70% of volume is London + NY
5. **Quality over quantity**: One 80% setup > Three 60% setups
6. **Track your stats**: Use performance module daily
7. **Adapt to conditions**: What works in trending markets fails in ranging markets
---
## 🔧 TECHNICAL SPECIFICATIONS
### **Indicator Type**: Overlay
### **Pine Script Version**: v5
### **Performance Optimized**:
- Maximum 500 lines (for zones and liquidity)
- Maximum 500 labels (for signals)
- Maximum 50 boxes (for demand/supply zones)
- Efficient calculations to prevent lag
### **Data Requirements**:
- Volume data required (for order flow)
- Works on all timeframes (1m to Monthly)
- Best on: 1m, 5m, 15m, 1H (intraday trading)
- Higher timeframe data requested automatically
### **Calculation Methods**:
- EMA: Exponential moving average
- ATR: Average True Range (14 periods)
- RSI: Relative Strength Index (14 periods)
- MACD: Moving Average Convergence Divergence (12, 26, 9)
- Pivot Points: 5-bar swing detection
- Delta: Cumulative buy/sell volume difference
- Confluence: Percentage of aligned timeframes
### **Repainting**:
- **NO repainting on signals** - once a zone or signal appears, it stays
- **NO repainting on zones** - demand/supply zones are locked at creation
- **HUD metrics update live** - this is expected and not repainting
- **MTF data** - uses lookahead to prevent repainting on higher timeframes
---
## 📊 RECOMMENDED SETTINGS BY STYLE
### **Scalper (1m - 5m charts)**
- Aggressive Mode: ON
- Min Confluence: 50%
- Min R:R: 1.5:1
- Trailing Stop: OFF (quick exits)
- Risk Per Trade: 0.5-1%
### **Day Trader (5m - 15m charts)**
- Aggressive Mode: OFF
- Min Confluence: 60%
- Min R:R: 2:1
- Trailing Stop: ON (1.5 R:R activation)
- Risk Per Trade: 1-2%
### **Swing Trader (1H - 4H charts)**
- Aggressive Mode: OFF
- Min Confluence: 70%
- Min R:R: 3:1
- Trailing Stop: ON (2.0 R:R activation)
- Risk Per Trade: 1-2%
### **Position Trader (Daily+ charts)**
- Aggressive Mode: OFF
- Min Confluence: 80%
- Min R:R: 4:1
- Trailing Stop: ON (2.5 R:R activation)
- Risk Per Trade: 0.5-1%
---
## 🎓 LEARNING RESOURCES
### **Understanding the Dashboard**
Each metric serves a purpose:
- **Regime Status**: Tells you WHAT market you're in
- **Trend Strength**: Tells you HOW strong the trend is
- **Market Phase**: Tells you WHERE in the cycle you are
- **Session**: Tells you WHEN to trade
- **Confluence**: Tells you IF timeframes agree
- **Order Flow**: Tells you WHO is in control (buyers/sellers)
- **Active Trade**: Tells you HOW your trade is performing
- **Performance**: Tells you WHETHER you're improving
### **Reading Entry Signals**
🚀 **BUY 85%** means:
- Setup Quality Score: 85 out of 100
- Trend: ✓ Bullish and trending
- MTF: ✓ Confluent (>60% of timeframes bullish)
- Momentum: ✓ RSI + MACD confirming
- Volume: ✓ Adequate volume
- Order Flow: ✓ Delta + bid pressure
### **Confluence Interpretation**
- **85-100%**: Very strong alignment, highest probability
- **65-84%**: Good alignment, tradeable
- **50-64%**: Moderate alignment, lower confidence
- **35-49%**: Weak alignment, avoid or wait
- **0-34%**: Strong opposite alignment (bearish if looking for longs)
---
## ❓ FREQUENTLY ASKED QUESTIONS
### **Q: Does this indicator repaint?**
A: No. Once a demand/supply zone is created or a signal appears, it stays. The only thing that updates live is the HUD metrics (P&L, confluence score, etc.), which is expected behavior, not repainting.
### **Q: What markets does this work on?**
A: Any market with volume data: Stocks, Forex, Crypto, Futures, Indices. It's timeframe-agnostic and works from 1-minute to monthly charts.
### **Q: Can I use this for automated trading?**
A: The indicator provides signals and alerts, but you need to execute trades manually. It's designed as a decision support system, not an automated trading bot.
### **Q: How accurate are the predictions?**
A: This is not a "prediction" indicator—it's a probability-based analysis system. Win rates depend on your discipline and market conditions. Expect 60-70% win rates with proper risk management.
### **Q: Do I need other indicators?**
A: No. This is a complete system. Adding more indicators creates clutter and analysis paralysis. However, you can use it to confirm your existing strategy.
### **Q: Why don't I see any signals?**
A: Signals only appear when quality score exceeds threshold (60% aggressive, 70% normal) AND price is testing a demand/supply zone. If market conditions don't meet criteria, no signals appear (which is good—quality over quantity).
### **Q: Can I customize the colors?**
A: Yes! Every color is customizable: zones, signals, trade lines, EMAs, liquidity levels. There are 4 preset themes plus full manual color control.
### **Q: What's the best timeframe?**
A: Depends on your style:
- Scalpers: 1m, 5m
- Day traders: 5m, 15m
- Swing traders: 1H, 4H
- Position traders: Daily, Weekly
### **Q: How much capital do I need?**
A: Set "Account Size" to your actual trading capital. The system calculates P&L based on this. Minimum recommended: $500 for stocks, $100 for crypto, $1000 for forex.
### **Q: Do alerts work?**
A: Yes! 7 alert types available:
- 🚨 Critical Buy (80%+ quality)
- 🚨 Critical Sell (80%+ quality)
- ⚡ High Buy (70%+ quality)
- ⚡ High Sell (70%+ quality)
- 🎯 2:1 R:R Achieved
- 🐋 Whale Buy (institutional)
- 🐋 Whale Sell (institutional)
### **Q: Can I hide modules I don't use?**
A: Absolutely! Every module can be toggled on/off in settings. Customize your HUD to show only what you need.
---
## ⚠️ IMPORTANT DISCLAIMERS
### **No Guarantee of Profits**
This indicator is a tool, not a guarantee. Markets are unpredictable. Past performance does not indicate future results. You can lose money trading.
### **Risk Warning**
Trading involves substantial risk of loss. Only trade with capital you can afford to lose. This indicator does not constitute financial advice.
### **Backtesting Recommended**
Always backtest settings on your specific market and timeframe before live trading. Paper trade for at least 2 weeks to understand the system.
### **Not Financial Advice**
This indicator is for educational and informational purposes only. Consult a licensed financial advisor before making trading decisions.
### **No Magic Formula**
There is no "holy grail" in trading. Success requires discipline, risk management, emotional control, and continuous learning. This tool helps with analysis, but you must execute properly.
### **Market Conditions Vary**
What works in trending markets may fail in ranging markets. What works during high volatility may fail during low volatility. Always consider market context.
---
## 📈 VERSION HISTORY
**v1.5 - Current Version**
- ✅ Full color customization for all elements
- ✅ 7 complete analysis modules
- ✅ Live trade tracking with P&L
- ✅ Performance analytics
- ✅ 7 smart alert conditions
- ✅ 4 preset themes
- ✅ No syntax errors, production-ready
**Planned Updates (v2.0)**
- Volume Profile heatmap
- AI pattern recognition (50+ patterns)
- Multi-symbol scanner
- Trade journal integration
- News calendar integration
- Advanced statistics (Sharpe ratio, max drawdown)
---
## 🙏 SUPPORT & FEEDBACK
If you find this indicator valuable:
- 👍 **Boost it** to help others discover it
- 💬 **Leave a comment** with your feedback
- ⭐ **Rate it** honestly
- 📧 **Report bugs** so we can fix them
- 💡 **Suggest features** for future updates
Your feedback helps make this tool better for the entire community.
---
## 📄 LICENSE & TERMS
**License**: Open source for personal use
**Modification**: Allowed for personal use
**Redistribution**: Allowed with credit to original author
**Commercial Use**: Contact author for permission
---
## 🔗 LINKS & RESOURCES
**Documentation**:
**Tutorial Video**:
**Community**:
**Support**:
---
## 🏆 PERFECT FOR:
✅ Day traders seeking comprehensive analysis
✅ Scalpers needing fast, reliable signals
✅ Swing traders wanting multi-timeframe confirmation
✅ Order flow traders moving from Level 2 platforms
✅ Traders who want institutional-grade tools
✅ Anyone tired of using 10 different indicators
✅ Data-driven traders who track performance
✅ Traders seeking automated trade management
✅ Beginners who need structured guidance
✅ Professionals who demand precision
---
**Transform your TradingView chart into a professional trading command center. Download Market Intelligence Hub Pro™ today and experience the difference institutional-grade analysis makes.**
**Happy Trading! 📈💰**
---
*Version: 1.5 | Last Updated: January 2026 | Pine Script v5*
*Indicator Type: Overlay | Repainting: No | Data Required: Volume*
*Best Timeframes: 1m, 5m, 15m, 1H | Markets: All (Stocks, Forex, Crypto, Futures)*
FVG (stormbey)
📊 Overview
This indicator automatically detects and displays Fair Value Gaps (FVG) across multiple timeframes simultaneously on a single chart. FVGs are imbalances in price action that often act as support/resistance zones where price tends to return.
🎯 Key Features
• Multi-Timeframe Analysis: Monitor up to 5 different timeframes at once (Chart, 15m, 1H, 4H, Daily)
• Smart Timeframe Filtering: Automatically hides FVGs from lower timeframes than your current chart (e.g., on Daily chart, only Daily FVGs are shown)
• Inverse FVG Detection (iFVG): Optionally display inverse FVGs when original gaps are filled
• Customizable Labels: Labels displayed inside boxes showing timeframe origin
• Auto-Delete on Fill: Boxes automatically removed when price fills the gap
• Flexible Fill Detection: Choose between Close or Wick-based fill detection
⚙️ Settings
TIMEFRAMES
- Enable/disable each of the 5 timeframes independently
- Default: Chart, 15m, 1H, 4H, Daily
FVG SETTINGS
- Wait for candle close to identify FVGs
- Hide FVGs lower than current chart timeframe
- Show/Hide regular FVG and inverse FVG (iFVG)
- Filled FVG Type: Close, Wick, or None
- Max bars back to search for FVGs
LABEL SETTINGS
- Show/Hide labels
- Customize label text for each timeframe
- Label distance adjustment for extended boxes
BOX SETTINGS
- Delete boxes after fill
- Extend boxes to current bar
- Adjustable box length
- Separate colors for Bullish/Bearish FVG and iFVG
BORDER SETTINGS
- Border style: Solid, Dashed, Dotted, None
- Border width customization
- Separate border colors for FVG and iFVG
📈 How to Use
1. Add the indicator to your chart
2. Enable the timeframes you want to monitor
3. FVG boxes will automatically appear showing imbalances
4. Green boxes = Bullish FVG (potential support)
5. Red boxes = Bearish FVG (potential resistance)
6. Use these zones for potential entry/exit points
💡 Trading Tips
- Higher timeframe FVGs are generally more significant
- FVGs often get "filled" before price continues in the original direction
- Combine with other confluence factors (S/R levels, order blocks, trend)
- Use iFVG feature to spot when gaps flip from support to resistance (or vice versa)
⚠️ Disclaimer
This indicator is for educational purposes only. Always do your own research and use proper risk management. Past performance does not guarantee future results.
---
If you find this indicator helpful, please leave a like and follow for more trading tools!
Fractal Supply & Demand + Smart AdvisorAutomate your Price Action analysis with the ultimate Multi-Timeframe (MTF) alignment tool.
This indicator is designed for traders who follow Smart Money Concepts (SMC) and Supply & Demand methodologies. Unlike standard indicators that repaint or lag, this script focuses on "Fractal Alignment"—identifying high-probability zones where institutional orders are stacked across multiple timeframes.
Key Features:
💎 God Mode Zones: Automatically highlights 15m/5m zones that overlap perfectly with H1, H4, or Daily zones. These are your highest probability reversal points.
🏦 King Zones: Displays specific "Bank Levels" derived from high-timeframe structural pivots.
🌊 Smart Trend Filter: Built-in 200 EMA and VWAP integration to enforce the "Golden Rule" of trend following (No longs below 200 EMA).
🧠 Smart Advisor Panel: A real-time HUD that analyzes market structure (Strong Bull/Bear) and suggests the best action (Pullback Buy, Premium Sell, or Wait).
⚡ Breaker Blocks: Automatically detects failed Supply/Demand zones and flips them into Breaker blocks for retest entries.
How to Trade:
Trend Continuation: When the panel says "STRONG BULL", wait for price to pull back to the 200 EMA and form a valid Demand zone.
The Sniper Entry: Wait for price to tap a Lime Green "God Mode" Zone. Enter on the first valid reversal candle (Engulfing or Pinbar) inside the zone.
Risk Management: Zones are drawn based on ATR Impulse logic. Place stops just outside the distal line (wick).
Settings:
Fully customizable colors for Supply, Demand, and HTF overlays.
Toggle signals, EMA filters, and dashboard visibility to keep your chart clean.
All OB + FVG + Overlap Zones + Alerts (v6 safe)//@version=6
indicator(
"All OB + FVG + Overlap Zones + Alerts (v6 safe)",
overlay = true
)
// === USER INPUTS ===
maxBarsBack = input.int(500, "Max Bars Back to Display OB/FVG", minval = 1)
extendBars = input.int(10, "Extend OB/FVG Boxes Forward", minval = 1)
// === COLORS ===
bullOBColor = color.rgb(139, 0, 0) // Deep Red
bearOBColor = color.rgb(75, 0, 130) // Deep Purple
bullFVGColor = color.rgb(0, 100, 0) // Deep Green
bearFVGColor = color.rgb(184, 134, 11) // Deep Yellow
overlapColor = color.rgb(0, 255, 255) // Cyan for OB+FVG overlap
// === HELPER FUNCTION ===
inRange(offset) =>
bar_index - offset >= last_bar_index - maxBarsBack
// === ORDER BLOCK LOGIC ===
bullOB = close < open and close > open
bearOB = close > open and close < open
// === COLOR OB CANDLE ===
barcolor(
bullOB and inRange(1) ? bullOBColor :
bearOB and inRange(1) ? bearOBColor :
na,
offset = -1
)
// === DRAW EXTENDED OB BOXES ===
if bullOB and inRange(1)
box.new(
left = bar_index - 1,
right = bar_index - 1 + extendBars,
top = high ,
bottom = low ,
bgcolor = color.new(bullOBColor, 70),
border_color = bullOBColor
)
if bearOB and inRange(1)
box.new(
left = bar_index - 1,
right = bar_index - 1 + extendBars,
top = high ,
bottom = low ,
bgcolor = color.new(bearOBColor, 70),
border_color = bearOBColor
)
// === FVG LOGIC (3-candle imbalance) ===
bullFVGFormed = low > high
bearFVGFormed = high < low
// === DRAW FVG BOXES AND STORE TOP/BOTTOM ===
var float bullFVGTop = array.new_float()
var float bullFVGBot = array.new_float()
var float bearFVGTop = array.new_float()
var float bearFVGBot = array.new_float()
var box bullFVGBoxes = array.new_box()
var box bearFVGBoxes = array.new_box()
if bullFVGFormed and inRange(2)
fvgBox = box.new(
left = bar_index - 2,
right = bar_index - 2 + extendBars,
top = low,
bottom = high ,
bgcolor = color.new(bullFVGColor, 80),
border_color = bullFVGColor
)
array.push(bullFVGBoxes, fvgBox)
array.push(bullFVGTop, low)
array.push(bullFVGBot, high )
if bearFVGFormed and inRange(2)
fvgBox = box.new(
left = bar_index - 2,
right = bar_index - 2 + extendBars,
top = high,
bottom = low ,
bgcolor = color.new(bearFVGColor, 80),
border_color = bearFVGColor
)
array.push(bearFVGBoxes, fvgBox)
array.push(bearFVGTop, high)
array.push(bearFVGBot, low )
// === CHECK AND HIGHLIGHT OB + FVG OVERLAPS ===
var float overlapLevelsTop = array.new_float()
var float overlapLevelsBot = array.new_float()
if bullOB and inRange(1) and array.size(bullFVGBoxes) > 0
for i = 0 to array.size(bullFVGBoxes) - 1
obTop = high
obBot = low
fvgTop = array.get(bullFVGTop, i)
fvgBot = array.get(bullFVGBot, i)
overlapTop = math.min(obTop, fvgTop)
overlapBot = math.max(obBot, fvgBot)
if overlapTop > overlapBot
box.new(
left = bar_index - 1,
right = bar_index - 1 + extendBars,
top = overlapTop,
bottom = overlapBot,
bgcolor = color.new(overlapColor, 80),
border_color = overlapColor
)
array.push(overlapLevelsTop, overlapTop)
array.push(overlapLevelsBot, overlapBot)
if bearOB and inRange(1) and array.size(bearFVGBoxes) > 0
for i = 0 to array.size(bearFVGBoxes) - 1
obTop = high
obBot = low
fvgTop = array.get(bearFVGTop, i)
fvgBot = array.get(bearFVGBot, i)
overlapTop = math.min(obTop, fvgTop)
overlapBot = math.max(obBot, fvgBot)
if overlapTop > overlapBot
box.new(
left = bar_index - 1,
right = bar_index - 1 + extendBars,
top = overlapTop,
bottom = overlapBot,
bgcolor = color.new(overlapColor, 80),
border_color = overlapColor
)
array.push(overlapLevelsTop, overlapTop)
array.push(overlapLevelsBot, overlapBot)
// === ALERT CONDITIONS ===
overlapAlert = false
for i = 0 to array.size(overlapLevelsTop) - 1
if close <= array.get(overlapLevelsTop, i) and close >= array.get(overlapLevelsBot, i)
overlapAlert := true
// === ALERTCONDITION (v6 compatible) ===
alertcondition(overlapAlert, "OB + FVG Overlap", "⚡ Price entered an OB + FVG overlap zone! ⚡")
alertcondition(bullOB, "Bullish OB Formed", "🔴 Bullish OB formed!")
alertcondition(bearOB, "Bearish OB Formed", "🟣 Bearish OB formed!")
gilgamesh v8A simple strategy indicator ,works based on orb and other confluence ,to be traded at newyork open ,the session is from 9:30 - 11: 15
BUY SIGNAL - Green candle + Green arrow
SELL SIGNAL - Red candle + Red arrow
is momentum and impulse based day trading so tight sl and short targets but feel free to mess around or find your own edge or approach ,during development 20 pips sl , 1: 2 target (40 pips tp) looked good on GBPUSD but yet to backtest, and since it is based on Ny open should work good on indices too
NOTE
candle is always green and red above or below range and arrow always show when there is volume and momentum so taking 1 trade at a time ,adding to winner and all is up to you, its
momentum based so choppy market conditions will to rough bad days but depending on utilization the edge and setup is actually profitable
Mentor Michael | XAUUSD Short BiasMentor Michael | XAUUSD Market Structure & Short Bias
This indicator is a visual price-action framework designed for traders who analyze Gold (XAUUSD) using institutional concepts rather than lagging indicators.
The script highlights high-probability decision zones by mapping key areas where liquidity, supply, and demand are most likely to influence price behavior. It is intended for educational and discretionary trading, not automated execution.
Core Features
Higher-Timeframe Resistance Zone
Identifies premium pricing areas where selling pressure and profit-taking are statistically likely.
Range & Accumulation Mapping
Visually marks prior consolidation zones to provide context for current market positioning.
Demand Reaction Area
Highlights zones where buyers previously reacted, helping define structural invalidation.
Projected Downside Target
Displays logical price objectives based on range equilibrium and liquidity attraction.
Directional Bias Label
Keeps the trader aligned with the planned market narrative and risk framework.
Trading Philosophy
This indicator is built around:
Market structure
Liquidity behavior
Premium vs. discount pricing
Mean-reversion probability after expansion
It supports traders in identifying where to trade, not when to trade, encouraging patience, confirmation, and proper risk management.
Best Use Case
Top-down analysis (D1 → H4 → H1)
Confluence-based trade planning
Educational chart sharing
Manual execution with confirmation
Important Notice
This tool does not provide buy/sell signals, alerts, or automated trades.
All levels are reference zones, not guarantees. Always apply your own confirmation and risk management.
Candle Close CounterThis indicator counts how many candles have closed above, below, or exactly at a user-defined price level
starting from a specified time. It provides real-time statistics to help traders analyze price behavior
around key levels.
HOW IT WORKS:
The indicator begins counting at your chosen start time and tracks each candle's closing price relative
to your specified price level. It maintains running totals of candles that close above, below, and at
the price level, displaying this information both in a chart label and a statistics table.
PRACTICAL APPLICATIONS:
1. CONSOLIDATION ANALYSIS:
Use this tool to identify and measure consolidation patterns by placing the price level at the midpoint
of a trading range. A balanced count of candles closing above and below the midpoint suggests genuine
consolidation with no directional bias.
2. RANGE MIDPOINT MONITORING:
During consolidation phases, set the price level to the 50% retracement of the range midpoint between
the high and low. Monitor how price interacts with this level over time.
3. SUPPORT/RESISTANCE VALIDATION:
Place the price level at a key support or resistance zone and start counting from a significant market
event (news release, session open, etc.). The distribution of closes helps validate whether the level
is holding or weakening.
4. SESSION ANALYSIS:
Set the start time to the beginning of a trading session (e.g., 9:30 AM ET for regular hours) and place
the level at the opening price or previous day's close.
Evil MACD Trading System (Pine Script v6)Indicator Overview
The Evil MACD Trading System is an enhanced version of the classic MACD indicator, optimized for TradingView with Pine Script v6. It integrates trend filtering, volume confirmation, and precision signal positioning to reduce false signals and improve trading decision accuracy—distinguishing itself from the traditional 12/26/9 MACD by focusing on trend-aligned entries and exits.
Core Logic & Features
1. Enhanced MACD Calculation
Departing from the standard MACD parameters, this system uses customizable fast (default:14), slow (default:28), and signal (default:8) periods to adapt to different market volatility and asset types (stocks, futures, cryptos). The core DIF, DEA, and histogram are retained while optimized for better sensitivity to medium-term trends.
2. Trend Filtering Mechanism
A 60-period EMA (adjustable) acts as the primary trend filter, ensuring buy signals only trigger in uptrends (price above EMA) and sell signals in downtrends (price below EMA). This avoids counter-trend trades and minimizes exposure to sideways market noise.
3. Volume Confirmation (Toggleable)
The optional volume filter validates signals by requiring trading volume to exceed 120% of the 20-period average volume. This ensures entries/exits are supported by capital flow, reducing false breakouts/breakdowns.
4. Precision Signal Positioning
Signals are overlaid directly on the price chart (not the subwindow) for intuitive price correlation. Buy signals (green upward triangles + "Buy" label) attach to the bottom of candlesticks, while sell signals (red downward triangles + "Sell" label) align with candlestick highs—adjustable offset parameters let users fine-tune signal proximity to price.
Usage Guidelines
- Buy Signal: Triggered when DIF crosses above DEA, price stays above the 60-period EMA, and volume (if enabled) meets the 120% threshold.
- Sell Signal: Triggered when DIF crosses below DEA, price stays below the 60-period EMA, and volume (if enabled) meets the 120% threshold.
- Customization: Adjust MACD periods, trend filter length, volume sensitivity, and signal offset to match your trading style (scalping, swing trading) and target assets.
Compatibility & Notes
Built for Pine Script v6 (latest TradingView version) with no syntax errors. The indicator supports all timeframes and asset classes. For best results, combine with additional technical tools (support/resistance, RSI) for multi-factor confirmation. Disable the volume filter in low-liquidity markets to avoid missing valid signals.
Volume Delta Highlighted (Pane)A simple volume delta indicator that highlights blue when the bar has no wicks and white with it has only opposite end wicks ,a good confluence and visual
note :
not as accurate as the paid tradingview indicator since it uses chart data
N Option Selling 2
---
## 📌 Script Description
**NIFTY Weekly Option Seller – Regime-Based Risk-Controlled System**
This indicator is designed for **systematic weekly option selling on NIFTY**, using a **rule-based regime and scoring framework** to decide **what to sell, how aggressively to sell, and when to defend or harvest**.
The script does **not generate buy/sell signals**.
Instead, it acts as a **decision and risk-management engine** for option sellers.
---
## 🔹 Core Idea
The market is always in one of three regimes:
1. **Iron Condor (IC)** → Range / mean-reverting market
2. **Put Credit Spread (PCS)** → Bullish trending market
3. **Call Credit Spread (CCS)** → Bearish trending market
This script **scores all three regimes (0–5)** on the current chart timeframe and automatically selects the **dominant regime**.
---
## 🔹 How Scoring Works (High Level)
Each regime score is built using **price structure + volatility + momentum context**:
### PCS (Bullish bias)
* EMA alignment (8 > 13 > 34)
* ADX trend strength
* Price above VWAP
* CPR breakout
* RSI sanity checks (size is reduced in extremes)
* Daily trend confirmation
### CCS (Bearish bias)
* EMA alignment (8 < 13 < 34)
* ADX trend strength
* Price below VWAP
* CPR breakdown
* RSI sanity checks (size is reduced in extremes)
* Daily trend confirmation
### IC (Range bias)
* Low ADX (both intraday & daily)
* Price inside CPR
* Price near VWAP
* Price inside Camarilla H3–L3
* RSI near equilibrium (45–55)
A **cross-penalty system** ensures that strong trends suppress IC scores and vice-versa, preventing conflicting signals.
Scores are **smoothed** to reduce noise and avoid over-trading.
---
## 🔹 Regime Selection Logic
* The regime with the **highest score** is selected.
* If scores tie:
* **Trending markets → PCS / CCS**
* **Non-trending markets → IC**
This ensures **trend takes priority over range** when volatility expands.
---
## 🔹 Strike Selection (ATR-Based)
The script suggests **volatility-adjusted strike distances** using ATR:
* **Iron Condor:** ±1.0 × ATR
* **PCS / CCS:** ±1.25 × ATR
This adapts automatically to changing volatility instead of using fixed point distances.
---
## 🔹 Risk-First Trade Management
The script provides **three actionable alerts only**:
### 🔴 DEFEND
Triggered when:
* Price approaches short strike
* Trend breaks beyond Camarilla levels
* Volatility expansion threatens the position
→ Signals the need to **roll, widen, or convert**
### 🟢 HARVEST
Triggered when:
* Adequate price cushion exists
* Market remains range-bound or stable
→ Signals opportunity to **book profits or roll closer**
### 🔵 REGIME CHANGE
Triggered when:
* Market structure flips decisively
→ Signals need to **switch strategy bias**
A **cooldown system** prevents alert spam.
---
## 🔹 Position Sizing Philosophy
* Scores determine **directional conviction**
* RSI-based **size multiplier** automatically reduces exposure in extreme momentum conditions
* Optional **minimum lot floor** ensures participation without over-risking
* Designed to support **Risk:Reward frameworks (1:2 or 1:3)** through premium-based stop discipline
---
## 🔹 Visual & UX Features
* Background color reflects active regime and conviction
* On-chart panel displays:
* Active strategy
* Scores (IC / PCS / CCS)
* ADX & RSI
* VWAP, CPR, Camarilla levels
* Clean, non-repainting levels (previous day data)
---
## 🔹 Intended Use
* Weekly option selling (IC / PCS / CCS)
* Works best on **30m–1h charts**
* Designed for **rule-based traders**, not discretionary scalpers
* Focused on **capital preservation, consistency, and disciplined adjustments**
---
## ⚠️ Disclaimer
This script is **not financial advice**.
It is a **decision-support and risk-management tool** for experienced option sellers who already understand spreads, adjustments, and margin dynamics.
Mayank algo v1.5The concept of having a strategy that is always long or
short may be scary, particularly in today’s market where you don’t know what
is going to happen as far as risk on any one market. But a lot of traders
believe that the concept is still valid, especially for those of traders who
do their own research or their own discretionary trading.
This version uses crossover of moving average and its exponential moving average.
Strategy parameters:
Take Profit % - when it receives the opposite signal
Stop Loss % - when it receives the opposite signal
Advanced Predictive Market Intelligence📊 Advanced Predictive Market Intelligence - Professional Trading System
🎯 Overview
Advanced Predictive Market Intelligence is an institutional-grade, all-in-one trading indicator that combines trend analysis, predictive forecasting, momentum signals, and risk management into a single, comprehensive visual system. Designed from the ground up by thinking like a senior market architect and financial analyst, this indicator transforms complex market data into actionable intelligence.
Unlike basic indicators that only show historical data, this system predicts future price movements with confidence bands, validates signals through multiple confirmations, and provides real-time risk management metrics—all while maintaining crystal-clear visuals that don't clutter your chart.
✨ Key Features
🔮 Predictive Forecasting Engine
Linear regression-based price predictions with customizable forecast horizons
Confidence bands showing probability zones for predicted prices
Correlation strength analysis to validate prediction reliability
Visual prediction zones with color-coded boxes showing bullish/bearish targets
Slope momentum indicators showing trend acceleration/deceleration
📈 Multi-Layered Trend Analysis
Triple EMA system (fast, slow, trend filter) with dynamic color coding
Trend strength score (0-100%) quantifying market direction
Bollinger Bands for volatility context
Dynamic background coloring for instant trend recognition
Support & Resistance detection with automatic pivot points
🎯 Smart Signal System
Strong Signals: Require 5+ confirmations (EMA cross + slope + trend filter + RSI + volume)
Moderate Signals: Basic trend reversals for early positioning
Signal quality percentage displayed on each alert
Volume confirmation to filter false breakouts
Visual differentiation between high and low probability setups
💹 Momentum & Market Health
RSI (Relative Strength Index) with overbought/oversold levels
MACD histogram for momentum divergence
Volume ratio analysis showing institutional participation
High-volume breakout detection with fire emoji indicators
ATR (Average True Range) for volatility measurement
🛡️ Risk Management Suite
ATR-based stop-loss calculations (2x ATR from entry)
Dynamic take-profit targets based on predictions and volatility
Risk/Reward ratios calculated in real-time
Position size suggestions based on volatility
Market bias indicator (bullish/bearish) for overall direction
📊 Professional Dashboard
A comprehensive 11-metric control panel displaying:
Trend Strength (0-100% score)
Forecast percentage change
RSI value with color-coded warnings
Volume status (High 🔥 / Normal / Low ❄️)
ATR volatility measurement
Correlation strength (Strong/Moderate/Weak)
Momentum direction (📈 Bullish / 📉 Bearish)
Target price projection
Suggested stop-loss level
Risk/Reward ratio
Market bias (🐂 Bullish / 🐻 Bearish)
🚀 How to Use
For Day Traders:
Focus on Strong Buy/Sell signals with quality scores >70%
Check Volume Status for institutional confirmation
Use ATR-based stop losses for tight risk management
Monitor the Trend Strength score - trade only when >60% or <40%
For Swing Traders:
Look for signals aligned with the Trend Filter EMA (50-period)
Use the Forecast Target for position targets
Check Confidence Bands for realistic price ranges
Monitor Support/Resistance zones for entry/exit points
For Position Traders:
Focus on Market Bias indicator for overall direction
Use Bollinger Bands to identify volatility contractions
Watch for Strong Signals on higher timeframes (4H, Daily)
Track Correlation Strength to validate long-term trends
Risk Management Protocol:
✅ Enter on Strong Signals with >70% quality score
✅ Place stop-loss at suggested ATR level
✅ Take profit at forecast target or when opposite signal appears
✅ Only trade when Trend Strength is >60% (bullish) or <40% (bearish)
✅ Avoid trading during Weak Correlation periods
💎 What Makes This Different
1. Multi-Confirmation System
Unlike single-indicator systems, this requires multiple confirmations before generating strong signals, dramatically reducing false positives.
2. Predictive, Not Reactive
Most indicators only show what happened. This system forecasts where price is going with statistical confidence bands.
3. Built-In Risk Management
You don't need separate indicators for stop-losses or targets—everything is calculated automatically based on real volatility (ATR).
4. Information Density Without Clutter
All critical metrics are in the dashboard, while the chart remains clean with only essential visual elements.
5. Institutional-Grade Logic
The signal quality scoring, correlation validation, and multi-layer confirmation mirrors how professional trading desks analyze markets.
⚙️ Technical Specifications
Calculation Components:
EMA (Exponential Moving Average) for trend following
Linear Regression for price prediction
Pearson Correlation for slope validation
Standard Deviation for confidence bands
RSI (14) for momentum
MACD (12, 26, 9) for trend strength
ATR (14) for volatility measurement
Bollinger Bands (20, 2.0) for range analysis
Pivot Points (5, 5) for support/resistance
Optimized Performance:
Max 500 lines for prediction/support levels
Max 50 labels for signal clarity
Max 50 boxes for zone highlighting
Efficient calculations to prevent lag even on 1-minute charts
🎛️ Recommended Settings
Scalping (1m - 5m charts):
Fast EMA: 5
Slow EMA: 13
Trend Filter: 34
Prediction Horizon: 3
Confidence Multiplier: 1.0
Day Trading (15m - 1H charts):
Fast EMA: 9 (default)
Slow EMA: 21 (default)
Trend Filter: 50 (default)
Prediction Horizon: 5 (default)
Confidence Multiplier: 1.5 (default)
Swing Trading (4H - Daily charts):
Fast EMA: 12
Slow EMA: 26
Trend Filter: 100
Prediction Horizon: 10
Confidence Multiplier: 2.0
📱 Alert System
Set up automated alerts for:
🚀 Strong Buy Signals - High probability long setups
⚠️ Strong Sell Signals - High probability short setups
📊 RSI Overbought - Potential reversal warning (>70)
📉 RSI Oversold - Potential bounce opportunity (<30)
⚠️ Important Notes
This indicator is a tool, not a crystal ball:
Always use proper risk management (1-2% risk per trade)
Combine with price action analysis and fundamental research
Back-test settings on your specific market and timeframe
No indicator is 100% accurate - use stop-losses religiously
Consider market context (news, economic events, market structure)
Best Results When:
Trading in trending markets (not choppy/sideways)
Using on liquid instruments with good volume
Combining with support/resistance analysis
Following the overall market bias
🏆 Perfect For:
✅ Traders who want predictive analysis, not just historical data
✅ Those seeking high-probability setups with multiple confirmations
✅ Risk-conscious traders who need automatic stop-loss calculations
✅ Anyone wanting institutional-grade analysis without complexity
✅ Multi-timeframe traders (works on all timeframes)
✅ Both beginners (use dashboard) and professionals (customize everything)
📄 License & Usage
This indicator is provided for educational and trading purposes. Feel free to modify and customize it for your personal trading strategy. If you find it valuable, please give it a boost 🚀 and share your feedback!






















