Previous Candle Levelsadds previous candle levels from 5 min, 15 min, 30 min, 1 hr, 4 yr and daily. Shows previous candles high, low and mid (mid=(open+close)/2). enjoyIndikator Pine Script®oleh rachmani32000Diupdate 12
Candle Pressure Flip Engine [trade_w_samet]🎯 Candle Pressure Flip Engine Candle Pressure Flip Engine is a professional candle-pressure reversal and trade-visualization indicator designed to help traders study potential pressure-shift conditions directly on the price chart. This script combines: 🔥 candle pressure analysis ⚡ exhaustion move detection 🕯️ rejection wick logic 📍 close-location pressure 📊 volume burst confirmation 🧭 RSI momentum flip confirmation 🧠 Auto Best optimizer logic 🎯 target / risk projection boxes 🏷️ BULLISH / BEARISH flip labels 🏁 WIN / LOSS result stamps 🩸 Crimson Spine + Echo + Fill visual system 🚨 professional alert messages 🎨 multiple visual themes 📦 historical target/risk visual tracking The goal of Candle Pressure Flip Engine is not to predict the future or provide guaranteed buy/sell instructions. Its purpose is to help users visually study: ⚡ exhaustion after aggressive moves 🕯️ candle rejection behavior 📍 where price closes inside the candle range 📊 whether volume expanded during the reaction 🧭 whether RSI momentum started turning 🎯 projected target and risk areas 🏁 visual target/risk outcomes 🩸 price-following pressure visuals 🚨 alert-based chart monitoring Candle Pressure Flip Engine should be treated as a structured chart-analysis and educational decision-support tool. It is not financial advice. It is not an automated trading system. It does not guarantee profitable results. It does not place broker orders. It does not remove the need for personal analysis, risk management, or trade validation. ━━━━━━━━━━━━━━━━━━━━━━ 📌 OVERVIEW ━━━━━━━━━━━━━━━━━━━━━━ At a high level, Candle Pressure Flip Engine does the following: 🔥 Measures the size of the prior price move using ATR-based exhaustion logic. 🕯️ Checks whether the signal candle shows meaningful rejection wick pressure. 📍 Evaluates where the candle closes inside its own range. 📊 Optionally confirms the move with volume expansion. 🧭 Optionally confirms momentum change using RSI behavior. 🧠 Runs a background optimizer to compare internal setup combinations. 🎯 Draws a single target zone and risk zone after confirmed signals. 📦 Keeps historical target/risk boxes on the chart. 🏁 Tracks whether target or risk was reached first. 🏷️ Prints clean BULLISH FLIP ▲ and BEARISH FLIP ▼ labels. 🩸 Displays a premium Crimson Spine + Echo + Fill visual trail around price. 🚨 Provides professional human-readable and JSON-style dynamic alerts. This makes the script more than a simple signal-label indicator. It is designed as a complete candle-pressure review environment that combines candle behavior, exhaustion context, rejection, momentum, volume, visual planning, and alerts. ━━━━━━━━━━━━━━━━━━━━━━ 🧠 CORE IDEA ━━━━━━━━━━━━━━━━━━━━━━ The core idea behind Candle Pressure Flip Engine is that a potential reversal should not be judged from a single isolated condition. A candle can look strong, but without context it may not mean much. For that reason, this script combines several layers: 🔥 exhaustion move context 🕯️ rejection wick behavior 📍 close-position pressure 📊 volume burst confirmation 🧭 RSI momentum turn 🧠 optimizer-based internal comparison 🎯 target/risk visualization 🩸 visual price-following pressure trail The script does not attempt to catch every reversal. It attempts to highlight moments where the internal candle-pressure model detects a possible shift after price has already moved aggressively in one direction. The purpose is not to create more signals. The purpose is to make potential pressure-flip conditions easier to identify, review, and compare on the chart. ━━━━━━━━━━━━━━━━━━━━━━ 🧩 WHY THIS SCRIPT IS NOT A SIMPLE BUY/SELL INDICATOR ━━━━━━━━━━━━━━━━━━━━━━ Candle Pressure Flip Engine is not intended to behave like a basic “buy here / sell here” script. It is built as a structured workflow: Exhaustion Move → Candle Rejection → Close Pressure → Volume Burst → Momentum Flip → Score Requirement → Optional Auto Best Selection → BULLISH / BEARISH Flip Label → Target / Risk Projection → Result Tracking → Crimson Spine Visual Context → Alerts Each part has a specific role. 🔥 The exhaustion engine checks whether price has moved enough before a flip is considered. 🕯️ The wick engine checks whether the candle rejected a level strongly enough. 📍 The close-pressure engine checks where the candle closed inside its range. 📊 The volume module checks whether the signal candle has volume expansion. 🧭 The momentum module checks whether RSI is turning in the expected direction. 🧠 The optimizer compares internal parameter combinations in the background. 🎯 The target/risk module draws visual planning zones. 🩸 The Crimson Spine module adds a premium price-following visual layer. 🚨 The alert module helps monitor signals and results without constantly watching the chart. This makes the script a complete visual review framework, not a one-condition signal tool. ━━━━━━━━━━━━━━━━━━━━━━ ⚙️ HOW THE SCRIPT WORKS ━━━━━━━━━━━━━━━━━━━━━━ 🔥 EXHAUSTION MOVE ENGINE The script first checks whether price has made a meaningful move over a selected lookback period. This is done using: • Exhaustion Lookback • Minimum Exhaustion Move ATR • Minimum Directional Bars • ATR-based move measurement A bullish flip can only appear after bearish exhaustion conditions are detected. A bearish flip can only appear after bullish exhaustion conditions are detected. This means the script is designed to look for possible pressure flips after directional movement, not random candles in the middle of neutral price action. For bullish setups, the script looks for prior downside pressure. For bearish setups, the script looks for prior upside pressure. This creates the first layer of context. ━━━━━━━━━━━━━━━━━━━━━━ 🕯️ REJECTION WICK ENGINE ━━━━━━━━━━━━━━━━━━━━━━ After exhaustion is detected, the script checks the signal candle itself. For a bullish flip, the script evaluates the lower wick. For a bearish flip, the script evaluates the upper wick. The purpose is to identify whether price rejected one side of the candle range. The main setting is: Minimum Rejection Wick % A larger rejection wick requirement makes the script more selective. A smaller rejection wick requirement allows more potential signals. The wick condition does not guarantee that price will reverse. It only means that the candle showed rejection behavior according to the script’s internal model. ━━━━━━━━━━━━━━━━━━━━━━ 📍 CLOSE-PRESSURE ENGINE ━━━━━━━━━━━━━━━━━━━━━━ The script also evaluates where the candle closes inside its own range. This is important because a rejection wick alone is not always enough. For bullish flips, the script prefers candles that close closer to the upper part of the candle range. For bearish flips, the script prefers candles that close closer to the lower part of the candle range. This is controlled by: Close Pressure Threshold % Example: If the threshold is 65%, a bullish candle must close relatively high in its candle range. For bearish flips, the inverse logic is used. This helps the script avoid weak candles that reject but fail to close with enough pressure. ━━━━━━━━━━━━━━━━━━━━━━ 📏 BODY PRESSURE ENGINE ━━━━━━━━━━━━━━━━━━━━━━ The script also checks the body size of the signal candle. This is controlled by: Minimum Reversal Body % The candle body is measured as a percentage of the full candle range. This helps avoid extremely weak candles where the wick may be large but the body does not show enough directional pressure. A higher value makes the script more selective. A lower value allows more signals. This does not mean a larger candle body is always better. It simply gives the model a minimum candle-strength requirement. ━━━━━━━━━━━━━━━━━━━━━━ 📊 VOLUME BURST CONFIRMATION ━━━━━━━━━━━━━━━━━━━━━━ Candle Pressure Flip Engine includes an optional Volume Burst filter. When enabled, the script compares current volume to its moving average. The main settings are: 📊 Use Volume Burst 📊 Volume MA Length 📊 Minimum Volume Multiplier Example: A Minimum Volume Multiplier of 1.10 means the current volume must be at least 10% above its average. The purpose is to check whether the pressure-flip candle appeared with above-average participation. This can be useful on markets where volume data is meaningful. Important note: Some symbols, brokers, CFDs, forex feeds, or synthetic markets may have limited or less reliable volume data. Users can disable this filter if volume is not useful for their selected market. ━━━━━━━━━━━━━━━━━━━━━━ 🧭 RSI MOMENTUM FLIP CONFIRMATION ━━━━━━━━━━━━━━━━━━━━━━ The script includes an optional RSI Momentum Flip module. This does not use RSI as a classic overbought/oversold signal. Instead, the script checks whether RSI is turning in the expected direction. Main settings: 🧭 Use Momentum Flip 🧭 RSI Length 🧭 RSI Turn Lookback 🧭 Bullish RSI Max After Flip 🧭 Bearish RSI Min After Flip For bullish flips, RSI should start turning upward without already being too extended. For bearish flips, RSI should start turning downward without already being too extended. This is designed to help filter signals where candle pressure appears but momentum has not started shifting yet. RSI confirmation is only one part of the model. It does not guarantee future price movement. ━━━━━━━━━━━━━━━━━━━━━━ 🧠 AUTO BEST OPTIMIZER ━━━━━━━━━━━━━━━━━━━━━━ Candle Pressure Flip Engine includes a background optimizer. The optimizer compares controlled internal combinations of: • Exhaustion move requirement • Rejection wick requirement • Signal score requirement • Risk/reward target The optimizer can be set to: Light 27 Full 81 Light mode tests fewer combinations. Full mode tests a deeper combination set. The script can automatically use the best internal combination after enough closed virtual outcomes are collected. This is controlled by: 🧠 Use Background Optimizer 🧠 Auto Use Best Optimizer Combo 🧠 Optimizer Grid Depth 🧠 Best Combination Ranking 🧠 Minimum Trades For Best Combo Important note: The optimizer is an internal visual-analysis feature. It is not the same as TradingView Strategy Tester. It does not include broker execution, spread, slippage, commissions, order delay, partial fills, or real trade management. It should be treated as a chart-based adaptive review tool, not as a guarantee of improved future performance. ━━━━━━━━━━━━━━━━━━━━━━ 🎯 TARGET / RISK VISUAL SYSTEM ━━━━━━━━━━━━━━━━━━━━━━ When a valid candle pressure flip appears, the script can draw a projected trade plan. The chart can show: 🎯 Target Zone ⚠️ Risk Zone 📍 Entry Zone 📈 Target line 🛑 Risk line 🏁 WIN / LOSS result stamp The system uses a single target model. There are no TP1 / TP2 / TP3 levels in this script. The default target is based on the selected Risk Reward value. Default: Target Risk Reward = 2.0R The risk distance can be calculated using: Signal Wick ATR Hybrid The current default risk mode is ATR. The ATR multiplier used in the model is fixed internally at 4.0. This creates a consistent risk projection structure. Important note: The target and risk boxes are visual projections only. They are not broker orders. They do not execute trades. They do not guarantee that the displayed target or risk will be reached in a profitable way. ━━━━━━━━━━━━━━━━━━━━━━ 🛡️ RISK MODE EXPLANATION ━━━━━━━━━━━━━━━━━━━━━━ The script includes three risk modes: Signal Wick ATR Hybrid Signal Wick mode uses the candle wick area as the risk reference. ATR mode uses ATR-based distance. Hybrid mode uses a wider protective logic between wick-based and ATR-based risk. The purpose of these modes is to give users flexibility in how projected risk zones are visually drawn. Risk settings affect the chart projection. They should not be treated as trade recommendations. Users should always apply their own risk management and validation. ━━━━━━━━━━━━━━━━━━━━━━ ⚠️ SAME-CANDLE TARGET/RISK HANDLING ━━━━━━━━━━━━━━━━━━━━━━ If both target and risk are touched on the same candle, the true intrabar sequence cannot be known from standard OHLC chart data. The script includes a setting for this situation: If Target and Risk Hit Same Bar Available options: SL First TP First The default is SL First. This is a conservative assumption. It helps avoid overly optimistic historical visual results when the true intrabar order is unknown. Users should understand that this is still an assumption based on available bar data. ━━━━━━━━━━━━━━━━━━━━━━ 🏁 RESULT TRACKING ━━━━━━━━━━━━━━━━━━━━━━ The script can track whether a projected setup reaches target or risk first. Possible result labels: WIN | TARGET HIT LOSS | RISK HIT A WIN label means the projected target zone was reached first according to the script’s bar-based logic. A LOSS label means the projected risk zone was reached first according to the script’s bar-based logic. These labels are visual summaries only. They do not represent broker execution. They do not include slippage, spread, commissions, order delay, partial fills, liquidity issues, or real entry conditions. ━━━━━━━━━━━━━━━━━━━━━━ 🗂️ HISTORICAL TARGET / RISK BOXES ━━━━━━━━━━━━━━━━━━━━━━ Candle Pressure Flip Engine can keep previous target and risk boxes on the chart. This helps users visually review past projected setups. The script includes a maximum historical trade-plan limit. This is important because TradingView has object limits. Historical visuals may include: 🎯 previous target boxes ⚠️ previous risk boxes 📍 previous entry lines 🏁 previous result labels 🏷️ previous target/risk price tags Users can reduce the historical object limit if the chart becomes crowded or performance slows down. ━━━━━━━━━━━━━━━━━━━━━━ 🏷️ SIGNAL LABELS ━━━━━━━━━━━━━━━━━━━━━━ The script displays professional signal labels: BULLISH FLIP ▲ BEARISH FLIP ▼ A BULLISH FLIP label appears when the script detects a possible bullish candle-pressure shift. A BEARISH FLIP label appears when the script detects a possible bearish candle-pressure shift. The arrow icon is included to make direction easier to identify visually. These labels do not mean the future outcome is guaranteed. They only mean the script’s internal conditions aligned at that candle. ━━━━━━━━━━━━━━━━━━━━━━ 🩸 CRIMSON SPINE + ECHO + FILL ━━━━━━━━━━━━━━━━━━━━━━ Candle Pressure Flip Engine includes a premium visual system called: Crimson Spine + Echo + Fill This is not a signal by itself. It is a visual price-following layer designed to create a clean pressure-aura effect around price. The system includes: 🩸 one central Crimson Spine 🩸 multiple upper echo layers 🩸 multiple lower echo layers 🩸 soft crimson fill clouds 🩸 optional pulse effect 🩸 adaptive spread based on internal pressure intensity The purpose of the Crimson Spine system is to enhance chart readability and create a premium visual structure around price. It can help users visually track price flow, pressure compression, and expansion. Important note: The Crimson Spine visual is not a standalone entry signal. It should not be used by itself as a buy/sell system. It is a supporting visual layer. ━━━━━━━━━━━━━━━━━━━━━━ 🎨 VISUAL THEME SYSTEM ━━━━━━━━━━━━━━━━━━━━━━ The script includes multiple visual themes: Midnight Pro Ice Minimal Black Gold Red Carbon The theme system affects: 🎨 BULLISH / BEARISH label colors 🎨 Target zone colors 🎨 Risk zone colors 🎨 Result stamp colors 🎨 Entry / target / risk tags 🎨 Candle highlight color 🎨 Glow effects The script uses a modern chart-first visual style. It does not include a classic dashboard. It does not include a large statistics panel. The goal is to keep the chart clean while still providing strong visual feedback. ━━━━━━━━━━━━━━━━━━━━━━ 🚨 PROFESSIONAL ALERT SYSTEM ━━━━━━━━━━━━━━━━━━━━━━ Candle Pressure Flip Engine includes two alert layers: 1. Standard alertcondition() events 2. Dynamic alert() messages Standard alert conditions are included for compatibility with TradingView’s normal alert interface. Dynamic alerts can include more detailed information such as: 🚨 symbol 🚨 timeframe 🚨 direction 🚨 score 🚨 entry 🚨 risk 🚨 target 🚨 RR 🚨 Auto Best state 🚨 result 🚨 Net R The alert system can be configured using: 🚨 Enable Dynamic Alerts 🚨 Alert Bullish Flips 🚨 Alert Bearish Flips 🚨 Alert Trade Results 🚨 Alert Payload Format 🚨 Include Entry / Risk / Target 🚨 Include Auto Best State 🚨 Alert Tag Available payload formats: Human JSON Human format is easier to read. JSON format is more suitable for webhook workflows. Important note: Alerts are monitoring tools only. They are not trade execution instructions. They do not place orders. Users must confirm all alerts with their own analysis and risk management. ━━━━━━━━━━━━━━━━━━━━━━ 🔔 HOW TO USE ALERTS ━━━━━━━━━━━━━━━━━━━━━━ A practical alert workflow: 1. Add Candle Pressure Flip Engine to your chart. 2. Open TradingView’s alert window. 3. Select the indicator as the alert condition. 4. Choose the desired alert type. 5. For dynamic alert() messages, use “Any alert() function call” if needed. 6. Select alert frequency according to your preference. 7. Use alerts for monitoring only. 8. Confirm each alert manually before making any trading decision. Alerts may behave differently depending on chart timeframe, symbol, session, and real-time bar updates. ━━━━━━━━━━━━━━━━━━━━━━ 🧪 HOW TO USE THE INDICATOR ━━━━━━━━━━━━━━━━━━━━━━ A practical workflow: 1. Add Candle Pressure Flip Engine to your chart. 2. Start with the default settings. 3. Review whether the chart is trending, ranging, or highly volatile. 4. Wait for a BULLISH FLIP ▲ or BEARISH FLIP ▼ label. 5. Review the candle that created the signal. 6. Check whether the move before the signal was extended. 7. Check whether the rejection wick is meaningful. 8. Check whether the candle closed with pressure. 9. Review the target and risk boxes. 10. Review the Crimson Spine visual context. 11. Use alerts if you want automatic monitoring. 12. Validate the signal with your own market structure, liquidity, trend, session, and risk-management rules. This indicator is best used as a structured visual review tool. It should not be used as a blind execution system. ━━━━━━━━━━━━━━━━━━━━━━ ⚙️ SETTINGS REFERENCE ━━━━━━━━━━━━━━━━━━━━━━ ⚙️ General Signal Mode Controls how selective the signal engine is. Available modes: Aggressive Balanced Conservative Aggressive allows more signals. Balanced is the default middle-ground profile. Conservative requires stricter conditions. Only One Active Trade When enabled, the script waits until the active projection reaches target or risk before allowing a new signal. Signal Cooldown Bars Controls how many bars must pass between confirmed signals. Show BULLISH / BEARISH Labels Shows or hides the main signal labels. Max Signal Labels Limits how many signal labels remain visible on the chart. ━━━━━━━━━━━━━━━━━━━━━━ 🔥 Candle Pressure Flip Engine Exhaustion Lookback Defines how many bars are used to evaluate the prior aggressive move. Minimum Exhaustion Move ATR Defines how large the prior move must be, measured in ATR. Minimum Directional Bars Requires a minimum number of bars inside the lookback to support the exhaustion direction. Minimum Reversal Body % Controls the minimum candle body size of the signal candle. Minimum Rejection Wick % Controls the minimum rejection wick percentage. Close Pressure Threshold % Controls where the candle must close inside its range. Minimum Signal Score Defines the minimum internal score required for a signal. ━━━━━━━━━━━━━━━━━━━━━━ 📊 Volume Burst Use Volume Burst Enables or disables volume confirmation. Volume MA Length Defines the moving average length used for volume comparison. Minimum Volume Multiplier Defines how much larger current volume must be compared to average volume. ━━━━━━━━━━━━━━━━━━━━━━ 🧭 Momentum Flip Use Momentum Flip Enables or disables RSI momentum confirmation. RSI Length Defines the RSI calculation length. RSI Turn Lookback Defines how many bars back RSI is compared. Bullish RSI Max After Flip Prevents bullish signals from appearing when RSI is already too extended upward. Bearish RSI Min After Flip Prevents bearish signals from appearing when RSI is already too extended downward. ━━━━━━━━━━━━━━━━━━━━━━ 🎯 Target / Risk Result Engine Show Target / Risk Boxes Shows projected target and risk zones. Show Entry / Risk / Target Lines Shows entry, risk, and target lines. Show Only Last Trade Plan Removes older visual trade plans and keeps only the newest one. Keep Historical Target / Risk Boxes Keeps previous target/risk projections on the chart. Max Historical Trade Plans Controls the maximum number of historical visual plans. Track Win / Loss Result Enables visual result tracking. Default Target Risk Reward Defines the default projected RR value. Risk Mode Controls whether risk is based on signal wick, ATR, or hybrid logic. ATR Length Defines the ATR length used for risk calculations. Risk Buffer Ticks Adds a small tick buffer to wick-based risk calculations. Trade Box Extend Bars Controls how far target/risk boxes extend to the right. If Target and Risk Hit Same Bar Controls the same-candle assumption. Max Result Stamps Limits the number of WIN / LOSS result labels. ━━━━━━━━━━━━━━━━━━━━━━ 🧠 Background Optimizer Use Background Optimizer Enables the internal optimizer engine. Auto Use Best Optimizer Combo Allows the script to automatically apply the best internal combination after enough closed virtual outcomes are collected. Optimizer Grid Depth Controls whether the optimizer uses Light 27 or Full 81 testing depth. Best Combination Ranking Controls whether combinations are ranked by wins first or win rate first. Minimum Trades For Best Combo Defines how many closed virtual trades are required before a combination can become eligible. ━━━━━━━━━━━━━━━━━━━━━━ 🎨 Visual Pro Design Visual Theme Controls the main chart color theme. Visual Intensity Controls glow and line emphasis. Label Size Controls signal/result label size. Target / Risk Box Transparency Controls how transparent projected boxes appear. Show Signal Glow Shows or hides the signal candle glow. Show WIN / LOSS Stamps Shows or hides result labels. Show Compact Price Tags Shows or hides ENTRY ZONE, TARGET ZONE, and RISK ZONE tags. Candle Highlight Mode Controls candle coloring on signal/result bars. Max Signal Glow Objects Limits signal glow objects for chart performance. ━━━━━━━━━━━━━━━━━━━━━━ 🚨 Professional Alerts Enable Dynamic Alerts Turns dynamic alert() messages on or off. Alert Bullish Flips Enables alerts for bullish flip signals. Alert Bearish Flips Enables alerts for bearish flip signals. Alert Trade Results Enables alerts for target/risk results. Alert Payload Format Choose Human or JSON. Include Entry / Risk / Target Adds projected price levels into alerts. Include Auto Best State Adds Auto Best status into signal alerts. Alert Tag Custom text tag included in alert messages. ━━━━━━━━━━━━━━━━━━━━━━ 🩸 Crimson Spine + Echo Show Crimson Spine System Shows or hides the Crimson Spine visual layer. Spine Source Defines the source price used by the spine. Spine EMA Length Controls the central spine smoothing. Echo Spacing ATR Controls how far echo layers are spaced from the central spine. Adaptive Echo Spread Expands or compresses the echo cloud based on internal pressure intensity. Spine Line Width Controls line thickness. Core Line Transparency Controls the transparency of the central spine. Echo Transparency Step Controls how quickly outer echo layers become transparent. Crimson Fill Transparency Controls the fill cloud transparency. Spine Pulse Effect Adds a subtle pulsing visual effect. ━━━━━━━━━━━━━━━━━━━━━━ 🧠 WHAT MAKES THIS SCRIPT ORIGINAL ━━━━━━━━━━━━━━━━━━━━━━ Candle Pressure Flip Engine uses familiar concepts such as: 🔥 candle body analysis 🕯️ wick rejection 📍 close-location pressure 📊 volume comparison 🧭 RSI momentum 📏 ATR-based risk projection 🎯 target/risk boxes 🚨 alerts These concepts are not unique by themselves. The originality of the script lies in how they are organized into one workflow: Exhaustion Move → Rejection Wick → Close Pressure → Volume Burst → Momentum Flip → Internal Score → Auto Best Optimizer → BULLISH / BEARISH Flip Label → Target / Risk Projection → Result Tracking → Crimson Spine Visual Layer → Professional Alerts This structure is designed to give users a clearer way to review potential candle-pressure reversal conditions. ━━━━━━━━━━━━━━━━━━━━━━ ⚠️ IMPORTANT PRACTICAL NOTES ━━━━━━━━━━━━━━━━━━━━━━ The script’s behavior depends heavily on settings. Signal frequency and visual output may change based on: 🎛️ signal mode 🔥 exhaustion lookback 📏 ATR settings 🕯️ wick requirement 📍 close-pressure threshold 📊 volume settings 🧭 RSI settings 🧠 optimizer settings 🎯 target/risk settings ⏱️ timeframe 📊 symbol volatility 🌐 market session 📚 available historical bars A configuration that looks clean on one symbol may behave differently on another. A setting that appears useful on one timeframe may not be useful on another. Users should test the script on the exact markets and timeframes they personally study. ━━━━━━━━━━━━━━━━━━━━━━ ⚠️ LIMITATIONS AND SHORTCOMINGS ━━━━━━━━━━━━━━━━━━━━━━ This script has important limitations: ❌ It does not guarantee profitable trades. ❌ It does not predict future price movement. ❌ It does not replace risk management. ❌ It does not execute trades. ❌ It does not place broker orders. ❌ It does not include broker slippage. ❌ It does not include commissions. ❌ It does not include spreads. ❌ It does not include order delay. ❌ It does not include partial fills. ❌ It uses bar-based chart data. ❌ Same-candle target/risk order cannot be known from standard OHLC data. ❌ Internal optimizer results are not official Strategy Tester results. ❌ Target/risk boxes are visual projections only. ❌ Result labels are visual outcomes only. ❌ Crimson Spine visuals are not standalone signals. ❌ Alerts are monitoring tools only. ❌ Historical behavior does not ensure future behavior. For these reasons, Candle Pressure Flip Engine should be used as an educational decision-support and chart-analysis tool, not as a standalone trading strategy. ━━━━━━━━━━━━━━━━━━━━━━ 👤 WHO THIS SCRIPT MAY BE USEFUL FOR ━━━━━━━━━━━━━━━━━━━━━━ This script may be useful for traders who: ✅ study candle-pressure behavior ✅ study reversal conditions after extended moves ✅ want structured candle rejection confirmation ✅ want volume and momentum context ✅ want clean target/risk visual planning ✅ want historical visual projection review ✅ want premium chart visuals without a large dashboard ✅ want alert-based monitoring ✅ want a structured educational analysis tool ✅ prefer chart-first visual design It may be less suitable for users who: ❌ want guaranteed buy/sell signals ❌ want a fully automated trading bot ❌ do not use technical analysis ❌ do not want chart visuals ❌ expect one setting to work on every market ❌ expect alerts to execute trades ❌ expect visual projections to match broker execution ❌ want an indicator that replaces personal decision-making ━━━━━━━━━━━━━━━━━━━━━━ 🧭 BEST PRACTICE SUGGESTIONS ━━━━━━━━━━━━━━━━━━━━━━ For cleaner review: ✅ Start with the default settings. ✅ Use Balanced mode first. ✅ Review signals together with market structure. ✅ Check whether the signal appears after a meaningful move. ✅ Review rejection wick quality. ✅ Review candle close position. ✅ Use target/risk boxes as visual planning tools only. ✅ Do not treat every signal as a trade. ✅ Review the Crimson Spine as a supporting visual layer, not as a standalone signal. ✅ Use alerts for monitoring, not automatic execution. ✅ Test the indicator on the symbols and timeframes you actually study. ✅ Combine the tool with independent analysis and risk management. ✅ Keep expectations realistic. ━━━━━━━━━━━━━━━━━━━━━━ 🔓 PUBLICATION NOTE ━━━━━━━━━━━━━━━━━━━━━━ Candle Pressure Flip Engine is published as an educational and visual market-analysis tool. The purpose of this description is to explain: ✅ what the script does ✅ how the main logic works ✅ how signals are created ✅ how candle pressure is evaluated ✅ how target/risk boxes are drawn ✅ how result labels work ✅ what the Crimson Spine visual means ✅ what the alert system does ✅ what the limitations are ✅ how the indicator should and should not be used The script is designed to support structured analysis. It does not promise profitable results. It does not remove market risk. It does not execute trades. It should not be used as a blind buy/sell system. It is best used as a visual framework for reviewing candle-pressure reversal conditions, target/risk projection behavior, and alert-based monitoring. ━━━━━━━━━━━━━━━━━━━━━━ 🛡️ DISCLAIMER ━━━━━━━━━━━━━━━━━━━━━━ Candle Pressure Flip Engine is provided for educational and informational purposes only. It does not constitute financial, investment, or trading advice. No indicator can guarantee future results. Markets are uncertain, conditions change, and historical behavior does not ensure future performance. Every user is responsible for their own analysis, validation, risk management, position sizing, and trading decisions. The target/risk boxes, BULLISH / BEARISH labels, WIN / LOSS result stamps, Crimson Spine visuals, optimizer behavior, and alerts are visual analysis tools only. Use this script as a structured decision-support and visual review framework, not as a promise of profitability. Indikator Pine Script®oleh trade_w_sametDiupdate 22 1.1 K
Candle Engine Educativecandle education engine is an educational visual tool designed to help traders study normal candles, heikin ashi candle behavior, reversal candles, and multi-candle pattern sequences directly on the chart. this script is for education and market study only. it is not financial advice, not a trading strategy, not a signal service, and not a recommendation to buy or sell any asset. the goal is to help users understand candle structure, candle context, and pattern behavior. every label, panel note, score, and alert should be used as a learning reference only. what this tool does this indicator is built around three main study areas: 1. normal candle study the normal candle engine reads standard chart candles and identifies candle structures such as doji, marubozu, engulfing candles, inside bars, hammers, shooting stars, tweezer tops, tweezer bottoms, rejection candles, sweep candles, displacement candles, imbalance candles, exhaustion candles, wide range candles, and compression candles. this part is designed to be used on a normal candlestick chart. 2. heikin ashi candle study the heikin ashi engine studies smoothed heikin ashi candle behavior. it can identify strong ha candles, weak ha candles, ha doji candles, ha continuation, ha pullback, ha acceleration, ha color flip, ha exhaustion, ha weakening, and ha reversal conditions. for best learning, switch your chart to heikin ashi candles when studying the ha sections. this helps beginners compare the script labels with the actual ha candle shape. 3. pattern sequence study the pattern engine studies one-candle, two-candle, three-candle, four-candle, and five-candle formations. it includes classic and modern patterns such as morning star, evening star, engulfing patterns, harami patterns, piercing line, dark cloud cover, three inside up, three inside down, three outside up, three outside down, three white soldiers, three black crows, rising three methods, falling three methods, traps, breakouts, kickers, and breakaway patterns. the purpose is not to predict the future. the purpose is to learn how candles combine into structure. why candles matter candles show the battle between buyers and sellers during a specific period. a candle can teach several things: * the body shows who controlled the open-to-close move * the wick shows where price was rejected * the close shows where control finished * the range shows how much activity happened * repeated candles show pressure, hesitation, exhaustion, or continuation * patterns show how control changes across several candles a candle is not automatically bullish or bearish in every situation. the same candle can have different meaning depending on where it appears. for example, a hammer after a strong drop can be a bullish rejection clue, but a hammer in the middle of a range can simply be noise. a doji is not a buy or sell signal by itself. it teaches indecision and requires confirmation. how beginners should use this indicator start slowly. do not activate everything at once. recommended learning path: step 1: study normal candles first use a regular candlestick chart. enable the normal candle engine and a few simple labels such as doji, hammer, shooting star, engulfing, inside bar, rejection, and sweep. focus on the candle body, wick, close location, and where the candle appears. step 2: study reversal candles separately enable the reversal candle module if you want to focus only on candle structures that may teach rejection, exhaustion, liquidity sweep, or control transfer. this is useful for beginners because it separates reversal education from general candle noise. step 3: switch to heikin ashi for ha study when studying the ha module, switch the chart type to heikin ashi. the script calculates ha behavior internally, but visually switching the chart helps you understand why a candle is classified as strong, weak, reversal, exhaustion, or continuation. heikin ashi is useful for learning trend rhythm, but it smooths price, so it should not replace normal candle study. step 4: study ha reversal separately the reversal ha module is designed to focus on ha color flips, ha weakening, ha exhaustion, and possible smoothed reversal behavior. use it to learn when trend rhythm begins to slow, not as an automatic entry tool. step 5: study pattern sequences after learning single candles, enable the pattern engine. start with one-candle and two-candle patterns before studying complex three, four, or five-candle patterns. multi-candle patterns are easier to understand when you ask: * what did the first candle show? * did the second candle confirm or reject it? * did the final candle close with buyer or seller control? * did the pattern happen near a meaningful level? * did the pattern appear in trend, range, pullback, or exhaustion? step 6: read the panels the panels are designed as an educational journal. they show recent candle or pattern events with a short educational note. the notes explain what the candle teaches, not what you must trade. main settings explained candle engine enable candle engine turns the normal candle module on or off. show candle type on chart displays candle names directly on the chart. show candle panel displays the candle history panel. candle panel position selects where the candle history panel appears. max candle labels visible controls how many normal candle labels or panel rows are kept before cleanup. scoring mode controls how the candle quality score is calculated. body mode focuses on candle body size. volume mode focuses on relative volume. hybrid mode combines both. use global trend context adjusts the score using a simple trend context. beginners should treat this as context only, not a decision rule. candle type filters these settings enable or disable specific normal candle names. examples include doji, engulfing candles, inside bars, hammers, shooting stars, tweezer tops, tweezer bottoms, sweeps, rejection candles, imbalance candles, displacement candles, and exhaustion candles. beginners should start with fewer candle types and add more later. reversal candle enable reversal candle turns on the reversal candle module. show reversal candle labels displays reversal candle labels directly on the chart. show reversal candle panel displays the reversal candle panel. reversal candle position selects where the reversal candle panel appears. max candle reversal label controls how many reversal candle labels or rows are kept. this module is useful when you want to focus only on candle behavior linked to rejection, sweep, exhaustion, liquidity reaction, or possible control transfer. candle ha enable candle ha turns on the heikin ashi study module. show ha candle labels displays ha labels on the chart. show heikin ashi panel displays the ha history panel. ha panel position selects where the ha panel appears. show ha secondary tags controls whether extra ha structure details are shown. when off, the label stays cleaner and shows the main ha idea. when on, it can show additional details such as no wick, long body, continuation, or acceleration. max ha labels visible controls how many ha labels or panel rows are kept. use this module on a heikin ashi chart for best visual learning. reversal ha enable reversal ha candle turns on the ha reversal module. show reversal ha labels displays reversal ha labels on the chart. show reversal ha panel displays the reversal ha panel. reversal ha position selects where the reversal ha panel appears. show reversal ha secondary tags controls whether extra ha reversal details are shown. max ha reversal label controls how many reversal ha labels or panel rows are kept. reversal ha name lets users choose which ha reversal-related conditions are active, such as ha bull reversal, ha bear reversal, ha color flip, ha exhaustion, ha weakening, and ha doji reversal. this section is useful for learning when a smoothed trend may be slowing or changing rhythm. candle sequence engine enable candle sequence engine turns on the pattern sequence module. show detected sequence displays detected pattern labels on the chart. show pattern panel displays the pattern history panel. pattern panel position selects where the pattern panel appears. detection sensitivity adjusts how strict the sequence detection is. max pattern labels visible controls how many pattern labels or panel rows are kept. pattern length filters allow users to enable or disable one-candle, two-candle, three-candle, four-candle, and five-candle pattern groups. pattern name filters let users select individual patterns. beginners should start with fewer patterns, such as engulfing, harami, morning star, evening star, hammer, shooting star, inside bar break, and traps. reversal pattern enable reversal patterns only mode allows the script to focus only on reversal-related patterns without requiring the full pattern engine to be used in the same way. show pattern reversal labels displays reversal pattern labels on the chart. show pattern reversal panel displays the pattern reversal panel. pattern reversal position selects where the reversal pattern panel appears. max pattern reversal label controls how many reversal pattern labels or rows are kept. this section is useful when the user wants to study only patterns that teach failed control, rejection, traps, transition, or possible reversal behavior. ai context the ai context section does not predict the future. it provides a visual context score based on internal trend, volume, and volatility calculations. show ai context bull/bear gauge displays a small visual gauge. gauge position moves the gauge between top center and bottom center. gauge basis selects whether the gauge is based on trend, volume, volatility, or combined context. gauge precision cells controls the visual resolution of the gauge. bear, neutral, and bull colors control the gradient colors of the gauge. the gauge should be used as a context tool, not as a trade entry tool. educational history panels the history panels show recent detected events. each row includes the candle or pattern name, score, and a short educational note. the panels are designed to help beginners review what happened recently and learn the meaning of each structure. panel position settings control where each panel appears. panel colors and transparency control the visual style. alerts alerts can notify when selected candle, ha, or pattern events occur. alerts are educational reminders only. they are not automatic trade signals. beginners should create alerts only after understanding what each candle or pattern means. how to interpret bull, bear, and neutral bull means the candle or pattern teaches buyer pressure, recovery, demand, or bullish rejection. bear means the candle or pattern teaches seller pressure, rejection, supply, or bearish control. neutral means the candle or pattern teaches indecision, compression, balance, or a situation where direction is not yet confirmed. neutral is not useless. neutral candles are important because they often teach patience. important beginner lessons do not read a candle alone. a candle needs context: * is price trending or ranging? * did the candle appear near support or resistance? * did the wick reject a meaningful level? * did the close confirm control? * did the next candle follow through? * is the pattern forming after expansion, compression, or exhaustion? a pattern is not a guarantee. it is a lesson about structure. good candles usually have clear body, wick, and close behavior. weak candles are harder to read and need more confirmation. reversal patterns need extra care. a reversal clue is not a confirmed reversal until price follows through. continuation patterns need trend context. without trend, continuation patterns can become noise. compression patterns teach patience. the direction is usually learned after the range breaks. best beginner workflow 1. use normal candles first. 2. enable only a few basic candle labels. 3. study the educational notes. 4. add reversal candle only when you understand rejection and wick behavior. 5. switch to heikin ashi before studying ha modules. 6. keep ha secondary tags off at first for cleaner reading. 7. enable ha secondary tags later to study extra structure. 8. study pattern sequences after you understand single candles. 9. use the panels as a learning journal. 10. never use one label alone as a trading decision. educational disclaimer this script is provided for educational and informational purposes only. it does not provide financial advice, investment advice, trading advice, or a recommendation to buy or sell any financial instrument. the indicator does not guarantee results and does not predict future market movement. users are responsible for their own research, risk management, and trading decisions. the best use of this tool is to learn how candles, heikin ashi candles, and pattern sequences communicate market behavior. Indikator Pine Script®oleh Alpha_Wizard332
Custom Candle Highlighter (NY Time)### Overview This lightweight utility script highlights exactly two specific candles during the trading day based on your custom time inputs. It is designed for traders who track specific key economic releases, market opens, or daily institutional windows. ### Features * **Precise NY Time Tracking:** The script converts candle times to the New York timezone (`America/New_York`), meaning it automatically adjusts for U.S. Daylight Saving Time (DST). It will remain accurate regardless of your local chart timezone display. * **Dual Time Inputs:** Easily set two independent times (Hour and Minute) directly from the indicator settings panel without changing the code. * **Highly Visible Triggers:** When a candle matches your set time, the script highlights it using three visual anchors: 1. Changes the candle body color to Yellow. 2. Applies a soft Yellow background slot behind the candle. 3. Places a tiny green triangle underneath the candle for absolute clarity. ### Important Usage Notes (Best Settings) * **Timeframe Requirement:** To capture exact minutes (e.g., 08:55 AM), you **must** use this indicator on lower-interval timeframes like the **1-minute (1m)** chart. If you are on a 1-hour chart, individual minute triggers will not paint. * **Inputs:** Access the settings gear icon to adjust the hours (0-23 format) and minutes (0-59 format) for both the morning and afternoon session targets. Feel free to leave a comment or drop a like if you find this script useful for your daily routine! Indikator Pine Script®oleh igalivashkevichDiupdate 6
Candle Intent Map [AGPro Series]Candle Intent Map 🧠 Core Idea Does this candle show initiative, absorption, rejection, indecision, or a real shift in intent? 📌 Overview / What it does Candle Intent Map is a candle behavior and market reaction tool designed to read the internal message of price candles beyond simple bullish or bearish color. The script evaluates body pressure, wick reaction, close location, volume context, short follow-through, and recent intent changes to classify whether the market is showing initiative, absorption, rejection, indecision, or an intent shift. It produces compact labels, a visible intent pressure zone, right-side context tags, and a clean AG Pro panel. It does not predict price, automate decisions, or promise that a candle pattern will continue. 🎯 Purpose & Design Philosophy This script was built because many candlestick tools stop at basic pattern recognition. A candle is not only a shape. It is a relationship between body commitment, wick reaction, volume participation, close location, and what happens immediately after that candle forms. Candle Intent Map helps traders who want to read candle quality, initiative pressure, reaction zones, and follow-through context without turning the chart into a crowded pattern scanner. ⚡ Why This Script Is Different Most candle tools focus on named formations such as engulfing candles, pin bars, doji candles, or simple color changes. This script does NOT treat every candle pattern as an automatic signal. Instead, it studies whether the candle has enough internal pressure, reaction quality, volume context, and follow-through to deserve attention. The goal is not to label more candles. The goal is to label the candles that tell a clearer market story. ⚙️ Methodology 1. Context Detection The script measures body-to-range ratio, upper wick pressure, lower wick pressure, close location, and relative volume participation. 2. Intent Classification Candles are classified into initiative, absorption, rejection, indecision, or intent shift conditions based on body pressure, wick behavior, and directional commitment. 3. Reaction Evaluation The script builds a reaction-quality score using body strength, wick reaction, close placement, volume context, and short follow-through behavior. 4. Visual Output The strongest current candle intent context is mapped as a visible intent zone, compact event labels, right-side state tags, and a structured AG Pro panel. 🗺️ How to Read the Chart Zones represent the most recent candle intent pressure area. Labels show important candle intent events such as bullish intent, bearish intent, absorption, rejection, indecision, or intent shift. Colors separate constructive pressure, defensive pressure, neutral reaction, and absorption-style behavior. The panel summarizes current intent, direction, body pressure, wick reaction, follow-through, quality score, and next context. 🚦 Signals & States • BULL INTENT → bullish body pressure with meaningful close location and participation • BEAR INTENT → bearish body pressure with meaningful close location and participation • ABSORPTION → strong reaction behavior with compressed body and meaningful volume • LOWER REJECT → lower wick reaction suggesting downside rejection • UPPER REJECT → upper wick reaction suggesting upside rejection • INDECISION → low body commitment with balanced wick behavior • INTENT SHIFT → recent candle intent changes direction with enough pressure to matter 🔔 Alerts Logic Alerts trigger when the script detects bullish candle intent, bearish candle intent, candle absorption, or candle intent shift. These alerts are attention markers only. They highlight a candle context that may deserve review, not a trade instruction. 🧩 Confluence Logic The strongest context appears when candle body pressure, wick reaction, close location, volume participation, and follow-through point in the same direction. When these components align, the candle intent quality score becomes stronger. 📊 When to Use • During active trend continuation phases • Around reaction zones and pullback areas • Near support, resistance, VWAP, or liquidity references • When evaluating whether a candle has real participation behind it • When comparing initiative candles against absorption or rejection candles ⚠️ When NOT to Use • Extremely illiquid markets • Very noisy low-timeframe environments • News-driven candles with abnormal spreads • Symbols with unreliable volume data • Situations where broader market context is ignored 🎛️ Key Inputs • Volume Context Length → controls the relative volume comparison window • Follow-Through Length → controls how short-term continuation is measured • Initiative Body Ratio → changes how strict the initiative candle filter is • Reaction Wick Ratio → changes how strict wick-based rejection and absorption filters are • Visible Zone Bars → controls how much of the recent chart the intent zone covers • Label and Panel Font Size → controls visual readability 🖥️ Interface & Visual Design The interface is designed to stay clean, readable, and publication-friendly. The chart focuses on one main intent zone, compact event labels, right-side context tags, and a structured panel. The visual hierarchy is intentional: zone first, current state second, historical intent events third. 🧪 Practical Usage Workflow 1. Read the panel to understand the current candle intent state 2. Check the intent zone and its position relative to price 3. Review recent labels to understand whether initiative, absorption, or rejection has dominated 4. Compare the quality score with current follow-through 5. Interpret the output inside broader market context 🔍 Interpretation Guidelines A strong intent label does not mean price must continue. A rejection label does not mean reversal is guaranteed. An absorption label means the candle structure showed reaction and participation, but confirmation still depends on the following market behavior. The best interpretation comes from combining candle intent with structure, liquidity, volatility, and timeframe context. 🚫 What This Script Is NOT This script is not a prediction engine. It is not financial advice. It is not an auto-trading system. It does not provide guaranteed buy or sell signals. It does not replace risk management or independent analysis. ⚠️ Limitations & Transparency Candlestick interpretation changes across timeframes. Volume quality may differ between markets and exchanges. Fast volatility expansion can make recent candle intent less stable. Low-liquidity conditions may create misleading wick or body readings. Users should always interpret outputs within broader market context. 🧠 Market Context Notes Candle intent is most useful when combined with structure, liquidity, trend quality, volatility, and acceptance behavior. One candle rarely tells the whole story. The value comes from understanding whether candle pressure is supported or rejected by what comes next. 🧾 Use Case Examples When price reaches a known support area and the script prints a lower rejection label with improving quality, the trader can study whether downside pressure is being rejected. When a strong body candle prints with high quality and follow-through, the trader can evaluate whether initiative pressure is entering the market. When absorption appears inside a range, the trader can watch whether trapped pressure develops or fades. 🧱 System Philosophy Candle Intent Map is part of the AGPro Series approach: clean visual tools that focus on market context, reaction quality, and decision support rather than prediction claims. The script is designed to make candle behavior easier to read while keeping the trader responsible for interpretation. 🔐 Non-Promise Statement No script can know the future. No candle label guarantees continuation or reversal. This tool provides structured visual context only. 📉 Risk Disclosure Trading involves risk. Market conditions can change quickly. All decisions remain the responsibility of the user. This script does not provide financial advice or guaranteed trading outcomes. 📚 Educational Note Use this script as an educational and analytical companion for studying candle behavior, reaction quality, and short-term intent context. Indikator Pine Script®oleh AGProLabsDiupdate 17
Precision Candle Close Alert [Anti-Lag] for Scalper & DaytraderAs a scalper or day trader, timing is everything. Standard TradingView alerts often fire 2-3 seconds after the candle has closed due to tick-dependency and server lag. If you are trading the 1m or 5m chart, that delay can cost you money. The Candle Close Alert (CCA) solves this problem. It is designed for absolute precision and includes a built-in "Anti-Lag" feature. This allows you to trigger the alert slightly before the actual close. By the time the push notification or sound reaches your device, the candle is closing at that exact millisecond. Key Features: ⚡ Anti-Lag Offset: Compensate for server delays by firing the alert a customizable number of seconds (e.g., 2s) before the candle actually closes. 🎯 True Close Only: Uses strict condition matching to ensure the alert NEVER fires randomly in the middle of a candle. It only triggers on the exact target close. 🔢 Custom Alert Limit: Set a maximum number of alerts (e.g., alert me for the next 5 closes, then automatically stop). 🔄 One-Click Reset: Easily reset the alert counter directly from the indicator settings without having to delete and recreate the alert. ⏱️ Multi-Timeframe Support: Select your target timeframe (from 1m up to Monthly) independently of your current chart resolution. How to set it up correctly: Add the indicator to your chart. (Note: Your chart timeframe must be equal to or lower than your selected alert timeframe). Open the indicator settings and set your target timeframe, the max alert count, and the Anti-Lag Offset (2 to 3 seconds is the recommended sweet spot). Open the TradingView Alert Menu (clock icon) and click "Create Alert". Condition: Select "Candle Close Alert" -> "Any alert() function call". Go to the "Notifications" tab, check "Play Sound", and select a specific sound for this alert. Click "Create". Note: Because Pine Script triggers on price ticks, the anti-lag feature will fire on the first tick that occurs within your defined pre-close window. Tags: #Scalping #DayTrading #Alerts #CandleClose #Precision #Forex #Crypto #UtilityIndikator Pine Script®oleh X5M8MLH15Diupdate 10
Body Close Break Planner [AGPro Series]TITLE Body Close Break Planner 🧠 Core Idea Did price break structure with real body-close acceptance, or was the move only a wick event with weak commitment? 📌 Overview / What it does Body Close Break Planner is built to evaluate whether a structure break is being accepted with real candle-body commitment. Instead of reacting to every wick beyond a prior high or low, the script focuses on closes that actually establish acceptance beyond the rail. The script maps the body break rail, an acceptance pocket, a retest shelf, a failure rail, and a first target-room reference. It also adds event labels, right-side tags, and a compact AG Pro panel that summarizes the quality of the active break with a 0-100 Body Break Score. This script does not predict trend continuation, automate entries, or treat every breakout as valid. It is a rule-based analytical and visualization tool that helps users separate real body-close structure acceptance from weaker noise-driven break attempts. 🎯 Purpose & Design Philosophy This script was built to solve a very common structural problem: many breakout candles look convincing in the moment, but the move fails because the market never achieved real closing acceptance beyond the level. The tool was designed for traders who want to evaluate whether a break has genuine body-based commitment, whether the first retest is constructive, and where the structure fails if acceptance is lost. The mindset behind the script is selective, disciplined, and evidence-based. It supports traders who want to read acceptance quality rather than react to every temporary excursion beyond a level. ⚡ Why This Script Is Different Most breakout tools focus on level crossing, wick penetration, or generic break-and-retest behavior. This script does NOT treat every breach of structure as a meaningful breakout. Instead, it asks whether the move closed through structure with enough body commitment, whether price is still being accepted beyond the rail, whether the retest shelf improves the setup, and whether the move still has room before it becomes extended or fails. ⚙️ Methodology 1. Context Detection The script maps recent structure highs and lows, then checks whether price closes beyond them with enough candle-body commitment and range expansion. 2. Reference Mapping Once a valid body-close break is confirmed, the script locks the broken rail, builds an acceptance pocket, marks a retest shelf, and defines a failure line plus a first target-room reference. 3. Reaction Evaluation Price is then reviewed against the body-break rail and the retest shelf. The script checks whether the move is still accepted, whether the retest improves the structure, or whether the breakout falls back through the failure boundary. 4. Visual Output The final output includes the acceptance pocket, body-break rail, retest shelf, failure rail, room line, event labels, right-side tags, and dashboard panel. 🗺️ How to Read the Chart Zones: The acceptance pocket represents the active post-break area where structure acceptance is being judged. Labels: Labels identify new bullish or bearish body-close breaks, accepted structure, retest-ready behavior, target review, and failed breaks. Colors: Teal represents stronger constructive break behavior. Pink represents bearish or failed context. Gold represents review areas such as target-room interaction. Indigo represents the main body-break rail. Panel: The panel summarizes the active break type, the Body Break Score, current acceptance quality, available room, and the current action state. 🚦 Signals & States • Bull Break → A bullish body-close structure break has been detected. • Bear Break → A bearish body-close structure break has been detected. • Body Accepted → Price is still being accepted beyond the broken structure rail. • Retest Ready → Price interacted with the retest shelf constructively and the setup quality improved. • Target Review → The first projected room reference has been reached and context should be reassessed. • Failed → Price moved back through the failure boundary and the break is no longer structurally clean. • Wait Break → No valid active body-close break exists. • Expired → The break is too old to remain active within the current framework. 🔔 Alerts Logic Alerts can trigger when a new bullish or bearish body-close break is detected, when structure remains accepted, when a retest shelf strengthens the setup, when target room is reached, or when the break fails. Alerts are attention markers only. They highlight structural events inside the script logic. They are not trade instructions, automated entries, or guarantees of follow-through. 🧩 Confluence Logic The context becomes stronger when multiple conditions align together. For example, a structure break with a strong body ratio, clean range expansion, stable hold beyond the break rail, and a constructive retest shelf interaction is much stronger than a shallow close that immediately falls back into the old range. When body commitment, breakout range, retest quality, and available room align together, the context becomes structurally more reliable. 📊 When to Use • Breakout or breakdown environments where close quality matters • Markets with clean price structure and readable swing levels • Crypto, forex, indices, and liquid stocks • 1H, 4H, and 1D chart review • Situations where wick-only breaks create repeated false positives ⚠️ When NOT to Use • Illiquid markets with distorted price prints • Extremely noisy sessions with poor candle quality • Very low-range environments where closes carry little structural information • Symbols dominated by gaps or erratic price jumps • Conditions where the market repeatedly overshoots levels without clean follow-through 🎛️ Key Inputs • Structure Lookback → Controls how recent highs and lows are mapped • Minimum Range Ratio → Controls how much expansion is required before a break qualifies • Minimum Body / Range → Filters out weak closes and wick-dominant candles • Close Buffer ATR → Controls how far beyond structure the close must finish • Acceptance Pocket ATR → Controls the depth of the post-break pocket • Retest Shelf Buffer → Controls how shelf interactions are interpreted • Failure Buffer ATR → Controls where the active break becomes invalid • Visual Settings → Control labels, panel location, theme, font size, and optional chart styling 🖥️ Interface & Visual Design The interface is designed to answer one question quickly: is this break actually being accepted? The panel creates a clean information hierarchy so the user can understand break state, score, room, and current action without reading every chart element manually. The chart layer keeps the acceptance pocket, body-break rail, failure line, and room reference readable without overwhelming candles. The visual intent is professional, premium, and publication-friendly rather than decorative. 🧪 Practical Usage Workflow 1. Read the panel to confirm whether a valid body-close break is active 2. Check the body-break rail and acceptance pocket 3. Evaluate whether price is simply holding or whether the retest shelf improved the structure 4. Review room to the target reference and distance to failure 5. Use labels and tags as context markers, not as direct commands 🔍 Interpretation Guidelines A stronger score suggests better body commitment, healthier range expansion, and more reliable post-break structure. A Body Accepted state means price is still holding beyond the broken rail, but it does not automatically mean the move is early or low-risk. A Retest Ready state suggests the market pulled back in a controlled way and defended the structure more convincingly. A Target Review state suggests that the first projected room objective has already been reached and the context should be reassessed rather than assumed to continue indefinitely. 🚫 What This Script Is NOT This script is not a prediction engine. This script is not financial advice. This script is not an automated trading system. This script does not place orders. This script does not guarantee continuation, retest success, target reach, or profitability. ⚠️ Limitations & Transparency This script is rule-based and depends on the quality of the underlying market structure. Different timeframes can produce very different break quality profiles. In high-volatility or low-liquidity conditions, candle closes may appear meaningful while still failing quickly. In some markets, wick behavior may remain important even when the body-close break model is intentionally strict. Outputs should always be interpreted within broader market context rather than in isolation. 🧠 Market Context Notes Body-close acceptance often matters most around obvious swing highs, swing lows, range edges, and post-compression expansion points. A wick beyond structure can attract attention, but a true close beyond structure often tells a more reliable story about commitment. Even so, not every accepted break becomes a trend. Some become retest traps, and some run directly into higher-timeframe resistance or support. 🧾 Use Case Examples Example 1: Price closes above a well-defined swing high with a strong body and good expansion. The script marks a bull break, builds the acceptance pocket, and later upgrades the context when the retest shelf holds. Example 2: Price breaks below a swing low with body commitment, but then quickly closes back through the failure boundary. The script marks the break as failed, signaling that the downside acceptance did not hold. Example 3: A strong body-close break remains accepted and quickly reaches the first target-room line. The script marks target review, reminding the user to reassess efficiency and extension. 🧱 System Philosophy AGPro Series tools are built as decision-support frameworks, not generic signal generators. The philosophy here is to reward quality over noise: stronger closes, cleaner acceptance, clearer structure, and more readable post-break behavior. 🔐 Non-Promise Statement This script does not promise certainty. It does not promise that a body-close break will continue, hold, retest cleanly, or reach its projected room. It only organizes the structure so the user can evaluate the break with more discipline and clarity. 📉 Risk Disclosure Trading involves risk. Market conditions can change quickly, and any analytical tool can become less reliable under shifting volatility, liquidity, or structural conditions. Users remain fully responsible for their own decisions, execution, and risk management. This script is for educational and analytical purposes only. It does not provide financial advice. 📚 Educational Note This tool is most effective when combined with broader market structure, liquidity awareness, and disciplined trade management. It is designed to improve interpretation quality, not to replace critical thinking. Indikator Pine Script®oleh AGProLabsDiupdate 20
Wick Absorption Reversal Planner [AGPro Series]Wick Absorption Reversal Planner 🧠 Core Idea Is an extended wick showing absorption, and did the candle body reclaim enough structure to treat the reversal context seriously? 📌 Overview / What it does Wick Absorption Reversal Planner maps extended wick reactions as absorption pockets and evaluates whether price can reclaim the body rail after that reaction. The script displays a wick absorption pocket, body reclaim rail, failure shelf, room reference, event labels, right-side tags, optional bar coloring, and a compact AG Pro dashboard with a 0-100 reversal score. It does not predict reversals. It helps organize wick absorption, body reclaim quality, pressure, room, invalidation, and action state. 🎯 Purpose & Design Philosophy Many candle tools label rejection candles, engulfing candles, or generic wick events. This script was built for the next layer: whether the wick reaction is being absorbed and whether the candle body can reclaim the important zone afterward. It helps traders separate random wick noise from a structured absorption pocket with a body reclaim rail and failure logic. ⚡ Why This Script Is Different Most wick indicators focus on the wick itself. This script does NOT treat every long wick as a reversal signal. Instead, it maps the wick pocket, checks body reclaim, measures pressure and room, and gives a clear action state. The goal is interpretation, not prediction. ⚙️ Methodology 1. Wick Absorption Detection The script checks upper and lower wick size relative to ATR and total candle range. 2. Context Mapping The wick is compared with recent structure to avoid treating every isolated candle as meaningful. 3. Body Reclaim Evaluation After a wick absorption pocket is detected, the body reclaim rail becomes the key threshold for reversal planning. 4. Visual Output The chart receives the wick pocket, body reclaim rail, failure shelf, room rail, labels, right-side tags, optional bar coloring, and dashboard panel. 🗺️ How to Read the Chart The wick absorption pocket marks the area created by the extended wick reaction. The body reclaim rail shows the level price needs to recover for the reversal context to improve. The failure shelf marks where the absorption context fails. The room rail marks the nearest structure reference in the reversal direction. Labels highlight wick absorption, body reclaim, pocket pressure, room tests, and absorption failure. Colors represent context: • Teal → bullish wick absorption • Pink → bearish wick absorption or failure • Gold → room reference or waiting context • Indigo → pocket pressure or monitoring context The panel summarizes: • Pocket • Reversal Score • Pressure • Room • Action 🚦 Signals & States • Bull Wick Absorption → lower wick absorption pocket detected • Bear Wick Absorption → upper wick absorption pocket detected • Body Reclaim → price reclaimed the body rail after absorption • Pocket Pressure → price is testing the wick pocket without clean reclaim • Room Test → price reached the active room reference • Absorption Failed → price crossed the failure shelf • READY → body reclaim and score quality are strong enough to monitor • MONITOR → pocket or reclaim context is active but not fully ready • WAIT → no strong active context exists • INVALIDATED → the wick absorption context failed • EXPIRED → the pocket is too old to remain active 🔔 Alerts Logic Alerts can trigger when a bullish or bearish wick absorption pocket appears, when body reclaim appears, when READY state appears, when pocket pressure appears, when the room rail is reached, or when absorption fails. Alerts are attention markers only. They are not trade instructions. 🧩 Confluence Logic The context becomes stronger when wick size, wick-to-range ratio, structural location, participation, body reclaim, and room align. For example, a lower wick into recent structure followed by body reclaim and available room is more useful than a random wick in the middle of noisy price action. 📊 When to Use • Reversal watch areas after extended wicks • Support/resistance reactions with visible rejection • Pullbacks where wick absorption may matter • Failed breakdown or failed breakout reactions • Liquid symbols with readable candles and stable spreads • 1h, 4h, and 1D charts where wick structure is visible ⚠️ When NOT to Use • Very low-liquidity markets • Symbols with unreliable candle structure • Random spike candles from illiquid prints • News candles with unstable spreads • Extremely noisy ranges where every candle has exaggerated wicks 🎛️ Key Inputs • ATR Length → controls normalization for wick size and visual spacing • Wick Context Lookback → controls structural comparison • Minimum Wick ATR → controls required wick size • Minimum Wick / Range → controls required wick dominance inside the candle • Minimum Relative Volume → filters very thin wick reactions • Body Reclaim Buffer ATR → controls the reclaim rail threshold • Failure Buffer ATR → controls where absorption fails • Room Lookback → controls the room reference • Visual settings → control pocket, rails, labels, tags, panel, and bar colors 🖥️ Interface & Visual Design The visual hierarchy is designed around the wick pocket first, then the reclaim rail. The pocket defines the reaction, the body reclaim rail defines improvement, the failure shelf defines risk, and the panel gives a quick state read. The goal is a premium wick absorption map without turning the chart into a generic candle-label board. 🧪 Practical Usage Workflow 1. Check whether a wick absorption pocket is active 2. Read the reversal score and action state 3. Inspect the body reclaim rail 4. Compare pocket pressure with room 5. Watch the failure shelf 6. Confirm the context with broader structure and timeframe alignment 🔍 Interpretation Guidelines A wick absorption pocket means the candle showed a meaningful wick reaction in context. Body reclaim means price recovered the reclaim rail after the wick reaction. READY means the rule-based context has enough quality to monitor. Room is a reference for structure, not a promised target. 🚫 What This Script Is NOT This script is not a prediction engine. It is not a guaranteed reversal system. It is not a generic candle pattern detector. It is not a volume absorption zone engine. It is not an automated trading tool. It does not provide financial advice. It does not guarantee reversal, continuation, profit, or a specific target. ⚠️ Limitations & Transparency Wick behavior depends on market structure, liquidity, volatility, session conditions, and timeframe. Some long wicks are random noise. Some absorption pockets may fail quickly. The score is a rule-based context score, not a certainty model. 🧠 Market Context Notes Wicks can show rejection, absorption, stop activity, or simply noise. The key question is whether price can reclaim the body rail after the wick event. Use the pocket as context, not as confirmation by itself. 🧾 Use Case Examples When price prints a long lower wick into recent structure, the script can map a bullish wick absorption pocket. If price later reclaims the body rail, the script marks body reclaim and updates the panel state. If price loses the failure shelf, the script marks absorption failure. 🧱 System Philosophy This script follows the AGPro Series approach: turn a familiar chart behavior into a structured decision-support map. The focus is not prediction. The focus is wick context, body reclaim, pressure, room, invalidation awareness, and visual clarity. 🔐 Non-Promise Statement No script can remove uncertainty from markets. This tool does not promise accuracy, profitability, or future price movement. Its purpose is to organize wick absorption context so the user can interpret the chart more clearly. 📉 Risk Disclosure Trading involves risk. Market conditions can change quickly, and any analytical output can fail. Users are responsible for their own decisions, risk management, and trade execution. This script is for educational and analytical purposes only and does not provide financial advice. 📚 Educational Note Do not read a wick by itself. The strongest reads usually come when wick absorption, body reclaim, structure, participation, and room align. Indikator Pine Script®oleh AGProLabsDiupdate 51
Candle Rejection Quality Planner [AGPro Series]Candle Rejection Quality Planner 🧠 Core Idea Is the rejection candle strong enough to create a valid planning context, or is it only a noisy wick? 📌 Overview / What it does Candle Rejection Quality Planner is a chart-first rejection candle decision tool designed to evaluate wick-led rejection without turning the chart into a generic candlestick signal map. The script identifies bullish and bearish rejection candles, scores their quality from 0 to 100, then tracks what happens next through a confirmation rail, failure edge, target-room guide, wick quality zone, compact labels, alerts, and a clean AG Pro planning panel. It does not predict future price movement, automate entries, print buy/sell commands, or replace broader market context. Its purpose is to help traders judge whether a rejection candle has enough structure to deserve attention. 🎯 Purpose & Design Philosophy This script was built to fill the gap between simple wick markers and broader reversal systems. Many traders can see a long wick. The harder question is whether that wick has enough close quality, candle range, participation, and follow-through potential to become useful context. The design supports a planner mindset: evaluate the candle, define the confirmation level, know where the idea weakens, and wait for the next state instead of reacting to every wick. ⚡ Why This Script Is Different Most tools focus on detecting a named candle pattern such as a pin bar, engulfing candle, or generic rejection marker. This script does NOT clone Pin Bar Quality Filter, Engulfing Candle Quality, Rejection Block Quality, order block logic, liquidity sweep logic, or a broad candlestick scanner. Instead, it focuses on the planning process after a rejection candle appears: quality score, confirmation rail, failure edge, target-room guide, and next-action state. The candle is not treated as an entry by itself. It is treated as a context that must prove itself. ⚙️ Methodology 1. Context Detection The script measures candle range, upper wick, lower wick, close location, and relative volume to detect wick-led rejection context. 2. Reference Mapping When a qualified rejection candle appears, the planner maps a wick quality zone, confirmation rail, failure edge, and target-room guide. 3. Reaction Evaluation The model updates the 0-100 Rejection Quality score as confirmation develops, pressure works against the candle, time passes, or price reaches the planning guide. 4. Visual Output The chart displays the wick zone, rail, guide lines, controlled labels, candle tint, alerts, and AG Pro panel. 🗺️ How to Read the Chart Zones = the rejected wick area of the qualifying candle. The zone is a candle-quality reference, not a support/resistance map. Labels = rejection context, confirmation, failure edge breaks, target-room completion, and sparse active-state markers. Colors = teal supports bullish rejection context, pink marks bearish rejection or failure pressure, yellow marks caution, and indigo marks confirmation review. Panel = a compact decision view showing Candle Side, Rejection Quality, Confirmation, Failure Risk, and Action. 🚦 Signals & States • Bullish Rejection → lower wick rejection with stronger close location and sufficient quality. • Bearish Rejection → upper wick rejection with weaker close location and sufficient quality. • Awaiting Confirmation → a qualified rejection exists, but price has not accepted beyond the rail. • Confirmed → price accepted beyond the confirmation rail. • Failure Edge Broken → the rejection context lost its defined failure edge. • Target Room Reached → price reached the planning guide mapped from the rejection context. 🔔 Alerts Logic Alerts can trigger when a qualified rejection candle opens a new context, when confirmation rail acceptance appears, when the failure edge breaks, when target room is reached, or when the active planner state changes. Alerts are attention markers. They are not trade instructions and do not imply a guaranteed outcome. 🧩 Confluence Logic The strongest planner states appear when wick dominance, close location, reasonable candle range, supportive volume, and confirmation beyond the rail align together. When those elements are weaker or delayed, the planner shifts toward monitor, weak confirmation, expired context, or invalidated state. 📊 When to Use • Price-action review around visible reaction candles • Liquid symbols where candle range and volume are readable • Intraday or swing charts where wick rejection can be evaluated with ATR context • Discretionary planning workflows that need confirmation and failure references ⚠️ When NOT to Use • Extremely low-liquidity symbols with unreliable candles • Very noisy low-timeframe charts where wicks appear randomly • News spikes where candle range is distorted • Situations where broader market structure is being ignored 🎛️ Key Inputs • Sensitivity → changes how selective the rejection engine is. • Minimum Rejection Quality → sets the 0-100 score required before a context appears. • Dominant Wick Share → controls how much wick dominance is required. • Close Location Quality → controls how strongly price must close away from the rejected wick. • Confirmation Window → controls how long the script waits for follow-through. • Failure Edge Buffer → defines the invalidation reference beyond the rejection wick. • Target-Room Guide R → draws the planning guide from rejection close to failure edge distance. • Visual settings → control zones, rails, labels, candle tint, panel location, panel theme, and font sizes. 🖥️ Interface & Visual Design The interface is intentionally compact and chart-first. The wick quality zone keeps attention on the candle that created the context. The confirmation rail and failure edge create a structured review path. The AG Pro panel summarizes the current state without covering the chart with a broad dashboard. 🧪 Practical Usage Workflow 1. Read the panel and identify the active candle side. 2. Check the wick quality zone and confirmation rail. 3. Watch whether price confirms, weakens, expires, or breaks the failure edge. 4. Use the target-room guide as a planning reference, not as a promise. 🔍 Interpretation Guidelines A stronger score means the rejection candle has cleaner wick dominance, better close location, a more useful candle range, and stronger participation support. A confirmed state means price has accepted beyond the rail according to the script rules. A failed state means the active rejection context lost its defined failure edge. 🚫 What This Script Is NOT • Not a prediction engine • Not financial advice • Not auto trading • Not guaranteed signals • Not a pin bar clone • Not an engulfing candle detector • Not a generic support/resistance or order block map ⚠️ Limitations & Transparency The script is rule-based and depends on candle structure, ATR, relative volume, and follow-through behavior. Different timeframes can change how rejection appears. Volatility spikes can distort candle range and failure distance. Symbols with unreliable volume may produce weaker participation readings. Outputs should always be interpreted within broader market structure, liquidity, volatility, and personal risk rules. 🧠 Market Context Notes Rejection candles often matter more when they appear near meaningful structure, after a directional push, or during a volatility expansion attempt. The script intentionally does not build a full structure map because its narrow job is candle rejection planning. 🧾 Use Case Examples When a candle prints a strong lower wick, closes high in its range, and then accepts above the confirmation rail, the planner may classify the context as ready for review. When a strong upper wick appears but price fails to move beyond the confirmation rail and later breaks the failure edge, the planner marks the context as invalidated. 🧱 System Philosophy AGPro Series tools are designed to convert visual market behavior into structured review states. This script follows that philosophy by turning a single rejection candle into a defined planning context with quality, confirmation, risk, and action fields. 🔐 Non-Promise Statement No script can provide certainty. No rejection candle guarantees continuation, reversal, or profitable execution. 📉 Risk Disclosure Trading involves risk. This script is for technical analysis and educational use only. Users remain responsible for their own analysis, position sizing, execution decisions, and risk management. This script does not provide financial advice or guaranteed trading outcomes. 📚 Educational Note Use the tool to study how rejection candles behave after they appear. The value is in structured observation, not automatic decision-making. Indikator Pine Script®oleh AGProLabsDiupdate 43
Candle Body Volatility HistogramThis is a statistical analysis tool for TradingView designed to visualize the volatility of candle bodies. Unlike standard indicators that focus on price levels, this one measures the "thickness" of the candle ($|Open - Close|$) and determines how significant a move is compared to recent history.Here is the overview of the Candle Body Volatility Histogram:1. Core Logic: Statistical Body AnalysisThe script applies the concept of Standard Deviation (Sigma)—commonly used in Bollinger Bands—directly to the size of the candle bodies.Body Size ($|Open - Close|$): It ignores the wicks and calculates the pure strength of the close.Average Body (SMA): The yellow line represents the "normal" size of a candle over the lookback period (default: 20).Sigma Levels (1σ, 2σ, 3σ): These lines act as thresholds to identify statistically unusual price action.2. Visual ComponentsThe indicator appears in a separate sub-window with the following elements:ElementDescriptionHistogram (Bars)Color-coded based on the candle type: Lime for Bullish, Red for Bearish.Yellow LineThe Average Body Size. If bars are below this, the market is quiet.Sigma 1, 2, 3 LinesBlue-toned lines showing increasing levels of volatility.Blue Background FillHighlights the area between Sigma 2 and Sigma 3, marking the "Extreme Volatility Zone."Indikator Pine Script®oleh tarotaro_n7
Candle Expansion Readiness [AGPro Series]Candle Expansion Readiness 🧠 Core Idea Is the current candle expansion meaningful enough to monitor, or is it only a noisy wide candle? 📌 Overview / What it does Candle Expansion Readiness is a chart-first candle quality planner built to evaluate whether an active expansion candle has enough structure to deserve attention. Instead of treating every wide candle as important, the script studies body efficiency, wick control, relative volume, ATR-normalized expansion, recent range behavior, and close location. These components are converted into a 0-100 Expansion Readiness Score with a clear state: READY, WATCH, FADE RISK, or WAIT. The script produces expansion candle labels, a forward follow-through box, risk edge, target guide, failure/fade states, alerts, and a clean AGPro planning panel. It does not predict future price movement, automate decisions, or guarantee that an expansion candle will continue. 🎯 Purpose & Design Philosophy This script was built for traders who want a cleaner way to judge expansion candles before reacting to them. The gap it fills is practical: many candle tools mark a candle after it appears, but they do not explain whether that candle is efficient, supported, close-positioned, and monitorable. Candle Expansion Readiness turns that moment into a structured planning question. The design supports a decision-first workflow: read the candle quality, check whether follow-through is developing, identify the risk edge, and decide whether the context deserves more attention. ⚡ Why This Script Is Different Most tools focus on large candles, volume spikes, engulfing patterns, institutional candle labels, or general breakout signals. This script does NOT clone Institutional Candle Detector, does not classify candles into institutional taxonomies, does not build an absorption system, and does not act as a generic breakout-volume tool. Instead, it evaluates the current expansion candle as a readiness event. The output is not a trade command. It is a planning state that helps users separate monitorable expansion from weak, noisy, or fading candle behavior. ⚙️ Methodology 1. Context Detection The script reads the active candle side from candle direction and close behavior, or lets the user force bullish or bearish readiness mode. 2. Reference Mapping It maps the expansion candle, risk edge, follow-through window, and target guide. 3. Reaction Evaluation The model scores body efficiency, wick control, relative volume, ATR expansion, recent range expansion, and directional close location. 4. Visual Output The result appears through compact labels, candle glow, a forward follow-through box, risk edge, target guide, deterministic alerts, and the AGPro planning panel. 🗺️ How to Read the Chart Zones = the follow-through box shows the monitored area from the expansion risk edge toward the target guide. Its label is centered inside the box. Labels = compact markers show READY, WATCH, DOWNGRADE, CONFIRMED, INVALID, or FADED context. Colors = green highlights stronger bullish readiness or confirmation, pink highlights bearish or invalidated context, amber highlights caution, and indigo highlights watch behavior. Panel = the panel summarizes Candle Efficiency, Volume Support, Expansion Score, Follow-Through, and Action. 🚦 Signals & States • READY → candle expansion quality is strong enough to monitor. • WATCH → candle quality is improving but confirmation is incomplete. • FADE RISK → the candle expanded, but wick or close behavior is weak. • CONFIRMED → follow-through reached the active target guide. • INVALIDATED → price crossed the active risk edge. • FADED → the follow-through window expired without confirmation. • WAIT → no strong enough expansion context is active. 🔔 Alerts Logic Alerts trigger when the planner enters READY state, downgrades from READY or WATCH, crosses the active risk edge, confirms at the target guide, or fades after the follow-through window. These alerts are attention markers only. They are not trade instructions, entry signals, or automated strategy commands. 🧩 Confluence Logic The readiness state becomes stronger when body efficiency, close location, relative volume, ATR expansion, and wick control align on the same candle. When those elements align and the follow-through box remains active without risk-edge violation, the candle context becomes cleaner. When the score is high but follow-through fails, the planner intentionally downgrades the context instead of ignoring the failure. 📊 When to Use • Active intraday or swing charts where candle expansion matters. • Breakout attempts where candle quality needs review. • Continuation moves that require follow-through monitoring. • Reversal attempts where the trader wants to know whether the impulse candle is efficient or noisy. • Liquid symbols with reliable OHLC and volume data. ⚠️ When NOT to Use • Very low-liquidity markets with unreliable candles. • Extremely noisy sessions where wide candles fail repeatedly. • Symbols with poor or missing volume data if volume support is central to your workflow. • News-driven spikes where normal candle-quality rules may lose relevance. • As a standalone entry system without broader market context. 🎛️ Key Inputs • Sensitivity → controls how strict the readiness model is. • Expansion Lookback → compares the current candle to recent range behavior. • READY Threshold → minimum 0-100 score required for READY state. • Confirmation Mode → controls whether close quality alone is enough or whether volume/edge confirmation is required. • Follow-Through Bars → defines how long the script monitors the active expansion. • Risk Edge Buffer ATR → moves the invalidation reference slightly beyond the candle edge. • Visual settings → control boxes, risk edge, target guide, candle glow, labels, panel theme, and font sizes. 🖥️ Interface & Visual Design The interface is designed to stay chart-first. The panel gives the current decision state without becoming a crowded dashboard. The follow-through box creates a clean visual planning area, while compact labels keep the chart active without burying price candles. The first panel row follows the AGPro merged blue header standard and shows only the script name. 🧪 Practical Usage Workflow 1. Read the Expansion Score and Action row. 2. Check whether the candle is READY, WATCH, or FADE RISK. 3. If READY appears, inspect the follow-through box and risk edge. 4. Watch whether price confirms, fades, or invalidates. 5. Interpret the result within your broader structure, liquidity, and risk plan. 🔍 Interpretation Guidelines Think of the script as a candle expansion planner, not a signal caller. A READY candle deserves attention because its structure is cleaner than average. A WATCH candle needs more evidence. A FADE RISK candle warns that expansion exists, but the candle quality is not clean. INVALIDATED and FADED states are part of the workflow because failed expansion is useful information. 🚫 What This Script Is NOT • Not a prediction engine. • Not financial advice. • Not auto trading. • Not guaranteed signals. • Not an institutional candle detector. • Not an order block, fair value gap, or support/resistance map. ⚠️ Limitations & Transparency • Timeframe differences can change how expansion candles appear. • Volatility spikes can temporarily distort candle-quality readings. • Volume data may differ by exchange, broker, symbol, and feed. • Follow-through is evaluated through a fixed monitoring window. • Market conditions can shift after a READY candle appears. 🧠 Market Context Notes Candle expansion is most useful when interpreted with liquidity, structure, volatility, and location. The script focuses on the candle itself and the immediate follow-through plan. Traders should still consider broader trend context, nearby levels, session behavior, and event risk. 🧾 Use Case Examples When a bullish candle closes near its high with strong body efficiency and relative volume, the script may mark READY and project a follow-through box above the risk edge. When a wide candle has heavy wick behavior and poor close location, the script may flag FADE RISK instead of treating the candle as clean expansion. When a READY candle fails back through its risk edge, the active plan becomes INVALIDATED. 🧱 System Philosophy AGPro tools are designed to support structured chart reading. The goal is to convert market behavior into clean, rule-based context that helps traders think more clearly. Candle Expansion Readiness follows that philosophy by turning a single expansion candle into a monitored planning state. 🔐 Non-Promise Statement No script can provide certainty. This tool organizes candle expansion context, but it does not guarantee continuation, reversal, profit, or any specific market outcome. 📉 Risk Disclosure Trading involves risk. Users are responsible for their own analysis, execution, position sizing, and risk management. Nothing in this script or description is financial advice. 📚 Educational Note Use the script to study how clean expansion candles behave across different symbols and timeframes. The value is in comparing candle quality, follow-through, and failure behavior over time. Indikator Pine Script®oleh AGProLabsDiupdate 15
Decision Point Planner [AGPro Series]Decision Point Planner 🧠 Core Idea Is price sitting at a decision point that deserves review, patience, or rejection? 📌 Overview / What it does Decision Point Planner is a chart-first risk planning tool built to evaluate whether the current price area is meaningful enough to deserve attention. The script maps one active decision point from structure shelf, balance edge, or trend backbone context, then scores the area using location quality, reaction candle behavior, volume support, trend context, available room, and invalidation distance. The output is a 0-100 Decision Score, a clear next-action state, a decision zone, an invalidation shelf, a target-room corridor, compact labels, alerts, and a premium AGPro panel. It does not predict price direction, automate execution, or print direct buy/sell signals. 🎯 Purpose & Design Philosophy This script was built for traders who want to know whether the chart is actually at a meaningful decision area or simply moving through noise. Many tools show levels, zones, or signals in isolation. Decision Point Planner focuses on a narrower planning question: if price is near a decision reference, is the reaction strong enough, is risk still balanced, and is there enough room before the next obstacle? The design supports a patient planning mindset: identify the point, read the reaction, check room and invalidation, then decide what deserves attention. ⚡ Why This Script Is Different Most tools focus on plotting many support/resistance levels or marking every reaction. This script does NOT create a generic S/R map, order-block scanner, FVG map, or prediction engine. Instead, it selects one active decision reference and turns it into a planning workflow: Decision Score, Zone Type, Reaction State, Room/Risk, and Next Action. ⚙️ Methodology 1. Context Detection The script detects the active planning side automatically using trend context and range location, or the user can force Long Context or Short Context. 2. Reference Mapping It compares three decision references: the latest structure shelf, the active balance edge, and the trend backbone. The closest relevant reference becomes the active decision point. 3. Reaction Evaluation It evaluates whether price is touching or approaching the zone, whether the candle shows a valid reaction, whether volume supports the reaction, whether trend context agrees, and whether room and invalidation remain balanced. 4. Visual Output It displays a decision zone, invalidation shelf, target-room corridor, compact chart labels, alerts, and a clean AGPro panel. 🗺️ How to Read the Chart Decision Zone = the current area where price is being evaluated as a decision point. Invalidation Shelf = the reference beyond the zone that marks rejection in this rule set. Target-Room Corridor = the available forward room toward the nearest obstacle or a minimum room guide. Labels = compact attention markers showing ACTION, WAIT, PATIENCE, REJECTED, ROOM, or D POINT context. Colors = teal and pink show active directional context, amber shows caution, indigo shows wait/reaction context, and blue is reserved for the AGPro panel header. Panel = summarizes Decision Score, Zone Type, Reaction State, Room Risk, and Action. 🚦 Signals & States • ACTION REVIEW → the decision point has enough score, reaction, room, and risk quality to deserve closer review. • WAIT REACTION → price is near the decision point, but the reaction is still incomplete. • PATIENCE → the area is active but quality, room, or risk is not clean enough yet. • REJECTED → price crossed the invalidation shelf for the active decision point. • STAND BY → price is not close enough to the active decision reference. 🔔 Alerts Logic • Decision Point Action Review → triggers when the state enters ACTION REVIEW. • Decision Point Wait Reaction → triggers when price is near the point but reaction is incomplete. • Decision Point Patience → triggers when the active point requires patience or broader confirmation. • Decision Point Room Limited → triggers when the point is active but forward room is limited. • Decision Point Rejected → triggers when price crosses the active invalidation shelf. Alerts are attention markers. They are not trade instructions. 🧩 Confluence Logic Decision quality improves when location, reaction candle behavior, volume support, trend context, target room, and invalidation distance align. The strongest read appears when price is near the decision zone, the reaction candle is efficient, volume is supportive, trend context agrees, room is open, and risk distance is balanced. 📊 When to Use • Around pullbacks where price is near a meaningful planning reference. • During breakout or continuation preparation when the next reaction matters. • Near range edges or balance transitions where patience is required. • When comparing whether a setup deserves review or should remain on watch. • On liquid markets where ATR, volume, and recent structure are meaningful. ⚠️ When NOT to Use • Extremely low-liquidity markets with unreliable volume and candles. • Highly noisy micro-timeframes where decision references change too frequently. • News-driven volatility spikes where ATR and candle ranges expand abnormally. • Charts where the user expects automatic buy/sell signals. • As a standalone reason to enter or exit a trade. 🎛️ Key Inputs • Planning Side → selects Auto, Long Context, or Short Context. • Decision Range Lookback → defines the planning range and target-room obstacle. • Structure Shelf Pivot Length → controls how strict the structure shelf reference is. • Decision Reach ATR → controls how close price must be to the active point before review. • Decision Zone Half-Width ATR → controls the vertical size of the decision zone. • Target Room and Invalidation Inputs → define room quality and balanced risk distance. • Visual Settings → control zones, shelves, corridor, labels, panel location, panel theme, and font sizes. 🖥️ Interface & Visual Design The interface is intentionally chart-first. The script uses one active decision zone, one invalidation shelf, and one target-room corridor instead of filling the chart with many competing zones. Labels are compact, offset away from candles, and controlled with cooldown and maximum-visible settings. The panel follows the AGPro publication layout with a single merged blue title row, adjustable location, adjustable theme, and adjustable font size. 🧪 Practical Usage Workflow 1. Read the panel state and Decision Score. 2. Check the active decision zone and zone type. 3. Evaluate the reaction label and candle behavior. 4. Compare target-room corridor and invalidation shelf. 5. Treat alerts as review markers and confirm the broader market context. 🔍 Interpretation Guidelines A higher Decision Score means the active decision point has stronger alignment inside the script's rule set. It does not mean price must move in the planned direction. ACTION REVIEW means the area deserves attention, not automatic execution. WAIT REACTION means the location may be important but the reaction is not complete. REJECTED means the active invalidation shelf was crossed in this rule set. 🚫 What This Script Is NOT • Not a prediction engine. • Not financial advice. • Not auto trading. • Not guaranteed signals. • Not a buy/sell signal service. • Not a generic support/resistance zone map. • Not an order-block or FVG scanner. ⚠️ Limitations & Transparency Decision quality depends on the selected lookback, pivot length, ATR behavior, volume reliability, and timeframe. Different markets can produce different reference behavior. High volatility can widen invalidation distance. Low volatility can compress target room. Small timeframes may produce more frequent state changes. The script is rule-based and should be interpreted as an analytical planning layer inside broader market context. 🧠 Market Context Notes A decision point is useful only when it connects location, reaction, risk, and room. The same visual area can be weak if reaction is poor, volume is absent, target room is blocked, or invalidation is too tight or too wide. This script organizes those checks into one readable decision layer. 🧾 Use Case Examples When price pulls back toward the decision zone and the panel moves from WAIT REACTION to ACTION REVIEW, the area may deserve closer review. When price touches the zone but the panel shows Room Limited, the user can recognize that the nearby path is obstructed. When price crosses the invalidation shelf, the script marks the active decision point as rejected inside its rule set. 🧱 System Philosophy Decision Point Planner follows the AGPro decision-engine approach: Context first. Risk before reaction. Room before confidence. Attention markers instead of promises. 🔐 Non-Promise Statement No script can guarantee direction, continuation, reversal, or outcome. This tool provides structured chart context only. 📉 Risk Disclosure Trading involves risk. Users are responsible for their own analysis, risk controls, position sizing, and trading decisions. This script does not provide financial advice, investment advice, or guaranteed trading outcomes. 📚 Educational Note Use the script to study how decision quality changes as price moves closer to or away from active planning references. The most useful reading comes from comparing the panel state with visible price reaction, room, and invalidation context. Indikator Pine Script®oleh AGProLabsDiupdate 11
Setup Candle Indicator - TCPa tradingview indicator inspired by Trade City Pro Setup CandleIndikator Pine Script®oleh investintradeDiupdate 6
NY Weekly Candle Right This indicator draws a custom weekly candle positioned to the right of the price action. It tracks the open, high, low, and close of the current week based on the New York timezone, rendering it as a color-coded box with wicks. Green indicates a bullish week (close ≥ open), red indicates bearish. Useful for keeping the higher timeframe context visible while trading on lower timeframes.Indikator Pine Script®oleh safianfzl17
Weekly Candle RightThis indicator draws a custom weekly candle positioned to the right of the price action. It tracks the open, high, low, and close of the current week based on the New York timezone, rendering it as a color-coded box with wicks. Green indicates a bullish week (close ≥ open), red indicates bearish. Useful for keeping the higher timeframe context visible while trading on lower timeframes.Indikator Pine Script®oleh safianfzl6
Sequential Exhaustion Tracker [AGPro Series]Sequential Exhaustion Tracker 🔷 Overview Sequential Exhaustion Tracker is a price-action based trend maturity tool built for traders who want to read how far a directional candle sequence has developed, when that sequence is becoming late-stage, and whether the market is more likely to recycle the move or fail back through its terminal zone. The script is not an oscillator, not a crossover tool, and not a protected-brand sequential clone. It does not depend on classic overbought or oversold thresholds. Instead, it tracks qualified directional progress bar by bar, measures the quality of the active count, opens a visual exhaustion window when the run becomes mature, and then follows the next phase as either recycle, testing, or failure. That makes the script useful for a very specific question: Is the current directional run still building cleanly, or has it entered the kind of late-sequence area where follow-through, failure, and reset behavior need closer attention? 🔷 What The Script Measures The engine combines four practical components: 1. Directional candle count The script counts qualified progress candles in the active direction. A candle must show meaningful close-to-close progress, sufficient body commitment, and optional trend-filter alignment before it can advance the count. 2. Exhaustion threshold The count becomes mature only after it reaches the selected threshold. This avoids treating every small move as exhaustion and keeps the tool focused on developed directional sequences. 3. Exhaustion quality The quality model blends count maturity, ATR-normalized stretch from the baseline, opposing wick absorption, and body-efficiency fade. A high reading means the sequence is not only long enough, but also showing late-run characteristics. 4. Recycle/failure lifecycle Once a qualified exhaustion window appears, the script continues tracking price behavior. Strong continuation through the terminal zone can classify the sequence as recycled. A break back through the zone can classify it as failed. This turns the indicator into a lifecycle tracker instead of a one-bar label generator. 🔷 Visual Design The chart output is designed to stay premium and readable: - Compact count labels use milestone-based defaults so the chart shows sequence progress without turning into a label wall. - ATR-based label offsets keep labels away from candle bodies. - Exhaustion zones are drawn as rectangular terminal windows, not generic support/resistance blocks. - Recycle and failure markers are intentionally short and selective. - Older labels and zones are automatically removed to protect chart performance. - The summary panel uses the AGPro standard merged blue title row and a clean four-line state readout. 🔷 Panel Readout The panel summarizes the active condition in a compact format: Direction Shows whether the current qualified run is bullish, bearish, or neutral. Count Shows the active sequential count against the selected exhaustion threshold. Exhaustion Quality Shows the maturity score and the current quality band. Recycle Status Shows whether the sequence is building, mature, testing an exhaustion window, recycling, recycled, failed, or waiting. 🔷 How This Differs From Other AGPro Scripts This script is intentionally separated from AGPro oscillator exhaustion tools. Stochastic Exhaustion Map focuses on stochastic behavior, momentum fatigue, and reset context inside an oscillator framework. Williams %R Exhaustion Map focuses on Williams %R extension behavior and release-corridor logic. Sequential Exhaustion Tracker focuses on the visible candle sequence itself: directional progress, count maturity, terminal exhaustion zone, and post-exhaustion lifecycle behavior. It is also different from support/resistance reaction tools because the rectangles are not structural S/R zones. They are temporary terminal sequence windows created only when a mature count and exhaustion quality condition are present. 🔷 How This Differs From Common Sequential Count Scripts Many sequential scripts focus mainly on printing a fixed count and stopping there. Sequential Exhaustion Tracker takes a different path. It does not simply count bars for visual decoration. It asks whether the count is supported by meaningful directional progress, whether the run has become stretched relative to its own volatility, whether the candle structure is showing absorption, and what happens after the mature sequence appears. The key difference is the lifecycle layer: - Building sequence - Mature count - Exhaustion window - Testing window - Recycle build - Recycled continuation - Failed exhaustion window This gives the script a cleaner analytical role than a basic numbered label tool. 🔷 Suggested Use The script is best used as a chart-context layer for: - identifying late-stage directional runs - separating fresh continuation from mature extension - watching terminal sequence zones - studying continuation recycle behavior - spotting failed late-run pressure - keeping sequential count context visible without overcrowding the chart It is designed to complement market structure, trend context, volatility conditions, and the trader's broader workflow. 🔷 Default Settings The default settings are built for a balanced public-chart presentation: - Count threshold: 8 - Quality threshold: 62 - Trend alignment: enabled - Count label mode: Mature Milestones - Count label start: 6 - Minimum label spacing: 8 bars - Exhaustion zones: enabled - Panel: enabled - Label and panel font sizes: Normal These defaults aim to keep the chart informative without turning it into a noisy label wall. 🔷 Why It Was Built Directional markets often move in phases. Early movement can be clean and efficient. Middle movement can be supported and persistent. Late movement can still continue, but the character of the candles often starts to change. Sequential Exhaustion Tracker was built to make that progression easier to read directly on the chart. The goal is not to call every top or bottom. The goal is to show where the current sequence sits in its own lifecycle and whether the post-exhaustion behavior is confirming continuation, stalling, or failing. That narrow focus is what makes the tool distinct: it is not a general momentum dashboard, not an oscillator map, not a support/resistance engine, and not a signal checklist. It is a dedicated sequential maturity and lifecycle tracker. Indikator Pine Script®oleh AGProLabsDiupdate 19
Breakout Volume Quality [AGPro Series]Breakout Volume Quality 🔷 OVERVIEW Breakout Volume Quality is a chart-overlay indicator built to answer one specific question: When price breaks a defended level, did that break carry real participation quality, or was it only a low-conviction move beyond the line? Many breakout tools detect the level break itself. This script goes one layer deeper. It evaluates the breakout candle through relative volume, body efficiency, close location, distance beyond the broken level, expansion versus ATR, and the quality of the underlying support-resistance range. The output is a clean 0-100 breakout volume quality score, a visual confirmation band, a compact event label, and a retest state panel. The goal is not to mark every possible breakout. The goal is to separate a cleaner participation-backed break from a weak level poke that deserves less visual attention. 🔹 CORE IDEA A breakout is more useful when price does more than cross a line. Breakout Volume Quality looks for a sequence: 1. A support or resistance reference is built from repeated pivot interaction. 2. Price closes beyond that defended level by an ATR-adjusted buffer. 3. The breakout candle is graded for relative volume participation. 4. Candle structure is checked for efficient body control and directional close quality. 5. The move is measured against ATR to understand displacement and expansion. 6. Confirmed events project a forward confirmation band. 7. The script then tracks whether the broken level produces a clean retest hold, expires, or fades back inside. This creates a more complete event map than a simple arrow above or below a candle. 💠 UNIQUE EDGE The edge of this script is the "volume verdict" layer. It does not simply ask whether price broke resistance or support. It asks whether the break showed enough participation quality to deserve confirmation. That distinction matters because visually similar breakouts can behave very differently: - A break with elevated relative volume, strong body efficiency, and a close near the directional extreme usually communicates cleaner participation. - A break with low relative volume, wick-heavy structure, and a weak close beyond the level may be more fragile. - A move that breaks, confirms, and later holds the band is visually different from a move that immediately fades back inside. Breakout Volume Quality turns those differences into a readable score and a structured chart layer. 🔶 WHAT MAKES IT DIFFERENT FROM OTHER AGPRO BREAKOUT TOOLS This script was intentionally designed to avoid overlapping with the existing AGPro breakout family. It is not a Donchian breakout tool. It does not revolve around a rolling channel high or low as the main concept. The level reference comes from defended pivot interaction, and the main evaluation is the volume quality of the break. It is not an Inside Bar breakout tool. It does not require a parent candle compression pattern. The script can evaluate broader defended levels rather than only inside-bar structures. It is not an Opening Range breakout tool. There is no session opening window, no locked opening range, and no session-specific model. It is not an ATR Envelope breakout tool. It does not treat a dynamic volatility envelope as the breakout boundary. ATR is used for normalization, buffers, bands, and score scaling. It is not a Break-Retest quality tool. The retest state is included for workflow context, but the core score is assigned to the breakout candle and its participation quality. The first retest is not the central scoring event. It is not a Failed Break or trap-reclaim tool. Weak breaks are faded as failed confirmations, but the script does not rebuild the event into a reversal or reclaim model. It is not a general RVOL pressure map. Relative volume is used specifically to validate level breaks, not to classify all candles into broad pressure states. This gives Breakout Volume Quality its own clear lane: breakout participation quality around defended levels. 📌 VISUAL COMPONENTS Breakout Line The broken level is extended forward so the user can see the exact structural reference being tested. Decision Rails Eligible defended support and resistance references are displayed as subtle forward rails. These rails keep the chart active while price is building around a level, without turning the script into a generic support-resistance map. Volume Build-Up Windows Compact boxes labeled BULL SETUP or BEAR SETUP can frame areas where price is building volume pressure near an eligible breakout level before confirmation. These windows are concept-native: they show pre-breakout participation pressure, not generic support-resistance zones. Optional Advanced Layers RVOL approach marks, quality candle glow, and pressure trail points are available for users who want more activity on the chart, but they are disabled by default so the main public view remains easy to read. Confirmation Band A rectangular band is projected around the broken level. Confirmed events use stronger visual emphasis, while weak confirmations are faded so the chart keeps important context without becoming noisy. Failed-Confirmation Fade When price breaks a level but fails the volume, score, candle structure, or close-quality model, the event can still be shown as a softer failed confirmation band. Cleaner weak confirmations can also print WEAK UP or WEAK DOWN labels through a minimum-score filter, so the chart gains more context without labeling every low-quality break. Retest Hold Label After a confirmed breakout, the script watches the band for a clean hold. A retest hold is labeled only once so the chart remains controlled. Summary Panel The panel displays the current breakout side, volume confirmation, expansion, retest state, and score. It is designed for quick chart reading without covering the price action. ⚙️ SCORING MODEL The score is built from six components: Relative Volume Measures whether current participation is meaningfully above its volume baseline. Body Efficiency Measures how much of the candle range is represented by the real body. Directional Close Location Checks whether the candle closes toward the breakout side of its own range. Break Distance Measures how far the close finishes beyond the broken level in ATR terms. Expansion Measures the breakout candle range relative to ATR. Range Quality Rewards levels that come from a more defined structure rather than a loose oversized range. Together, these components produce a transparent 0-100 score and a grade-style readout. 🧭 HOW TO USE Use the script to study whether a breakout has participation quality. A stronger event usually has: - A clean close beyond the level. - Relative volume above the confirmation threshold. - A body-dominant candle. - A close near the breakout-side extreme. - Meaningful ATR-normalized displacement. - A confirmation band that later holds during a retest. A weaker event may show: - Low relative volume. - A wick-heavy breakout candle. - A close barely beyond the level. - Fast return back inside the broken structure. - A faded failed-confirmation label instead of a confirmed event. The script is best used as a structured chart-reading layer. It helps organize breakout quality, but it is not a complete trading system by itself. 🔷 KEY INPUTS Pivot Strength Controls how support and resistance references are confirmed. Minimum Level Touches Requires repeated interaction before a level becomes eligible. Level Match Tolerance ATR Groups nearby pivots into one defended level. Close Beyond Level ATR Controls how decisive the break must be beyond the level. RVOL Confirmation Threshold Defines the participation level required for volume confirmation. Minimum Body Efficiency Filters weak, wick-heavy breakout bars. Directional Close Location Requires the candle to close toward the breakout side. Minimum Score To Confirm Controls how selective confirmed breakout labels should be. Confirmation Band ATR Sets the height of the projected band around the broken level. Retest Watch Window Defines how long the script watches for a clean retest hold. Panel Location / Theme / Font Size Allows the panel to be adapted to different chart layouts. Label Font Size / Label Offset Keeps labels readable and away from candle bodies. 🔶 BEST USE CASE Breakout Volume Quality works best when the chart has visible defended levels and the user wants a cleaner way to judge whether the break had enough participation behind it. It is especially useful for: - Breakouts through repeated swing highs or swing lows. - Range exits where volume quality matters. - Comparing strong break candles against weak level pokes. - Reviewing whether a breakout level later behaves as a confirmation band. - Keeping weak break attempts visible without giving them the same visual weight as confirmed events. The script is intentionally restrained: no oversized dashboard, no heavy channel system, no session dependency, and no unnecessary signal spam. The chart stays focused on the level, the break, the volume verdict, and the retest state. 🔹 ALERTS The script includes alert conditions for: - Bullish breakout volume confirmation. - Bearish breakout volume confirmation. - Breakout failed volume confirmation. - Breakout retest hold. - Breakout failed back inside. These alerts are event prompts for chart review and workflow organization. 💎 DESIGN PHILOSOPHY Breakout Volume Quality is built to feel clean, premium, and practical on a public TradingView chart. The visual hierarchy is deliberate: - Confirmed breaks are visible but not loud. - Cleaner weak confirmations are faded and labeled through a score filter, while low-quality weak breaks stay visually softer. - Decision rails keep active levels visible between major events. - Labeled setup windows explain where pre-breakout volume pressure is forming. - Optional activity layers are available, but the default chart does not rely on unlabeled dots. - Bands are long enough to make the level meaningful. - Retest labels appear only when the state actually changes. - The panel stays compact and focused on the fields that matter. The result is a breakout tool that is easy to understand at first glance, but still has enough structure underneath to support serious review. Indikator Pine Script®oleh AGProLabsDiupdate 27
Volume Absorption Zones [AGPro Series]Volume Absorption Zones 🔷 Overview Volume Absorption Zones is a chart-overlay volume analysis tool built around one specific market condition: high effort with limited price result. Instead of marking every high-volume candle as important, the script looks for candles where participation expands while the candle range stays compressed, the close location shows directional control, and the resulting price area can be tracked as a forward absorption zone. When a valid event appears, the script draws a rectangular bullish or bearish absorption box, projects it forward, adds an invalidation level, and continues monitoring whether the zone is defended, failed, or left as active context. The goal is to make absorption visible as a lifecycle on the chart rather than a one-bar marker. 🔹 Core Idea Absorption is not the same thing as a volume spike. A volume spike can appear during expansion, exhaustion, liquidation, news reactions, or ordinary session activity. This script focuses on a narrower structure: - Volume expands relative to its recent baseline. - Candle spread remains compressed relative to its recent range baseline. - The close location shows directional control. - The wick/body structure leaves a usable absorption range. - The zone remains visible after the event so later defense or failure can be evaluated. Bullish absorption is modeled as high participation absorbed near the lower side of the candle while the close finishes with upper-side control. Bearish absorption is modeled as high participation absorbed near the upper side of the candle while the close finishes with lower-side control. This makes the script an effort-versus-result zone model, not a generic volume highlight. 💎 What Makes This Script Different Most volume absorption scripts and high-volume tools stop at one of three outputs: - A candle color. - A triangle or label. - A simple high-volume marker. Volume Absorption Zones goes further by converting the detected event into a managed chart zone. The script keeps asking questions after the first signal: - Where is the absorption range? - Is the zone still active? - Has price defended the zone? - Has price closed beyond the invalidation level? - Is follow-through improving or fading? - How old is the zone? - Is the current context bullish absorption, bearish absorption, defended, failed, or mature? This lifecycle approach is the main design difference. The first event creates the zone; the later candles tell the story. 🧭 Difference From Other AGPro Scripts This script was designed to sit in a separate lane from existing AGPro volume and price-action tools. It is not Volume Climax Detector. Volume Climax Detector focuses on extreme participation and climax-style events. Volume Absorption Zones focuses on compressed effort: elevated volume with limited spread and a forward zone that can later defend or fail. It is not Relative Volume Pressure Map. Relative Volume Pressure Map classifies broader relative-volume pressure and pressure efficiency. Volume Absorption Zones does not try to build a broad pressure regime. It isolates concrete absorption ranges and follows their lifecycle. It is not Volume Delta Imbalance Map. Volume Delta Imbalance Map is built around flow imbalance behavior. Volume Absorption Zones does not estimate bid/ask delta, CVD, or directional transaction flow. It stays OHLCV-native and uses candle structure plus relative volume effort. It is not Volume Profile Acceptance Ladder or a POC tool. This script does not build volume profile bins, value area, POC magnets, acceptance ladders, or auction distribution zones. Its zones come only from absorption-candle conditions. It is not a general support/resistance drawer. The boxes are not swing highs, swing lows, pivots, order blocks, or manually projected support/resistance areas. A box appears only when the absorption engine detects high effort, compressed result, close-location control, and sufficient quality. That separation is important: the script is not a renamed version of another AGPro concept. Its role is absorption-zone lifecycle tracking. ⚙️ How The Engine Works The script evaluates each candle through a structured sequence: 1. Volume Effort Current volume is compared with a rolling volume baseline. The event must show elevated participation before any absorption zone can be created. 2. Spread Compression The candle range is compared with a recent spread baseline. A qualifying event needs limited price travel relative to normal range behavior. 3. Close Location Bullish absorption requires the close to finish in the upper part of the candle. Bearish absorption requires the close to finish in the lower part of the candle. 4. Absorbed Wick Share The script checks whether the candle leaves enough absorbed-side structure to define a useful zone. 5. Absorption Quality Effort, compression, and close-location behavior are blended into a quality score. This helps filter weaker events and keeps the chart focused on stronger absorption structures. 6. Zone Projection When the event qualifies, the script draws a rectangular zone and extends it forward for the selected number of bars. 7. Invalidation Level Each zone receives an ATR-buffered invalidation line beyond the absorption range. 8. Defense / Failure Tracking After the zone is created, the script tracks whether price defends the range or closes beyond invalidation. 📦 Zone States Active The zone has been created and remains unresolved. Defended Price interacts with the zone and closes back in favor of the zone direction. Failed Price closes beyond the ATR-buffered invalidation level. Mature The zone remains active beyond the selected age threshold. These states help the user understand whether an absorption zone is still relevant, has been respected, or has lost its structure. 📊 AGPro Panel The dashboard summarizes the latest absorption context without requiring the user to inspect every box manually. Panel fields: - Absorption Side - Effort Score - Spread Compression - Follow-through - Zone Status - Zone Age The panel follows the AGPro publication layout: - Single merged blue header row. - Header contains only the script panel title. - Adjustable panel location. - Adjustable panel theme. - Adjustable panel font size. 🎯 Visual Design The script is designed to be readable on clean publication charts: - Bullish zones use the AGPro teal state color. - Bearish zones use the AGPro pink state color. - Failed zones shift to the neutral state color. - Defended zones shift to the accent state color. - Invalidation lines are dotted and subtle. - Event labels are offset from candles so they remain visible. - Label cooldown and maximum-label settings keep density under control. - Active zone count is capped for performance and readability. The default visual style is intentionally active, because absorption is easier to understand when the zone lifecycle is visible on the chart. 🔔 Alerts Included alert conditions: - Bullish Absorption Zone - Bearish Absorption Zone - Absorption Zone Defended - Absorption Zone Failed These alerts are tied to the same lifecycle states shown on the chart. 🛠 Key Inputs Volume Baseline Length Controls the lookback used to normalize current volume. High Effort Threshold Defines how much relative volume expansion is required before a candle can qualify. Spread Baseline Length Controls the range baseline used for spread compression. Maximum Spread Ratio Defines how compressed the candle must be relative to its baseline. Strong Close Location Controls how strongly the candle must close toward the active side. Minimum Absorbed Wick Share Requires visible absorbed-side candle structure before a zone can be accepted. Minimum Absorption Quality Filters events by the combined effort, compression, and close-location score. Zone Extension Bars Controls how far absorption boxes project forward. Max Active Zones Caps the number of active boxes retained on the chart. Invalidation Buffer ATR Controls the ATR buffer used for each zone's invalidation level. Mature Zone Age Defines when an unresolved zone is considered mature. Max Zone Memory Bars Removes older zones so the chart remains focused on recent, visible absorption context. Label Cooldown Bars Controls spacing between event labels. Max Event Labels Controls the maximum number of retained labels. Label Font Size / Panel Font Size Both default to Normal and can be adjusted from settings. 🧩 Best Use Volume Absorption Zones is designed for traders who want to study: - High-effort, low-result candles. - Absorption zones that remain visible after the initial event. - Whether later price action defends or fails those zones. - Market areas where volume expands but price travel remains compressed. - Weekly, daily, and intraday absorption structures without needing a lower-pane volume dashboard. The script can be used across symbols and timeframes where TradingView volume data is available. The quality of results depends on the instrument, session structure, liquidity, and reliability of the volume feed. 🔍 Limitations & Transparency This script uses standard TradingView OHLCV data. It does not access order book data, bid/ask data, footprint data, true delta, or exchange-native transaction flow. The absorption model is rule-based. It approximates absorption through relative volume effort, spread compression, close-location behavior, wick/body structure, and later zone interaction. It does not predict future price movement and it does not issue buy or sell commands. It organizes absorption context on the chart so users can evaluate how price behaves around those zones. Different instruments and timeframes may require input adjustments. Thin markets, irregular volume feeds, major gaps, and unusual sessions can affect event quality. ✅ Chart Reading Guide For the clearest view, use a clean chart with only this script loaded. The boxes, labels, dotted invalidation lines, and panel are designed to explain the absorption lifecycle without requiring additional overlays. Indikator Pine Script®oleh AGProLabsDiupdate 79
NY Midnight Candle RightThis script displays a synthetic daily candle projected to the right side of the chart. Unlike the platform’s standard daily candle, it is built from price action that starts at New York midnight and ends at the next New York midnightIndikator Pine Script®oleh safianfzl1
Institutional Candle Detector [AGPro Series]🕯️ Institutional Candle Detector Every trader has stared at a massive candle and asked the same question: "Was that the start of a move, the end of one, or just noise?" Most indicators stop at detection — they paint the candle, drop a label, and walk away. This one keeps watching. Institutional Candle Detector uses a dual-track engine. The body-driven track flags high-conviction candles where ATR-normalized body size and relative volume both expand together, then classifies each event by body/wick geometry. The independent absorption track captures a different signature entirely — low-body candles on extreme volume, the classic aggression-absorbed footprint that body-only detectors miss. Every detected event is then re-evaluated over the following bars to produce a measurable outcome scorecard. 🔹 OVERVIEW The script scans each bar for two separate, mutually-exclusive institutional signatures: • Body-driven events. Body must exceed a multiple of ATR AND volume must exceed a multiple of its rolling average. Classified by geometry into Continuation, Reversal or Exhaustion. • Absorption events. Volume extremely elevated BUT body contained — the market paid for a big move and did not get one. Price was absorbed. Every detected candle is then given a reaction zone projected forward, and its outcome is automatically tagged after the configured look-forward window — Follow-Through (FT), Reverse (RV) or Consolidation (CN). The panel accumulates aggregate statistics across the loaded chart so the trader can see which candle type actually works on their instrument and timeframe. 🔸 UNIQUE EDGE What separates this tool from generic "big candle" or "volume spike" indicators: • Dual-track detection. A single filter cannot capture both explosive moves and absorption. This script runs two engines in parallel with independent thresholds. • Four-class geometric taxonomy, each backed by a distinct detection path. Continuation and Reversal fire from the body-driven track with different geometry. Exhaustion catches the mid-profile edge cases. Absorption runs entirely off its own volume-first track. • Automatic after-behavior tracking. Each event is re-examined after N bars and tagged with an outcome code. This is the part most scripts omit — and it's where edge lives. • Aggregate statistics panel. Follow-through rate, reverse rate, consolidation rate, and per-class counts are computed continuously. The panel tells you whether institutional candles on this asset actually extend, reverse, or fade. • Forward-projected zones, colored by class. Body-driven bull/bear events use state colors. Absorption uses an indigo accent so the rarer signature is instantly recognizable. Reversal zones use the contrarian color to emphasize the expected directional flip. 🔹 METHODOLOGY Body-Driven Track (produces CONT, REV, EXH) – Body is measured as absolute (close − open) and required to exceed Body × ATR multiple. – Volume is required to exceed a configurable multiple of its SMA average. – An optional wick filter rejects candles where total wick exceeds the body beyond a given ratio, removing wide-range noise that looks institutional but is not. – Continuation: body% ≥ configured threshold (clean directional close). – Reversal: opposing wick% ≥ configured threshold (sharp rejection after initial push). – Exhaustion: passes the dual-gate but falls into neither clean category — mid profile, often late in a move. Absorption Track (produces ABS) – Volume must exceed an independently configurable multiple (higher than body-driven default). – Body must be small — below a max Body × ATR and below a max Body / Range. – When absorption fires, it takes precedence over body-driven classification. After-Behavior Layer – After lookFwd bars, the script compares the extreme price move in each direction against the original body size. – If same-direction extension ≥ ftPct × body → Follow-Through (FT). – If opposite-direction retrace ≥ revPct × body → Reverse (RV). – Otherwise → Consolidation (CN). Aggregate counters accumulate across the loaded chart, producing a running scorecard visible in the panel. 🔸 SIGNALS, STATES & MARKERS On-chart signals • Institutional body recolored by class — bull/bear direction for CONT and EXH; contrarian color for REV; accent color for ABS. • Directional triangle marker above/below the bar. • Classification label: INST-Bull 3.2x CONT or INST-Bear 5.4xV ABS format, ASCII only. Labels offset from the candle to stay readable on dense charts. • Reaction zone box projected forward from the candle's high-low range, color-coded by class. • Outcome marker (FT / RV / CN) plotted lookFwd bars after the event. Alerts available • Institutional Continuation • Institutional Reversal • Institutional Absorption • Institutional Exhaustion All four alerts fire on confirmed bars only. 🔹 KEY INPUTS Detection Core (body-driven track) – ATR Length (default 14) – Volume Average Length (default 20) – Min Body × ATR (default 2.0) – Min Volume Multiple (default 2.5) – Wick filter toggle and max Wick/Body ratio (default 2.5) Absorption Track – Enable Absorption Detection – Absorption Min Volume Multiple (default 4.0) – Absorption Max Body × ATR (default 1.5) – Absorption Max Body / Range (default 0.40) Classification – Continuation body% threshold (default 0.60) – Reversal opposing-wick% threshold (default 0.40) After-Behavior – Look-forward bars (default 5) – Follow-through threshold as fraction of body (default 0.50) – Reverse threshold as fraction of body (default 0.60) Visuals – Show/hide zones, zone projection length, opacity, max active zones – Label size (default Small; increase if labels feel too compact) – Institutional border width – Outcome marker toggle Panel – 8-position panel placement – Dark / Light theme – Font size (default Normal) – Recent events mini-list toggle 🔸 HOW TO USE 1. Start with defaults on a liquid asset. 4H is a strong baseline; 1H for active traders; Daily for swing context. On Daily, consider lowering Min Body × ATR to 1.5 if events are too rare. 2. Watch the panel accumulate events over two to four weeks on your instrument. The follow-through rate tells you whether institutional candles on this chart tend to extend or fade. 3. Trade-context usage: – Continuation with a high historical follow-through rate on this asset → trend trades in candle direction after pullback into the zone. – Reversal with a high historical reverse rate → fade setups at key levels. – Absorption → aggressive flow was met by an equal or greater defender; often precedes a reversal or compression phase. – Exhaustion → proceed with caution; frequently a late-move signature where the trend is losing clean structure. 4. Reaction zones act as provisional supply/demand. A retest of a zone with another institutional event near it is a confluence worth noting. 5. Tune thresholds per asset. High-liquidity instruments may need Body × ATR of 2.5+ to keep events selective; low-liquidity pairs can go down to 1.5. Absorption volume multiple can also be adjusted upward on already-volatile instruments. 🔹 LIMITATIONS & TRANSPARENCY • This is an analytical indicator, not a strategy. No entry, exit, or stop logic is defined and no performance claims are made. • Aggregate statistics are computed over the loaded chart window and will shift as more bars load or as timeframes change. • Volume quality depends on the data feed; exchange-reported volume differs across sources for the same asset. • Follow-through evaluation uses a fixed look-forward window; real trade management will differ. • All results are historical and descriptive. Past behavior of any candle class does not guarantee future behavior. 🔸 RISK DISCLOSURE Trading carries substantial risk. This tool is provided for analytical and educational purposes. Do your own research. Use position sizing and risk management appropriate to your account. Nothing in this script constitutes financial advice.Indikator Pine Script®oleh AGProLabsDiupdate 563
MTF Candle Bias TableMTF Candle Bias Table Brought to my attention by Max Algo — credit and appreciation to them for sharing this. A clean, at-a-glance multi-timeframe dashboard that tells you where price is biased across up to 7 timeframes simultaneously — no more flipping between charts. What it shows: For each timeframe you choose, the table displays: Candle — whether the current candle is bullish or bearish (close vs. open) Bias — directional bias based on whether price has breached the prior bar's high or low Trend — whether price is trading above or below a configurable EMA (default 50) Hold/Fade — whether price is holding the bias level or fading it Score — a confluence score (0–3) combining candle, trend, and hold alignment Accuracy % — a rolling back-tested accuracy rate showing how often the bias predicted the next candle's direction correctly, over a selectable lookback period (1 day to 1 month) A Bias Score row at the bottom gives you an instant bull vs. bear count across all visible timeframes, color-coded green or red based on overall market lean. A session label (NY Open, Midday, PM Close, Globex, Overnight) keeps you oriented in the trading day at all times. Customization: Enable/disable any of the 7 timeframes individually Toggle columns on/off (Trend, Hold, Score, Accuracy) Vertical or Horizontal table layout Symbols-only mode for a more compact view Full color and position control Great for confluence-based trading — use it to quickly confirm whether multiple timeframes agree before entering a trade. Here's a breakdown of each feature straight from the logic in the code: TREND The trend column compares the current closing price to an EMA (default 50, but you can change the length). If close is above the EMA, it shows "↑ ABOVE" (bullish). If close is below the EMA, it shows "↓ BELOW" (bearish). This is calculated on each timeframe independently, so your 1m and 1D can show completely different trend readings. It's essentially asking: is price on the right side of the moving average on this timeframe? HOLD vs. FADE This column is tied directly to the Bias. Once a bias is established (bull or bear), Hold/Fade tells you whether price is respecting that bias level or failing it. If the bias is bullish (price broke the prior bar's high), Hold checks whether the current close is still above that prior bar's high. If yes → ✓ HOLD. If not → ✗ FADE. If the bias is bearish (price broke the prior bar's low), it checks whether the current close is still below that prior bar's low. If yes → ✓ HOLD. If not → ✗ FADE. If there's no bias (neutral), it just shows a dash. Think of it as a confidence check — a bias that's holding is stronger than one that's already fading. SCORE (0–3) The score is a simple confluence counter that adds up how many things are aligned with the bias. It scores a point for each of the following: Candle agrees with bias — the current candle is bullish and bias is bullish, or both bearish Trend agrees with bias — price is on the correct side of the EMA relative to the bias direction Hold is active — price is holding the bias level (not fading) So a score of 3/3 means everything is aligned: the bias is set, the candle confirms it, the trend supports it, and price is holding the level. A score of 0 or a dash means the bias exists but nothing else is confirming it. Neutral biases always show a dash regardless. ACCURACY % This is the most unique feature. It tracks, historically, how often the bias on each timeframe correctly predicted the direction of the next completed candle. Here's how it works: Each time a new bar closes on a given timeframe, the indicator looks back at what the bias signal was on the previous completed bar It then checks whether that bias was correct — did a bullish bias lead to a bullish close? Did a bearish bias lead to a bearish close? It keeps a rolling log of those results (1 = correct, 0 = wrong) and calculates the percentage of correct predictions The lookback window is controlled by your Accuracy Period setting (1 Day, 3 Days, 1 Week, 2 Weeks, or 1 Month), and it automatically scales the number of bars based on the timeframe The color coding gives you a quick read: 🟢 Green (60%+) — the bias signal has been reliably predictive 🟡 Yellow (50–59%) — marginally better than a coin flip 🔴 Red (below 50%) — the signal has been more wrong than right recently This helps you know which timeframes are currently giving trustworthy signals and which ones to treat with skepticism.Indikator Pine Script®oleh jferheartDiupdate 44 1.3 K
ES Breakout Toolkit Breakout Candle Scanner Free=== PART OF THE ES BREAKOUT TOOLKIT === This is one of several free, standalone indicators that make up the ES Breakout Toolkit series. Each indicator isolates a single component used in the full ES London Breakout Pro strategy. They are designed to be useful on their own and educational for traders studying what makes a quality breakout candle. === WHAT THIS INDICATOR DOES === The Breakout Candle Scanner identifies candles that meet specific structural criteria for a high-quality breakout. Not every candle that crosses a level is worth trading — this indicator filters for candles with strong body-to-range ratios, directionally committed close positions, and confirmed breaks above or below a recent range. When a candle breaks out of a defined range AND meets the body ratio and momentum close thresholds, it is marked with a BUY or SELL label. A detail label shows the exact body percentage and close position so you can see why it qualified. An optional mode also marks strong candles that did not produce a breakout, which can be useful for studying candle quality across different market conditions. === HOW TO USE IT === Apply this to an ES futures chart on a 5-minute timeframe. The indicator will scan every candle and mark those that qualify as breakout candles. You can adjust the body ratio threshold, close position thresholds, breakout buffer, and range lookback in the inputs. Body Ratio measures how much of the candle's total range is real body vs wicks. Higher values mean more conviction. Close Position measures where price closed within the candle's range — a bullish candle closing near its high (70%+) or a bearish candle closing near its low (30% or below) indicates strong momentum commitment. The dashboard tracks total bullish and bearish breakout candles as well as strong non-breakout candles, giving you a running count of candle quality during the session. === KEY FEATURES === - Breakout candle detection with body ratio and close position filters - Configurable thresholds for all candle quality metrics - ATR-based breakout buffer to filter false breaks - Detail labels showing exact body% and close position% on each signal - Optional mode to mark all strong candles (not just breakouts) - Optional bar coloring for qualifying candles - Optional London session filter - Running stats dashboard - Alerts for bullish and bearish breakout candles === ABOUT THE ES BREAKOUT TOOLKIT === This indicator is part of a free series that breaks down the building blocks of a London session ES futures breakout strategy. Other free indicators in the series cover session highlighting, consolidation range detection, ADX regime filtering, and momentum close analysis. Each is published separately on my profile. The full ES London Breakout Pro indicator combines all of these components into a unified strategy with additional proprietary features including advanced risk management, trade qualification, and data tracking. It is available as an invite-only script on my profile. Use the access request instructions on that script's page if you are interested. === DISCLAIMER === This indicator is provided for educational and informational purposes only. It is NOT financial advice. It does not constitute a recommendation to buy, sell, or hold any financial instrument. Trading futures involves substantial risk of loss and is not suitable for all investors. Past performance of any indicator or strategy is not indicative of future results. Always conduct your own research and consult a qualified financial advisor before making any trading decisions. You are solely responsible for your own trading activity.Indikator Pine Script®oleh keyno_6
AG Pro Inside Bar Breakout Quality [AGPro Series]AG Pro Inside Bar Breakout Quality Overview / What it does AG Pro Inside Bar Breakout Quality is an overlay tool built to study one of the market’s most familiar compression structures: the inside bar. Instead of stopping at simple detection, the script evaluates what happens after the pattern forms and grades the breakout attempt with a structured quality model. The result is a workflow-oriented view of inside bar compression, breakout strength, and failed continuation behavior. The script first identifies a strict inside bar condition, where the current bar remains fully contained within the previous bar’s range. That parent range becomes the active reference zone. From there, the script monitors whether price resolves above or below the structure, whether the move is confirmed by close, whether volume supports the breakout, and whether the breakout later fails and re-enters the range within a user-defined window. This is not designed as a generic “any breakout” marker. Its purpose is narrower and more specific: it focuses on a compact volatility contraction event, then measures how decisively price leaves that compression. In practical chart work, this helps separate a low-commitment range poke from a more convincing expansion move. The visual presentation is intentionally structured. Inside bar zones are boxed, breakout direction is marked, quality is scored, and fakeouts are labeled when the breakout reverses back into the monitored range. This makes the script suitable for traders who want a cleaner way to inspect inside bar behavior without manually drawing every structure. Unique Edge The main difference here is that the script does not treat every inside bar break as equally meaningful. Many tools stop at “pattern detected” or “level broken.” This script adds a second layer: breakout quality. That layer is derived from close position, volume context, candle body participation, and alignment with the parent candle’s directional bias. A second differentiator is the built-in fakeout logic. After a breakout is detected, the script continues to watch price for a limited number of bars. If the move quickly returns back through the breakout boundary, the event is tagged as a fakeout. This adds post-event context instead of only marking the first directional move. Another distinction is that the methodology is deterministic and chart-native. The logic is rule-based, visible, and reproducible from bar to bar. Users can decide whether to require close confirmation beyond the inside bar range, whether to require volume confirmation, and how strict they want the displayed threshold to be through the minimum score filter. In short, this script is not only about finding compression. It is about ranking the quality of the expansion attempt that follows the compression, while also acknowledging that some breakouts fail quickly and should be read differently. Methodology 1) Inside Bar Detection An inside bar is identified when the current bar’s high is lower than the previous bar’s high and the current bar’s low is higher than the previous bar’s low. This creates a strict containment definition based on the previous candle’s full range. 2) Reference Zone Once an inside bar is detected, the prior candle becomes the parent reference bar. Its high and low define the active breakout boundaries. That range can be visualized as a box, with an optional midpoint line to make the compression zone easier to read on chart. 3) Breakout Confirmation A bullish breakout occurs when price moves above the parent high. A bearish breakout occurs when price moves below the parent low. Users can choose whether breakout confirmation should be based on close beyond the range or on a less restrictive intrabar break condition. 4) Quality Score Each breakout can be scored on a 0–10 scale. The score is built from multiple components: - close position relative to the inside bar boundary - volume ratio versus the selected moving average - body participation within the breakout candle’s total range - directional alignment between the breakout and the parent candle bias This scoring model is designed to estimate how committed the breakout candle appears, rather than assuming all breaks have equal informational value. 5) Fakeout Detection If enabled, the script monitors a user-defined number of bars after breakout. A bullish breakout that returns back below the upper boundary within that window is labeled as a bull trap / fakeout. A bearish breakout that returns back above the lower boundary within that window is labeled as a bear trap / fakeout. 6) Visual Layer The script can display the inside bar zone, midpoint, breakout arrows, score labels, and fakeout markers. A summary panel tracks aggregate statistics such as total inside bars, total breakouts, breakout direction counts, fakeouts, and the latest breakout score. Signals & Alerts The script can provide alert conditions for: - bullish inside bar breakout - bearish inside bar breakout - fakeout detection - high-quality breakout events - any breakout event These alerts are intended to help users monitor the pattern and its resolution more efficiently. They do not replace trade planning, confirmation from broader market context, or independent risk management. Key Inputs Min Score to Show Breakout Filters displayed breakout labels by quality threshold. This can be useful for reducing low-quality visual noise. Volume Confirmation Required When enabled, breakout evaluation requires volume to be above its moving average threshold. This can help remove low-participation breaks. Volume MA Period Defines the lookback length for average volume comparison. Require Close Beyond IB When enabled, breakout confirmation depends on bar close beyond the parent range. This creates a more conservative and more stable breakout definition. Max IBs to Display Controls how many recent structures and related objects remain visible on chart. Show IB Box / Midline / Breakout Arrow / Score Label Lets users decide how much visual detail they want to keep on screen. Glow Effect on High Score Adds emphasis to stronger breakout events without changing the underlying logic. Fakeout Window Defines how many bars after breakout the script should continue monitoring for a return back through the breakout boundary. Limitations & Transparency This script studies inside bar compression and subsequent breakout behavior. It does not claim to identify all meaningful consolidations, and it does not attempt to classify every market regime. The methodology is intentionally focused on one structure. The score is a rule-based quality model, not an objective measure of future outcome. A high score does not guarantee continuation, and a lower score does not guarantee failure. It simply reflects how the breakout candle and its context behave according to the script’s internal criteria. Volume-based interpretation may vary across symbols and markets. On some instruments, especially those with inconsistent or synthetic volume data, volume confirmation may be less informative than on others. Users should evaluate whether volume filtering is appropriate for the asset they are studying. Fakeout detection is also definition-dependent. The script labels a fakeout when price returns through the breakout boundary within the selected lookback window. Different traders may prefer a different timing window or a different failure definition. As with any overlay, chart readability depends on market volatility, timeframe, and user settings. On lower timeframes or during highly active periods, more visual events may appear. The built-in filters and display controls are there to help manage that density. Risk Disclosure This script is an analytical tool for chart study. It is not financial advice, not a trade recommendation, and not a promise of future results. Inside bar breakouts can behave differently across timeframes, instruments, and market regimes. Users should not rely on a single pattern, score, or alert in isolation. Context still matters, including trend condition, liquidity environment, nearby structure, volatility regime, and execution discipline. Before using this script in any live decision process, it should be reviewed in the specific market and timeframe relevant to the user’s own approach. Testing, observation, and risk controls remain essential. Indikator Pine Script®oleh AGProLabsDiupdate 2267