KJ Sessions : Asia/London/US + OverlapKJ Sessions : Asia/London/US + Overlap. times are set as per dubai time. Pine Script® 인디케이터khurram4110의8
TRIZONACCI_Mean reversal_signalsMarket State Engine Deterministic Confidence-Scoring System for TradingView A professional-grade PineScript v5 indicator that scores market conditions from 0-100, helping traders identify high-quality trading opportunities through systematic structure analysis, VWAP positioning, order flow dynamics, and time-based context. 🎯 Overview The Market State Engine is not a trading bot—it's a noise-reduction and opportunity-ranking system designed to filter market conditions and surface only the highest-quality setups. Instead of blindly taking every signal, this indicator: ✅ Scores market conditions objectively (0-100 scale) ✅ Filters out low-probability setups automatically ✅ Classifies opportunities into A, A+, and A++ grades ✅ Alerts only on confirmed structure shifts with supporting context ✅ Keeps the human in control - provides intelligence, not automation Philosophy: Reduce Noise. Enforce Discipline. Surface Quality. 🚀 Key Features Deterministic Scoring - No black boxes, fully explainable logic Multi-Factor Analysis - Combines 4 independent market state components Structure-First Approach - Only alerts on confirmed pivot breaks VWAP Mean Reversion Logic - Directional filtering based on VWAP zones Order Flow Proxy - CVD divergence and confirmation detection Session-Aware Scoring - Prioritizes high-volume New York sessions Alert De-Duplication - One alert per unique structure shift Zero Repainting - Uses confirmed pivots only (left=2, right=2) Fully Configurable - All parameters exposed as inputs Visual Feedback - VWAP bands, setup labels, and real-time score panel 📊 Scoring System (0-100) The Market State Engine evaluates four independent components, each contributing up to 25 points for a maximum total score of 100. 🎯 Component Breakdown Component Max Points Description VWAP Context 25 Measures price deviation from session VWAP Structure Shift 25 Confirms pivot breakout (HARD GATE) CVD Alignment 25 Detects order flow divergence/confirmation Time-of-Day 25 Identifies high-probability trading sessions 1️⃣ VWAP Context (Max 25 Points) Purpose: Identifies extreme price deviations from fair value for mean-reversion opportunities. VWAP (Volume-Weighted Average Price) is calculated session-anchored to New York market time, with standard deviation bands creating zones of opportunity. Band Structure: 1st Band: ±1σ from VWAP (fair value zone) 2nd Band: ±2σ from VWAP (moderate deviation) 3rd Band: ±3σ from VWAP (extreme deviation) Scoring Logic (Exclusive): Price in 3rd VWAP Band (>2σ and ≤3σ) → +25 points Price in 2nd VWAP Band (>1σ and ≤2σ) → +15 points Otherwise (inside 1σ or beyond 3σ) → 0 points Key Insight: The further price stretches from VWAP, the higher the probability of mean reversion. 2️⃣ Structure Shift (Max 25 Points) — HARD GATE Purpose: Confirms momentum shift through confirmed pivot breakouts. ⚠️ CRITICAL: Structure shift is mandatory. If no valid structure shift occurs, the total score becomes 0 regardless of other factors. Detection Method: Uses TradingView's ta.pivothigh() and ta.pivotlow() functions with locked parameters: Left bars: 2 Right bars: 2 Source: Configurable (Wick or Body) Break confirmation: Candle close only Bullish Structure Shift: ✅ Prior swing high exists (confirmed pivot) ✅ Current candle closes above swing high + tick buffer ✅ Must occur in VWAP 2nd or 3rd band ✅ VWAP Filter: Price must be at or below VWAP (lower bands) Bearish Structure Shift: ✅ Prior swing low exists (confirmed pivot) ✅ Current candle closes below swing low - tick buffer ✅ Must occur in VWAP 2nd or 3rd band ✅ VWAP Filter: Price must be at or above VWAP (upper bands) Scoring: Valid structure shift → +25 points No structure shift → Total score = 0 Tick Buffer: Default 5 ticks (configurable) - prevents false breaks from minor price noise. 3️⃣ CVD Alignment (Max 25 Points) Purpose: Detects institutional order flow through volume delta analysis. CVD (Cumulative Volume Delta) is a proxy for order flow: Close > Open → +Volume (buying pressure) Close < Open → -Volume (selling pressure) Scoring Logic: Condition Points Description Divergence +25 Price makes higher high + CVD makes lower high (bearish) Price makes lower low + CVD makes higher low (bullish) Confirmation +20 Price and CVD both make higher highs or lower lows Neutral 0 No clear divergence or confirmation Lookback Window: Last 20 bars (configurable) - prevents stale divergences. Key Insight: Divergences suggest weakening momentum, while confirmations validate the trend. 4️⃣ Time-of-Day Context (Max 25 Points) Purpose: Prioritizes high-volume, high-volatility New York sessions. Scored Sessions (America/New_York timezone): Session Time Range (NY) Points Description Pre-Market 03:00 - 04:00 +25 Early liquidity injection Market Open 09:30 - 11:30 +25 Highest volume period Off-Hours All other times 0 Lower probability setups Key Insight: Structure shifts during active sessions have higher follow-through probability. 🏆 Setup Classification Setups are graded based on total score thresholds (configurable): Grade Score Range Typical Components Quality Level A++ Setup ≥90 All 4 factors aligned (VWAP 3rd band + Structure + CVD + Session) Premium - Rare A+ Setup ≥75 Structure + VWAP + CVD or Session (3 of 4 factors) High - Select A Setup ≥60 Structure + VWAP + Session (Minimum viable setup) Good - Regular No Grade <60 Insufficient confluence Filtered out Default Thresholds: A Setup: 60 points A+ Setup: 75 points A++ Setup: 90 points 📥 Installation Step 1: Download the Indicator Download the market_state_engine.pine file from this repository. Step 2: Add to TradingView Open TradingView Open the Pine Editor (bottom panel) Click "New" → "Blank indicator" Delete all default code Paste the contents of market_state_engine.pine Click "Add to Chart" Step 3: Configure for Your Symbol Click the gear icon next to the indicator name Adjust Tick Size for your instrument: ES futures: 0.25 NQ futures: 0.25 Stocks: 0.01 Save settings ⚙️ Configuration Symbol Settings Parameter Default Description Tick Size 0.25 Minimum price movement for your symbol Tick Buffer Count 5 Ticks beyond swing for valid break VWAP Settings Parameter Default Description VWAP Band 1 (σ) 1.0 1st standard deviation multiplier VWAP Band 2 (σ) 2.0 2nd standard deviation multiplier VWAP Band 3 (σ) 3.0 3rd standard deviation multiplier Session Settings Parameter Default Description Session 1 0300-0400 Pre-market window (NY time) Session 2 0930-1130 Market open window (NY time) Score Thresholds Parameter Default Description A Setup Threshold 60 Minimum score for A grade A+ Setup Threshold 75 Minimum score for A+ grade A++ Setup Threshold 90 Minimum score for A++ grade CVD Settings Parameter Default Description CVD Divergence Lookback 20 Maximum bars for divergence detection Swing Settings Parameter Default Options Description Swing Detection Method Wick Wick / Body Use high/low or open/close for pivots Visual Settings Parameter Default Description Show VWAP Bands ✅ Display VWAP and standard deviation bands Show Setup Labels ✅ Display setup markers on chart Show Score Panel ✅ Display real-time score breakdown 📖 How to Use Step 1: Apply to 1-Minute Chart ⚠️ The indicator is locked to 1-minute timeframe - do not use on other timeframes. Step 2: Understand the Visual Signals Setup Labels Green Triangle (▲) - Bullish (Long) setup detected Red Triangle (▼) - Bearish (Short) setup detected Label shows Grade (A/A+/A++) and Total Score VWAP Bands Yellow Line - Session VWAP (fair value) Blue Bands - ±1σ (fair value zone) Purple Bands - ±2σ (moderate deviation) Red Bands - ±3σ (extreme deviation) Score Panel (Top Right) Real-time breakdown of all four components: Component Score VWAP Zone 15/25 Structure 25/25 CVD 20/25 Session 25/25 TOTAL 85/100 (A+) Step 3: Interpret Signals Valid Long Setup: ✅ Green triangle below candle ✅ Price in lower VWAP bands (below VWAP) ✅ Structure shift breaks swing high ✅ Score ≥60 Valid Short Setup: ✅ Red triangle above candle ✅ Price in upper VWAP bands (above VWAP) ✅ Structure shift breaks swing low ✅ Score ≥60 Step 4: Set Up Alerts (See Alert Conditions section) 🚦 Signal Filters (VWAP Zone Logic) The indicator uses directional VWAP filtering to prevent counter-trend signals: Long Signals (Green) Only allowed when price is AT or BELOW VWAP ✅ Lower 2nd band (-2σ to -1σ) ✅ Lower 3rd band (-3σ to -2σ) ✅ At VWAP exactly ❌ BLOCKED in upper bands (above VWAP) Logic: Longs when price is stretched below fair value (mean reversion) Short Signals (Red) Only allowed when price is AT or ABOVE VWAP ✅ Upper 2nd band (+1σ to +2σ) ✅ Upper 3rd band (+2σ to +3σ) ✅ At VWAP exactly ❌ BLOCKED in lower bands (below VWAP) Logic: Shorts when price is stretched above fair value (mean reversion) 🎨 Visual Elements Chart Overlays Element Color Description VWAP Line Yellow Session-anchored fair value ±1σ Bands Blue Fair value zone (no score) ±2σ Bands Purple Moderate deviation (15 pts) ±3σ Bands Red Extreme deviation (25 pts) Swing Highs Red ▼ Confirmed pivot highs Swing Lows Green ▲ Confirmed pivot lows Session Background Light Green Active high-value session Setup Labels Bullish Setup: A+ ▲ 75 Green label below candle, shows grade and score Bearish Setup: A++ ▼ 90 Red label above candle, shows grade and score Score Panel Real-time table in top-right corner: Individual component scores (0-25 each) Total score (0-100) Current setup grade (A/A+/A++) Updates in real-time as market conditions change 🔔 Alert Conditions Setting Up Alerts Method 1: Built-in Alert Conditions Click "Create Alert" in TradingView Select Market State Engine as condition Choose alert type: Bullish Setup - Long signals only Bearish Setup - Short signals only Any Setup - All signals Set to "Once Per Bar Close" Configure notification method (app, email, webhook) Method 2: Custom Alert Message Alert messages include full breakdown: A+ Setup Detected (Score: 85) Components: VWAP(25) + Structure(25) + CVD(20) + Time(15) CVD State: Confirmation Direction: Long Timeframe: 1m Alert Behavior ✅ One alert per unique pivot break - no spam ✅ Fires on candle close only - no repainting ✅ Minimum score filter - only A grade or higher (≥60) ✅ Direction-specific - separate bullish/bearish conditions ⚠️ No cooldown between different pivots - multiple alerts per session allowed if different swing levels break 🔧 Technical Details Timeframe Lock Required: 1-minute chart only Reason: Scoring model calibrated for 1m micro-structure Future: Multi-timeframe support planned for v2 Timezone Configuration Hard-coded: America/New_York Session Detection: Uses TradingView's native session functions Consistency: All time-based logic uses NY timezone Swing Detection Parameters Locked to specification: ta.pivothigh(source, left=2, right=2) ta.pivotlow(source, left=2, right=2) Implications: Pivots confirmed 2 bars after formation No repainting - historical pivots don't move 4-bar minimum swing structure (2 left + pivot + 2 right) VWAP Calculation Type: Session-anchored (resets daily) Source: Typical price (high + low + close) / 3 Weighting: Volume-weighted Standard Deviation: True population standard deviation CVD Proxy Formula barDelta = close > open ? volume : close < open ? -volume : 0 CVD = cumulative sum of barDelta (session-reset) Performance Limits Max Labels: 500 (TradingView limit) Max Bars Back: 500 Memory: Lightweight - uses only essential variables 💡 Best Practices 1. Use as a Filter, Not a Strategy ❌ Don't: Blindly take every signal ✅ Do: Use score as confluence for your existing analysis 2. Higher Grades = Better Probability A Setups (60-74): Regular opportunities, still require discretion A+ Setups (75-89): High-quality, multiple factors aligned A++ Setups (90-100): Rare premium opportunities, strongest edge 3. Respect the VWAP Zone Filter The indicator automatically blocks: Longs in upper VWAP bands (counter-trend) Shorts in lower VWAP bands (counter-trend) Trust this logic - it enforces mean reversion discipline. 4. Monitor the Score Panel Watch which components are scoring to understand why a setup formed: Missing CVD score? → No order flow confirmation Missing Time score? → Outside high-volume sessions Low VWAP score? → Weak deviation from fair value 5. Combine with Risk Management The indicator provides opportunity scoring, not position sizing: Use stop losses based on swing structure Scale position size with setup grade (larger on A++, smaller on A) Set profit targets at VWAP or opposing band 6. Session Awareness Prioritize signals during active sessions: 03:00-04:00 NY: Pre-market momentum 09:30-11:30 NY: Highest volume, tightest spreads Off-hours signals (0 time score) are lower probability but still valid if other factors strong. 7. Understand the Hard Gate If no structure shift occurs: Total score = 0 No alerts fire Other components irrelevant Why? Structure shift confirms momentum change - without it, there's no tradable opportunity. 8. Avoid Over-Optimization Default settings are well-calibrated: Don't chase "perfect" parameters Test changes on historical data before live use Document any modifications 9. Leverage Alert De-Duplication The indicator prevents spam automatically: One alert per unique swing break New swing levels = new alerts No need to manually filter notifications 10. Supplement with Price Action Use the indicator alongside: Support/resistance levels Order flow footprint charts Volume profile Market internals (breadth, TICK, etc.) 📚 Example Scenarios Example 1: A++ Premium Setup (Score: 95) Price: In lower 3rd VWAP band (-2.8σ) → VWAP: 25 pts Structure: Close breaks swing high → Structure: 25 pts CVD: Price LL + CVD HL (bullish div) → CVD: 25 pts Time: 10:15 AM NY (market open) → Time: 25 pts Direction: LONG (price below VWAP) → Valid Grade: A++ (95/100) Interpretation: All factors aligned - premium mean-reversion long opportunity. Example 2: A+ Strong Setup (Score: 80) Price: In upper 2nd VWAP band (+1.5σ) → VWAP: 15 pts Structure: Close breaks swing low → Structure: 25 pts CVD: Price HH + CVD LH (bearish div) → CVD: 25 pts Time: 2:00 PM NY (off-hours) → Time: 0 pts Direction: SHORT (price above VWAP) → Valid Grade: A+ (65/100) Interpretation: Strong setup despite off-hours, bearish divergence adds confidence. Example 3: Filtered Setup (Score: 0) Price: In upper 3rd VWAP band (+2.5σ) → VWAP: 25 pts (if allowed) Structure: Close breaks swing high → Structure: BLOCKED CVD: Price HH + CVD HH (confirmation) → CVD: 20 pts (if allowed) Time: 10:00 AM NY → Time: 25 pts (if allowed) Direction: LONG (price ABOVE VWAP) → ❌ INVALID ZONE Grade: None (0/100) - NO ALERT Interpretation: VWAP filter blocked long signal in upper band - prevents counter-trend trade. 🛠️ Troubleshooting No Signals Appearing ✅ Verify you're on 1-minute chart ✅ Check Tick Size matches your symbol ✅ Ensure VWAP Bands are visible ✅ Wait for confirmed pivots (requires at least 5 bars of history) Alerts Not Firing ✅ Confirm alert is set to "Once Per Bar Close" ✅ Check score threshold (must be ≥60 by default) ✅ Verify VWAP zone filter isn't blocking signals ✅ Check that structure shift is actually occurring Score Always Zero ✅ No structure shift detected (hard gate active) ✅ Price may not be in valid VWAP zone (2nd or 3rd band) ✅ Insufficient swing history (wait for pivots to form) Too Many/Too Few Signals Too many signals: Increase A Setup Threshold (e.g., 70 instead of 60) Increase Tick Buffer Count (reduces false breaks) Too few signals: Decrease A Setup Threshold (e.g., 50 instead of 60) Decrease Tick Buffer Count (more sensitive to breaks) 📜 License This indicator is provided under the Mozilla Public License 2.0. 🤝 Credits Developed as a professional trading tool for systematic opportunity identification. Philosophy: Reduce noise. Enforce discipline. Keep the human in control. 📞 Support For questions, issues, or feature requests, please consult: This README documentation The specification document (pinescript_market_state_engine_spec.docx) Inline code comments in market_state_engine.pine 🔄 Version History v1.0 (Current) Initial release 4-component scoring model (VWAP + Structure + CVD + Time) VWAP zone directional filtering Alert de-duplication Configurable inputs Real-time score panel Session-aware logic 🎓 Understanding the Numbers Quick Reference Card Score Range Grade Quality Typical Use 90-100 A++ Premium Highest conviction trades 75-89 A+ High Strong probability setups 60-74 A Good Acceptable with discretion 0-59 None Filtered Skip or wait for confluence Component Contribution Examples Minimum A Setup (60 points): Structure (25) + VWAP 3rd band (25) + Time (25) = 75 ✅ Typical A+ Setup (75 points): Structure (25) + VWAP 2nd band (15) + CVD confirm (20) + Time (25) = 85 ✅ Maximum A++ Setup (100 points): Structure (25) + VWAP 3rd band (25) + CVD divergence (25) + Time (25) = 100 ✅ 🎯 Final Reminder This is NOT a trading bot. This is NOT financial advice. This is a decision-support tool. Always: ✅ Use proper risk management ✅ Understand the logic before trading ✅ Backtest on your symbols ✅ Keep the human in control Happy Trading! 📈Pine Script® 인디케이터TC_BE의4
SWING ATR BasedWhat does this indicator do? 1. It identifies Market Swings The script monitors price action to detect when a trend changes direction. It uses ATR (Average True Range) to measure volatility, ensuring it doesn't get tricked by small, insignificant price movements. To validate a change in direction (from bullish to bearish, or vice versa), it waits for the price to cover a specific distance (defined by the kRange parameter) and requires at least two significant candles. 2. It plots Support and Resistance zones As soon as a new high or low point is confirmed: In Green (Bull): It draws a support line at the level of the last low. In Red (Bear): It draws a resistance line at the level of the last high. Auto-Cleaning: If the price breaks through a support line, the line turns gray and stops. The script only keeps active (unbroken) levels on the screen. 3. It calculates an "SGE Score" (Market State) This is the "brain" of the script. It assigns a rating to the current trend: +2 (Bullish): The price has broken a resistance. -2 (Bearish): The price has broken a support. 0 (Neutral): The market is indecisive (for example, after a break that contradicts the previous one). Key Feature: This score has a "one-candle delay." It waits for the next candle to close before confirming a score change, which helps avoid reacting too quickly to false alerts. 4. It simplifies visual reading To keep your chart clean and readable: It only highlights the 3 levels closest to the current price (those most likely to be hit soon). It colors the chart candles directly: Green if the score is +2, Red if the score is -2, and Gray if it is neutral. 5. Dashboard In the top-right corner of your screen, it displays a permanent summary: The current score (-2, 0, or 2). The number of active supports and resistances. Summary: This is a "smart" trend detector. Instead of just looking at whether the price is going up or down, it waits for the price to break important structural levels (confirmed by volatility) to tell you: "Caution, the structure has just shifted from bullish to bearish." Recommended Settings: kRange: 1.3 / 1.4 ATR Mult: 0.3 to 0.5 Script created with Claude AI.Pine Script® 인디케이터maximesuty3의454
High Volume S/R + VPA Entries + Broken Level Cleanup High Volume S/R + VPA Entries + Broken Level Cleanup Pine Script® 인디케이터kazootrades의539
TSLA Cycle Timing - 122-Day Reversal Map (Adaptive Framework)This indicator is a timing map built specifically for Tesla (TSLA) on the Daily chart. It plots a repeating set of vertical, color-coded timing markers inside a 122-bar cycle (commonly treated as ~122 trading days on the Daily timeframe). These markers highlight reversal “zones”—areas where TSLA has historically shown a tendency to pivot from high-to-low and low-to-high within the cycle. The script includes: 23 TSLA-derived set points (Points 1–23): the core timing map used to mark the most repeatable reversal areas. Two optional “Inversion Points” (INV A / INV B): manual markers you can enable when TSLA’s high/low sequence appears to flip due to a structural deviation. One additional optional marker (OPT C) for user customization. This is not an auto-buy/sell system. It is a cycle-structure framework designed to help you anticipate when a reversal is more likely to occur, so you can combine it with your own confirmation tools (price action, trend context, support/resistance, volume, etc.). Definitions (How this script interprets highs/lows) In the context of cycle mapping: A High Point is the highest price reached between two neighboring high pivots. A Low Point is the lowest price reached between two neighboring low pivots. The vertical lines are timing markers, not “guaranteed pivot candles.” Price may top/bottom slightly before or after a line. That’s why the script includes an optional ± window (in bars) to visualize a small tolerance zone around each marker. How it works (Conceptually) The script defines a repeating cycle length (default 122 bars). Inside each cycle, each point has an offset measured in bars from the cycle start. For every cycle instance (past, current, and optional future cycles), the script draws: a vertical dotted line at each enabled point offset optional ± window bands around the line optional labels (numbers for set points and “INV” labels for inversion points) Because this is a Tesla-specific map, the default offsets for Points 1–23 are preconfigured based on TSLA’s observed structure, and the remaining optional points are user-controlled. How to Use (Important) 1) Use the Daily chart first This model is designed around TSLA’s Daily cycle behavior. Start with: Symbol: TSLA Timeframe: 1D If you use other timeframes, the cycle “tempo” can change and may require different offsets. 2) Identify the cycle start (anchor) Cycle mapping depends on where the current cycle is anchored. Use “Bars Back to Current Cycle Start” to shift the cycle start so that the script’s point sequence aligns with your most recent known cycle beginning. Once aligned, the points should repeat near each 122-bar interval. 3) Read the vertical markers as reversal zones The colored vertical lines represent areas where reversals have historically occurred, not a promise that price must reverse exactly on the line. A practical approach: Use the marker as a “heads-up” zone Wait for confirmation (trend break, candle structure, momentum shift, key level reaction, etc.) 4) Understand “set points” vs “Inversion Points” Set Points (1–23) These are the primary TSLA reversal zones that tend to recur within the 122-bar structure. Specific numbered points often appear near the same relative position inside each cycle. Inversion Points (INV A / INV B) Occasionally, TSLA’s cycle behavior can flip—meaning the expected high-to-low (or low-to-high) progression temporarily swaps order. This is what I refer to as an inversion. When you see a cycle behaving “backwards” relative to the usual sequence: Enable INV A and/or INV B Place their offsets at the bar locations where the flip becomes obvious Use these markers as manual annotations so your cycle notes stay consistent even when TSLA deviates from its typical rhythm These inversion markers do not force the script to predict a flip—they allow you to document it cleanly. 5) Use the ± Window Bands to manage real-world variance Markets don’t pivot on perfect timestamps. If a reversal tends to happen “around” a point: Enable ± Window Bands Set Window ± Bars (commonly 1–3 bars on 1D) This gives a realistic visual tolerance zone around each timing marker. Settings Guide (Practical) Cycle Length (bars): 122 (TSLA Daily baseline) Lookback Bars: increase to study more history, decrease for performance Future Cycles: use sparingly; future markers are guidance zones, not guarantees Past Cycles: Lines Only: recommended ON for stable performance Labels at Top: helps keep the chart clean and readable Final Notes / Limitations This is a historical timing framework designed to map TSLA’s repeating reversal structure. It helps estimate when reversal pressure tends to appear, but it does not replace risk management or confirmation. Cycle behavior can stretch, compress, or invert during unusual volatility regimes—hence the inclusion of optional inversion markers.Pine Script® 인디케이터Dinjin의2
Bar Count & EMABar Count & EMA Indicator A clean and lightweight indicator designed for intraday price action traders. Features: 1. Bar Count Displays bar numbers only on 3-minute and 5-minute timeframes Works during Regular Trading Hours (RTH) only Shows bar 1 and multiples of 3 (3, 6, 9, 12, 15...) Color-coded for key bars: Bar 18 & 48 (Red), Bar 6 (Light Green), Multiples of 12 (Sky Blue), Others (Gray) 2. EMA 20 Simple 20-period Exponential Moving Average Customizable source, length, offset, and color Why these specific timeframes? 5-Minute Chart (US Markets): Bar 6, 12, 18, 24... represent 30-min, 1-hour, 1.5-hour intervals Bar 18 and 48 often mark significant intraday turning points Best for: ES, NQ, SPY, QQQ 3-Minute Chart (China A-Share Markets): Bar 10, 20, 30... represent 30-min, 1-hour, 1.5-hour intervals Designed for CSI 1000 Index Futures (IM) and other China futures Helps track the 4-hour trading session rhythm (9:30-11:30, 13:00-15:00) Why Bar Count Matters: Tracking bar numbers helps traders identify market rhythm, timing cycles, and potential reversal zones throughout the trading session.Pine Script® 인디케이터JimmC98의5
BTC Accum/Dist BUY SELL PRO(ZeeShan)BTC Accum/Dist BUY SELL PRO is a volume-based indicator designed for Bitcoin. It uses Accumulation/Distribution with EMA cross and trend slope to highlight smart-money buying and selling zones, showing clear BUY/SELL arrows, trend background, and alerts.Pine Script® 인디케이터s3220588068의9
Trend Double Pullback [Stable 20]v1.0Trend Double Pullback Trend Double Pullback Trend Double Pullback Trend Double Pullback Trend Double Pullback Trend Double Pine Script® 인디케이터puduxbt의23
Previous Day Range MarkerThis indicator highlights the high and low of the last confirmed candle on the current timeframe and optionally displays the range of the previous trading day (Daily) on lower timeframes. It also calculates and shows the candle range in percent, helping traders quickly assess volatility and higher-timeframe context. All levels are plotted forward into the future and can be individually enabled or disabled. Pine Script® 인디케이터tollertyp_md의10
StO Price Action - Impulse CandleShort Summary - Highlights impulse candles based on relative momentum - Compares current or previous closed candles against prior price movement - Uses a configurable momentum factor to filter significant impulses - Designed to make strong directional candles visually stand out Full Description Overview - Identifies impulse candles with strong momentum - Focuses on candle-to-candle expansion rather than trend or structure - Intended to visually emphasize moments of acceleration in price - Works as a complementary tool to price action and volatility analysis Impulse Candle Logic - Impulse candles are detected by comparing the current candle range to previous candles - A candle is considered an impulse when its range exceeds prior movement by a defined factor - The comparison basis can be (current forming Candle, previous fully closed Candle) Momentum Factor - The momentum factor defines how much stronger a candle must be compared to earlier candles - Higher values filter out smaller moves and highlight only extreme impulses - Lower values allow more frequent impulse detection - Helps adapt the indicator to different instruments and volatility regimes Range Calculation - Two range calculation modes are available: - Open / Close (Body range): - Measures body-based momentum - Focuses on directional conviction - High / Low (Candle range): - Measures full volatility expansion - Includes wicks and intrabar extremes Visualization - Impulse candles are highlighted using a customizable bar color - Designed to remain minimal and unobtrusive Alerts - Optional alert can be enabled after detected impulse candles - Useful for monitoring momentum shifts without constant screen time Usage - Suitable for breakout detection and momentum confirmation - Helps identify volatility expansion phases - Can be used for entry timing or trade management Notes - This indicator does not predict direction on its own - Impulse candles may occur in both trending and ranging markets - Best used in combination with structure, levels or higher-timeframe context - Momentum thresholds should be adjusted per market and timeframe Pine Script® 인디케이터sto_svc의업데이트됨 8
StO Price Action - Daily Outside BarShort Summary - Outside Bar indicator with multiple range calculation algorithms - Highlights where the current range fully engulfs the previous - Works with Daily candles in Daily, H4, and H1 timeframes only - Highlights the current bar when it engulfs the previous bar according to the selected method Full Description Overview - Identifies bars where the current period's range fully engulfs the prior period's range - Offers three algorithms for defining the engulfing range: - High/Low: uses absolute high and low values - Open/Close: considers candle direction (bull/bear) and compares opens and closes - Open/Close II: stricter version with exclusive inequalities for engulfing - Engulfing behavior is detected automatically and highlighted for easy recognition - Works on multiple markets but restricted to D, H4, and H1 charts for accuracy Controls - Year lookback (YLB) configurable to filter older bars - Custom background color for highlighting Outside Bars - Simple toggle interface with minimal chart clutter Visual Representation - Highlights engulfing bars with configurable background color - Color transparency adjustable for clarity Usage - Use to identify strong market momentum or potential reversals - Helps spot high-probability setups based on engulfing price action Notes - Only compatible with Daily, H4, and H1 timeframes - Non-repainting: once an Outside Bar is drawn, it will not adjust retroactively - Best used as a market structure reference not a direct trade signalPine Script® 인디케이터sto_svc의업데이트됨 12
Anhnga4.0 - Filter ToggleINPUTS: 1.5 0.8 (OR 1.6 0.5/0.6) BE=0.45 1 MAs: 35 135 7 This Pine Script code defines a trading strategy named **"Anhnga4.0 - Filter Toggle"**. It is a trend-following strategy that uses momentum oscillators and moving averages to identify entries, while featuring a specific "Overextension Filter" to avoid buying at the top or selling at the bottom. Here is a breakdown of how the script works: --- ## 1. Core Trading Logic (The Entry) The strategy looks for a "perfect storm" of three factors before entering a trade: * **Momentum (WaveTrend):** It uses the WaveTrend oscillator (`wt1` and `wt2`). * **Long:** A bullish crossover happens while the oscillator is below the zero line (oversold). * **Short:** A bearish crossunder happens while the oscillator is above the zero line (overbought). * **Trend Confirmation:** The price must be on the "correct" side of three different lines: the 20-period Moving Average (BB Basis), the 50-period SMA, and the 200-period SMA. * **The Window:** You don't have to enter exactly on the cross. The `Signal Window` allows the trade to trigger up to 4 bars after the momentum cross, provided the trend filters align. ## 2. The "Overextension" Filter This is a unique feature of this script. It calculates the distance between the current price and the **50-period Moving Average**. * If the price is too far away from the MA (defined by the **ATR Limit**), the script assumes the move is "exhausted." * If `Enable Overextension Filter?` is on, the strategy will skip these trades to avoid "chasing the pump." * **Visual Cue:** The chart background turns **purple** when the price is considered overextended. --- ## 3. Risk Management & Exit Strategy The script manages trades dynamically using Bollinger Bands and Risk:Reward ratios: | Feature | Description | | --- | --- | | **Stop Loss (SL)** | Set at the **Lower Bollinger Band** for Longs and **Upper Band** for Shorts. | | **Take Profit (TP)** | Calculated based on your **RR Ratio** (default is 2.0). If your risk is $10, it sets the target at $20 profit. | | **Breakeven** | A "protection" feature. Once the price moves in your favor by a certain amount (the `Breakeven Trigger`), the script moves the Stop Loss to your entry price to ensure a "risk-free" trade. | --- ## 4. Visual Elements on the Chart * **Green Lines:** Your target price (TP). * **Red Lines:** Your initial Stop Loss. * **Yellow Lines:** Indicates the Stop Loss has been moved to **Breakeven**. * **Purple Background:** High alert—price is overextended; trades are likely being filtered out. --- ## Summary of Settings * **BB Multiplier:** Controls how wide your initial stop loss is. * **ATR Limit:** Controls how sensitive the "Overextension" filter is (higher = more trades allowed; lower = stricter filtering). * **Breakeven Trigger:** Set to 1.0 by default, meaning once you are "1R" (profit equals initial risk) in profit, the stop moves to entry. Pine Script™ 전략ngamei2912의26
VWAP Enhanced (Visual Feedback)This is the standard Volume-Weighted Average Price (VWAP) indicator, with the addition of an adjustable anchored time point. This modification aligns with the objective of analyzing price action relative to a specific subsequent event.Pine Script® 인디케이터cinderrazor의26
ICT 7/8/9am lines NY session + 7.30/8.30/9.30 linesThis script show the 7, 8, 9 AM NY session lines, together with the 7.30, 8.30 and 9.30AM lines, like ICT teaches in the 2024 Mentorship, lesson 2. Feel free to use it!Pine Script® 인디케이터DickdaleTV의13
Multi-Timeframe EMA-VWAP EntryTrend Following strategy. Based on Exponential moving averages and Volume weighted average price. Good for trending instruments on day trading basisPine Script® 인디케이터viral_sardara의9
ICT Power of 3 identify the high-probability Power of 3 pattern by analyzing price behavior rather than just specific times of day. It focuses on how the market builds, traps, and then expands. 1. Accumulation (The Setup) Logic: The script monitors volatility using the Average True Range (ATR). When volatility drops below its recent average, the script recognizes that orders are being "accumulated." Visual: A Blue Dotted Box appears. This marks the equilibrium zone where buy and sell side liquidity is being engineered above and below the high/low of the range. 2. Manipulation (The Trap) Logic: The script looks for a "Sweep." This is defined as price moving outside the blue accumulation box but failing to sustain that move. In the video, this is the "Judas Swing" or false breakout. Visual: A Red Diamond appears above or below the bar. This signals that the script has detected a liquidity grab—essentially, the market has "tricked" breakout traders into the wrong side of the market. 3. Distribution (The Expansion) Logic: This is identified through Displacement. The script calculates the average candle body size. When a candle appears that is significantly larger (based on your Displacement Multiplier), it confirms that "Smart Money" has entered the market. Visual: A Green Triangle appears. This marks the start of the distribution phase, which is the "meat" of the move where you want to be positioned.Pine Script® 인디케이터day_trade_mind의39
Look-back Value V1新增 MA10 與 MA120 的計算、繪圖、表格顯示。 新增 table_pos 參數,可選擇表格顯示位置(top_left, top_right, bottom_left, bottom_right)。 所有 table.cell 改用 具名參數 text_color,避免誤判成 width。 這樣你就能靈活選擇表格位置,並同時觀察 MA5、MA10、MA20、MA60、MA120、MA240 的扣抵分析。Pine Script® 인디케이터cuhjohnson11의2
Fixed Price Levels with Zones (1000 / 750 / 500 / 250)idywbdiawunadnaw oidnawidnawodnaw wadaw dawd awdawPine Script® 인디케이터samrobertson2016의업데이트됨 2
Bradley Industries IndicatorThe Bradley Industries Indicator is a confluence-based trading system designed to identify early trend impulses while filtering out late or low-probability entries. It combines four independent indicators, each measuring a different market dimension, and only generates a primary signal when all four align on the same bar. The philosophy of the system is simple: Enter only when structure, momentum, volatility, and directional flow agree at the start of a move.Pine Script® 인디케이터bradsolano의3
MACD 12-26-9 with Slope, Convergence & Divergence1. Core Indicator: MACD (12-26-9) The script uses the standard MACD: Fast EMA: 12 Slow EMA: 26 Signal EMA: 9 It plots: MACD Line → short-term vs long-term momentum Signal Line → smoothed MACD Histogram → distance between MACD and Signal 2. Histogram Slope (Momentum Acceleration) What it is The slope measures how fast the MACD histogram is changing. histSlope = hist - hist What it tells you Positive slope → momentum accelerating Negative slope → momentum slowing Slope flip → early momentum shift (often before MACD cross) Why it matters MACD crosses are lagging. Histogram slope gives early warning of momentum changes. 3. Convergence & Divergence (MACD vs Signal) How it’s calculated The script measures the distance between the MACD and Signal lines: distance = abs(macdLine - signalLine) Convergence → distance is shrinking Divergence → distance is expanding Interpretation Convergence = compression / energy building Divergence = expansion / trend strength or exhaustion This is not price divergence, but internal momentum structure. 4. MACD Perimeter Threshold (Momentum Filter) What it is Horizontal bands above and below zero that define a “noise zone”. Inside perimeter → weak / choppy momentum Outside perimeter → strong momentum Why it’s useful Filters low-quality MACD crosses Identifies compression → expansion Helps spot trend exhaustion when momentum fades outside the band 5. Visual Encoding (What you see) Histogram colors Bright green / red → strong acceleration Dull green / maroon → weakening momentum Gray → indecision MACD line color Yellow → converging (compression) Orange → diverging (expansion) Blue → neutral Markers Up triangle → bullish convergence Down triangle → bearish divergence 6. How traders use this indicator Trend continuation MACD above zero Histogram positive Slope rising Divergence expanding ➡ Strong trend continuation Pullback entries Trend intact Histogram pulls back toward zero Slope turns up again ➡ High-probability re-entry Breakout anticipation Long convergence Histogram flattening Sudden slope expansion ➡ Breakout likely Exhaustion warning Large divergence Histogram slope weakens Momentum fails to expand ➡ Trend may stall or reverse 7. Best use cases Works best as a momentum confirmation tool Combine with: Market structure Support / resistance Moving averages Volume or Force IndexPine Script® 인디케이터mattyjoy6787의3
KevelsLevels at 10, 35, 65, and 90. 175+/- points within current price.Pine Script® 인디케이터nicndahood의9
Week High/LowThis indicator plots the Previous Week High and Low as two horizontal dashed lines. It is designed to appear only on the Daily (D) and Weekly (W) timeframes, ensuring a clean higher-timeframe context without lower-timeframe noise. The levels are calculated from the completed weekly candle and automatically update at the start of each new week. These levels serve as weekly liquidity references, commonly used to assess premium/discount zones, potential stop-run areas, and higher-timeframe market reactions.Pine Script® 인디케이터bacle8899의업데이트됨 4
Smart Scalper Pro Template + VWAP 📌 Author Garry Evans Independent system developer focused on: Risk-first automation Market structure & liquidity behavior Discipline, consistency, and capital preservation “The edge isn’t the market — it’s the man who survives it.” ⚙️ Risk Management & Position Sizing The script is built around capital protection, not signal frequency. Risk logic includes: Fixed or dynamic risk per trade Market-adaptive position sizing Session-based trade limits Daily trade caps and auto-lockout protection Volatility-aware sizing (futures & crypto) ⚠️ Profit is pursued only after risk is controlled. 📊 Track Record Backtested across multiple market environments Forward-tested and actively used by the author Real-account trades are logged where platform rules allow Results vary by market, timeframe, and user-defined risk settings. 🌍 Supported Markets Designed to work across all liquid markets, including: Stocks Crypto (spot & futures) Options (signal-based framework) Futures (indices, metals, crypto futures) The system adapts to volatility and structure — it is not market-specific. ⚖️ Leverage Leverage is not required If used, leverage is fully user-controlled Risk logic scales exposure conservatively No martingale. No revenge sizing. No over-exposure logic. 🧪 Backtesting ✔ Yes Strategy logic has been backtested Filters reduce chop, noise, and forced trades Focus on drawdown control over curve-fitting 🛠 Support ✔ Yes Direct author support Ongoing improvements and updates Feature refinement based on real usage and feedback 👥 Community ✔ Yes Private user access High-quality feedback environment No public signal spam or hype-driven chat rooms ⏳ Trial Period ✔ Yes Limited trial access available Designed for evaluation only Trial users do not receive full feature access 🚫 Who This Script Is NOT For This system is not for: Traders looking for guaranteed profits Users expecting copy-paste “signal calls” Over-leveraged gamblers Those unwilling to follow risk rules Anyone seeking overnight results This is a discipline and automation tool, not a shortcut. 🧠 Final Positioning This is not a signal service. This is a risk-controlled execution framework designed to: Enforce discipline Reduce emotional trading Protect capital during bad market conditions Scale responsibly during favorable onesPine Script® 인디케이터Garrythetrader954305의64