NCI Trading Plan Direction - By LightNCI"NCI Trading Plan Direction" is a trading plan for traders who wants to keep track their overview of market direction across multiple timeframes and assets. REMINDER: THIS IS NOT AN AUTOMATION. You need to analyse yourself and then change the buy or sell on the table for your own monitor.
Features:
1. Multi-Timeframe Monitor: Easily monitor the directional bias between higher (HTF) and lower timeframes (LTF).
2. Customisable Asset Tracking: Monitor up to 10 assets simultaneously, with the flexibility to display only those relevant to your trading plan.
3. Dynamic Color Coding: Instantly identify market direction with your on colour-coded direction, distinguishing between bullish (Buy) and bearish (Sell) movements for quick decision-making.
4. User-Friendly Interface: A clean, intuitive design ensures all critical information is at your fingertips, seamlessly integrating into your chart for minimal distraction.
Pesquisar nos scripts por "track"
MTF Breakout/RetestIntroducing the MTF (Multi Timeframe) Breakout and Retest Indicator:
This indicator is designed to enhance your trading strategy by providing a clear view of support and resistance levels across multiple timeframes. What this simply means is that you can input your levels, and be on a lower timeframe such as the 1 minute timeframe, and are able to see when your support or resistance level has a breakout
📈 Short Trade Breakout Condition:
- Definition: A short breakout occurs when a candle closes below your specified support level on any chosen timeframe.
- Confirmation: It confirms as a valid short signal when a second candle closes below the support level without retesting.
- Visual Clarity: The indicator highlights the timeframe in which this breakout has occurred.
(Long conditions are same but reversed, and will be displayed in color green)
📊 Multi-Timeframe Insights:
- Scope: You can analyze support and resistance levels across various timeframes, including 5, 15, 30, and 60 minutes, while trading on a lower timeframe like 1 minute.
🎨 Dynamic Color-Coding:
- Visual Signaling: The indicator employs color-coding to visually signal breakout events. When a short breakout occurs on any timeframe the timeframe color will highlight red, and vice versa for long will highlight green. The physical line will change color based on the current timeframe you are viewing
- Real-Time Tracking: Colors reset when a level is retested, helping you track market sentiment in real-time.
🪙 Need Your Help
- I am still very much new to coding, and this code is clearly not optimized well. This code was mainly the based idea, and over the next coming months I will be working to enhance the code but I need tradingview help. If you are a coder and see a way to optimize this code please please let me know :)
EMA Levels, Multi-TimeframeThe exponential moving average (EMA) tracks price over time, giving more importance to recent price data than simple moving average (SMA). EMAs for larger timeframes are generally considered to be stronger supports/resistances for price to move through than smaller timeframes. This indicator allows you to specify two different EMA lengths that you want to track. Additionally, this indicator allows you to display not just the EMA levels of your currently viewed timeframe on the chart, but also shows the EMA levels of up to 4 different timeframes on the same chart. This allows you to quickly see if multiple EMA levels are aligning across different timeframes, which is an even stronger indication that price is going to meet support or resistance when it meets those levels on the chart. There are a lot of nice configuration options, like:
Ability to customize the EMA lengths you want to track
Style customization (color, thickness, size)
Hide any timeframes/levels you aren't interested in
Labels on the chart so you can tell which plots are the EMA levels
Optionally display the plot as a horizontal line if all you care about is the EMA level right now
Sathya: Short the highShort the High
This script has been developed as a professional service and is published only for customer verification/acceptance.
If you are interested in development services, either PM me or visit the Backtest-Rookies website (.com)
Summary
This strategy will attempt to take a short position within a time window only after X consecutive up days. Once X consecutive up days have been detected, two windows will open up. The first window tracks the high of the day. The second window will attempt to short the high of the day if price retests it.
Features
Tracking of consecutive up days using intra-day data
Opening a trade window when consecutive up days are detected
Tracking the high of a sub-session (user definable)
Shorting the high during a second sub-session (user definable)
Stop losses and take profits
End of sub-session close out option.
Buffer range from high of the day. So price does not need to retouch the high but can come with x rupees.
Background coloring of sub-sessions so it is easy to track trades
PIPSTA - Elliott Wave# 🎯 SK-Trading ABC - Stefan Style ULTIMATE
## Overview
This indicator implements an advanced ABC Elliott Wave pattern detection system with the unique "Stefan Style" approach. It identifies high-probability swing trading setups with multiple entry zones, automatic risk-reward calculation, and comprehensive alert system for hands-free trading.
---
## 🔑 Key Features
### 1️⃣ **Intelligent ABC Pattern Recognition**
- Automatic detection of bullish and bearish ABC structures
- Validates retracement ratios (38.2% - 78.6%) for quality setups
- Configurable swing length for different timeframes
- Works on all markets: Forex, Stocks, Crypto, Indices
### 2️⃣ **Dual-Zone Entry System**
#### 🟣 **GKL-Zone (0→A) - Aggressive Entries**
- Available BEFORE pattern activation
- 4 Fibonacci entry levels: 0.5, 0.559, 0.618, 0.667
- For traders who want early positioning
- Purple-colored zone with clear labels
#### 🔵 **BC-Zone (B→A2) - Main Entry System** ⭐
- The "Stefan Style" innovation
- Activates AFTER close breaks Point A
- Tracks A2 (new high/low after activation)
- Entries based on B→A2 retracement (not traditional B→A)
- Tighter risk, better reward ratios
- Blue-colored zone - this is your PRIMARY trading area
### 3️⃣ **Smart Activation Logic**
✅ **Close-Based Activation** (Default)
- Waits for candle CLOSE beyond Point A
- Reduces false breakouts
- More reliable signals
⚡ **A2 Tracking with Locking**
- Monitors new extreme after activation
- Locks A2 on first activation to prevent whipsaws
- Creates stable entry zone
### 4️⃣ **Comprehensive Alert System** 🔔
Never miss a trade with 15+ alert types:
**Setup Alerts:**
- ✅ Pattern Activation (with entry instructions)
- 📍 4 GKL Entry levels (pre-activation)
- 🎯 4 BC-Zone Entry levels (post-activation)
**Trade Management Alerts:**
- 🛑 Stop Loss breach (auto-invalidation)
- 💰 Take Profit 1 (1.618 extension - move to BE)
- 💰 Take Profit 2 (1.809 extension)
- 💰💰 Take Profit 3 (2.0 extension - full target)
All alerts are **alert.freq_once_per_bar** to prevent spam!
### 5️⃣ **Built-in Risk Management**
- Fixed pip-based stop loss (default: 20 pips)
- Minimum RR ratio filter (default: 2.5:1)
- Auto-calculates R-multiples (2R, 3R markers)
- Shows individual RR for each entry level
- Visual SL and TP lines on chart
### 6️⃣ **Professional Dashboard** 📊
Real-time information panel showing:
- ✅ Trade Status: "TRADE BC-ZONE" or "WAIT"
- 📈 Trend Direction
- 🎯 Active Zone (GKL vs BC)
- 💵 All entry levels with prices
- 📍 Stop Loss and Take Profit levels
- 📏 Distance from current price to entries
- ⚖️ Individual RR ratio for each entry
### 7️⃣ **Visual Clarity**
- Color-coded zones and levels
- Clear 0-A-B-C labeling with prices
- "Consumed zones" tracking (grays out touched levels)
- Projection box for C target (1.618-2.0)
- GKL-Box for new cycle after C is reached
- A2 tracking line (dashed orange)
- Trade route arrow visualization
---
## ⚙️ **Settings & Customization**
### Structure Settings
- **Swing Length**: 5-30 (default: 10) - adjust for timeframe
- **Max Sequences**: 1-5 patterns displayed simultaneously
### Display Options
- Toggle C Target Box (1.618-2.0 extension)
- Toggle Activation Line
- Toggle R-Multiple markers
- Toggle GKL-Box after Point C
- Toggle GKL Pre-Activation Zone
- Toggle BC-Zone (main entry area)
### Trade Settings
- **Stop Loss**: 5-100 pips (default: 20)
- **Minimum RR**: 1.0-5.0 (default: 2.5)
### SK System Specific
- ✅ **Close-based Activation**: More reliable than wick breaks
- **Show GKL Pre-Zone**: See aggressive entries before activation
- **Show BC-Zone**: Your main trading area (B→A2)
---
## 📚 **How to Trade This System**
### 🟢 **Conservative Approach** (Recommended)
1. **Wait for Pattern Formation**: 0→A→B structure appears
2. **Wait for Activation Alert**: "🚀 BULLISH/BEARISH ACTIVATED"
3. **Check Dashboard**: Look for "✅ TRADE BC-ZONE"
4. **Set Limit Orders**: In BC-Zone (B→A2) at 0.5, 0.559, 0.618, 0.667 levels
5. **Set Stop Loss**: Below/Above Point B (shown in dashboard)
6. **Set Take Profits**: TP1 (1.618), TP2 (1.809), TP3 (2.0)
7. **Manage Trade**: Move SL to BE at TP1, partial profits at each TP
### ⚡ **Aggressive Approach** (Advanced)
1. **Enter GKL-Zone Pre-Activation**: Use purple zone (0→A retracements)
2. **Risk**: Pattern may not activate
3. **Reward**: Better entry prices if pattern works
4. **Alert**: "🟢/🔴 GKL ENTRY X REACHED - Aggressiv"
### 🎓 **Best Practices**
- ✅ Trade in direction of higher timeframe trend
- ✅ Use multiple entry levels (scale in)
- ✅ Respect minimum RR ratio
- ✅ Let TP3 run for full extension
- ❌ Don't chase after BC-zone is consumed
- ❌ Don't ignore activation requirement
- ❌ Don't trade against major news events
---
## 📊 **Recommended Timeframes**
- **H1 (1-Hour)**: Swing trades, 1-3 day holds
- **H4 (4-Hour)**: Multi-day swings
- **D1 (Daily)**: Position trades, weeks to months
- **Lower timeframes**: Possible but more noise
---
## 🎯 **What Makes This Different?**
### Traditional ABC vs. Stefan Style:
**Traditional ABC:**
- Entries: 50-61.8% retracement of A→B
- Based on original wave measurements
**Stefan Style (This Indicator):**
- Waits for activation (close beyond A)
- Tracks A2 (new extreme after activation)
- Entries: 50-66.7% of B→A2 (the BC-Zone)
- Tighter entries, better RR ratios
- More adaptive to actual price action
### Why BC-Zone Works:
After Point A is broken, the market often makes a new extreme (A2) before retracing. By using B→A2 as your entry reference, you're entering at better prices with tighter stops than traditional methods.
---
## 🔔 **Alert Setup Instructions**
1. Click "Add Alert" on TradingView
2. Condition: Select this indicator
3. Message: Use the built-in alert text (includes prices and instructions)
4. Options: "Once Per Bar Close" (already handled by indicator)
5. Send to: Email, SMS, Webhook, etc.
**You'll receive alerts for:**
- New setups detected
- Activation confirmations
- Entry level touches
- SL breaches
- TP levels reached
---
## 📈 **Performance Tips**
1. **Reduce Visual Load**: Disable unused features in settings
2. **Limit Sequences**: Set Max Sequences to 1-2 for cleaner charts
3. **Timeframe Sync**: Match swing length to your timeframe:
- M15: Swing 5-8
- H1: Swing 8-12
- H4: Swing 10-15
- D1: Swing 12-20
---
## ⚠️ **Disclaimers**
- This indicator is for **educational purposes** only
- Not financial advice - trade at your own risk
- Past performance doesn't guarantee future results
- Always use proper risk management (1-2% per trade)
- Test on demo account first
- Works best in trending conditions, avoid ranging markets
---
## 🛠️ **Technical Details**
- **Pine Script Version**: v6
- **Indicator Type**: Overlay
- **Resources**: Max 150 boxes, 200 lines, 120 labels
- **Pattern Detection**: Pivot-based with ratio validation
- **Alert Frequency**: Once per bar to prevent spam
---
## 📞 **Support & Community**
Join our Telegram channel for:
- Strategy discussions
- Setup examples
- Updates and improvements
- Community support
**Telegram**: @simpleforextools
---
## 🔄 **Version History**
**Current Version**: Ultimate Edition
- ✅ Dual-zone entry system
- ✅ Close-based activation
- ✅ A2 tracking with locking
- ✅ 15+ alert types
- ✅ Consumed zones tracking
- ✅ Professional dashboard
- ✅ RR calculation per entry
- ✅ GKL pre-activation zone
---
## 🏆 **Who Is This For?**
✅ **Perfect for:**
- Swing traders
- Elliott Wave practitioners
- Alert-based traders
- Systematic rule-followers
- Traders who scale into positions
❌ **Not ideal for:**
- Scalpers (too slow)
- Complete beginners (complex system)
- Range-bound market traders
---
## 💡 **Pro Tips**
1. **Confluence is King**: Best results when BC-Zone aligns with:
- Support/Resistance levels
- Fibonacci from higher timeframe
- Round numbers
- Previous structure
2. **Multi-Timeframe Approach**:
- HTF (H4/D1): Identify trend
- LTF (H1): Execute entries
- Use indicator on execution timeframe
3. **Risk Management**:
- Never risk more than 1-2% per trade
- Use multiple entries = divide risk across levels
- Move SL to BE aggressively after TP1
Journal Diario Manual [KEKG]📊 Daily Trading Journal – Manual Profit & Risk Tracker
This indicator is a clean, fully customizable daily trading journal designed to help traders manually track their performance directly on the chart.
✅ Features:
• Manual input for:
• Take Profits (TP)
• Stop Losses (SL)
• Total TP Pips
• Total SL Pips
• Automatic Profit (Pips) calculation:
• Shows + in green for positive results
• Shows − in red for negative results
• Customizable reset system:
• Reset by Day
• Reset by Week
• Manual reset
• Optional reset at a specific time (AM/PM)
• Each reset method can be turned ON or OFF
• Fully adjustable colors:
• Default TP color: #66BB6A
• Default SL color: #F23645
• Editable profit colors and panel background
• Movable panel position (any screen corner)
• Transparent background by default
• Clean, left-aligned professional layout
🎯 Purpose:
This tool is built for discipline, consistency, and performance tracking, helping traders stay aware of:
• Daily results
• Total risk
• Overall profitability
Perfect for Forex, Indices, Commodities, and Crypto traders who want a simple but powerful on-chart journal without automation or broker connection.
Event High/Mid/LowEvent High/Mid/Low - Data Release Level Tracker
Automatically track and visualize high, low, and mid levels from major data events like FOMC announcements, CPI releases, NFP reports, and other market-moving data releases.
KEY FEATURES:
- Customizable event input - Add unlimited events using a simple text format
- Flexible time periods - Set custom duration for each event (15min, 30min, 60min, etc.)
- Visual clarity - Color-coded lines and optional background cloud between high/low
- Clean labels - Minimalist text labels without background boxes
- Fully customizable - Toggle lines, labels, and clouds on/off independently
HOW TO USE:
1. Add the indicator to your chart
2. Open settings and edit the "Event Dates" text area
3. Enter one event per line in this format: YYYY-MM-DD HH:MM Minutes Label
Example: 2025-01-29 14:00 30 Jan FOMC
Example: 2025-02-12 08:30 30 Feb CPI
4. The indicator will automatically capture and display the high, low, and mid levels
WHAT IT DISPLAYS:
- High line (teal) - Highest price during the event period
- Low line (pink) - Lowest price during the event period
- Mid line (yellow, dotted) - Midpoint between high and low
- Background cloud (optional) - Shaded area between high and low
- Event window highlighting - Orange background during active events
PERFECT FOR:
- Tracking key support/resistance levels from economic releases
- Planning entries/exits around FOMC, CPI, NFP, and other data
- Analyzing how price reacts to major announcements
- Identifying post-event trading ranges
SUPPORTED EVENTS:
Works with any scheduled economic release - FOMC, CPI, PPI, NFP, Retail Sales, GDP, and more. Simply input the date, time, duration, and a custom label.
IMPORTANT LIMITATIONS:
- Chart timeframe must be EQUAL TO OR SMALLER than event duration
- For 30-minute events: Use 30min, 15min, 5min, 1min charts (NOT 1H, 4H, Daily)
- For 60-minute events: Use 60min, 30min, 15min, 5min, 1min charts
- For 15-minute events: Use 15min, 5min, 1min charts
- If your chart timeframe is larger than the event duration, the indicator may not capture accurate high/low values
- Recommended: Use 5-minute or 1-minute charts for maximum accuracy on all event durations
NOTES:
- All times are in EST/EDT (America/New_York timezone)
- Comments starting with # are ignored, making it easy to organize and annotate your event list
- The indicator processes events only after the specified duration has elapsed
Session Breakout, Retest, Reversal + Large Move Alert## **Session Breakout, Retest, Reversal + Large Move Alert**
### Overview
A powerful multi-functional indicator designed for day traders and futures traders to identify session-based breakout opportunities, retest confirmations, and significant price movements across all futures contracts (Gold, E-mini S&P 500, Nasdaq, Crude Oil, and more).
### Key Features
**📊 Pre-Market Session Tracking**
- Automatically calculates pre-market/overnight session highs and lows
- Displays session ranges with customizable colors and styling
- Extends lines through the entire trading session for easy reference
- Supports overnight sessions (e.g., 4 PM – 7:30 AM for Gold futures)
**🚀 Breakout Detection**
- Identifies breakouts above/below pre-market highs and lows
- Uses close-price confirmation to filter false signals from wicks
- Displays "BO ↑" and "BO ↓" labels at breakout points
- Generates instant alerts when breakouts occur
**♻️ Retest Failed Tracking**
- Monitors price retests after breakouts
- Detects when retests fail to reach previous support/resistance
- Labels "RF" (Retest Failed) for high-probability trade setups
- Helps identify reversal opportunities
**📈 First 5-Minute Analysis**
- Captures first 5 minutes of market open (customizable timeframe)
- Tracks first 5-minute highs and lows separately
- Essential for mean-reversion and breakout confirmation strategies
- Blue lines extend through the trading session for easy tracking
**⚡ Large Move Alerts**
- Detects significant price movements based on point thresholds
- Individual thresholds for 5+ different symbols:
- GC (Gold): 15 points
- ES (E-mini S&P 500): 15 points
- NQ (E-mini Nasdaq): 50 points
- CL (Crude Oil): 1.5 points
- Custom: Fully adjustable
- Auto-detects symbol from chart ticker
- Labels show exact point movement and candle direction
### Customization Options
**Symbol Configuration**
- **Auto-Mode**: Automatically detects trading symbol from chart ticker
- **Manual-Mode**: Select specific symbol (GC, ES, NQ, CL, or Custom)
**Session Settings**
- Fully customizable pre-market session time (24-hour format)
- Adjustable market open time for first 5-minute window
- Market close hour and minute configuration
- Support for any timezone
**Point Move Thresholds by Symbol**
- Set independent thresholds for each of your trading symbols
- Quickly adjust settings when switching between different futures
- Includes helpful tooltips for recommended values
**Display & Styling**
- Toggle all visual elements on/off individually
- Customizable colors for all lines and labels:
- Pre-market high/low colors
- Breakout labels (up/down)
- Retest failed labels
- First 5-minute session lines
- Large move indicators
- Text size options: tiny, small, normal, large, huge
### How It Works
1. **Session Tracking**: The indicator identifies your pre-market session and marks the high and low with labeled lines (PH/PL)
2. **Breakout Signal**: Once the market opens, it monitors for close prices above/below the pre-market levels and alerts you with "BO ↑" or "BO ↓"
3. **Retest Confirmation**: After a breakout, it tracks retests and labels "RF" when the retest fails to reach the opposite extreme, confirming trade direction
4. **Large Move Detection**: Simultaneously monitors for significant point moves that exceed your symbol-specific thresholds
5. **Alert Triggers**: Get real-time alerts for:
- Breakout Up/Down
- Any Breakout
- Large Move events
### Alert Conditions
The indicator includes four alert conditions:
- **Breakout Up Alert**: Price closes above pre-market high
- **Breakout Down Alert**: Price closes below pre-market low
- **Any Breakout Alert**: Either breakout condition triggers
- **Large Move Alert**: Point movement exceeds threshold for current symbol
### Ideal For
- ✅ Day traders (breakout/retest strategies)
- ✅ Futures traders (Gold, Oil, Stock Index Contracts)
- ✅ Intraday scalpers (first 5-minute analysis)
- ✅ Swing traders (session-based levels)
- ✅ Multi-symbol traders (independent thresholds per symbol)
### Disclaimer
This indicator is designed for educational and informational purposes. Past performance does not guarantee future results. Always use proper risk management and position sizing. Test thoroughly on historical data before trading live.
📋 Trading Checklist – Precision Entry SystemTake your trading discipline to the next level with this Precision Trading Checklist for TradingView. Designed for intraday traders following liquidity, structure, and Smart Money Concepts (SMC) AKA ICT Concepts, this overlay ensures you never miss a key confirmation before entering a trade.
Features:
✅ Pre-Market Preparation: Track previous session highs/lows, AM/PM sessions, and key liquidity zones.
✅ Bias & Narrative Check: Quickly confirm daily trend, price position relative to daily open, and higher timeframe confluence.
✅ Session-Specific Rules: Focused sessions like Silver Bullet (10:00–11:30), Afternoon (13:30–15:00), and Final Hour (15:00–16:00).
✅ Structure & Setup Validation: Confirm liquidity sweeps, market structure shifts, expansion candles, fair value gaps, and order blocks.
✅ Risk Management Reminders: Stop-loss, target points, risk percentage, breakeven management, and pyramiding rules.
✅ Post-Trade Journaling: Document entries, session, setup type, trade outcome, and grading for continuous improvement.
✅ Golden Rules: Visual reminders to enforce discipline, avoid emotional trades, and respect session limits.
Why Use It:
This checklist is perfect for traders who want to stay consistent, minimise mistakes, and follow a disciplined routine. Displayed as an overlay on your chart, it provides all essential checks in one glance, keeping you focused on the setup rather than scrolling through notes or separate trackers.
How to use:
Add the indicator to your chart
Click the settings/gear icon
Check off items as you complete them
The checklist on your chart updates in real-time with green checkmarks!
The checkboxes will persist as long as the indicator is on your chart,
making it perfect for tracking your pre-trade and post-trade routines!
Follow the checklist items step by step before entering trades.
Use the session-specific guidelines to filter setups.
Journal your trades post-execution for growth and analysis.
Smart Money Flow Index (SMFI) - Advanced SMC [PhenLabs]📊Smart Money Flow Index (SMFI)
Version: PineScript™v6
📌Description
The Smart Money Flow Index (SMFI) is an advanced Smart Money Concepts implementation that tracks institutional trading behavior through multi-dimensional analysis. This comprehensive indicator combines volume-validated Order Block detection, Fair Value Gap identification with auto-mitigation tracking, dynamic Liquidity Zone mapping, and Break of Structure/Change of Character detection into a unified system.
Unlike basic SMC indicators, SMFI employs a proprietary scoring algorithm that weighs five critical factors: Order Block strength (validated by volume), Fair Value Gap size and recency, proximity to Liquidity Zones, market structure alignment (BOS/CHoCH), and multi-timeframe confluence. This produces a Smart Money Score (0-100) where readings above 70 represent optimal institutional setup conditions.
🚀Points of Innovation
Volume-Validated Order Block Detection – Only displays Order Blocks when formation candle exceeds customizable volume multiplier (default 1.5x average), filtering weak zones and highlighting true institutional accumulation/distribution
Auto-Mitigation Tracking System – Fair Value Gaps and Order Blocks automatically update status when price mitigates them, with visual distinction between active and filled zones preventing trades on dead levels
Proprietary Smart Money Score Algorithm – Combines weighted factors (OB strength 25%, FVG proximity 20%, Liquidity 20%, Structure 20%, MTF 15%) into single 0-100 confidence rating updating in real-time
ATR-Based Adaptive Calculations – All distance measurements use 14-period Average True Range ensuring consistent function across any instrument, timeframe, or volatility regime without manual recalibration
Dynamic Age Filtering – Automatically removes liquidity levels and FVGs older than configurable thresholds preventing chart clutter while maintaining relevant levels
Multi-Timeframe Confluence Integration – Analyzes higher timeframe bias with customizable multipliers (2-10x) and incorporates HTF trend direction into Smart Money Score for institutional alignment
🔧Core Components
Order Block Engine – Detects institutional supply/demand zones using characteristic patterns (down-move-then-strong-up for bullish, up-move-then-strong-down for bearish) with minimum volume threshold validation, tracks mitigation when price closes through zones
Fair Value Gap Scanner – Identifies price imbalances where current candle's low/high leaves gap with two-candle-prior high/low, filters by minimum size percentage, monitors 50% fill for mitigation status
Liquidity Zone Mapper – Uses pivot high/low detection with configurable lookback to mark swing points where stop losses cluster, extends horizontal lines to visualize sweep targets, manages lifecycle through age-based removal
Market Structure Analyzer – Tracks pivot progression to identify trend through higher-highs/higher-lows (bullish) or lower-highs/lower-lows (bearish), detects Break of Structure and Change of Character for trend/reversal confirmation
Scoring Calculation Engine – Evaluates proximity to nearest Order Blocks using ATR-normalized distance, assesses FVG recency and distance, calculates liquidity proximity with age weighting, combines structure bias and MTF trend into smoothed final score
🔥Key Features
Customizable Display Limits – Control maximum Order Blocks (1-10), Liquidity Zones (1-10), and FVG age (10-200 bars) to maintain clean charts focused on most relevant institutional levels
Gradient Strength Visualization – All zones render with transparency-adjustable coloring where stronger/newer zones appear more solid and weaker/older zones fade progressively providing instant visual hierarchy
Educational Label System – Optional labels identify each zone type (Bullish OB, Bearish OB, Bullish FVG, Bearish FVG, BOS) with color-coded text helping traders learn SMC concepts through practical application
Real-Time Smart Money Score Dashboard – Top-right table displays current score (0-100) with color coding (green >70, yellow 30-70, red <30) plus trend arrow for at-a-glance confidence assessment
Comprehensive Alert Suite – Configurable notifications for Order Block formation, Fair Value Gap detection, Break of Structure events, Change of Character signals, and high Smart Money Score readings (>70)
Buy/Sell Signal Integration – Automatically plots triangle markers when Smart Money Score exceeds 70 with aligned market structure and fresh Order Block detection providing clear entry signals
🎨Visualization
Order Block Boxes – Shaded rectangles extend from formation bar spanning high-to-low of institutional candle, bullish zones in green, bearish in red, with customizable transparency (80-98%)
Fair Value Gap Zones – Rectangular areas marking imbalances, active FVGs display in bright colors with adjustable transparency, mitigated FVGs switch to gray preventing trades on filled zones
Liquidity Level Lines – Dashed horizontal lines extend from pivot creation points, swing highs in bearish color (short targets above), swing lows in bullish color (long targets below), opacity decreases with age
Structure Labels – "BOS" labels appear above/below price when Break of Structure confirmed, colored by direction (green bullish, red bearish), positioned at 1% beyond highs/lows for visibility
Educational Info Panel – Bottom-right table explains key terminology (OB, FVG, BOS, CHoCH) and score interpretation (>70 high probability) with semi-transparent background for readability
📖Usage Guidelines
General Settings
Show Order Blocks – Default: On, toggles visibility of institutional supply/demand zones, disable when focusing solely on FVGs or Liquidity
Show Fair Value Gaps – Default: On, controls FVG zone display including active and mitigated imbalances
Show Liquidity Zones – Default: On, manages liquidity line visibility, disable on lower timeframes to reduce clutter
Show Market Structure – Default: On, toggles BOS/CHoCH label display
Show Smart Money Score – Default: On, controls score dashboard visibility
Order Block Settings
OB Lookback Period – Default: 20, Range: 5-100, controls bars scanned for Order Block patterns, lower values detect recent activity, higher values find older blocks
Min Volume Multiplier – Default: 1.5, Range: 1.0-5.0, sets minimum volume threshold as multiple of 20-period average, higher values (2.0+) filter for strongest institutional candles
Max Order Blocks to Display – Default: 3, Range: 1-10, limits simultaneous Order Blocks shown, lower settings (1-3) maintain focus on most recent zones
Fair Value Gap Settings
Min FVG Size (%) – Default: 0.3, Range: 0.1-2.0, defines minimum gap size as percentage of close price, lower values detect micro-imbalances, higher values focus on significant gaps
Max FVG Age (bars) – Default: 50, Range: 10-200, removes FVGs older than specified bars, lower settings (10-30) for scalping, higher (100-200) for swing trading
Show FVG Mitigation – Default: On, displays filled FVGs in gray providing visual history, disable to show only active untouched imbalances
Liquidity Zone Settings
Liquidity Lookback – Default: 50, Range: 20-200, sets pivot detection period for swing highs/lows, lower values (20-50) mark shorter-term liquidity, higher (100-200) identify major swings
Max Liquidity Age (bars) – Default: 100, Range: 20-500, removes liquidity lines older than specified bars, adjust based on timeframe
Liquidity Sensitivity – Default: 0.5, Range: 0.1-1.0, controls pivot detection sensitivity, lower values mark only major swings, higher values identify minor swings
Max Liquidity Zones to Display – Default: 3, Range: 1-10, limits total liquidity levels shown maintaining chart clarity
Market Structure Settings
Pivot Length – Default: 5, Range: 3-15, defines bars to left/right for pivot validation, lower values (3-5) create sensitive structure breaks, higher (10-15) filter for major shifts
Min Structure Move (%) – Default: 1.0, Range: 0.1-5.0, sets minimum percentage move required between pivots to confirm structure change
Multi-Timeframe Settings
Enable MTF Analysis – Default: On, activates higher timeframe trend analysis incorporation into Smart Money Score
Higher Timeframe Multiplier – Default: 4, Range: 2-10, multiplies current timeframe to determine analysis timeframe (4x on 15min = 1hour)
Visual Settings
Bullish Color – Default: Green (#089981), sets color for bullish Order Blocks, FVGs, and structure elements
Bearish Color – Default: Red (#f23645), defines color for bearish elements
Neutral Color – Default: Gray (#787b86), controls color of mitigated zones and neutral elements
Show Educational Labels – Default: On, displays text labels on zones identifying type (OB, FVG, BOS), disable once familiar with patterns
Order Block Transparency – Default: 92, Range: 80-98, controls Order Block box transparency
FVG Transparency – Default: 92, Range: 80-98, sets Fair Value Gap zone transparency independently from Order Blocks
Alert Settings
Alert on Order Block Formation – Default: On, triggers notification when new volume-validated Order Block detected
Alert on FVG Formation – Default: On, sends alert when Fair Value Gap appears enabling quick response to imbalances
Alert on Break of Structure – Default: On, notifies when BOS or CHoCH confirmed
Alert on High Smart Money Score – Default: On, alerts when Smart Money Score crosses above 70 threshold indicating high-probability setup
✅Best Use Cases
Order Block Retest Entries – After Break of Structure, wait for price retrace into fresh bullish Order Block with Smart Money Score >70, enter long on zone reaction targeting next liquidity level
Fair Value Gap Retracement Trading – When price creates FVG during strong move then retraces, enter as price approaches unfilled gap expecting institutional orders to continue trend
Liquidity Sweep Reversals – Monitor price approaching swing high/low liquidity zones against prevailing Smart Money Score trend, after stop hunt sweep watch for rejection into premium Order Block/FVG
Multi-Timeframe Confluence Setups – Identify alignment when current timeframe Order Block coincides with higher timeframe FVG plus MTF analysis showing matching trend bias
Break of Structure Continuations – After BOS confirms trend direction, trade pullbacks to nearest Order Block or FVG in direction of structure break using Smart Money Score >70 as entry filter
Change of Character Reversal Plays – When CHoCH detected indicating potential reversal, look for Smart Money Score pivot with opposing Order Block formation then enter on structure confirmation
⚠️Limitations
Lagging Pivot Calculations – Pivot-based features (Liquidity Zones, Market Structure) require bars to right of pivot for confirmation, meaning these elements identify levels retrospectively with delay equal to lookback period
Whipsaw in Ranging Markets – During choppy conditions, Order Blocks fail frequently and structure breaks produce false signals as Smart Money Score fluctuates without clear institutional bias, best used in trending markets
Volume Data Dependency – Order Block volume validation requires accurate volume data which may be incomplete on Forex pairs or limited in crypto exchange feeds
Subjectivity in Scoring Weights – Proprietary 25-20-20-20-15 weighting reflects general institutional behavior but may not optimize for specific instruments or market regimes, user cannot adjust factor weights
Visual Complexity on Lower Timeframes – Sub-hour timeframes generate excessive zones creating cluttered charts, requires aggressive display limit reduction and higher minimum thresholds
No Fundamental Integration – Indicator analyzes purely technical price action and volume without incorporating economic events, news catalysts, or fundamental shifts that override technical levels
💡What Makes This Unique
Unified SMC Ecosystem – Unlike indicators displaying Order Blocks OR FVGs OR Liquidity separately, SMFI combines all three institutional concepts plus market structure into single cohesive system
Proprietary Confidence Scoring – Rather than manual setup assessment, automated Smart Money Score quantifies probability by weighting five institutional dimensions into actionable 0-100 rating
Volume-Filtered Quality – Eliminates weak Order Blocks forming without institutional volume confirmation, ensuring displayed zones represent genuine accumulation/distribution
Adaptive Lifecycle Management – Automatically updates mitigation status and removes aged zones preventing trades on dead levels through continuous validity and age monitoring
Educational Integration – Built-in tooltips, labeled zones, and reference panel make indicator functional for both learning Smart Money Concepts and executing strategies
🔬How It Works
Order Block Detection – Scans for patterns where strong directional move follows counter-move creating last down-candle before rally (bullish OB) or last up-candle before sell-off (bearish OB), validates formations only when candle exhibits volume exceeding configurable multiple (default 1.5x) of 20-bar average volume
Fair Value Gap Identification – Compares current candle’s high/low against two-candles-prior low/high to detect price imbalances, calculates gap size as percentage of close and filters micro-gaps below minimum threshold (default 0.3%), monitors whether subsequent price fills 50% triggering mitigation status
Liquidity Zone Mapping – Employs pivot detection using configurable lookback (default 50 bars) to identify swing highs/lows where retail stops cluster, extends horizontal reference lines from pivot creation and applies age-based filtering to remove stale zones
Market Structure Analysis – Tracks pivot progression using structure-specific lookback (default 5 bars) to determine trend, confirms uptrend when new pivot high exceeds previous by minimum move percentage, detects Break of Structure when price breaks recent pivot level, flags Change of Character for potential reversals
Multi-Timeframe Confluence – When enabled, requests security data from higher timeframe (current TF × HTF multiplier, default 4x), compares HTF close against HTF 20-period MA to determine bias, contributes ±50 points to score ensuring alignment with institutional positioning on superior timeframe
Smart Money Score Calculation – Evaluates Order Block component via ATR-normalized distance producing max 100-point contribution weighted at 25%, assesses FVG factor through age penalty and distance at 20% weight, calculates Liquidity proximity at 20%, incorporates structure bias (±50-100 points) at 20%, adds MTF component at 15%, applies 3-period smoothing to reduce volatility
Visual Rendering and Lifecycle – Draws Order Block boxes, Fair Value Gap rectangles with color coding (green/red active, gray mitigated), extends liquidity dashed lines with fade-by-age opacity, plots BOS labels, displays Smart Money Score dashboard, continuously updates checking mitigation conditions and removing elements exceeding age/display limits
💡Note:
The Smart Money Flow Index combines multiple Smart Money Concepts into unified institutional order flow analysis. For optimal results, use the Smart Money Score as confluence filter rather than standalone entry signal – scores above 70 indicate high-probability setups but should be combined with risk management, higher timeframe bias, and market regime understanding.
Quantum Flux Universal Strategy Summary in one paragraph
Quantum Flux Universal is a regime switching strategy for stocks, ETFs, index futures, major FX pairs, and liquid crypto on intraday and swing timeframes. It helps you act only when the normalized core signal and its guide agree on direction. It is original because the engine fuses three adaptive drivers into the smoothing gains itself. Directional intensity is measured with binary entropy, path efficiency shapes trend quality, and a volatility squash preserves contrast. Add it to a clean chart, watch the polarity lane and background, and trade from positive or negative alignment. For conservative workflows use on bar close in the alert settings when you add alerts in a later version.
Scope and intent
• Markets. Large cap equities and ETFs. Index futures. Major FX pairs. Liquid crypto
• Timeframes. One minute to daily
• Default demo used in the publication. QQQ on one hour
• Purpose. Provide a robust and portable way to detect when momentum and confirmation align, while dampening chop and preserving turns
• Limits. This is a strategy. Orders are simulated on standard candles only
Originality and usefulness
• Unique concept or fusion. The novelty sits in the gain map. Instead of gating separate indicators, the model mixes three drivers into the adaptive gains that power two one pole filters. Directional entropy measures how one sided recent movement has been. Kaufman style path efficiency scores how direct the path has been. A volatility squash stabilizes step size. The drivers are blended into the gains with visible inputs for strength, windows, and clamps.
• What failure mode it addresses. False starts in chop and whipsaw after fast spikes. Efficiency and the squash reduce over reaction in noise.
• Testability. Every component has an input. You can lengthen or shorten each window and change the normalization mode. The polarity plot and background provide a direct readout of state.
• Portable yardstick. The core is normalized with three options. Z score, percent rank mapped to a symmetric range, and MAD based Z score. Clamp bounds define the effective unit so context transfers across symbols.
Method overview in plain language
The strategy computes two smoothed tracks from the chart price source. The fast track and the slow track use gains that are not fixed. Each gain is modulated by three drivers. A driver for directional intensity, a driver for path efficiency, and a driver for volatility. The difference between the fast and the slow tracks forms the raw flux. A small phase assist reduces lag by subtracting a portion of the delayed value. The flux is then normalized. A guide line is an EMA of a small lead on the flux. When the flux and its guide are both above zero, the polarity is positive. When both are below zero, the polarity is negative. Polarity changes create the trade direction.
Base measures
• Return basis. The step is the change in the chosen price source. Its absolute value feeds the volatility estimate. Mean absolute step over the window gives a stable scale.
• Efficiency basis. The ratio of net move to the sum of absolute step over the window gives a value between zero and one. High values mean trend quality. Low values mean chop.
• Intensity basis. The fraction of up moves over the window plugs into binary entropy. Intensity is one minus entropy, which maps to zero in uncertainty and one in very one sided moves.
Components
• Directional Intensity. Measures how one sided recent bars have been. Smoothed with RMA. More intensity increases the gain and makes the fast and slow tracks react sooner.
• Path Efficiency. Measures the straightness of the price path. A gamma input shapes the curve so you can make trend quality count more or less. Higher efficiency lifts the gain in clean trends.
• Volatility Squash. Normalizes the absolute step with Z score then pushes it through an arctangent squash. This caps the effect of spikes so they do not dominate the response.
• Normalizer. Three modes. Z score for familiar units, percent rank for a robust monotone map to a symmetric range, and MAD based Z for outlier resistance.
• Guide Line. EMA of the flux with a small lead term that counteracts lag without heavy overshoot.
Fusion rule
• Weighted sum of the three drivers with fixed weights visible in the code comments. Intensity has fifty percent weight. Efficiency thirty percent. Volatility twenty percent.
• The blend power input scales the driver mix. Zero means fixed spans. One means full driver control.
• Minimum and maximum gain clamps bound the adaptive gain. This protects stability in quiet or violent regimes.
Signal rule
• Long suggestion appears when flux and guide are both above zero. That sets polarity to plus one.
• Short suggestion appears when flux and guide are both below zero. That sets polarity to minus one.
• When polarity flips from plus to minus, the strategy closes any long and enters a short.
• When flux crosses above the guide, the strategy closes any short.
What you will see on the chart
• White polarity plot around the zero line
• A dotted reference line at zero named Zen
• Green background tint for positive polarity and red background tint for negative polarity
• Strategy long and short markers placed by the TradingView engine at entry and at close conditions
• No table in this version to keep the visual clean and portable
Inputs with guidance
Setup
• Price source. Default ohlc4. Stable for noisy symbols.
• Fast span. Typical range 6 to 24. Raising it slows the fast track and can reduce churn. Lowering it makes entries more reactive.
• Slow span. Typical range 20 to 60. Raising it lengthens the baseline horizon. Lowering it brings the slow track closer to price.
Logic
• Guide span. Typical range 4 to 12. A small guide smooths without eating turns.
• Blend power. Typical range 0.25 to 0.85. Raising it lets the drivers modulate gains more. Lowering it pushes behavior toward fixed EMA style smoothing.
• Vol window. Typical range 20 to 80. Larger values calm the volatility driver. Smaller values adapt faster in intraday work.
• Efficiency window. Typical range 10 to 60. Larger values focus on smoother trends. Smaller values react faster but accept more noise.
• Efficiency gamma. Typical range 0.8 to 2.0. Above one increases contrast between clean trends and chop. Below one flattens the curve.
• Min alpha multiplier. Typical range 0.30 to 0.80. Lower values increase smoothing when the mix is weak.
• Max alpha multiplier. Typical range 1.2 to 3.0. Higher values shorten smoothing when the mix is strong.
• Normalization window. Typical range 100 to 300. Larger values reduce drift in the baseline.
• Normalization mode. Z score, percent rank, or MAD Z. Use MAD Z for outlier heavy symbols.
• Clamp level. Typical range 2.0 to 4.0. Lower clamps reduce the influence of extreme runs.
Filters
• Efficiency filter is implicit in the gain map. Raising efficiency gamma and the efficiency window increases the preference for clean trends.
• Micro versus macro relation is handled by the fast and slow spans. Increase separation for swing, reduce for scalping.
• Location filter is not included in v1.0. If you need distance gates from a reference such as VWAP or a moving mean, add them before publication of a new version.
Alerts
• This version does not include alertcondition lines to keep the core minimal. If you prefer alerts, add names Long Polarity Up, Short Polarity Down, Exit Short on Flux Cross Up in a later version and select on bar close for conservative workflows.
Strategy has been currently adapted for the QQQ asset with 30/60min timeframe.
For other assets may require new optimization
Properties visible in this publication
• Initial capital 25000
• Base currency Default
• Default order size method percent of equity with value 5
• Pyramiding 1
• Commission 0.05 percent
• Slippage 10 ticks
• Process orders on close ON
• Bar magnifier ON
• Recalculate after order is filled OFF
• Calc on every tick OFF
Honest limitations and failure modes
• Past results do not guarantee future outcomes
• Economic releases, circuit breakers, and thin books can break the assumptions behind intensity and efficiency
• Gap heavy symbols may benefit from the MAD Z normalization
• Very quiet regimes can reduce signal contrast. Use longer windows or higher guide span to stabilize context
• Session time is the exchange time of the chart
• If both stop and target can be hit in one bar, tie handling would matter. This strategy has no fixed stops or targets. It uses polarity flips for exits. If you add stops later, declare the preference
Open source reuse and credits
• None beyond public domain building blocks and Pine built ins such as EMA, SMA, standard deviation, RMA, and percent rank
• Method and fusion are original in construction and disclosure
Legal
Education and research only. Not investment advice. You are responsible for your decisions. Test on historical data and in simulation before any live use. Use realistic costs.
Strategy add on block
Strategy notice
Orders are simulated by the TradingView engine on standard candles. No request.security() calls are used.
Entries and exits
• Entry logic. Enter long when both the normalized flux and its guide line are above zero. Enter short when both are below zero
• Exit logic. When polarity flips from plus to minus, close any long and open a short. When the flux crosses above the guide line, close any short
• Risk model. No initial stop or target in v1.0. The model is a regime flipper. You can add a stop or trail in later versions if needed
• Tie handling. Not applicable in this version because there are no fixed stops or targets
Position sizing
• Percent of equity in the Properties panel. Five percent is the default for examples. Risk per trade should not exceed five to ten percent of equity. One to two percent is a common choice
Properties used on the published chart
• Initial capital 25000
• Base currency Default
• Default order size percent of equity with value 5
• Pyramiding 1
• Commission 0.05 percent
• Slippage 10 ticks
• Process orders on close ON
• Bar magnifier ON
• Recalculate after order is filled OFF
• Calc on every tick OFF
Dataset and sample size
• Test window Jan 2, 2014 to Oct 16, 2025 on QQQ one hour
• Trade count in sample 324 on the example chart
Release notes template for future updates
Version 1.1.
• Add alertcondition lines for long, short, and exit short
• Add optional table with component readouts
• Add optional stop model with a distance unit expressed as ATR or a percent of price
Notes. Backward compatibility Yes. Inputs migrated Yes.
MK_OSFT-Momentum Confluence DetectorMOMENTUM CONFLUENCE DETECTOR - Trading Indicator Overview
What This Indicator Does
The Momentum Confluence Detector is a comprehensive Pine Script indicator designed to identify high-probability trading opportunities by detecting momentum bars that align with multiple confluence factors. It combines traditional technical analysis with advanced Smart Money Concepts to filter out noise and highlight the most significant price movements.
CORE FUNCTIONALITY
📊 Momentum Bar Detection Identifies unusual volume and bar size expansion using customizable multipliers
Detects bullish, bearish, and neutral momentum bars based on OHLC relationships
Uses moving averages to establish baseline volume and bar size thresholds
🔄 Multi-Filter Confluence System
The indicator employs up to 5 different filter types to validate momentum signals:
Level Concept Filter - Choose between:
- Support/Resistance Levels : Traditional pivot-based S/R zones with touch counting and break tracking
- Smart Money Concepts : Institutional order flow analysis including Order Blocks, Fair Value Gaps (FVGs), and market structure breaks
Trend Filter : EMA/SMA-based trend direction confirmation with alignment requirements
Breakout Filter : Detects price breakouts beyond recent highs/lows with percentage thresholds
Volatility Filter : ATR expansion confirmation to ensure signals occur during active market conditions
Market Session Filter : Filters signals to specific trading sessions (Tokyo, London, New York)
ADVANCED FEATURES
🎯 Smart Money Concepts Integration
Order Blocks : Identifies institutional supply/demand zones from major and minor structure breaks
Fair Value Gaps (FVGs) : Detects price imbalances and tracks their evolution through partial fills and inversions
Market Structure : Recognizes Break of Structure (BOS) and Change of Character (CHoCH) patterns
Retracement Patterns : Tracks HLH (Higher-Low-Higher) and LHL (Lower-High-Lower) institutional patterns
📈 Support/Resistance System
Multi-timeframe pivot detection (3, 5, 7-bar spans)
Volume-weighted strength calculation for level importance
Dynamic level merging and break tracking
Automatic level type classification (Support/Resistance/Flip zones)
⚙️ Intelligent Filtering Logic
ALL Mode : Requires all enabled filters to pass (high precision)
ANY Mode : Requires at least one filter to pass (higher frequency)
Real-time filter status tracking and visualization
Visual Features
Signal Markers : Clear triangular markers for qualified momentum bars
Unfiltered Signals : Optional display of raw momentum bars for comparison
Level Visualization : Dynamic S/R level boxes and lines with strength indicators
Structure Lines : BOS/CHoCH break visualization with major/minor classification
Fair Value Gaps : Color-coded boxes showing bullish/bearish FVGs with partial fill tracking and IFVG conversion
Order Blocks : Institutional supply/demand zones displayed as colored boxes with major/minor classification
Information Table : Real-time display of signal details and filter status
Session Boxes : Visual representation of active trading sessions
Practical Applications
✅ Swing Trading : Identify high-probability reversal and continuation setups
✅ Day Trading : Spot intraday momentum shifts with institutional backing
✅ Multi-Timeframe Analysis : Combine major and minor structure analysis
✅ Risk Management : Filter out low-quality setups using confluence requirements
✅ Educational : Understand market structure and institutional order flow
Customization Options
Adjustable momentum thresholds for different market conditions
Comprehensive filter settings with individual enable/disable controls
Visual customization for colors, sizes, and display preferences
Alert system with detailed signal information
Performance optimization settings for different chart timeframes
Who Should Use This Indicator
This indicator is suitable for traders who:
Want to combine multiple technical analysis approaches
Seek to understand institutional market behavior
Prefer confluence-based trading setups
Need customizable filtering for different market conditions
Value comprehensive signal validation over high-frequency alerts
The Momentum Confluence Detector transforms complex market analysis into clear, actionable signals by requiring multiple forms of confirmation before highlighting trading opportunities.
PnL Bubble [%] | Fractalyst1. What's the indicator purpose?
The PnL Bubble indicator transforms your strategy's trade PnL percentages into an interactive bubble chart with professional-grade statistics and performance analytics. It helps traders quickly assess system profitability, understand win/loss distribution patterns, identify outliers, and make data-driven strategy improvements.
How does it work?
Think of this indicator as a visual report card for your trading performance. Here's what it does:
What You See
Colorful Bubbles: Each bubble represents one of your trades
Blue/Cyan bubbles = Winning trades (you made money)
Red bubbles = Losing trades (you lost money)
Bigger bubbles = Bigger wins or losses
Smaller bubbles = Smaller wins or losses
How It Organizes Your Trades:
Like a Photo Album: Instead of showing all your trades at once (which would be messy), it shows them in "pages" of 500 trades each:
Page 1: Your first 500 trades
Page 2: Trades 501-1000
Page 3: Trades 1001-1500, etc.
What the Numbers Tell You:
Average Win: How much money you typically make on winning trades
Average Loss: How much money you typically lose on losing trades
Expected Value (EV): Whether your trading system makes money over time
Positive EV = Your system is profitable long-term
Negative EV = Your system loses money long-term
Payoff Ratio (R): How your average win compares to your average loss
R > 1 = Your wins are bigger than your losses
R < 1 = Your losses are bigger than your wins
Why This Matters:
At a Glance: You can instantly see if you're a profitable trader or not
Pattern Recognition: Spot if you have more big wins than big losses
Performance Tracking: Watch how your trading improves over time
Realistic Expectations: Understand what "average" performance looks like for your system
The Cool Visual Effects:
Animation: The bubbles glow and shimmer to make the chart more engaging
Highlighting: Your biggest wins and losses get extra attention with special effects
Tooltips: hover any bubble to see details about that specific trade.
What are the underlying calculations?
The indicator processes trade PnL data using a dual-matrix architecture for optimal performance:
Dual-Matrix System:
• Display Matrix (display_matrix): Bounded to 500 trades for rendering performance
• Statistics Matrix (stats_matrix): Unbounded storage for complete statistical accuracy
Trade Classification & Aggregation:
// Separate wins, losses, and break-even trades
if val > 0.0
pos_sum += val // Sum winning trades
pos_count += 1 // Count winning trades
else if val < 0.0
neg_sum += val // Sum losing trades
neg_count += 1 // Count losing trades
else
zero_count += 1 // Count break-even trades
Statistical Averages:
avg_win = pos_count > 0 ? pos_sum / pos_count : na
avg_loss = neg_count > 0 ? math.abs(neg_sum) / neg_count : na
Win/Loss Rates:
total_obs = pos_count + neg_count + zero_count
win_rate = pos_count / total_obs
loss_rate = neg_count / total_obs
Expected Value (EV):
ev_value = (avg_win × win_rate) - (avg_loss × loss_rate)
Payoff Ratio (R):
R = avg_win ÷ |avg_loss|
Contribution Analysis:
ev_pos_contrib = avg_win × win_rate // Positive EV contribution
ev_neg_contrib = avg_loss × loss_rate // Negative EV contribution
How to integrate with any trading strategy?
Equity Change Tracking Method:
//@version=6
strategy("Your Strategy with Equity Change Export", overlay=true)
float prev_trade_equity = na
float equity_change_pct = na
if barstate.isconfirmed and na(prev_trade_equity)
prev_trade_equity := strategy.equity
trade_just_closed = strategy.closedtrades != strategy.closedtrades
if trade_just_closed and not na(prev_trade_equity)
current_equity = strategy.equity
equity_change_pct := ((current_equity - prev_trade_equity) / prev_trade_equity) * 100
prev_trade_equity := current_equity
else
equity_change_pct := na
plot(equity_change_pct, "Equity Change %", display=display.data_window)
Integration Steps:
1. Add equity tracking code to your strategy
2. Load both strategy and PnL Bubble indicator on the same chart
3. In bubble indicator settings, select your strategy's equity tracking output as data source
4. Configure visualization preferences (colors, effects, page navigation)
How does the pagination system work?
The indicator uses an intelligent pagination system to handle large trade datasets efficiently:
Page Organization:
• Page 1: Trades 1-500 (most recent)
• Page 2: Trades 501-1000
• Page 3: Trades 1001-1500
• Page N: Trades to
Example: With 1,500 trades total (3 pages available):
• User selects Page 1: Shows trades 1-500
• User selects Page 4: Automatically falls back to Page 3 (trades 1001-1500)
5. Understanding the Visual Elements
Bubble Visualization:
• Color Coding: Cyan/blue gradients for wins, red gradients for losses
• Size Mapping: Bubble size proportional to trade magnitude (larger = bigger P&L)
• Priority Rendering: Largest trades displayed first to ensure visibility
• Gradient Effects: Color intensity increases with trade magnitude within each category
Interactive Tooltips:
Each bubble displays quantitative trade information:
tooltip_text = outcome + " | PnL: " + pnl_str +
"\nDate: " + date_str + " " + time_str +
"\nTrade #" + str.tostring(trade_number) + " (Page " + str.tostring(active_page) + ")" +
"\nRank: " + str.tostring(rank) + " of " + str.tostring(n_display_rows) +
"\nPercentile: " + str.tostring(percentile, "#.#") + "%" +
"\nMagnitude: " + str.tostring(magnitude_pct, "#.#") + "%"
Example Tooltip:
Win | PnL: +2.45%
Date: 2024.03.15 14:30
Trade #1,247 (Page 3)
Rank: 5 of 347
Percentile: 98.6%
Magnitude: 85.2%
Reference Lines & Statistics:
• Average Win Line: Horizontal reference showing typical winning trade size
• Average Loss Line: Horizontal reference showing typical losing trade size
• Zero Line: Threshold separating wins from losses
• Statistical Labels: EV, R-Ratio, and contribution analysis displayed on chart
What do the statistical metrics mean?
Expected Value (EV):
Represents the mathematical expectation per trade in percentage terms
EV = (Average Win × Win Rate) - (Average Loss × Loss Rate)
Interpretation:
• EV > 0: Profitable system with positive mathematical expectation
• EV = 0: Break-even system, profitability depends on execution
• EV < 0: Unprofitable system with negative mathematical expectation
Example: EV = +0.34% means you expect +0.34% profit per trade on average
Payoff Ratio (R):
Quantifies the risk-reward relationship of your trading system
R = Average Win ÷ |Average Loss|
Interpretation:
• R > 1.0: Wins are larger than losses on average (favorable risk-reward)
• R = 1.0: Wins and losses are equal in magnitude
• R < 1.0: Losses are larger than wins on average (unfavorable risk-reward)
Example: R = 1.5 means your average win is 50% larger than your average loss
Contribution Analysis (Σ):
Breaks down the components of expected value
Positive Contribution (Σ+) = Average Win × Win Rate
Negative Contribution (Σ-) = Average Loss × Loss Rate
Purpose:
• Shows how much wins contribute to overall expectancy
• Shows how much losses detract from overall expectancy
• Net EV = Σ+ - Σ- (Expected Value per trade)
Example: Σ+: 1.23% means wins contribute +1.23% to expectancy
Example: Σ-: -0.89% means losses drag expectancy by -0.89%
Win/Loss Rates:
Win Rate = Count(Wins) ÷ Total Trades
Loss Rate = Count(Losses) ÷ Total Trades
Shows the probability of winning vs losing trades
Higher win rates don't guarantee profitability if average losses exceed average wins
7. Demo Mode & Synthetic Data Generation
When using built-in sources (close, open, etc.), the indicator generates realistic demo trades for testing:
if isBuiltInSource(source_data)
// Generate random trade outcomes with realistic distribution
u_sign = prand(float(time), float(bar_index))
if u_sign < 0.5
v_push := -1.0 // Loss trade
else
// Skewed distribution favoring smaller wins (realistic)
u_mag = prand(float(time) + 9876.543, float(bar_index) + 321.0)
k = 8.0 // Skewness factor
t = math.pow(u_mag, k)
v_push := 2.5 + t * 8.0 // Win trade
Demo Characteristics:
• Realistic win/loss distribution mimicking actual trading patterns
• Skewed distribution favoring smaller wins over large wins
• Deterministic randomness for consistent demo results
• Includes jitter effects to prevent visual overlap
8. Performance Limitations & Optimizations
Display Constraints:
points_count = 500 // Maximum 500 dots per page for optimal performance
Pine Script v6 Limits:
• Label Count: Maximum 500 labels per indicator
• Line Count: Maximum 100 lines per indicator
• Box Count: Maximum 50 boxes per indicator
• Matrix Size: Efficient memory management with dual-matrix system
Optimization Strategies:
• Pagination System: Handle unlimited trades through 500-trade pages
• Priority Rendering: Largest trades displayed first for maximum visibility
• Dual-Matrix Architecture: Separate display (bounded) from statistics (unbounded)
• Smart Fallback: Automatic page clamping prevents empty displays
Impact & Workarounds:
• Visual Limitation: Only 500 trades visible per page
• Statistical Accuracy: Complete dataset used for all calculations
• Navigation: Use page input to browse through entire trade history
• Performance: Smooth operation even with thousands of trades
9. Statistical Accuracy Guarantees
Data Integrity:
• Complete Dataset: Statistics matrix stores ALL trades without limit
• Proper Aggregation: Separate tracking of wins, losses, and break-even trades
• Mathematical Precision: Pine Script v6's enhanced floating-point calculations
• Dual-Matrix System: Display limitations don't affect statistical accuracy
Calculation Validation:
// Verified formulas match standard trading mathematics
avg_win = pos_sum / pos_count // Standard average calculation
win_rate = pos_count / total_obs // Standard probability calculation
ev_value = (avg_win * win_rate) - (avg_loss * loss_rate) // Standard EV formula
Accuracy Features:
• Mathematical Correctness: Formulas follow established trading statistics
• Data Preservation: Complete dataset maintained for all calculations
• Precision Handling: Proper rounding and boundary condition management
• Real-Time Updates: Statistics recalculated on every new trade
10. Advanced Technical Features
Real-Time Animation Engine:
// Shimmer effects with sine wave modulation
offset = math.sin(shimmer_t + phase) * amp
// Dynamic transparency with organic flicker
new_transp = math.min(flicker_limit, math.max(-flicker_limit, cur_transp + dir * flicker_step))
• Sine Wave Shimmer: Dynamic glowing effects on bubbles
• Organic Flicker: Random transparency variations for natural feel
• Extreme Value Highlighting: Special visual treatment for outliers
• Smooth Animations: Tick-based updates for fluid motion
Magnitude-Based Priority Rendering:
// Sort trades by magnitude for optimal visual hierarchy
sort_indices_by_magnitude(values_mat)
• Largest First: Most important trades always visible
• Intelligent Sorting: Custom bubble sort algorithm for trade prioritization
• Performance Optimized: Efficient sorting for real-time updates
• Visual Hierarchy: Ensures critical trades never get hidden
Professional Tooltip System:
• Quantitative Data: Pure numerical information without interpretative language
• Contextual Ranking: Shows trade position within page dataset
• Percentile Analysis: Performance ranking as percentage
• Magnitude Scaling: Relative size compared to page maximum
• Professional Format: Clean, data-focused presentation
11. Quick Start Guide
Step 1: Add Indicator
• Search for "PnL Bubble | Fractalyst" in TradingView indicators
• Add to your chart (works on any timeframe)
Step 2: Configure Data Source
• Demo Mode: Leave source as "close" to see synthetic trading data
• Strategy Mode: Select your strategy's PnL% output as data source
Step 3: Customize Visualization
• Colors: Set positive (cyan), negative (red), and neutral colors
• Page Navigation: Use "Trade Page" input to browse trade history
• Visual Effects: Built-in shimmer and animation effects are enabled by default
Step 4: Analyze Performance
• Study bubble patterns for win/loss distribution
• Review statistical metrics: EV, R-Ratio, Win Rate
• Use tooltips for detailed trade analysis
• Navigate pages to explore full trade history
Step 5: Optimize Strategy
• Identify outlier trades (largest bubbles)
• Analyze risk-reward profile through R-Ratio
• Monitor Expected Value for system profitability
• Use contribution analysis to understand win/loss impact
12. Why Choose PnL Bubble Indicator?
Unique Advantages:
• Advanced Pagination: Handle unlimited trades with smart fallback system
• Dual-Matrix Architecture: Perfect balance of performance and accuracy
• Professional Statistics: Institution-grade metrics with complete data integrity
• Real-Time Animation: Dynamic visual effects for engaging analysis
• Quantitative Tooltips: Pure numerical data without subjective interpretations
• Priority Rendering: Intelligent magnitude-based display ensures critical trades are always visible
Technical Excellence:
• Built with Pine Script v6 for maximum performance and modern features
• Optimized algorithms for smooth operation with large datasets
• Complete statistical accuracy despite display optimizations
• Professional-grade calculations matching institutional trading analytics
Practical Benefits:
• Instantly identify system profitability through visual patterns
• Spot outlier trades and risk management issues
• Understand true risk-reward profile of your strategies
• Make data-driven decisions for strategy optimization
• Professional presentation suitable for performance reporting
Disclaimer & Risk Considerations:
Important: Historical performance metrics, including positive Expected Value (EV), do not guarantee future trading success. Statistical measures are derived from finite sample data and subject to inherent limitations:
• Sample Bias: Historical data may not represent future market conditions or regime changes
• Ergodicity Assumption: Markets are non-stationary; past statistical relationships may break down
• Survivorship Bias: Strategies showing positive historical EV may fail during different market cycles
• Parameter Instability: Optimal parameters identified in backtesting often degrade in forward testing
• Transaction Cost Evolution: Slippage, spreads, and commission structures change over time
• Behavioral Factors: Live trading introduces psychological elements absent in backtesting
• Black Swan Events: Extreme market events can invalidate statistical assumptions instantaneously
Premium/Discount with Candle Open stats [Herman]Premium/Discount with Stats
This indicator is designed to help traders identify and analyze premium/discount zones on any timeframe while automatically tracking statistics on price behavior relative to these zones. It is especially valuable for traders looking to structure entries, manage targets, and quantify market reactions to prior session ranges.
What it draws on the chart
✅ Range High and Low Lines
For each selected timeframe period (15min, 30min 1H, 4H, Daily), the indicator plots the high and low of the completed previous period.
These lines are color-coded dynamically based on sweep detection:
If the high was swept (price broke the previous high), the high line is marked as Premium.
If the low was swept, the low line is marked as Discount.
If both were swept or neither, it uses the default color settings.
✅ Midline
An optional midline at the 50% level of the previous period’s high-low range.
Helpful for mean-reversion traders or anyone watching for retests of equilibrium.
✅ Quartile Lines (25%–75%)
Optional additional lines at 25% and 75% of the previous range, helping traders visualize inner range subdivisions.
✅ Open Price Line
Marks the open price of the previous period as a horizontal reference.
✅ Background Fills
The region between low and midline is shaded with the Discount color.
The region between high and midline is shaded with the Premium color.
These optional fills help highlight the premium and discount zones visually.
✅ Current Incomplete Period Lines (optional)
You can choose to display provisional high, low, midline, quartiles, and open for the current forming period.
These update in real-time until the period closes.
Sweep Detection Logic
The indicator automatically tracks if the current period price sweeps above the previous period’s high or below the low.
A "sweep" is simply defined as price exceeding the previous high/low while tracking is active.
The sweep status affects the colors of the premium/discount lines, helping traders see potential liquidity grabs or stop hunts.
What it counts and tracks (Statistics)
The script automatically compiles statistics over time:
✅ Total Touches
Counts how many times the price in a new period touches either the previous period’s high or low.
A “touch” is registered once per side per period.
✅ Midline Returns
Counts how often, after touching the previous high/low, price returns to the previous period’s midline.
Gives you a measure of mean-reversion success.
✅ Open Returns
Similarly, tracks how often price returns to the previous period’s open after touching the previous high/low.
✅ Return Percentages
Displays the percentage of touches that result in a return to midline or open.
These percentages are calculated live on your chart and updated after each period closes.
✅ Stats Table
A customizable on-chart table summarizing all of these stats in real-time.
Helps traders evaluate the effectiveness of range-based trading setups over time.
How it Works (Technical details)
On each new bar, the script checks if a new period (as defined by your timeframe selection) has begun.
When a new period starts, the previous period’s high, low, open, midline, quartiles are recorded and drawn on the chart.
The script then “watches” the current period:
Updates provisional high and low.
Detects sweeps of previous highs/lows.
Tracks if price returns to the previous period’s midline or open after those sweeps.
Increments statistical counters if conditions are met.
Background fills and lines update dynamically based on real-time data.
Intended Use Cases
This indicator is ideal for:
✅ Identifying premium/discount zones for swing or intraday trades.
✅ Spotting liquidity sweeps and possible manipulation zones.
✅ Structuring trades with logical, data-driven target zones (midline, open).
✅ Quantifying the probability of mean-reversion moves after liquidity events.
✅ Developing and backtesting range-based trading models with live stats.
Highly Customizable
Choose any timeframe for defining the premium/discount range.
Toggle visibility of midline, quartiles, open line, current period preview.
Full control over colors, line styles, line widths, and background shading.
Optional real-time statistical table with total counts and return percentages.
ALMA Shifting Band Oscillator | QuantMACALMA Shifting Band Oscillator | QuantMAC
🎯 Advanced Technical Analysis Tool Combining ALMA with Dynamic Oscillator Technology
The ALMA Shifting Band Oscillator represents a sophisticated fusion of the Arnaud Legoux Moving Average (ALMA) with an innovative oscillator-based signaling system. This indicator transforms traditional moving average analysis into a comprehensive trading solution with dynamic band visualization and precise entry/exit signals.
Core Technology 🔧
Arnaud Legoux Moving Average Foundation
Built upon the mathematically superior ALMA calculation, this indicator leverages the unique properties of ALMA's phase shift and noise reduction capabilities. The ALMA component provides a responsive yet smooth baseline that adapts to market conditions with minimal lag.
Dynamic Band System
The indicator generates adaptive upper and lower bands around the ALMA centerline using statistical deviation analysis. These bands automatically adjust to market volatility, creating a dynamic envelope that captures price extremes and potential reversal zones.
Normalized Oscillator Engine
The heart of the system transforms price action relative to the dynamic bands into a normalized oscillator that oscillates around a zero line. This oscillator provides clear visual representation of momentum and position within the established bands.
Visual Features 🎨
Multi-Pane Display Architecture
Primary oscillator plotted in separate pane for clarity
Dynamic band overlay on price chart with elegant fill visualization
ALMA centerline marked with distinctive styling
Customizable threshold lines for signal identification
Advanced Color Schemes
Choose from 9 professionally designed color palettes:
Classic series offering various aesthetic preferences
High contrast options for different chart backgrounds
State-based coloring that changes with market conditions
Candle coloring that reflects current oscillator state
Enhanced Visual Elements
Smooth gradient band fills for easy trend identification
Dynamic line thickness and styling options
Professional transparency settings for overlay clarity
Customizable threshold visualization
Signal Generation System 📊
Dual Threshold Architecture
The indicator employs two distinct threshold levels that create a sophisticated signal framework:
Long Threshold : Triggers bullish signal generation
Short Threshold : Activates bearish signal conditions
Intelligent State Management
Advanced state tracking ensures clean signal generation without false triggers:
Prevents redundant signals in same direction
Maintains position awareness for proper entries/exits
Implements crossover logic for precise timing
Flexible Trading Modes
Long/Short Mode : Full bidirectional trading capabilities
Long/Cash Mode : Conservative approach with cash positions during bearish conditions
Professional Analytics Suite 📈
Comprehensive Performance Metrics
Integrated real-time performance analysis including:
Maximum Drawdown percentage tracking
Sortino Ratio for downside risk assessment
Sharpe Ratio for risk-adjusted returns
Omega Ratio for comprehensive performance evaluation
Profit Factor calculation
Win rate percentage analysis
Half Kelly percentage for position sizing guidance
Total trade count and net profit tracking
Advanced Risk Management
Real-time equity curve tracking
Peak-to-trough drawdown monitoring
Downside deviation calculations
Risk-adjusted return measurements
Customization Options ⚙️
ALMA Parameter Control
ALMA Length (Default: 42) - Controls the lookback period for the moving average calculation. Lower values (20-30) create faster, more responsive signals but increase noise. Higher values (50-100) produce smoother signals with less false alerts but slower reaction to price changes.
ALMA Offset (Default: 0.68) - Determines the phase shift of the moving average. Values closer to 0 behave like a simple moving average. Values closer to 1 act more like an exponential moving average. 0.68 provides optimal balance between responsiveness and smoothness.
ALMA Sigma (Default: 1.8) - Controls the smoothness factor of the ALMA calculation. Lower values (1.0-2.0) create sharper, more reactive averages. Higher values (4.0-8.0) produce extremely smooth but slower-responding averages. Affects how quickly the ALMA adapts to price changes.
Source Selection - Choose between Close, Open, High, Low, or custom price combinations. Close price is standard for most analysis. HL2 or HLC3 can provide different market perspectives and reduce single-price volatility.
Oscillator Fine-tuning
Standard Deviation Length (Default: 27) - Determines the lookback period for volatility calculation. Shorter periods (10-20) make bands more reactive to recent volatility changes. Longer periods (40-60) create more stable bands that filter out short-term volatility spikes.
SD Multiplier (Default: 2.8) - Controls the width of the dynamic bands. Lower values (1.5-2.0) create tighter bands with more frequent signals but higher false signal rate. Higher values (3.0-4.0) produce wider bands with fewer but potentially more reliable signals.
Oscillator Multiplier (Default: 100) - Scales the oscillator for visual clarity. This is purely cosmetic and doesn't affect signal generation. Adjust based on your preferred oscillator range visualization.
Long Threshold (Default: 82) - Sets the level where bullish signals trigger. Lower values (70-80) generate more frequent long signals but may include weaker setups. Higher values (85-95) create fewer but potentially stronger bullish signals.
Short Threshold (Default: 50) - Determines where bearish signals activate. Higher values (55-65) produce more short signals. Lower values (35-45) wait for stronger bearish conditions before signaling.
Trading Mode Configuration
Long/Short Mode - Full bidirectional trading that takes both long and short positions. Suitable for trending markets and experienced traders comfortable with short selling.
Long/Cash Mode - Conservative approach that only takes long positions or moves to cash during bearish signals. Ideal for bull market conditions or traders who prefer not to short.
Display Customization
Color Schemes (9 Options) - Choose from Classic to Classic9 palettes. Each offers different visual contrast for various chart backgrounds and personal preferences.
Metrics Table Position - Place performance metrics in any of 6 chart locations: Top Left/Right, Middle Left/Right, Bottom Left/Right.
Show/Hide Metrics Table - Toggle the comprehensive performance analytics display on or off based on your analysis needs.
Date Range Limiter - Set specific start dates for backtesting and signal generation. Useful for testing strategies on specific market periods or excluding unusual market events.
Parameter Optimization Tips
Volatile Markets - Use shorter ALMA Length (25-35), lower SD Multiplier (2.0-2.5), and moderate thresholds
Trending Markets - Employ longer ALMA Length (45-60), higher SD Multiplier (3.0-4.0), and extreme thresholds
Sideways Markets - Try medium ALMA Length (35-45), standard SD Multiplier (2.5-3.0), and closer thresholds (75/55)
Higher Timeframes - Generally use longer periods and higher multipliers for smoother signals
Lower Timeframes - Opt for shorter periods and lower multipliers for more responsive signals
Practical Applications 💡
Trend Following
Identify and follow established trends using the dynamic band system and oscillator position relative to thresholds.
Momentum Analysis
Gauge market momentum through oscillator readings and their relationship to historical levels.
Reversal Detection
Spot potential reversal points when price reaches extreme oscillator levels combined with band interactions.
Risk Management
Utilize integrated metrics for position sizing and risk assessment decisions.
Technical Specifications 🔍
Calculation Methodology
The indicator employs sophisticated mathematical formulations for ALMA calculation combined with statistical analysis for band generation. The oscillator normalization process ensures consistent readings across different market conditions and timeframes.
Performance Optimization
Designed for efficient processing with minimal computational overhead while maintaining calculation accuracy across all timeframes.
Multi-Timeframe Compatibility
Functions effectively across all trading timeframes from intraday scalping to long-term position trading.
Installation and Usage 📋
Simple Setup Process
Add indicator to chart
Configure ALMA parameters for your preferred responsiveness
Adjust threshold levels based on market volatility
Select desired color scheme and display options
Enable metrics table for performance tracking
Best Practices
Use multiple timeframe analysis for context
Monitor metrics table for strategy performance
Adjust parameters based on market conditions
This indicator represents a professional-grade tool designed for serious traders seeking advanced technical analysis capabilities with comprehensive performance tracking. The combination of ALMA's mathematical precision with dynamic oscillator technology creates a unique analytical framework suitable for various trading styles and market conditions.
🚀 Transform your technical analysis with this advanced ALMA-based oscillator system!
⚠️ IMPORTANT DISCLAIMER
Past Performance Warning: 📉⚠️
PAST PERFORMANCE IS NOT INDICATIVE OF FUTURE RESULTS. Historical backtesting results, while useful for strategy development and parameter optimization, do not guarantee similar performance in live trading conditions. Market conditions change continuously, and what worked in the past may not work in the future.
Remember: Successful trading requires discipline, continuous learning, and adaptation to changing market conditions. No indicator or strategy guarantees profits, and all trading involves substantial risk of loss.
Kitty PMO [theUltimator5]Kitty PMO is a momentum analysis tool designed to visually track and interpret the Price Momentum Oscillator (PMO) — with stylistic influence inspired by the charting approach made popular by “theRoaringKitty.” It aims to offer clear, actionable momentum signals directly overlaid on the chart without clutter or ambiguity, making it ideal for traders who prioritize simplicity and signal clarity.
At its core, the indicator calculates the PMO by applying a custom recursive smoothing function to the rate of change (ROC) of price. This smoothed momentum measure is then:
Amplified by a scaling factor (×10),
Further smoothed using user-defined parameters,
Compared against a signal line (EMA of PMO),
And tracked with a secondary moving average (PMO MA) to capture medium-term trend inflections.
While the PMO and its associated signal lines can optionally be plotted, the indicator primarily emphasizes crossovers between the PMO MA and the other two components. When the PMO MA crosses above both the PMO and signal line, a green upward arrow (↑) is plotted below the price. When it crosses below both, a red downward arrow (↓) appears above the price — making it easy to spot potential turning points in momentum.
Additionally, a floating info table can be toggled on to display all current user-defined parameters in a clean, resizable format. This makes the script ideal not just for technical execution but also for real-time strategy tuning and tracking across multiple timeframes.
The script includes optional alerts so you can be notified the moment a key crossover signal is triggered, without needing to keep your eyes glued to the screen.
Rev & Line - CoffeeKillerRev & Line - CoffeeKiller Indicator Guide
🔔 Warning: This Indicator Repaints 🔔 This indicator uses real-time calculations that may change based on future price action. As a result, signals (such as arrows, lines, or color changes) **can and will repaint** — meaning they may appear, disappear, or shift after a candle closes.
**Do not rely on this tool alone for live trading decisions.** Use with caution and always confirm with non-repainting tools or additional analysis.(This indicator is designed to show me the full length of the trend and because of this there can be a smaller movement inside of the trend movement)
Welcome traders! This guide will walk you through the Rev & Line indicator, a sophisticated technical analysis tool developed by CoffeeKiller that combines multiple methodologies to identify market pivots, trends, and potential reversal points.
Core Components
1. ZigZag Analysis
- Dynamic pivot detection using ATR (Average True Range)
- Customizable sensitivity through ATR Reversal Factor
- Color-coded trend lines (green for upward, red for downward)
- Optional vertical lines at pivot points
- Real-time pivot point analysis
2. Donchian Channel Integration
- Traditional upper, lower, and middle bands
- Customizable length and displacement
- Channel-based entry signals
- Dynamic market structure visualization
3. Marker Lines System
- Dynamic support/resistance level tracking
- Pivot-based reset mechanism
- Optional fill zones between markers
- Percentage position tracking within range
4. Signal Generation System
- Confluence between ZigZag pivots and Donchian channels
- Up/down arrow visualization
- Alert system
Main Features
ZigZag Settings
- ATR Reversal Factor: Controls pivot sensitivity (default 3.2)
- Customizable line appearance:
Width control (default: 3)
Color selection (green for uptrend, red for downtrend)
Vertical line options at pivot points
Maximum vertical lines display limit
- Hide repainted option for more reliable signals
Donchian Channel Configuration
- Optional channel visibility toggle
- Length parameter for lookback period (default: 20)
- Displace option for time offset
- Bubble offset for visual placement
Marker Lines System
- High/low/middle marker lines with step-line visualization
- Dotted line projections for future reference
- Pivot-based reset mechanism
- Color-coded percentage position display
Signal Generation
- Triangle markers for signals
- Combined ZigZag and Donchian confluence
- Alert system for notifications
Visual Elements
1. Pivot Lines
- Green: Upward price movements
- Red: Downward price movements
- Customizable line width
- Optional vertical pivot markers with style options:
Solid lines for confirmed pivots
Dashed lines for older pivots
Dotted lines for most recent pivots
2. Donchian Channels
- Upper band (red): Resistance level
- Lower band (green): Support level
- Middle band (yellow): Median price line
- Customizable display options
3. Marker Lines
- High marker line (magenta): Tracks highest open price
- Low marker line (cyan): Tracks lowest open price
- Middle marker line (blue): 50% level between high/low
- Dotted line extensions for future price projections
4. Position Tracking
- Percentage position display within marker range
- Real-time calculations from 0% to 100%
- Label system for visual reference
Trading Applications
1. Trend Following
- Enter on confirmed ZigZag pivot points
- Use Donchian channel boundaries as targets
- Trail stops using marker lines
- Monitor for confluence between systems
2. Counter-Trend Trading
- Trade bounces from marker lines
- Use pivot confirmation for entry timing
- Set stops based on recent pivot points
- Target the opposite marker line
3. Range Trading
- Use high/low marker lines to define range
- Trade bounces between upper and lower markers
- Consider middle marker for range midpoint
- Monitor percentage position within range
4. Breakout Trading
- Enter on breaks above/below marker lines
- Confirm with Donchian channel breakouts
- Use ZigZag pivot confirmations
- Wait for arrow signals for additional confirmation
Optimization Guide
1. ZigZag Parameters
- Higher ATR Factor: Less sensitive, major moves only
- Lower ATR Factor: More sensitive, catches minor moves
- Adjust line width for chart visibility
- Balance vertical line count for clarity
2. Donchian Channel Settings
- Longer length: Smoother channels, fewer false signals
- Shorter length: More responsive, but potentially noisier
- Displacement: Offset for historical reference
- Consider timeframe when setting parameters
3. Marker Line Configuration
- Enable/disable based on trading style
- Toggle middle line for additional reference
- Adjust colors for visual clarity
- Enable/disable labels as needed
4. Signal Generation
- Use "Hide repainted" option for more reliable signals
- Combine ZigZag and Donchian signals for confirmation
- Set alerts based on confirmed pivot points
- Balance sensitivity with reliability
Best Practices
1. Signal Confirmation
- Wait for confirmed pivot points
- Check for Donchian channel interactions
- Confirm with price action
- Look for arrow signals at pivot points
2. Risk Management
- Use recent pivot points for stop placement
- Consider marker line boundaries for targets
- Don't trade against strong trends
- Wait for clear confluence between systems
3. Setup Optimization
- Start with default settings
- Adjust based on timeframe
- Fine-tune ATR sensitivity
- Match settings to trading style
Advanced Features
1. Alert System
- Customizable arrow alerts
- Pivot point notifications
- Text message alerts with ticker information
- Once-per-bar frequency option
2. Pivot Detection Logic
The indicator uses a sophisticated state-based approach to detect pivots:
- State transitions between "uptrend," "downtrend," and "undefined"
- ATR-based reversal detection
- Minimum movement threshold for pivot confirmation
- Historical pivot tracking and labeling
3. Marker Line Reset Mechanism
- Marker lines reset based on pivot detection
- Dynamic support/resistance level adjustment
- Percentage position calculation within range
- Automatic updates as market structure changes
Remember:
- Combine multiple confirmation signals
- Use appropriate timeframe settings
- Monitor both ZigZag and Marker signals
- Pay attention to Donchian channel interactions
- Consider market volatility when trading
This indicator works best when:
- Used with proper risk management
- Combined with other technical tools
- Applied to appropriate timeframes
- Signals are confirmed by price action
**DISCLAIMER**: This indicator and its signals are intended solely for educational and informational purposes. They do not constitute financial advice. Trading involves significant risk of loss. Always conduct your own analysis and consult with financial professionals before making trading decisions.
Key Levels by MoneyTribe21This custom script provides real-time tracking of key market price levels, helping traders identify critical support and resistance zones. It dynamically updates throughout the trading session, making it ideal for intraday trading, breakout strategies, and market structure analysis.
Features:
Real-Time Tracking of Key Price Levels:
ATH (All-Time High): Tracks the highest price ever reached for the asset.
PDH (Previous Day High): Marks the high of the last trading day,
PDL (Previous Day Low): Marks the low of the last trading day, serving as dynamic support.
Resistance Level: Based on the current day’s high, signaling potential price rejection points.
Support Level: Based on the current day’s low, indicating potential price bounces.
Daily Open Price: Tracks the exact market open price at the start of the trading session.
Works Across All Timeframes:
Designed for intraday, swing, and long-term trading.
Automatically adjusts levels for Forex, Stocks, Crypto, and Indices.
Fully Customizable Settings:
Modify line colors, thickness, and styles for better chart readability.
Enable/disable specific levels based on trading preference.
Works on all TradingView-compatible brokers and platforms.
How to Use This Indicator:
Breakout & Reversal Trading:
If price breaks above PDH, it may indicate bullish momentum.
If price breaks below PDL, it may signal a bearish continuation.
ATH levels can act as strong resistance zones—watch for breakouts or rejection.
Dynamic Support & Resistance:
Resistance Level (Current Day High): If price fails to break, it may signal a reversal.
Support Level (Current Day Low): If price bounces off, it may confirm a strong uptrend.
Daily Open for Trend Confirmation:
Above Daily Open: Market sentiment is bullish.
Below Daily Open: Market sentiment is bearish.
Customization Options:
Toggle individual price levels ON/OFF for a clutter-free chart.
Customize colors, line styles, and alerts for better visualization.
Set alerts for breakouts & retests of key levels.
Ideal for Traders Who:
Want high-probability support & resistance zones in real-time.
Trade breakouts, reversals, or trend continuations.
Use market structure analysis for informed decision-making.
Need automatic price tracking instead of drawing levels manually.
Compatible with all TradingView timeframes & assets (Forex, Stocks, Crypto, Indices).
Designed for both beginner and advanced traders.
Add this indicator to your chart and start tracking key levels instantly.
lib_mathLibrary "lib_math"
a collection of functions calculating without history operator to avoid max_bars_back errors
mean(value, reset)
Parameters:
value (float) : series to track
reset (bool) : flag to reset tracking
@return returns average/mean of value since last reset
vwap(value, reset)
Parameters:
value (float) : series to track
reset (bool) : flag to reset tracking
@return returns vwap of value and volume since last reset
variance(value, reset)
Parameters:
value (float) : series to track
reset (bool) : flag to reset tracking
@return returns variance of value since last reset
trend(value, reset)
Parameters:
value (float) : series to track
reset (bool) : flag to reset tracking
@return where slope is the trend direction, correlation is a measurement for how well the values fit to the trendline (positive means ), stddev is how far the values deviate from the trend, x1 would be the time where reset is true and x2 would be the current time
Bubu VWEMA & VWAPVolume Weighted Exponential Moving Average gives additional support / resistance lines to track as well as giving confidence to there respective EMAs.
A VWEMA will act much faster to volume spikes.
Intraday, Daily, and Weekly VWAPs are also shown to give more support / resistance lines to track.
The normal EMA lines (Thick ones) have colours based on a matrix calculated in the back. The Fast EMA is using 20 RSI indicators tracking how many cross above 50. The slow EMA is using 40 MACDs histograms when they cross mid point.
The VWEMA and the fill is graded on 20(fast) and 40(slow) VWEMAs crossovers.
Volume Intelligence Pro [Abusuhil]═══════════════════════════════════════════════════════════════════════════════
📊 VOLUME INTELLIGENCE TABLE - PROFESSIONAL VOLUME ANALYSIS INDICATOR
═══════════════════════════════════════════════════════════════════════════════
🌐 BILINGUAL SUPPORT: Full support for English and Arabic languages - switch instantly from settings!
🎯 COMPREHENSIVE VOLUME ANALYSIS DASHBOARD
This advanced indicator provides institutional-grade volume analysis through an elegant, customizable table that displays critical volume metrics in real-time. Designed for professional traders who need deep insights into market volume dynamics, order flow, and smart money movements.
═══════════════════════════════════════════════════════════════════════════════
✨ KEY FEATURES
═══════════════════════════════════════════════════════════════════════════════
🔷 BILINGUAL INTERFACE
• Seamless switching between English and Arabic
• All metrics, labels, and signals fully translated
• Perfect for international traders
🔷 VOLUME FUNDAMENTALS
• Current Volume: Real-time volume tracking
• Volume SMA: Moving average for volume comparison
• Volume Ratio: Current volume vs average (identifies abnormal activity)
• Volume % Change: Percentage change from previous bar
• Volume Delta: Difference between buying and selling pressure
🔷 VOLUME SPIKE DETECTION (4 LEVELS)
• Weak Spike: 1.5x average volume
• Medium Spike: 2.0x average volume
• Strong Spike: 2.5x average volume
• Extreme Spike: 3.0x+ average volume
• Visual alerts with color-coded indicators
🔷 ADVANCED BUY/SELL PRESSURE ANALYSIS
• Buy Volume: Bullish candle volume accumulation
• Sell Volume: Bearish candle volume accumulation
• Buy Pressure %: Percentage of buying pressure
• Sell Pressure %: Percentage of selling pressure
• Pressure Dominance: Who controls the market (Buyers/Sellers/Neutral)
• Candle Body Strength: Measures conviction in price movement
• Imbalance Volume: Detects wick imbalances
• Volume Delta (HLC3): Advanced delta calculation
• Weighted Delta: Volume-weighted price movement
• Pressure Lookback: Multi-candle pressure analysis (optimized for performance)
🔷 TECHNICAL INDICATORS INTEGRATION
• VWMA (Volume Weighted Moving Average): Price vs VWMA positioning
• OBV (On Balance Volume): Trend detection with EMA smoothing
• OBV Divergence: Bullish/Bearish divergence detection
• MFI (Money Flow Index): Overbought/oversold conditions
• A/D Line (Accumulation/Distribution): Smart money tracking
🔷 AI-POWERED VOLUME INTELLIGENCE SCORING
• Entry Power: Measures volume strength combined with price movement
• Effort vs Result: Identifies climax situations (buying/selling exhaustion)
• Reversal Volume Analysis: Tracks volume at reversal candles
• Trend Integration: Combines trend direction with volume confirmation
• Bullish/Bearish Points: 11-point scoring system
• Volume Score: -100 to +100 scale (positive = bullish, negative = bearish)
• Confidence Level: Reliability percentage of the signal
• Final Signal: Clear BULLISH/BEARISH/NEUTRAL verdict
🔷 TRIPLE SIGNAL SYSTEM (Optional)
• Signal 1: Volume Score Based (customizable thresholds)
• Signal 2: Volume Spike + Candle Color (spike level selection)
• Signal 3: OBV Divergence Detection
• Independent on/off toggles for each signal
• Visual signals plotted on chart with triangles
• Combined signal alerts
🔷 COMPREHENSIVE ALERT SYSTEM
• Volume spike alerts (configurable levels)
• Signal 1, 2, 3 individual alerts
• Combined buy/sell signal alerts
• OBV trend change alerts
• Strong buying/selling pressure alerts
• Customizable alert frequency
═══════════════════════════════════════════════════════════════════════════════
📊 TABLE STRUCTURE & DISPLAY
═══════════════════════════════════════════════════════════════════════════════
The indicator features a professional 3-column table with the following sections:
📌 COLUMN HEADERS:
• INDICATOR: Metric name
• VALUE: Current reading
• STATUS: Visual status indicator (color-coded dots/icons)
📌 SECTION 1: VOLUME BASICS
Displays fundamental volume metrics with ratio indicators and percentage changes. Essential for understanding current market activity levels.
📌 SECTION 2: VOLUME SPIKE DETECTION
Real-time spike detection with 4 severity levels. Color-coded for instant recognition of abnormal volume.
📌 SECTION 3: BUY/SELL PRESSURE (ADVANCED)
Comprehensive order flow analysis with 10+ metrics. Includes advanced calculations like weighted delta, imbalance volume, and multi-candle pressure lookback.
📌 SECTION 4: VWMA ANALYSIS
Shows price position relative to volume-weighted moving average. Critical for identifying volume-supported moves.
📌 SECTION 5: OBV ANALYSIS
On Balance Volume trend and divergence detection. Helps identify smart money accumulation/distribution.
📌 SECTION 6: MFI ANALYSIS
Money Flow Index readings with overbought/oversold signals. Combines price and volume for comprehensive analysis.
📌 SECTION 7: A/D LINE
Accumulation/Distribution line trend analysis. Tracks institutional buying and selling.
📌 SECTION 8: VOLUME INTELLIGENCE
AI-powered scoring system with 11 evaluation points:
1. Volume strength assessment
2. Current buy/sell pressure
3. Multi-candle pressure lookback
4. Entry power calculation
5. Reversal volume tracking
6. VWMA position
7. OBV trend
8. OBV divergence
9. MFI signal
10. A/D trend
11. Trend-volume integration
Final output: Volume Score, Confidence Level, and highlighted FINAL SIGNAL.
═══════════════════════════════════════════════════════════════════════════════
⚙️ CUSTOMIZATION OPTIONS
═══════════════════════════════════════════════════════════════════════════════
🎨 TABLE DISPLAY
• Position: 9 locations (top-left, top-center, top-right, middle-left, etc.)
• Size: 5 sizes (tiny, small, normal, large, huge)
• Colors: Fully customizable background and text colors
• Sections: Show/hide any section independently
🎯 VOLUME SETTINGS
• Volume Average Length (default: 20)
• Spike Thresholds: Adjustable multipliers for each level
• Advanced Metrics: Lookback periods (optimized: 10 candles)
• Reversal Analysis: Candle count (optimized: 5 candles)
📊 INDICATOR LENGTHS
• OBV Smoothing: Default 14
• MFI Period: Default 14
• VWMA Length: Default 20
• A/D Length: Default 14
🎯 SIGNAL SYSTEM
• Enable/disable each signal independently
• Customizable thresholds for Signal 1 (score & confidence)
• Spike level selection for Signal 2
• Show/hide signals on chart
• Alert configuration for each signal type
═══════════════════════════════════════════════════════════════════════════════
🚀 PERFORMANCE & OPTIMIZATION
═══════════════════════════════════════════════════════════════════════════════
✅ REPLAY MODE OPTIMIZED
• Works flawlessly in TradingView Replay mode
• Optimized calculations for fast historical analysis
• No lag or freezing issues
✅ REAL-TIME EFFICIENCY
• Lightweight code structure (50 labels/lines limit)
• Smart caching of repeated calculations
• Limited loop iterations for optimal performance
• Updates only on last bar (table rendering)
✅ NON-REPAINTING
• All signals are confirmed on bar close
• No retrospective changes to historical signals
• Reliable for backtesting and strategy development
═══════════════════════════════════════════════════════════════════════════════
💡 USAGE RECOMMENDATIONS
═══════════════════════════════════════════════════════════════════════════════
📈 FOR DAY TRADING:
• Use 15m-1H timeframes
• Enable all sections for comprehensive analysis
• Focus on Volume Spike and Buy/Sell Pressure sections
• Set alerts for Strong and Extreme spikes
📈 FOR SWING TRADING:
• Use 4H-1D timeframes
• Focus on Volume Intelligence and OBV sections
• Enable Signal 1 and Signal 3 for swing entries
• Monitor divergences for trend reversals
📈 FOR SCALPING:
• Use 1m-5m timeframes
• Focus on Buy/Sell Pressure and Volume Basics
• Enable Signal 2 for quick spike-based entries
• Hide less relevant sections to reduce visual clutter
═══════════════════════════════════════════════════════════════════════════════
🎓 INDICATOR METHODOLOGY
═══════════════════════════════════════════════════════════════════════════════
This indicator combines classical volume analysis with modern algorithmic intelligence:
1. Volume Profiling: Identifies abnormal volume relative to historical averages
2. Order Flow Analysis: Separates buying and selling pressure using candle structure
3. Divergence Detection: Compares price action with volume indicators
4. Multi-Timeframe Approach: Uses smoothing and lookback for context
5. Scoring Algorithm: 11-point evaluation system for objective signal generation
6. Confluence Integration: Combines multiple indicators for higher probability setups
═══════════════════════════════════════════════════════════════════════════════
⚠️ DISCLAIMER
═══════════════════════════════════════════════════════════════════════════════
This indicator is a tool for analysis and should not be used as the sole basis for trading decisions. Always combine with your own analysis, risk management, and trading plan. Past performance does not guarantee future results.
═══════════════════════════════════════════════════════════════════════════════
📞 SUPPORT & UPDATES
═══════════════════════════════════════════════════════════════════════════════
• Regular updates and improvements
• Bug fixes and optimization
• Feature requests considered
• Community feedback welcomed
═══════════════════════════════════════════════════════════════════════════════
🌟 Happy Trading! May your volume analysis lead to profitable decisions! 🚀
═══════════════════════════════════════════════════════════════════════════════
═══════════════════════════════════════════════════════════════════════════════
═══════════════════════════════════════════════════════════════════════════════
📊 جدول معلومات الفوليوم - مؤشر احترافي لتحليل حجم التداول
═══════════════════════════════════════════════════════════════════════════════
🌐 دعم ثنائي اللغة: دعم كامل للغتين الإنجليزية والعربية - التبديل الفوري من الإعدادات!
🎯 لوحة معلومات شاملة لتحليل الفوليوم
مؤشر متقدم يوفر تحليلاً احترافياً للفوليوم من خلال جدول أنيق وقابل للتخصيص يعرض مقاييس الفوليوم الحيوية في الوقت الفعلي. مصمم للمتداولين المحترفين الذين يحتاجون إلى رؤى عميقة حول ديناميكيات حجم السوق، تدفق الأوامر، وحركة الأموال الذكية.
═══════════════════════════════════════════════════════════════════════════════
✨ الميزات الرئيسية
═══════════════════════════════════════════════════════════════════════════════
🔷 واجهة ثنائية اللغة
• التبديل السلس بين الإنجليزية والعربية
• جميع المقاييس والتسميات والإشارات مترجمة بالكامل
• مثالي للمتداولين العرب والدوليين
🔷 أساسيات الفوليوم
• الفوليوم الحالي: تتبع حجم التداول في الوقت الفعلي
• متوسط الفوليوم: المتوسط المتحرك للمقارنة
• نسبة الفوليوم: الحجم الحالي مقابل المتوسط (يحدد النشاط غير الطبيعي)
• تغير الفوليوم %: نسبة التغيير من الشمعة السابقة
• دلتا الفوليوم: الفرق بين ضغط الشراء والبيع
🔷 اكتشاف انفجارات الفوليوم (4 مستويات)
• انفجار ضعيف: 1.5 ضعف المتوسط
• انفجار متوسط: 2.0 ضعف المتوسط
• انفجار قوي: 2.5 ضعف المتوسط
• انفجار شديد: 3.0+ ضعف المتوسط
• تنبيهات بصرية مع مؤشرات ملونة
🔷 تحليل متقدم لضغط الشراء/البيع
• حجم الشراء: تراكم حجم الشموع الصاعدة
• حجم البيع: تراكم حجم الشموع الهابطة
• ضغط الشراء %: نسبة ضغط الشراء
• ضغط البيع %: نسبة ضغط البيع
• سيطرة الضغط: من يتحكم في السوق (المشترين/البائعين/محايد)
• قوة جسم الشمعة: يقيس قوة حركة السعر
• عدم التوازن: يكتشف اختلال توازن الفتائل
• دلتا الفوليوم (HLC3): حساب متقدم للدلتا
• الدلتا المرجح: حركة السعر المرجحة بالحجم
• تحليل الضغط متعدد الشموع: تحليل عدة شموع (محسّن للأداء)
🔷 تكامل المؤشرات الفنية
• VWMA (المتوسط المرجح بالحجم): موقع السعر مقابل VWMA
• OBV (الحجم التراكمي): اكتشاف الاتجاه مع تمهيد EMA
• تباعد OBV: كشف التباعدات الصعودية/الهبوطية
• MFI (مؤشر تدفق الأموال): حالات التشبع الشرائي/البيعي
• خط A/D (التراكم/التوزيع): تتبع الأموال الذكية
🔷 نظام تقييم ذكي مدعوم بالذكاء الاصطناعي
• قوة الدخول: يقيس قوة الفوليوم مع حركة السعر
• الجهد مقابل النتيجة: يحدد حالات الذروة (استنزاف الشراء/البيع)
• تحليل حجم الانعكاس: يتتبع الحجم عند شموع الانعكاس
• تكامل الاتجاه: يجمع اتجاه الترند مع تأكيد الفوليوم
• النقاط الصعودية/الهبوطية: نظام تقييم من 11 نقطة
• تقييم الفوليوم: مقياس من -100 إلى +100 (موجب = صعودي، سالب = هبوطي)
• مستوى الثقة: نسبة موثوقية الإشارة
• الإشارة النهائية: حكم واضح (صعودي/هبوطي/محايد)
🔷 نظام الإشارات الثلاثي (اختياري)
• الإشارة 1: بناءً على تقييم الفوليوم (عتبات قابلة للتخصيص)
• الإشارة 2: انفجار الفوليوم + لون الشمعة (اختيار مستوى الانفجار)
• الإشارة 3: كشف تباعد OBV
• تفعيل/إلغاء مستقل لكل إشارة
• إشارات بصرية على الشارت بمثلثات
• تنبيهات إشارات مجمعة
🔷 نظام تنبيهات شامل
• تنبيهات انفجار الفوليوم (مستويات قابلة للتهيئة)
• تنبيهات فردية للإشارات 1، 2، 3
• تنبيهات إشارات الشراء/البيع المجمعة
• تنبيهات تغيير اتجاه OBV
• تنبيهات ضغط الشراء/البيع القوي
• تردد التنبيهات قابل للتخصيص
═══════════════════════════════════════════════════════════════════════════════
📊 بنية الجدول والعرض
═══════════════════════════════════════════════════════════════════════════════
يتميز المؤشر بجدول احترافي من 3 أعمدة مع الأقسام التالية:
📌 عناوين الأعمدة:
• المؤشر: اسم المقياس
• القيمة: القراءة الحالية
• الحالة: مؤشر الحالة البصري (نقاط/رموز ملونة)
📌 القسم 1: أساسيات الفوليوم
يعرض مقاييس الفوليوم الأساسية مع مؤشرات النسب والتغيرات المئوية. ضروري لفهم مستويات نشاط السوق الحالي.
📌 القسم 2: كشف انفجارات الفوليوم
كشف فوري للانفجارات مع 4 مستويات من الشدة. ملون للتعرف الفوري على الحجم غير الطبيعي.
📌 القسم 3: ضغط الشراء/البيع (متقدم)
تحليل شامل لتدفق الأوامر مع أكثر من 10 مقاييس. يتضمن حسابات متقدمة مثل الدلتا المرجح، حجم عدم التوازن، وتحليل الضغط متعدد الشموع.
📌 القسم 4: تحليل VWMA
يعرض موقع السعر بالنسبة للمتوسط المرجح بالحجم. حاسم لتحديد الحركات المدعومة بالحجم.
📌 القسم 5: تحليل OBV
اتجاه الحجم التراكمي وكشف التباعدات. يساعد في تحديد تراكم/توزيع الأموال الذكية.
📌 القسم 6: تحليل MFI
قراءات مؤشر تدفق الأموال مع إشارات التشبع. يجمع بين السعر والحجم للتحليل الشامل.
📌 القسم 7: خط A/D
تحليل اتجاه خط التراكم/التوزيع. يتتبع الشراء والبيع المؤسسي.
📌 القسم 8: الذكاء الاصطناعي للفوليوم
نظام تقييم ذكي مع 11 نقطة تقييم:
1. تقييم قوة الفوليوم
2. ضغط الشراء/البيع الحالي
3. تحليل الضغط متعدد الشموع
4. حساب قوة الدخول
5. تتبع حجم الانعكاس
6. موقع VWMA
7. اتجاه OBV
8. تباعد OBV
9. إشارة MFI
10. اتجاه A/D
11. تكامل الاتجاه مع الفوليوم
الناتج النهائي: تقييم الفوليوم، مستوى الثقة، والإشارة النهائية المميزة.
═══════════════════════════════════════════════════════════════════════════════
⚙️ خيارات التخصيص
═══════════════════════════════════════════════════════════════════════════════
🎨 عرض الجدول
• الموقع: 9 مواقع (أعلى-يسار، أعلى-وسط، أعلى-يمين، وسط-يسار، إلخ)
• الحجم: 5 أحجام (صغير جداً، صغير، عادي، كبير، ضخم)
• الألوان: خلفية ونص قابل للتخصيص بالكامل
• الأقسام: إظهار/إخفاء أي قسم بشكل مستقل
🎯 إعدادات الفوليوم
• طول متوسط الفوليوم (افتراضي: 20)
• عتبات الانفجار: مضاعفات قابلة للتعديل لكل مستوى
• مقاييس متقدمة: فترات التحليل (محسّن: 10 شموع)
• تحليل الانعكاس: عدد الشموع (محسّن: 5 شموع)
📊 أطوال المؤشرات
• تمهيد OBV: افتراضي 14
• فترة MFI: افتراضي 14
• طول VWMA: افتراضي 20
• طول A/D: افتراضي 14
🎯 نظام الإشارات
• تفعيل/إلغاء كل إشارة بشكل مستقل
• عتبات قابلة للتخصيص للإشارة 1 (التقييم والثقة)
• اختيار مستوى الانفجار للإشارة 2
• إظهار/إخفاء الإشارات على الشارت
• تهيئة التنبيهات لكل نوع إشارة
═══════════════════════════════════════════════════════════════════════════════
🚀 الأداء والتحسين
═══════════════════════════════════════════════════════════════════════════════
✅ محسّن لوضع الريبلاي
• يعمل بسلاسة في وضع Replay في TradingView
• حسابات محسّنة للتحليل التاريخي السريع
• لا توجد مشاكل تأخير أو تجميد
✅ كفاءة الوقت الفعلي
• بنية كود خفيفة (حد 50 علامة/خط)
• تخزين ذكي للحسابات المتكررة
• تكرارات محدودة للحلقات للأداء الأمثل
• تحديثات فقط على آخر شمعة (عرض الجدول)
✅ غير قابل لإعادة الرسم
• جميع الإشارات مؤكدة عند إغلاق الشمعة
• لا توجد تغييرات بأثر رجعي على الإشارات التاريخية
• موثوق للاختبار الخلفي وتطوير الاستراتيجيات
═══════════════════════════════════════════════════════════════════════════════
💡 توصيات الاستخدام
═══════════════════════════════════════════════════════════════════════════════
📈 للتداول اليومي:
• استخدم فريمات 15د-1س
• فعّل جميع الأقسام للتحليل الشامل
• ركز على أقسام انفجار الفوليوم وضغط الشراء/البيع
• ضع تنبيهات للانفجارات القوية والشديدة
📈 للتداول المتأرجح:
• استخدم فريمات 4س-1ي
• ركز على أقسام الذكاء الاصطناعي و OBV
• فعّل الإشارة 1 والإشارة 3 لدخولات التأرجح
• راقب التباعدات لانعكاسات الاتجاه
📈 للمضاربة:
• استخدم فريمات 1د-5د
• ركز على ضغط الشراء/البيع وأساسيات الفوليوم
• فعّل الإشارة 2 لدخولات سريعة بناءً على الانفجارات
• أخفِ الأقسام الأقل صلة لتقليل الفوضى البصرية
═══════════════════════════════════════════════════════════════════════════════
🎓 منهجية المؤشر
═══════════════════════════════════════════════════════════════════════════════
يجمع هذا المؤشر بين تحليل الفوليوم الكلاسيكي والذكاء الخوارزمي الحديث:
1. تحديد الفوليوم: يحدد الحجم غير الطبيعي نسبة للمتوسطات التاريخية
2. تحليل تدفق الأوامر: يفصل ضغط الشراء والبيع باستخدام بنية الشمعة
3. كشف التباعد: يقارن حركة السعر مع مؤشرات الفوليوم
4. نهج متعدد الفريمات: يستخدم التمهيد والتحليل الرجعي للسياق
5. خوارزمية التقييم: نظام تقييم من 11 نقطة لتوليد إشارات موضوعية
6. تكامل التقاء: يجمع عدة مؤشرات لإعدادات ذات احتمالية أعلى
═══════════════════════════════════════════════════════════════════════════════
⚠️ إخلاء المسؤولية
═══════════════════════════════════════════════════════════════════════════════
هذا المؤشر هو أداة للتحليل ولا ينبغي استخدامه كأساس وحيد لقرارات التداول. اجمع دائماً مع تحليلك الخاص وإدارة المخاطر وخطة التداول. الأداء السابق لا يضمن النتائج المستقبلية.
═══════════════════════════════════════════════════════════════════════════════
📞 الدعم والتحديثات
═══════════════════════════════════════════════════════════════════════════════
• تحديثات وتحسينات منتظمة
• إصلاحات الأخطاء والتحسين
• طلبات الميزات قيد الاعتبار
• ملاحظات المجتمع مرحب بها
═══════════════════════════════════════════════════════════════════════════════
🌟 تداول سعيد! نتمنى أن يقودك تحليل الفوليوم إلى قرارات مربحة! 🚀
═══════════════════════════════════════════════════════════════════════════════
═══════════════════════════════════════════════════════════════════════════════
Quantum Flow ScannerOverview
The Quantum Flow Scanner is a comprehensive technical analysis indicator that combines trend detection, momentum analysis, and dynamic band systems to identify potential market opportunities. This indicator uses advanced filtering techniques and multi-factor detection strength calculations to help traders make informed decisions.
Key Features
Trend Detection System
Dual-period momentum analysis (Fast/Slow periods configurable)
Pattern recognition engine that analyzes recent price movements
Normalized momentum calculations adjusted for volatility
Bull and Bear detection generation based on trend changes
Dynamic Band System
Adaptive bands that adjust to market volatility using ATR (Average True Range)
Customizable band width and distance multipliers
Optional midline, upper band, and lower band displays
Visual channel fill options for enhanced clarity
Background color coding for trend direction
Detection Strength Rating
Multi-factor detection strength calculation (25-92% range)
Considers volatility, momentum, trend duration, and volume
Higher timeframe alignment analysis
Swing position evaluation
Real-time percentage display on detections
Performance Tracking
Live performance statistics table
Total detections counter
Successful detections vs unsuccessful detections tracking based on configurable stop loss and take profit levels
Success rate percentage calculation
Average detection strength monitoring
How It Works
The indicator employs a sophisticated filtering mechanism based on pole-zero placement algorithms to smooth price data and calculate dynamic bands. When price crosses these bands in conjunction with momentum shifts, the indicator generates Bull or Bear detections.
Detection strength is calculated using eight weighted factors:
Market volatility assessment
Momentum cluster analysis
Distance from dynamic midline
Trend consistency duration
Higher timeframe trend alignment
Volume profile analysis
Candle strength evaluation
Swing position context
Configuration Options
Period Settings:
Fast Period (1-200): Controls short-term momentum sensitivity
Slow Period (1-500): Defines longer-term trend context
Pattern Recognition Length (5-50): Sets momentum analysis window
Sensitivity Controls:
Distance Multiplier (1.0-10.0): Adjusts band width relative to volatility
Cluster Size (1-15): Number of bars analyzed for momentum clustering
Display Options:
Customizable detection colors
Optional detection markers and percentage labels
Dynamic band visibility toggles
Channel fill options
Background color coding
Performance Tracking:
Configurable stop loss and take profit levels (in points)
Optional performance statistics table
Success rate monitoring
Use Cases
This indicator is designed for:
Trend identification across multiple timeframes
Entry and exit timing optimization
Market volatility assessment
Detection quality evaluation through strength ratings
Strategy performance tracking
Important Notes
This indicator is for educational and informational purposes only
Past performance does not guarantee future results
Always use proper risk management and position sizing
Detections should be used as part of a comprehensive trading strategy
Test thoroughly on historical data before live trading
No indicator is 100% accurate; losses are part of trading
GOGO SCALPER# GOGO SCALPER - Advanced Multi-Timeframe Trading Indicator
## Overview
GOGO SCALPER is a comprehensive trading indicator that combines multiple proven trading concepts into one powerful tool. It provides automated bias detection, session analysis, market structure tracking, and high-probability entry signals for scalpers and day traders.
## Key Features
### 🎯 Auto Bias System
- **Dual Timeframe Analysis**: Automatically tracks both Lower Timeframe (LTF) and Higher Timeframe (HTF) bias using EMA-based momentum
- **Dynamic Confidence Scoring**: Real-time confidence percentage (0-100%) for BUY/SELL signals based on multiple market factors
- **Smart Signal Generation**: Only triggers entries when both timeframes align during active trading sessions
### 📊 Market Phase Detection
- **Expansion vs Consolidation**: Automatically identifies whether the market is in an expansion or consolidation phase
- **Multi-Metric Analysis**: Uses Bollinger Band Width, Average Daily Range (ADR), and ATR ratios to determine market conditions
- **Trend Strength Indicator**: Shows whether the current trend is STRONG or WEAK
### 🕒 Killzone Session Management
- **Four Major Sessions**: Asia, London, NY AM, and NY PM killzones with customizable times
- **Visual Session Boxes**: Color-coded boxes highlighting active trading sessions
- **Session Range Tracking**: Displays the price range for each killzone session
- **Auto Time Remaining**: Shows countdown timer for active sessions
### 📈 Multi-Timeframe Structure Analysis
- **HTF Candle Visualization**: Displays H1, H4, and Daily candles as mini-charts on your current timeframe
- **Sweep Detection**: Automatically identifies bullish and bearish liquidity sweeps
- **Numbered Candle System**: Labels candles 1-5 leading up to sweeps for pattern recognition
- **Counter-Sweep Protection**: Filters out invalidated sweeps automatically
### 🔍 Market Structure Tools
- **CISD (Close in Structure Detection)**: Identifies when price closes through pivot highs/lows
- **FVG Detection**: Automatically plots Fair Value Gaps (Bullish & Bearish) with mitigation tracking
- **H4 & Daily Open Lines**: Tracks key opening prices with dynamic extension
- **High/Low Levels**: Plots session highs and lows with breakout alerts
### 📋 Information Dashboard
- **Comprehensive Table Display**: Shows all critical information at a glance
- Current HTF and LTF bias
- Active session
- Trend strength
- Signal direction
- Confidence percentage
- Entry confirmation status
- Market phase (Expansion/Consolidation)
- Killzone ranges
### ⚡ Entry Signal System
- **BUY Signal**: Triggers when price crosses above Bollinger Band upper level during bullish bias
- **SELL Signal**: Triggers when price crosses below Bollinger Band lower level during bearish bias
- **Session Filter**: Signals only activate during configured killzone sessions
- **Confirmation Labels**: Clear "Long Confirm!" or "Short Confirm!" messages with "Wait!" during invalid conditions
## How It Works
### Bias Calculation
The indicator compares current price against EMA on both lower and higher timeframes:
- **BULLISH**: Price above EMA
- **BEARISH**: Price below EMA
- **NEUTRAL**: Price at EMA
### Confidence Scoring
The confidence score (0-100%) is calculated using:
- HTF/LTF bias alignment (25%)
- Active session quality (20%)
- Volume analysis (15%)
- ATR momentum (15%)
- RSI position (15%)
- Trend strength (10%)
- BB position (10%)
### Market Phase Detection
Uses a voting system from three metrics:
- Bollinger Band Width relative to average
- Average Daily Range achievement percentage
- ATR ratio to moving average
When 2+ metrics vote for expansion, market is in "EKSPANSI" phase, otherwise "KONSOLIDASI".
## Best Use Cases
- **Scalping**: 1-5 minute charts with 15m/1H/4H higher timeframes
- **Day Trading**: 5-15 minute charts with 1H/4H/Daily higher timeframes
- **Session Trading**: Focus on London and NY AM sessions for highest probability setups
- **Confluence Trading**: Wait for HTF/LTF alignment + high confidence + active session
## Customization Options
- Adjustable EMA length and Bollinger Band settings
- Customizable killzone session times and colors
- Configurable HTF timeframes and candle count
- Toggle visibility for all components (FVGs, sweeps, lines, boxes)
- Flexible table position and display options
## Recommended Settings
- **1-3 minute charts**: Use 5m/15m/1H for HTF analysis
- **5-15 minute charts**: Use 1H/4H/Daily for HTF analysis
- **Focus on major sessions**: Enable London and NY AM for best results
- **Wait for 60%+ confidence**: Higher confidence = higher probability trades
## Notes
- Works best on liquid markets (Forex majors, indices, major crypto pairs)
- Designed for active trading sessions (avoid low-volume periods)
- Combines with price action for best results
- Not a standalone system - use proper risk management
---
**Disclaimer**: This indicator is for educational and informational purposes only. Past performance does not guarantee future results. Always practice proper risk management and never risk more than you can afford to lose.






















