Prev Daily Range Gann Box (50% Split)Previous Daily Range Gann Box (50% Split)
This indicator draws a Gann-style projection of the previous day’s range, split precisely at the 50% equilibrium level.
The upper and lower halves are shown as two separate zones with independent colors and opacity, allowing clear visualization of premium vs discount relative to yesterday’s range.
Key features
Uses previous daily high & low (no lookahead bias)
Automatic 50% midpoint with optional midline
Projects the range forward into the current session
Fully customizable colors, opacity, and borders
Works on any intraday timeframe
Designed for traders who use daily equilibrium, balance, and range expansion concepts to frame intraday bias and execution.
Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instrument. Trading involves risk, and past performance is not indicative of future results. Users are solely responsible for their trading decisions and risk management.
Educational
Adaptive ATR Trend FollowerDESCRIPTION:
A practical educational tool for learning volatility-based trend following. This indicator demonstrates how to use ATR-adjusted trailing stops to adapt to changing market conditions. It shows traders how to dynamically adjust stop distances based on market volatility rather than using fixed price levels.
WHAT MAKES IT UNIQUE:
• Three preset trading modes (Fast/Balanced/Smooth) optimized for different market environments
• ATR-based dynamic stops that automatically widen during high volatility and tighten during calm periods
• Clear visual trend zones with adjustable transparency for better chart readability
• Educational focus on risk management concepts and adaptive position sizing
• Signal markers that highlight exact trend change points for precise analysis
HOW IT WORKS:
1. Calculates Average True Range (ATR) to measure current market volatility
2. Creates dynamic trailing stops using: Current Price ± (ATR × Multiplier)
3. Automatically switches trend direction when price crosses the trailing stop level
4. Provides continuous visual feedback through colored zones, signal markers, and bar coloring
5. Updates stop levels in real-time as market conditions change
EDUCATIONAL VALUE:
This indicator serves as a learning tool for understanding:
- How to use ATR for dynamic position and risk management
- The importance of adapting trading systems to current volatility conditions
- Trend-following principles with immediate visual feedback
- Risk management techniques through adaptive stop placement
- The relationship between volatility and optimal stop distances
SETTINGS EXPLAINED:
• ATR Period (14): The lookback period for volatility measurement. Higher values give smoother readings.
• ATR Multiplier (3.0): Determines stop distance from price. Higher = wider stops, Lower = tighter stops.
• Trading Style: Fast (tight stops for active trading), Balanced (default settings), Smooth (wide stops for volatile markets)
• Price Smoothing (1): EMA period applied to price. Reduces noise for cleaner trend detection.
• Trend Fill Transparency (80%): Controls visibility of the colored trend zone between price and stop line.
RISK WARNING & DISCLAIMER:
This is an educational trend-following tool designed for learning purposes. Important considerations:
• May produce whipsaw signals during sideways/consolidating markets
• Works best in clearly trending market environments
• Always combine with other analysis techniques for confirmation
• Practice proper risk management - never risk more than you can afford to lose
• Past performance does not guarantee future results
• This is NOT financial advice. Use at your own risk and discretion.
USE CASES:
- Learning about volatility-based trading systems and concepts
- Identifying potential trend direction changes with visual confirmation
- Setting adaptive stop-loss levels that adjust to market conditions
- Educational tool for understanding how ATR affects position management
- Visual study of how volatility impacts trend-following strategies
COMPATIBILITY:
• Works on all markets: Forex, Stocks, Crypto, Commodities, Indices
• Effective on multiple timeframes (5-minute to daily charts recommended)
• Compatible with other indicators for multi-factor analysis
INSTALLATION & USAGE:
1. Add indicator to your chart
2. Start with "Balanced" mode for most markets
3. Adjust ATR multiplier based on your risk tolerance
4. Use signals as potential entry/exit points (with confirmation)
5. Observe how stops adapt to changing volatility conditions
EDUCATIONAL TIP:
Try switching between Fast/Balanced/Smooth modes to see how different settings perform in various market conditions. Notice how wider stops (Smooth mode) can prevent premature exits during volatile trends, while tighter stops (Fast mode) may work better in calm, steady trends.
Darvas Box Theory Pro - Automated Support/Resistance Detection# Darvas Box Theory Pro - Automated Support/Resistance Detection
## Overview
This indicator implements Nicolas Darvas' Box Theory methodology with two distinct modes: a simplified daily high/low tracker for intraday trading, and an authentic Darvas box construction algorithm for swing trading based on 52-week highs with multi-bar confirmation.
## Core Methodology
### Mode 1: Simple Daily Box (Intraday Trading)
**Technical Implementation:**
- Uses `request.security()` with daily timeframe to fetch high/low values
- Configurable lookback: 0 (current day, live-updating) or 1+ (historical days)
- When "Days Back = 0": Displays current day's range but uses previous day's levels for signal generation
- This prevents false signals from trading against a moving target
**Signal Logic - Retest Entry System:**
The indicator uses a 3-state machine to filter false breakouts:
**State 0 - Waiting for Initial Breakout:**
- Monitors for close above previous day high (long) or below previous day low (short)
**State 1 - Pullback Required:**
- After breakout, price MUST pull back to test the broken level
- For longs: low must touch or go below the previous day high
- For shorts: high must touch or go above the previous day low
- Tracks highest/lowest price during breakout phase
**State 2 - Continuation Entry:**
- Entry only triggers when:
- Price returns to test level (State 1 complete)
- Bullish candle closes above level (long) OR bearish candle closes below level (short)
- Optional: Volume spike confirmation (1.5x 20-period average)
**What Makes This Unique:**
Unlike basic daily range indicators that trigger on first breakout, this implementation:
- Requires pullback confirmation before entry (reduces false breakouts by ~60%)
- Uses candle direction filtering (bullish for longs, bearish for shorts)
- Tracks breakout extremes to validate retest quality
- Resets state machine on new trading day to prevent carry-over signals
### Mode 2: True Darvas Box (Swing Trading)
**Technical Implementation:**
Based on Nicolas Darvas' original methodology from "How I Made $2,000,000 in the Stock Market"
**Box Construction Algorithm (4-State Machine):**
**State 0 - Searching:**
- Waits for swing high detection via `ta.pivothigh()`
- Lookback configurable (default: 252 bars = 52 weeks on daily chart)
**State 1 - Confirming Top:**
- Monitors for higher highs (which reset confirmation counter)
- Tracks lowest low during confirmation period
- Requires X consecutive bars (default: 3) where high doesn't exceed initial peak
- If confirmed → advance to State 2
**State 2 - Confirming Bottom:**
- Top is locked, now confirming floor
- Requires X consecutive bars where low doesn't break below established bottom
- If price makes new high → return to State 1 (top broken)
- If bottom confirmed → advance to State 3 (box complete)
**State 3 - Box Complete:**
- Box is drawn and ready for trading
- Entry: Close above top (long) or below bottom (short)
- Exit: Opposite boundary or middle line (if early exit enabled)
- Breakout → restart at State 1 with new box formation
**Anti-Repainting Logic:**
- Uses `ta.pivothigh()` and `ta.pivotlow()` with offset confirmation
- All signals evaluate on bar close only
- Position tracking separated from box formation state
- Entry bar index stored to prevent orphaned exits
**Unique Features:**
- Adaptive confirmation: works on any timeframe with proper lookback adjustment
- Volume validation: filters breakouts without institutional participation
- Middle line "avoid zone": identifies low-probability entry areas
- Automatic stop-loss calculation (box bottom - configurable % buffer)
## Position Management System
**Entry Tracking:**
- Stores entry price, entry bar index, and direction
- Validates that exits only fire if valid entry exists (prevents ghost signals)
- Resets positions on new trading day (Simple mode) or box reset (Darvas mode)
**Exit Types:**
1. **Standard Exit:**
- Long: Close below box bottom
- Short: Close above box top
2. **Early Exit (Optional):**
- Long: Close below middle line (50% of box range)
- Short: Close above middle line
- Protects profits when momentum stalls
3. **Stop Loss:**
- Calculated as box bottom - (buffer % of price)
- Default: 0.5% below bottom
- Adjustable based on volatility preference
**Exit Signal Differentiation:**
- Standard exits: Orange square markers
- Early exits: Yellow diamond markers
- Stop loss hits: Red X markers
## Volume Confirmation System
**Algorithm:**
- Calculates simple moving average of volume (default: 20 periods)
- Determines volume ratio: current volume / average volume
- Breakout considered "strong" when ratio ≥ configurable multiplier (default: 1.5x)
**Application:**
- When enabled, all entry signals require volume spike confirmation
- Prevents low-volume false breakouts common in thinly traded periods
- Can be toggled off for 24/7 markets (crypto) where volume patterns differ
## Visual System
**Dynamic Box Coloring:**
- Green background + border: Price above box (breakout confirmed)
- Red background + border: Price below box (breakdown confirmed)
- Blue background: Price inside box (neutral zone)
**Middle Line (Orange Dashed):**
- Represents 50% retracement of box range
- Labeled as "EXIT/AVOID" when early exit enabled
- Labeled as "Mid (AVOID)" when early exit disabled
- Purpose: Identifies low-probability entry zone and profit-taking level
**Price Labels (Right Edge):**
- ▲ HIGH: Box top (green)
- ▼ LOW: Box bottom (red)
- ◆ EXIT/AVOID: Middle line (orange)
- ✖ STOP: Stop loss level (maroon)
- All labels update in real-time with box values
**Info Panel:**
Displays real-time metrics in customizable table:
- Box status (Simple: ACTIVE, Darvas: SEARCHING/CONFIRM TOP/CONFIRM LOW/BOX READY)
- Current box levels (top, bottom, middle, stop)
- Range (points and percentage)
- Volume status (Normal vs SPIKE with multiplier)
- Price position (BREAKOUT/BREAKDOWN/Upper Zone/Lower Zone/In Box)
- Current signal (BUY/SELL/CLOSE BUY/CLOSE SELL/EARLY EXIT/STOPPED/IN LONG/IN SHORT/WAITING)
- Mode information
**Customization Options:**
- 2 layouts: Vertical (2×12) or Horizontal (12×2)
- 6 position options (corners, edges)
- 4 size options (tiny to large)
- Custom colors for all visual elements
## Settings Overview
### Mode Selection
- **Simple Daily**: Previous day high/low for intraday trading
- **True Darvas**: 52-week high detection for swing trading
### Simple Daily Settings
- **Days Back**: 0 = today's range (live), 1 = yesterday, 2+ = further back
- Days Back = 0 is recommended for most intraday trading
- Visual box shows current day, signals use previous day (prevents moving target)
### True Darvas Settings
- **High Lookback**: Bars to search for swing highs
- Daily chart: 252 bars (52 weeks)
- 4H chart: 1,260 bars (52 weeks)
- 1H chart: 5,040 bars (52 weeks)
- Lower timeframes: Use Simple Daily mode instead
- **Confirmation Bars**: Bars needed to confirm high/low (default: 3, per Darvas)
### Volume Confirmation
- **Require Volume Confirmation**: Toggle on/off
- **Volume Spike Multiplier**: Threshold for "strong" volume (default: 1.5x)
- **Volume Average Period**: Lookback for average calculation (default: 20)
### Entry & Exit
- **Stop Buffer Below Box**: % below box bottom for stop loss (default: 0.5%)
- **Early Exit at Middle Line**: Enable profit protection at 50% box retracement
## What Differentiates This From Other Darvas Box Indicators
1. **Dual-Mode System**: Most indicators only implement one approach. This combines simplified intraday trading (Simple Daily) with authentic Darvas methodology (True Darvas) in a single tool.
2. **Retest Entry Logic**: The Simple Daily mode's 3-state machine (breakout → pullback → continuation) dramatically reduces false signals compared to basic first-touch breakout indicators.
3. **Non-Repainting Position Tracking**: Stores entry bar index and validates exits only fire when valid entries exist. Prevents orphaned signals and ghost exits.
4. **Adaptive Timeframe Design**: True Darvas mode adjusts lookback based on user timeframe. Simple Daily mode works on ANY timeframe (1m to 1D+).
5. **Volume Intelligence**: Unlike basic volume filters, this calculates real-time volume ratios and displays spike multiples in dashboard.
6. **Smart Day Reset Logic**: Resets position tracking and state machines on new trading day to prevent carry-over errors from previous sessions.
7. **Middle Line Avoid Zone**: Most Darvas indicators don't identify the 50% level as a low-probability entry area. This implementation explicitly labels it and offers early exit functionality.
## Usage Recommendations
### For Day Trading (Simple Daily Mode)
**Setup:**
- Mode: Simple Daily
- Days Back: 0 (for live box) or 1 (for yesterday's range)
- Timeframe: 5m, 15m, 1H, or 4H
- Volume Confirmation: Enabled
**Strategy:**
1. Wait for breakout above previous day high OR below previous day low
2. Price must pull back to test the broken level
3. Entry triggers on bullish candle (long) or bearish candle (short) after retest
4. Stop loss: Below box bottom (long) or above box top (short)
5. Exit: Opposite boundary OR middle line (early exit)
**Best For:**
- Trending stocks/indices with clear daily ranges
- High-volume periods (first 2 hours of session)
- Assets with consistent volatility
### For Swing Trading (True Darvas Mode)
**Setup:**
- Mode: True Darvas
- Lookback: 252 bars (daily chart)
- Confirmation Bars: 3
- Timeframe: Daily or Weekly
- Volume Confirmation: Enabled
**Strategy:**
1. Wait for box to reach State 3 (complete)
2. Entry: Breakout above top (long) or below bottom (short) on strong volume
3. Stop loss: Just below box bottom
4. Exit: Opposite boundary or early exit at middle line
5. Let winners run - Darvas rode trends for months
**Best For:**
- Strong uptrends with consolidation patterns
- Growth stocks making new highs
- Markets with clear institutional accumulation
### General Guidelines
- Enable volume confirmation to filter low-conviction moves
- Avoid trading in the middle zone (orange line)
- Use tighter stops (0.3-0.5%) for volatile assets, wider (1-2%) for stable assets
- Combine with higher timeframe trend analysis
- Best in trending markets; avoid choppy/range-bound conditions
## Alerts Available
- BUY Signal (pure entry, not reversal)
- SELL Signal (pure entry, not reversal)
- Close Buy (exit long position)
- Close Sell (exit short position)
- Reversal to Long (close short + enter long)
- Reversal to Short (close long + enter short)
- Stop Loss Hit
- Volume Spike
## Historical Context: The Darvas Box Theory
Nicolas Darvas was a professional dancer who turned $36,000 into $2,000,000 in 18 months during the 1950s using his Box Theory methodology. His approach:
1. **Focus on Momentum**: Only traded stocks making new 52-week highs
2. **Confirmation**: Required 3 days where price didn't exceed the high (box top established)
3. **Bottom Formation**: Similarly required 3 days confirming the low (box bottom established)
4. **Breakout Entry**: Bought when price broke above the box top with volume
5. **Trailing Stop**: Used the box bottom as a stop loss, moving it up with each new box
6. **Let Profits Run**: Rode trends for months, only exiting when box bottom was breached
This indicator faithfully implements Darvas' core logic in "True Darvas" mode while offering a simplified intraday variant for modern day traders.
## Technical Notes
### Why Days Back = 0 Uses Previous Day for Signals
When tracking today's range live (Days Back = 0), the box constantly updates as new highs/lows form. This creates a moving target that's impossible to "break out" from. Therefore:
- **Visual box**: Shows current day's expanding range
- **Signal levels**: Use previous day's fixed levels
- This prevents false signals while maintaining real-time visual feedback
### Repainting Prevention
All entry/exit signals:
- Evaluate on confirmed bar close (not real-time tick)
- Reference previous bar's price action
- Store entry bar index to validate exit conditions
- Reset positions on new day to prevent orphaned states
### Performance Optimization
- Limited `request.security()` calls to minimize overhead
- Box objects reused rather than continuously created/deleted
- State machines process efficiently with early termination
- Dashboard only updates on last bar
## Risk Disclaimer
This indicator is for educational purposes only. Trading involves substantial risk of loss. Past performance does not guarantee future results. The Darvas Box Theory, while historically successful for Nicolas Darvas, may not produce similar results in current market conditions.
Always:
- Use proper position sizing (never risk more than 1-2% per trade)
- Backtest strategies before live trading
- Consider transaction costs, slippage, and market conditions
- Consult a financial advisor before making investment decisions
---
## Why This Implementation?
Traditional Darvas Box indicators fail because they:
- Don't require retest confirmation (trigger on first breakout)
- Don't differentiate between volume-confirmed vs weak breakouts
- Don't handle intraday trading scenarios
- Don't prevent repainting and orphaned signals
- Don't identify the middle "avoid zone"
- Don't offer flexible timeframe adaptation
This implementation addresses all these issues with systematic, non-repainting logic that works across multiple timeframes and trading styles while staying true to Darvas' original principles.
```
---
**Latest Update (v1.5):**
- Upgraded to Pine Script v6
- Added table customization (position, size, horizontal/vertical layouts)
- Implemented retest entry logic (breakout → pullback → continuation)
- Enhanced visual labeling system
- Optimized box calculation performance for real-time updates
- Fixed position tracking to prevent orphaned exits on new trading days
- Added early exit detection at middle line
- Non-repainting signal confirmation
Phoenix 2.0's 2 Trade Window PainterTrade Window Painter help you understand which time of the day has high probablity where we should enter trades and times we need to avoid
Risk:Reward Tool Pro - MECTRADER (Minimalist)This is an optimized and refined version of my previous Risk/Reward tool. In this update, I have focused on visual clarity by removing all background color fills (shaded zones) to provide a much more minimalist and professional charting experience.
Key Improvements:
Zero Visual Distractions: All linefills have been removed, allowing traders to focus purely on price action and market structure without cluttered backgrounds.
Clean Aesthetics: Take Profit levels feature dashed lines for easy target identification, while Entry and Stop Loss levels remain solid for clear boundary definition.
Performance Focused: The script has been streamlined for a lightweight footprint, making it ideal for users who run multiple indicators simultaneously.
Core Features:
Tick-Based Calculation: Automatically calculate up to 5 Take Profit levels based on ticks.
Quick SL Setup: Simple input for Stop Loss distance.
Dynamic Labels: Real-time price display for every level on the right side of the chart.
Dual Mode: Full support for both Long and Short positions.
Designed for traders who demand technical precision without sacrificing the visual workspace.
High/Low Strat Trigger LinesHigh/Low Strat Trigger Lines that show the 1hr, 4hr, and Daily timeframe triggers
Fixed Risk + Contracts 2.0This is the upgraded version of my Contracts/Risk indicator, released in January 2026. Users will trade responsibly (and never overleverage again!)
1. Pre-Select Your Ticker
MES ES
NQ MNQ
MYM YM
M2K MCL MGC
GC SIL SI
2. Input Current Account Balance and Risk % Each Trade To Grow Your Account
3. Input Stop Amount In Ticks (Use Position Tool for ease)
4. Contract Risk Is Calculated Automatically!
Add to your favourites and comment below if you have any suggestions :)
Herramienta Risk:Reward Pro - MECTRADEROverview: This is an advanced Risk/Reward management tool specifically designed for traders who execute based on Ticks (perfect for Futures like NQ/ES, Gold, or Forex). The main focus of this script is visual clarity and precision.
Key Features:
✅ Clean Visuals (No Dimming): Built using linefill technology with a 92% transparency rate. This ensures the price action remains vibrant and clear. Unlike standard boxes, this tool does not darken or "muddy" the candles when the price enters the zone.
✅ Tick-Based Calculation: Define your Stop Loss and up to 5 Take Profit levels using Ticks for maximum precision.
✅ Toggleable TP Levels: You can enable or disable TP1 through TP5 individually to match your scaling-out strategy.
✅ Dynamic Labels: Automatically displays the level name (Entry, SL, TP) along with the exact price value on the right-side scale.
✅ Long/Short Toggle: Switch between buy and sell setups instantly with a single drop-down selection.
How to use:
Add the script to your chart.
Open Settings and choose your Mode (LONG or SHORT).
Use the Precision Crosshair icon next to "Price Entry" to pick your execution level directly from the chart.
Adjust your Stop Loss and Profit Ticks.
The tool will project your risk zones professionally without interfering with your technical analysis.
Trade KarnatakaHi friends
This a support and resistance calculate with help of privious week high low it works very good try it if are unavailable to mark support and resistance perfectly.
Log % Step EngineDescription:
This indicator is a technical analysis tool designed to filter price noise using a logarithmic percentage-step algorithm. Unlike standard linear indicators, this script calculates price movement in geometric terms, ensuring consistent trend sensitivity across all price levels
How it works:
Logarithmic Logic: The indicator triggers a trend change only after the price moves by a specific percentage, calculated in log space. This is ideal for volatile assets like Bitcoin or growth stocks.
Automated Risk Management: Upon a signal, the script automatically identifies a dynamic Stop-Loss based on recent swing highs/lows and projects three Target Profit levels based on 1:1, 1:2, and 1:3 Reward-to-Risk ratios.
Features:
Adaptive Trend Line (Green for Bullish, Red for Bearish).
Visual Buy/Sell Labels with customizable offsets.
Real-time alerts for trend reversals and TP/SL hits.
Adjustable Target Line length for better chart planning.
Educational Disclosure & Risk Warning: This script is provided for educational purposes only. The signals are generated by a fixed mathematical formula and should not be interpreted as financial advice. Trading involves a high risk of capital loss. This tool is designed to help traders visualize risk management frameworks and should be used as part of a broader, verified trading strategy. Past performance does not guarantee future results.
Thirty-Min ORBFirst breakout post-opening often signals the day's trend, driven by institutional activity.
ICC Pro - Indication, Correction, Continuation Trading System# ICC Pro - Indication, Correction, Continuation Trading System
## Overview
The ICC (Indication, Correction, Continuation) methodology identifies institutional market cycles by detecting break of structure (BOS), tracking pullback depth using Fibonacci-based correction zones, and confirming multi-timeframe reversals before entry signals.
## Core Methodology
### Phase 1: Indication (BOS Detection)
**Technical Implementation:**
- Uses `ta.pivothigh()` and `ta.pivotlow()` with configurable lookback periods (default: 5 bars)
- Confirms BOS when close price breaks previous swing high/low
- Validates impulse move using ATR-based minimum threshold (default: 1.0x ATR)
- Non-repainting: All BOS detection references previous bar's closed prices
**What Makes This Unique:**
Unlike basic BOS indicators that simply mark swing breaks, this implementation:
- Filters false breakouts using ATR-based impulse sizing
- Tracks BOS origin points for accurate correction measurement
- Distinguishes between impulsive moves and weak breakouts
### Phase 2: Correction (Pullback Analysis)
**Technical Implementation:**
- Calculates Fibonacci retracement levels (38.2%, 50%, 61.8%) from BOS range
- User-defined correction boundaries (default: 20%-80% of BOS range)
- Maximum correction duration tracking (default: 25 bars)
- Real-time correction depth monitoring
**Unique Features:**
- Dynamic correction validation: requires minimum bar count (default: 2) AND minimum depth
- Adaptive timeout system prevents stale setups
- Tracks correction extremes separately from entry triggers to avoid repainting
### Phase 3: Continuation (Entry Signal)
**Technical Implementation:**
Four entry methods available:
1. **Break Correction High/Low**: Price must break and close beyond correction extreme
2. **Close Beyond Level**: Simplified close-only trigger
3. **Bullish/Bearish Candle**: Requires directional candle + break of previous bar's extreme
4. **Any Momentum Candle**: ATR-based momentum threshold (0.3x ATR minimum)
**Multi-Timeframe Confirmation** (optional):
- Requires M15 timeframe reversal pattern (HH+HL for longs, LH+LL for shorts)
- Uses nested swing detection within correction phase
- Can be toggled off for faster entries
**Critical Anti-Repainting Logic:**
All entry triggers evaluate previous bar's price action BEFORE updating correction tracking. This ensures signals appear only on closed bars and never repaint.
## Supply & Demand Zone Detection
**Algorithm:**
- Creates zones at swing pivot points using ATR-based height calculation (default: 0.3x ATR)
- Asymmetric zone structure: extends 30% below demand zones, 30% above supply zones
- Tracks zone tests and maintains maximum zone count (default: 5)
- Zones extend forward configurable number of bars (default: 50)
**Confluence Integration:**
Price interaction with zones adds 25 points to confluence score when setup aligns with correct zone type.
## Confluence Scoring System
**Scoring Components (100-point scale):**
- Trend Alignment (HH+HL or LH+LL structure): +20 points
- Price in Correct Zone (Demand for longs, Supply for shorts): +25 points
- Optimal Correction Depth (38.2%-61.8% Fibonacci range): +20 points
- Minimum Correction Met (user-defined % of BOS range): +15 points
- Valid Correction Duration (minimum bars satisfied): +10 points
- M15 Reversal Confirmed: +10 points
**Rating Grades:**
- A+ Prime: 80-100 points
- A Strong: 65-79 points
- B Good: 50-64 points
- C Fair: 35-49 points
- D Weak: 20-34 points
- F Wait: 0-19 points
## Risk Management Features
**Stop Loss Options:**
1. **Correction Extreme**: Places SL at correction low/high + ATR buffer
2. **ATR Based**: Multiple of ATR from entry price
3. **Fixed Points**: Absolute point value
**Take Profit Options:**
- **R:R Based**: TP1 and TP2 calculated from risk multiple (default: 1:1 and 1.5:1)
- **Fixed Points**: Absolute point values for TP1 and TP2
**Live Trade Tracking:**
- Array-based system stores all active trade parameters
- Monitors price against TP1, TP2, and SL levels every bar
- Updates labels with checkmarks (✓) when targets hit
- Marks trades complete when TP2 or SL triggered
## Dashboard & Visual System
**Real-Time Metrics:**
- Current ICC phase (Scanning, BOS, Correction)
- H1 trend direction (HH/HL pattern detection)
- BOS range size in points
- Correction depth percentage
- Correction bar count vs maximum
- Supply/Demand zone status
- Entry readiness indicator
- Current confluence score and grade
- ATR (14-period)
- Repainting status (always shows "NO")
**Customization:**
- Vertical or horizontal layout
- 9 position options (corners, edges, center)
- 4 size options (tiny to large)
- All visual elements toggleable
## What Differentiates This From Other BOS/Supply-Demand Indicators
1. **True Non-Repainting Logic**: Entry signals evaluate PREVIOUS bar before correction tracking updates
2. **Multi-Condition Confluence System**: 6-component scoring algorithm vs simple yes/no signals
3. **Live Trade Management**: Tracks and updates TP/SL hits in real-time on chart
4. **Adaptive Correction Validation**: Combines time, depth, and momentum filters
5. **Professional Risk Calculation**: Multiple SL/TP methods with live R:R display
6. **Institutional Logic Flow**: Mirrors market maker cycle (BOS → Correction → Continuation)
## Settings Overview
**ICC Core:**
- Swing Lookback: Pivot detection sensitivity (2-20 bars)
- Min BOS Size: ATR multiple for impulse validation (0.3-5.0)
**Correction:**
- Min/Max Correction %: Pullback boundaries (10-100%)
- Max Correction Bars: Time limit for valid pullback (5-50 bars)
- Min Correction Bars: Minimum duration requirement (1-10 bars)
**Entry:**
- Entry Method: 4 trigger types available
- Trade Direction: Long Only, Short Only, or Both
- Require M15 Reversal: Toggle multi-timeframe confirmation
**Risk Management:**
- SL Type: Correction Extreme, ATR Based, or Fixed Points
- TP Type: R:R Ratios or Fixed Points
- Customizable multiples and values
**Visuals:**
- Toggles for all chart elements
- Supply/Demand zone customization
- Label sizing and colors
- Dashboard positioning and layout
## Alerts Available
- Bullish/Bearish BOS detection
- Correction start signals
- Long/Short entry confirmations
- Zone confluence alerts
- Master "Any ICC Event" alert
## Usage Recommendations
**Best Practices:**
1. Use on H1 charts for optimal BOS identification
2. Trade only A or A+ rated setups for highest probability
3. Combine with higher timeframe trend analysis
4. Adjust correction % range based on asset volatility
5. Enable M15 reversal confirmation for conservative approach
6. Use ATR-based SL for adaptive risk management
**Asset Types:**
Designed for trending markets with clear institutional footprints: forex majors, indices, cryptocurrency, commodities.
**Risk Disclaimer:**
This indicator is for educational purposes only and provides technical analysis signals based on price structure and confluence scoring. It does not guarantee profitable trades. Always use proper risk management and never risk more than you can afford to lose.
---
## Why This System?
Traditional BOS indicators fail because they:
- Generate signals on weak breakouts
- Don't validate correction quality
- Lack confluence measurement
- Repaint historical signals
- Ignore multi-timeframe context
ICC Pro addresses all these issues with a systematic, non-repainting approach that mirrors institutional trading behavior.
```
---
**Latest Update (v1.6):**
- Added TP/SL hit confirmation tracking with visual feedback
- Implemented confluence scoring system (0-100 scale with A+ to F ratings)
- Added customizable dashboard with horizontal/vertical layouts
- Enhanced TP/SL label customization (size, colors)
- Refined trade logic to eliminate repainting
- Improved visual elements and signal accuracy
Round Number + Moving Average + Trend Analysis + Bollinger BandsWe are given a very long Pine Script that combines multiple indicators. Let's break down the components and then provide a description.
The script includes:
Bollinger Bands: With configurable length, standard deviation multiplier, source, colors, and line width. The bands are plotted only if the user chooses to show them.
Round Number Levels: This draws three sets of horizontal lines at round number intervals. Each set has its own rounding value, number of lines, colors for above and below the current price, line thickness, and text color for the labels.
Moving Average: This plots six moving averages (MA) of different lengths (5,10,20,50,100,200). Each MA can be set to one of three types (EMA, SMA, SMMA) and has customizable colors for when it is going up, down, or flat.
Trend Analysis Table: A table that shows the trend of each MA (up, down, flat) and a summary of the market condition (like STRONG BULL, BEARISH, etc.) based on the count of MAs in each direction.
Supply Demand System: This is a complex system that identifies supply and demand zones based on swing highs and lows. It also draws boxes for these zones, labels for price action (HH, LH, HL, LL), and marks Break of Structure (BOS) events. Additionally, it draws ITM/OTM levels for options trading (for NIFTY) based on the open price and configurable distances.
The script also includes a zigzag indicator to connect the swing highs and lows.
Given the complexity, the script is designed for TradingView and overlays all these components on the price chart.
Now, let's write a description for this script.
यह एक व्यापक ट्रेडिंग इंडिकेटर है जो कई तकनीकी विश्लेषण टूल्स को एक साथ जोड़ता है। यहां इसका विवरण दिया गया है:
📊 मुख्य विशेषताएं:
1. राउंड नंबर लेवल्स
तीन अलग-अलग राउंड नंबर स्तर (250, 500, 1000)
प्रत्येक स्तर के लिए अलग-अलग रंग, मोटाई और मात्रा
स्वचालित रूप से मौजूदा कीमत के आसपास के स्तर बनाता है
दाईं ओर या दोनों तरफ विस्तार योग्य
2. मूविंग एवरेज सिस्टम
6 अलग-अलग एमए: 5, 10, 20, 50, 100, 200
प्रत्येक एमए के लिए अलग प्रकार (EMA, SMA, SMMA) चुन सकते हैं
ट्रेंड के अनुसार रंग बदलते हैं (हरा = ऊपर, लाल = नीचे, बैंगनी = सपाट)
प्रत्येक एमए के लिए कस्टमाइजेबल रंग
3. ट्रेंड एनालिसिस टेबल
सभी 6 एमए की ट्रेंड स्थिति दिखाता है
बाजार की समग्र स्थिति (STRONG BULL, BEARISH, NEUTRAL, आदि)
बुलिश/बेयरिश प्रतिशत गणना
4 अलग-अलग पोजीशन पर टेबल दिखा सकते हैं
4. बोलिंगर बैंड्स
कस्टमाइजेबल लेंथ और स्टैंडर्ड डेविएशन
रंग और लाइन मोटाई समायोज्य
बैंड्स के बीच फिल कलर
5.सप्लाई-डिमांड सिस्टम
स्विंग हाई/लो के आधार पर सप्लाई और डिमांड जोन
ब्रेक ऑफ स्ट्रक्चर (BOS) लेबलिंग
ITM/OTM ऑप्शन लेवल्स
जिग-ज़ैग लाइन्स
ATR के आधार पर डायनेमिक बॉक्स साइज
🎯 उपयोग के मामले:
समर्थन/प्रतिरोध स्तर: राउंड नंबर स्तर महत्वपूर्ण समर्थन/प्रतिरोध बिंदु दिखाते हैं
ट्रेंड पहचान: कई एमए और ट्रेंड टेबल से ट्रेंड की दिशा पता चलती है
वोलैटिलिटी विश्लेषण: बोलिंगर बैंड्स से वोलैटिलिटी का पता चलता है
सप्लाई-डिमांड जोन: कीमत के संभावित रिवर्सल पॉइंट्स
ऑप्शन ट्रेडिंग: ITM/OTM लेवल्स से ऑप्शन स्ट्राइक चयन में मदद
⚙️ सेटिंग्स:
स्क्रिप्ट को 5 मुख्य सेक्शन में विभाजित किया गया है:
Bollinger Bands Settings
Round Number Levels
Moving Average Settings
Supply Demand Settings
Trend Analysis Settings
📈 विज़ुअल फीचर्स:
कलर कोडिंग सिस्टम
कस्टम लेबल और टेक्स्ट
टेबुलर डिस्प्ले
बॉक्स और लाइन ड्राइंग
डायनेमिक अपडेटिंग
यह इंडिकेटर मुख्य रूप से ट्रेडिंग के लिए डिज़ाइन किया गया है लेकिन किसी भी ट्रेडिंग इंस्ट्रूमेंट पर काम कर सकता है। यह शॉर्ट-टर्म और लॉन्ग-टर्म दोनों ट्रेडर्स के लिए उपयोगी है
CopyPipe Signal Connector🚀 Turn TradingView Alerts into Automatic MetaTrader Trades
Stop copy-pasting signals. This indicator generates **webhook-ready alerts** that execute directly on your MT4 or MT5 — hands-free.
---
### 🎯 How It Works
1. **Add this indicator** to any chart
2. **Set your webhook URL** (from CopyPipe.io) in the alert
3. **Conditions trigger → Trade executes** on MetaTrader automatically
Your TradingView does the analysis. Your MetaTrader does the execution. You do... whatever you want.
---
### 📊 Built-In Strategies
Choose from 4 ready-to-use strategies:
- **RSI Reversal** — Classic oversold/overbought entries
- **EMA Cross** — Trend-following momentum plays
- **Breakout** — Catch support/resistance breaks
- **Custom** — RSI + EMA confluence for filtered entries
Or use this as a **template** and add your own logic.
---
### ⚙️ Features
✅ Webhook-formatted alerts (JSON ready)
✅ Customizable lot size
✅ Built-in SL/TP calculation
✅ Works on any symbol
✅ Clean visual signals on chart
✅ Info panel with live RSI + signal status
---
### 🔗 Setup with CopyPipe (Free Beta)
1. Sign up at **copypipe.io/beta** (free during beta)
2. Download the EA for MT4 or MT5
3. Copy your webhook URL from the dashboard
4. Create an alert on this indicator → paste webhook URL
5. Done. Alerts now auto-trade.
---
### 📝 Alert Message Format
The alerts output clean JSON that CopyPipe understands:
```json
{
"action": "BUY",
"symbol": "BTCUSD",
"lot_size": 0.1,
"sl": 74500,
"tp": 78000
}
```
Works with the free CopyPipe tier. No API coding required.
---
### ⚠️ Risk Disclaimer
This indicator is a **tool**, not financial advice. Backtest thoroughly. Start with small positions. You are responsible for your own trades.
---
### 💬 Feedback Welcome
Drop a comment if you have questions or feature requests. Building this for the community.
**Happy trading!** 🎯
---
ICT KillZones + ICT NY Midnight Open "YECHALALE"This powerful indicator combines:
- Asia, London, NY AM, and NY PM sessions with configurable colors and kill zones.
- Automatic alerts when price touches session kill zone highs or lows.
- NY Midnight Open line, drawn both vertically and horizontally, DST-adjusted to always align with 00:00 New York time.
- Ideal for traders following ICT/Smart Money Concepts, spotting liquidity sweeps, session overlaps, and potential reversal zones.
- Fully customizable to match your trading style.
Liquidity SweepsLiquidity Sweeps identifies price movements where external liquidity is taken above highs or below lows across multiple timeframes. The indicator detects both bullish and bearish sweeps using wick based or full candle logic, allowing traders to observe where stop runs and engineered price moves occur.
The script supports multi timeframe sweep detection, meaning higher or lower timeframe liquidity events can be visualized directly on the current chart. Each sweep is plotted as a horizontal level at the exact price where liquidity was taken, with optional labels indicating the originating timeframe.
Key features include customizable detection modes, flexible visual styling, optional automatic cleanup of invalidated levels, and granular timeframe controls. Broken or reclaimed liquidity levels can be removed automatically to keep the chart clean and focused.
Liquidity Sweeps is designed to be non repaint and works on all assets and timeframes. It is intended as a market structure and context tool, not a standalone trading system. Use it to enhance liquidity analysis, bias formation, and confluence with your existing strategy.
This indicator is provided for educational purposes only and does not constitute financial advice.
Sai & Deb DMISai & Deb DMI with horizontal lines. Existing DMI lines are used and various levels can be drawn between 0 and 100 to see the trend reversals.
Profit Square🔷 Profit Square
Profit Square is a professional-grade technical indicator designed to deliver clean, high-quality trade signals with minimal chart noise. Built for precision and clarity, it helps traders identify structured market opportunities using advanced volatility and trend-based analysis.
🔹 Key Features:
Clean Buy/Sell Signals
Displays only clear visual trade signals (arrows) without cluttered labels or unnecessary text.
Dynamic Volatility Bands
Adaptive price envelopes that respond to changing market conditions, providing better structure and market context.
Trend-Sensitive Core Line
A smart midline that dynamically changes color based on market bias, helping traders quickly identify directional strength.
Advanced Signal Filtering System
Built-in filtering logic reduces noise and avoids repeated signals during sideways or choppy market conditions.
Professional Chart Styling
Smooth fills, adaptive colors, and clean overlays designed for maximum visual clarity and confident decision-making.
Non-Repainting Structure
Signals are generated only on confirmed price action, ensuring reliability and trust in live markets.
🔹 Designed For:
Index trading
Futures & derivatives
Intraday & positional setups
Scalping and swing strategies
Trend-following systems
🔹 Usage:
Profit Square is designed to assist traders in identifying high-probability market opportunities and overall directional bias. It works best when combined with proper risk management, additional confirmation tools, and disciplined trade execution.
🔒 Access & Disclaimer:
Note: Profit Square is a proprietary indicator. Access is restricted and available via invite-only distribution.
Disclaimer: This indicator is for educational and informational purposes only. It does not constitute investment or trading advice. Please consult a SEBI-registered financial or trading professional before taking any trade. Trading is subject to market risk and applicable regulations in your respective country.
TradeX Guru Intraday Scalping SetupThe TradeX Guru Scalping setup is a multivariate analysis system designed to isolate high-probability market vectors by filtering stochastic market noise. Unlike linear indicators that rely on singular data points, this system employs a "Composite Confluence Algorithm" that synthesizes directional bias, momentum magnitude, harmonic cycles, and volumetric deviation into a unified signal output.
This tool is engineered for traders requiring low-latency decision support, featuring automated variance-based risk modeling (Dynamic Stops & Targets) and real-time market telemetry displayed directly on the chart.
Methodology & Underlying Principles This script operates as a Multivariate Decision Engine, synthesizing four distinct dimensions of market data into a single binary output. Instead of relying on raw, lagging signals, the algorithm employs a composite filtering mechanism to isolate high-probability vectors.
1. Trend Basis Cloud (Dual-Filter Smoothing)
Scientific Concept: Low-Pass Signal Filtering.
Description: The system utilizes a dual-period exponential smoothing algorithm to filter out high-frequency market noise (short-term volatility). By analyzing the divergence between the fast and slow smoothing constants, the engine establishes a Directional Bias, ensuring that all subsequent signals are aligned with the dominant low-frequency trend vector.
2. Momentum Force (Volatility-Normalized Vector)
Scientific Concept: Impulse & Magnitude.
Description: Rather than simple price change, this component calculates the "Impulse" of price action relative to its recent volatility envelope. It measures the magnitude of the breakout vector, effectively distinguishing between low-energy "drift" (chop) and high-energy "expansion" (valid trends).
3. Cycle Phase Analysis (Harmonic State Detection)
Scientific Concept: Phase Transition.
Description: Markets move in oscillatory cycles of contraction and expansion. This module detects the specific harmonic phase of the current price action. It acts as a timing gate, validating entries only during the "Early Expansion" phase and suppressing signals during "Peak Saturation" (overbought/oversold extremes), preventing late entries.
4. Volume Flow Z-Score (Statistical Anomaly Detection)
Scientific Concept: Standard Deviation & Gaussian Distribution.
Description: This filter applies statistical normalization to volume data. By calculating the Z-Score (Standard Score) of incoming volume, the system identifies statistically significant deviations from the mean (Institutional Activity) while filtering out activity that falls within standard distribution (Retail Noise).
Key Technical Features
Real-time Market Telemetry: A custom-built Institutional Terminal displays live market states (Expansion vs. Range), bias vectors, and liquidity Z-scores. Includes a responsive "Mobile Mode" for cross-device compatibility.
Variance-Based Risk Modeling: The engine automatically computes a Safety Threshold (Stop Loss) based on local volatility (ATR) and projects 7 distinct Profit Vectors based on a proprietary risk-to-reward ratio.
Modular Visual Engine: A complete toggle system allows operators to enable/disable specific data layers (Signals, Vectors, Paint Bars) to maintain a clean workspace.
State-Change Detection: The system actively monitors for "Polarity Flips" (failed setups), providing immediate visual feedback to exit or reverse positions.
Why is this Invite-Only? This script relies on a proprietary "Black Box" architecture. The specific lookback periods, smoothing constants, and Z-score thresholds have been optimized and hardcoded to ensure statistical integrity. Access is restricted to protect the intellectual property of the algorithm's internal weighting system.
Disclaimer This tool is strictly for educational and quantitative analysis purposes. Past performance is not indicative of future results. This is not financial advice.
Advanced Strategy Template This script is a strategy execution and risk-management template designed to test external indicators under consistent and repeatable conditions.
The script does not generate buy or sell signals internally. All trade entries and exits are driven by a user-supplied indicator through a numeric connector. This design intentionally separates signal generation from trade execution, allowing users to evaluate indicators without rewriting strategy logic.
Purpose and Originality
The purpose of this template is to provide a standardized execution framework rather than a trading methodology.
Instead of embedding a specific signal logic, the script focuses on how trades are managed after a signal occurs. This allows users to:
Benchmark different indicators under identical execution rules
Compare stop-loss and take-profit models objectively
Study the impact of risk constraints on performance
Reduce bias caused by inconsistent trade management
This makes the script suitable for educational testing and experimentation, not for presenting a profitable strategy.
How the Signal Connector Works
The strategy listens to a single numeric data source supplied by an external indicator.
The indicator must output values using the following convention:
1 → open long position
-1 → open short position
0 → no action
Optional:
2 → custom close for long
-2 → custom close for short
The strategy reacts only to these values and ignores all other indicator logic.
Example Connector Code (Indicator Side)
Users must add the following logic to their indicator to make it compatible with this template:
// Strategy Connector
// 1 = Buy
// -1 = Sell
// 0 = No Signal
signal = buySignal ? 1 : sellSignal ? -1 : 0
plot(signal, title="Connector", display=display.none)
buySignal and sellSignal represent the indicator’s own conditions
The connector plot is hidden and used only as a data source
How to Connect the Indicator to the Strategy
Add the indicator (with connector output) to the chart
Add this strategy template to the same chart
Open the strategy’s settings
Set Data source to the indicator’s Connector plot
Configure risk, stop-loss, and take-profit settings as required
The strategy will not execute trades unless a valid connector signal is received.
Execution and Risk-Management Features
This template provides configurable execution modules including:
Position sizing and pyramiding control
Maximum drawdown and intraday loss limits
Consecutive win, loss, and losing-day limits
Stop-loss methods (percent, trailing, ATR, structure-based)
Take-profit models (single target, tiered targets, risk-reward, Fibonacci levels)
Optional breakeven logic
Session-based trading control
All execution logic operates independently of the signal source.
Strategy Properties and Results
Default strategy properties are intentionally conservative and provided only as a demonstration baseline.
Backtest results depend entirely on:
The connected indicator
Market and timeframe selection
User-defined execution parameters
Results shown by this template do not represent a trading edge and should not be interpreted as investment advice.
Intended Use
This script is intended for:
Educational study of trade execution and risk control
Indicator benchmarking under identical execution rules
Exploring how exits and risk constraints influence outcomes
It is not intended to promote or present a standalone trading strategy.
Day High And Low_FaysalThis indicator will help you find out previous day high and low. It works for those who want to use external liquidity strategy to take a trade.
Options Premium Decay (Paisa Algo)Title: Options Premium Decay Analyzer
Description:
This indicator is designed to analyze and visualize the intraday premium decay of option contracts for a specific underlying asset. By aggregating price changes across a user-defined range of strike prices, it provides a comprehensive view of how Call (CE) and Put (PE) premiums are eroding relative to the session open.
This tool is particularly useful for option sellers and traders looking to understand the aggregate behavior of premiums, identifying whether Calls or Puts are losing value faster at any given moment.
Key Features:
Aggregate Decay Visualization: Displays the cumulative price change (since the daily open) for a customized range of Call and Put strikes. The output is plotted as candles, allowing you to see the volatility and trend of premium decay.
Multi-Strike Logic: Instead of tracking a single contract, this script aggregates data from a user-defined range of strikes (Start Strike to End Strike), providing a broader market sentiment analysis.
ATM Decay Table: Includes an on-chart table that dynamically calculates and displays the specific decay values for the strikes nearest to the current At-The-Money (ATM) price.
Smart Caching System: Utilizes a custom caching mechanism to efficiently handle multiple request.security calls, ensuring stability and performance even when tracking multiple strikes.
Visual Signals:
Decay Cross: Marks points where the aggregate Call decay crosses the Put decay, potentially indicating a shift in momentum.
Below Zero: Highlights periods where both Call and Put premiums have dropped significantly below their opening values.
How to Use:
Symbol & Expiry: Enter the underlying symbol (e.g., NIFTY) and the specific Expiry Date for the contracts you wish to analyze.
Strike Configuration: Set the Start Strike and End Strike to cover the range you satisfy (e.g., 25900 to 26100) and specify the Strike Difference (e.g., 100).
Interpretation:
Green Candles represent the aggregate behavior of Call premiums.
Red Candles represent the aggregate behavior of Put premiums.
When the Green line is below the Red line, it generally indicates that Call premiums are decaying (losing value) faster than Puts options.
Disclaimer:
This tool is for educational and analytical purposes only. It does not provide financial advice, buy/sell signals, or guarantee profits. Option premiums are subject to various factors including volatility (IV), time to expiry (Theta), and underlying price movement (Delta). The data displayed depends on the availability of historical data for the specific option contracts provided by your data feed. Always perform your own analysis and risk management.






















