SMT Divergences V2 [OutOfOptions]Smart Money Technique (SMT) Divergence is designed to identify discrepancies between correlated assets within the same timeframe. It occurs when two related assets exhibit opposing signals, such as one forming a higher low while the other forms a lower low. This technique is particularly useful for anticipating market shifts or reversals before they become evident through other Premium Discount (PD) Arrays.
This indicator works by identifying the highs and lows that have formed for an asset on the current chart and the correlated symbol defined in the settings. Once a pivot on either asset is formed, it checks if the pivot has taken liquidity as identified by the previous pivot in the same direction (i.e., a new high taking out a previous high). If this is the case and the corresponding asset has not taken a similar pivot, the condition is determined to be a potential valid divergence. The indicator will then filter out SMTs formed by adjacent candles, requiring at least one candle difference between the candles forming the SMT.
If the “Candle Direction Validation” setting is enabled, the indicator will further check both assets to ensure that for bullish SMTs, the last high on both assets was formed by down candle, and for bearish SMTs, the low was formed by an up candle. This check can often eliminate low-probability SMTs that are frequently broken.
The referenced chart shows divergence between Nasdaq (NQ) and S&P 500 (ES) futures, which are normally closely correlated assets that move in the same direction. The lines shown represent bullish and bearish divergences between the two when they are formed. As you can see from the chart, SMT Divergences may not always indicate a reversal, or a reversal might be just a short-term retrace. Therefore, SMT Divergences should not be used independently. However, in conjunction with other PD arrays, they can provide strong confirmation of a change in market direction.
Configurability:
Pivot strength - Indicates how many bars to the left/right of a high for pivot to be considered, recommended to keep at 1 for maximum detection speed
Candle Direction Validation - Additional SMT validation to filter out weak/low-probability SMTs be examining candle direction
Remove Broken SMTs - Keeps the chart clean by removing broken (invalidate) SMTs from the chart, once price moves beyond the outmost edge of the SMT
Work in Realtime - Enabled real-time mode for even faster detection of SMTs
Line Styling for Bullish/Bearish SMTs - Ability to customize line style, color & width for bullish/bearish SMTs
Label Control - Whether or not to show SMT label and if shown what font size & color should be used and if labels should include a tooltip containing information about the SMT
What makes this indicator different:
When used on NQ/ES it will automatically detect the matching the corresponding ticker, i.e. if you have chart on NQU2025 it'll automatically match to ESU2025 and vice-versa. Works for mini/micro/continuous contract
Unlike other SMT indicators, this indicator has an option to remove broken (no longer valid SMTs)
Allows real-time detection of SMTs prior to the pivot being fully formed
Allows validation of SMTs to only display high-probability SMTs, that are more likely to signal a possible reversal
Includes alerting capability for both SMT creation and when the SMT is broken (invalidated)
樞軸點和水平
Custom Opening TimesThis indicator displays custom opening levels on your chart. Define multiple opening times, each with its own customizable style. Display these levels as horizontal lines at the opening price, or as vertical lines to mark the opening time.
Custom Opening Times
4 Independent Groups with 4 custom opening levels each
Set any custom opening time (displayed in New York Local Time)
Choose between Opening Price lines, Vertical time markers, or Both
Cutoff Times: Stop extending lines after specified times
Higher Timeframe Levels
5 Configurable HTF levels supporting any timeframe
Display opening prices from Daily, Weekly, Monthly, Quarterly, and custom timeframes
Show Previous High/Low levels from higher timeframes
Hourly Strong Pivot RaysThis indicator projects strong hourly pivots consistent with institutional order flow. Pivots plotted are based on previous 21 days of price action.
Dow Theory HH-HL-LH_LL 2025
//--------------------------------------------
Dow Theory HH-HL-LH-LL 2025
//--------------------------------------------
✅ Purpose
This indicator visualizes Dow Theory structure by identifying:
//--------------------------------------------
Higher Highs (HH)
Higher Lows (HL)
Lower Highs (LH)
Lower Lows (LL)
//--------------------------------------------
It helps traders clearly identify market trends, trend reversals, and structure shifts in real time —
crucial for both swing and intraday traders.
//--------------------------------------------
⚙️ Key Features & User Settings
//--------------------------------------------
🟩 1. New Day Highlight
Show_New_Day: Toggle ON/OFF background color for new trading days.
ND_Fill_Transp: Set transparency level of the day start background Color Box Line.
📏 2. Pivot Point Settings
Pivot_Period: Set the period used to detect pivot highs/lows Default is 5.
🎯 3. Line & Label Display
Show_Line: Show/hide support/resistance lines at HH, HL, LH, LL.
Show_Lbl: Show/hide text labels on chart.
Show_With_Price: Display price along with HH-HL-LH-LL labels.
🎨 4. Visual Themes
Select_Theme: Choose between 'Color' or 'Gray' for a colorful or minimal style.
✍️ 5. Support/Resistance Line Style
Line Width, Line Style: Customize thickness and style of lines.
Line Transparency: Set transparency of lines.
🏷️ 6. Label Text Styling
Lbl_Transp: Set background transparency for labels Default is 100 You can Change it any time to Show Label Background.
Txt_Transp: Set text transparency Default is 0 .
Txt_Size: Adjust label font size Default is 10.
🟡🟡🟡 And Best Thing of Indicator is you can Check Price any time Hovering on the Label - For Quick Referance 🟡🟡🟡
//--------------------------------------------
Trend Direction
//--------------------------------------------
🔹 Identify trend continuation or reversal zones.
🔹 Mark structure breakpoints to place stop losses.
🔹 Confirm signals from other indicators (RSI, EMA, VWAP, etc.).
🔹 Analyze price action with pure structure — no lagging indicators.
TDT TOOL ONE (V1.0) by tradingpunks.comTDT TOOL ONE
This a key level indicator for low timeframe intraday trading and scalping.
Access is invite only.
Please visit tradingpunks.com to get your personal access.
Order Flow Bias LogicOrder Flow Bias Logic
This indicator maps institutional session behavior by tracking the Asia, London, and New York trading sessions. It highlights key price levels including:
Daily Open
Asia & London Highs/Lows
+1% and -1% Daily Open thresholds
It identifies potential stop hunts and NY session consolidation setups to help detect bullish or bearish intraday bias. Labels are displayed on the chart to signal high-probability zones for reversals or continuations, based on order flow logic.
Ideal for intraday traders looking to align with institutional session dynamics.
FVG-Bully BearsFVG-Bully Bears Indicator
The FVG-Bully Bears indicator is a powerful tool designed to identify Fair Value Gaps (FVGs) on your TradingView charts. FVGs are price gaps that occur when the market moves sharply, leaving areas where little to no trading activity took place. These gaps often act as key support or resistance zones, making them valuable for traders looking to spot potential reversal or continuation points.
This indicator highlights Bullish FVGs (potential support zones) and Bearish FVGs (potential resistance zones) with customizable boxes and labels, helping you visualize these critical price levels with ease.
Features
Bullish and Bearish FVGs: Detects gaps where price has left untested areas, marking bullish (green) and bearish (red) FVGs.
Customizable Display: Choose to show or hide bullish/bearish FVGs, adjust colors, and control box visibility.
FVG Labels: Optional labels on each FVG box to clearly identify bullish or bearish gaps, with adjustable text size.
Delete Filled FVGs: Automatically removes FVGs once price revisits and fills the gap, keeping your chart clean.
Box Extension: Extend FVG boxes into the future (up to 100 bars) to track unfilled gaps over time.
Performance Optimization: Limits the number of displayed FVG boxes (default: 50) to ensure smooth chart performance.
How It Works
Bullish FVG: Identified when the high of a candle two bars ago is lower than the low of the current candle, indicating a sharp upward move.
Bearish FVG: Identified when the low of a candle two bars ago is higher than the high of the current candle, indicating a sharp downward move.
FVGs are drawn as colored boxes (green for bullish, red for bearish) and can include labels for easy identification.
If enabled, filled FVGs (where price revisits the gap) are deleted to reduce chart clutter.
Settings
FVG Settings
Show Bullish FVGs: Enable/disable bullish FVG boxes (default: enabled).
Show Bearish FVGs: Enable/disable bearish FVG boxes (default: enabled).
Bullish FVG Color: Customize the color and transparency of bullish FVG boxes (default: light green).
Bearish FVG Color: Customize the color and transparency of bearish FVG boxes (default: light red).
Max FVG Boxes: Set the maximum number of FVG boxes displayed (default: 50, range: 1–500).
Extend FVG Boxes (Bars): Extend FVG boxes into the future by a specified number of bars (default: 8, range: 0–100).
Show FVG Labels: Enable/disable text labels on FVG boxes (default: enabled).
Label Size: Choose the size of FVG labels (options: Tiny, Small, Normal, Large, Huge; default: Small).
Delete Filled FVGs: Automatically remove FVGs when price fills the gap (default: enabled).
How to Use
Add the FVG-Bully Bears indicator to your TradingView chart.
Customize the settings to match your trading style (e.g., adjust colors, toggle labels, or change box extensions).
Watch for green (bullish) and red (bearish) FVG boxes:
Bullish FVGs: Potential support zones where price may bounce or consolidate.
Bearish FVGs: Potential resistance zones where price may reverse or stall.
Use FVGs in combination with other indicators (e.g., support/resistance, trendlines) for better trade decisions.
If “Delete Filled FVGs” is enabled, filled gaps will disappear, keeping your chart focused on active FVGs.
Ideal For
Swing Traders: Identify key price zones for entries or exits.
Day Traders: Spot intraday support/resistance levels created by rapid price moves.
Price Action Traders: Use FVGs to confirm market structure and potential reversal points.
Notes
For best performance, keep “Max FVG Boxes” at a reasonable value (e.g., 50) to avoid chart lag.
FVGs are most effective on lower timeframes (e.g., 5m, 15m, 1H) but can be used on any timeframe.
Combine with other tools like volume or trend indicators for a complete trading strategy.
Enjoy trading with FVG-Bully Bears and take advantage of Fair Valu
ICT Average Daily Range (ADR)📊 ICT Average Daily Range (ADR) Indicator
This indicator implements the Average Daily Range (ADR) concept taught by ICT (Inner Circle Trader). It calculates the average range of previous trading days and projects key levels for the current session, helping traders identify high-probability targets and reversal zones.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✨ KEY FEATURES
- Accurate ADR Calculation - Uses only completed trading sessions (excludes current incomplete day)
- ICT Judas Swing Levels - Highlights the critical 1/3 ADR levels where institutional manipulation often occurs
- Two Calculation Modes - New York Midnight (ICT recommended) or Classic Daily
- Customizable Fractional Levels - 1/3, 2/3, 25%, 50%, 75% of ADR
- Smart Labels - Display price levels and percentage from open
- Flexible Visual Style - Separate line styles for different level groups
- Session Dividers - Optional vertical lines at session start
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📅 WEEKEND SESSION HANDLING
How Forex Sessions Work:
- Monday-Thursday: Full 24-hour sessions
- Friday: Partial session (00:00 to ~17:00 NY time)
- Sunday: Partial session (~17:00 NY to Monday 00:00)
- Saturday: No trading
Impact on ADR:
Both Friday and Sunday are partial sessions which can lower your ADR average. For example: Mon-Thu average 100 pips, Fri 70 pips, Sun 30 pips = 5-day ADR of 80 pips.
Other Markets:
- Crypto: 24/7 trading, no partial days
- Futures/Stocks: No Sunday session
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎓 ICT CONCEPTS
Average Daily Range (ADR)
Statistical measure of average price movement per day. Acts as a "magnet" for price - markets tend to fulfill their ADR.
1/3 ADR Levels - "Judas Swing"
ICT's signature concept for identifying manipulation zones. Price often sweeps these levels to trap retail traders before reversing. High-probability reversal areas during London/NY sessions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS GUIDE
ADR Period: Number of days for calculation (default 5)
- Lower values = More responsive
- Higher values = Smoother levels
Calculation Mode:
- New York Midnight - ICT standard, best for Forex
- Classic Daily - Exchange timezone
Level Display:
- ADR High/Low - Primary targets
- 1/3 Levels - Judas Swing zones
- 2/3 Levels - Trending day targets
- Quarter Levels - 25% and 75%
- 50% Level - Mid-range
Visual Options:
- Separate line styles for each level group
- Customizable colors and width
- Optional labels with price/percentage
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 TRADING TIPS
1. Early Session: If price moves to 1/3 ADR quickly, watch for Judas Swing reversal
2. Mid Session: Use 2/3 levels as continuation targets in trending markets
3. Late Session: ADR completion often marks session extremes
4. Risk Management: Use fractional levels for scaling positions
5. Confluence: Combine with Fair Value Gaps, Order Blocks, and Liquidity Pools
Best Timeframes: 15m, 30m, 1H, 4H for intraday trading
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 NOTES
- Based on concepts taught by ICT (Inner Circle Trader)
- Requires at least 5 completed sessions for full accuracy
- ICT suggested using "New York Midnight" mode
- Weekend sessions handled based on actual market hours
- Be aware that Friday/Sunday partial sessions may lower ADR average
Created with focus on clean implementation and ICT's core teachings.
SPX Levels Adjusted to ES1!This indicator allows you to plot custom SPX levels directly on the ES1! (E-mini S&P 500 Futures) chart, automatically adjusting for the spread between SPX and ES1!. This is particularly useful for traders who perform technical analysis on SPX but execute trades on ES1!.
Features:
Input up to three SPX key levels to track (e.g., 5000, 4950, 4900)
The script adjusts these levels in real-time based on the current spread between SPX and ES1!
Displays the spread in the chart header for quick reference
Plots updated horizontal lines that move with the spread
Includes optional labels showing the spread periodically to reduce clutter
Ideal for futures traders who want SPX context while trading ES1!.
Make sure to apply this indicator on the ES1! chart, not SPX.
NY/Asia/London Highs & LowsNew York, Asia, London Highs and Lows.
this indicator marks the Highs & Lows of three Major session.
each session marker is colored and labeled accordingly.
these Highs and Lows act as major supports and resistance levels.
only works for ETH (extended trading hours).. will not work on RTH.
Choch Pattern Levels [BigBeluga]🔵 OVERVIEW
The Choch Pattern Levels indicator automatically detects Change of Character (CHoCH) shifts in market structure — crucial moments that often signal early trend reversals or major directional transitions. It plots the structural break level, visualizes the pattern zone with triangle overlays, and tracks delta volume to help traders assess the strength behind each move.
🔵 CONCEPTS
CHoCH Pattern: A bullish CHoCH forms when price breaks a previous swing high after a swing low, while a bearish CHoCH appears when price breaks a swing low after a prior swing high.
Break Level Mapping: The indicator identifies the highest or lowest point between the pivot and the breakout, marking it with a clean horizontal level where price often reacts.
Delta Volume Tracking: Net bullish or bearish volume is accumulated between the pivot and the breakout, revealing the momentum and conviction behind each CHoCH.
Chart Clean-Up: If price later closes through the CHoCH level, the zone is automatically removed to maintain clarity and focus on active setups only.
🔵 FEATURES
Automatic CHoCH pattern detection using pivot-based logic.
Triangle shapes show structure break: pivot → breakout → internal high/low.
Horizontal level marks the structural zone with a ◯ symbol.
Optional delta volume label with directional sign (+/−).
Green visuals for bullish CHoCHs, red for bearish.
Fully auto-cleaning invalidated levels to reduce clutter.
Clean organization of all lines, labels, and overlays.
User-defined Length input to adjust pivot sensitivity.
🔵 HOW TO USE
Use CHoCH levels as early trend reversal zones or confirmation signals.
Treat bullish CHoCHs as support zones, bearish CHoCHs as resistance.
Look for high delta volume to validate the strength behind each CHoCH.
Combine with other BigBeluga tools like supply/demand, FVGs, or liquidity maps for confluence.
Adjust pivot Length based on your strategy — shorter for intraday, longer for swing trading.
🔵 CONCLUSION
Choch Pattern Levels highlights key structural breaks that can mark the start of new trends. By combining precise break detection with volume analytics and automatic cleanup, it provides actionable insights into the true intent behind price moves — giving traders a clean edge in spotting early reversals and key reaction zones.
KEY MARKET SESSION EU/US RANGE LEVELS - KLT🔹 KEY MARKET SESSION EU/US RANGE LEVELS - KLT
This indicator highlights critical trading levels during the European and U.S. sessions, with Overbought (OB) and Oversold (OS) markers derived from each session's price range.
It’s designed to support traders in identifying key zones of interest and historical price reactions across sessions.
✳️ Features
🕒 Session Recognition
European Session (EU): 08:00 to 14:00 UTC
United States Session (US): 14:30 to 21:00 UTC
The indicator automatically detects the current session and updates levels in real time.
📈 Overbought / Oversold (OB/OS) Levels
Helps identify potential reversal or reaction zones.
🔁 Previous Session OB/OS Crosses
OB/OS levels from the previous session are plotted as white crosses during the opposite session:
EU OB/OS shown during the US session
US OB/OS shown during the EU session
These levels act as potential price targets or reaction areas based on prior session behavior.
🎨 Session-Based Color Coding
EU Session
High/Low: Orange / Fuchsia
OB/OS: Orange / Lime
Previous OB/OS: White crosses during the US session
US Session
High/Low: Aqua / Teal
OB/OS: Aqua / Lime
Previous OB/OS: White crosses during the EU session
🧠 How to Use
Use the OB/OS levels to gauge potential turning points or extended moves.
Watch for previous session crosses to spot historically relevant zones that may attract price.
Monitor extended High/Low lines as potential magnets for price continuation.
🛠 Additional Notes
No repainting; levels are session-locked and tracked in real time.
Optimized for intraday strategies, scalping, and session-based planning.
Works best on assets with clear session behavior (e.g., forex, indices, major commodities).
Trend Buy/Sell Fibonacci Range - KLTThe Trend Buy/Sell Fibonacci Range – KLT indicator identifies bullish and bearish trends based on where the closing price is located within a Fibonacci range calculated from the last N candles (default is 10). Instead of analyzing individual candles, this tool takes a broader view of price action using Fibonacci retracement levels across a dynamic multi-candle range.
How It Works:
Range Calculation
The indicator calculates the highest high and lowest low over the last N candles to define the active price range (default: 10 bars).
Fibonacci Levels
Within this range, Fibonacci levels (0.236, 0.382, 0.5, 0.618, 0.786) are dynamically computed. These levels act as internal thresholds to evaluate bullish or bearish pressure.
Trend Identification (via Close Position):
If the closing price is above the 0.618 level, it indicates strong buy pressure → the candle turns green and an upward triangle appears.
If the closing price is below the 0.382 level, it suggests strong sell pressure → the candle turns red and a downward triangle is displayed.
If the close lies between 0.382 and 0.618, the market is considered neutral, and the candle is gray.
Visual Elements:
Colored candles to immediately spot trend conditions.
Triangle signals (optional) for clear Buy/Sell markers.
Fibonacci level lines plotted on the chart for full context (can be toggled on/off).
Customization Options:
Lookback period (number of candles to calculate the range)
Fibonacci threshold levels (upper/lower)
Show/hide arrows and Fibonacci lines
Why Use This Indicator?
This tool is perfect for traders who want a simple visual method to assess trend strength based on price structure, not indicators derived from lagging moving averages. It offers:
Cleaner market structure analysis
Objective trend zones
Customizable sensitivity
Recommended Use:
Works well in conjunction with support/resistance zones, volume, or momentum indicators.
Applicable to any asset class or timeframe.
Credits:
Developed by KLT, combining structure-based logic with Fibonacci precision.
Pre-Market High and LowThis indicator automatically tracks and plots the daily pre-market high and low levels on your chart for U.S. stocks. It monitors the pre-market session from 4:30 AM to 9:30 AM Eastern Time (New York) and captures the highest and lowest prices during this period.
At exactly 9:30 AM ET, when the regular market opens, the indicator draws dashed horizontal lines representing the pre-market high and pre-market low, extending them forward for better visibility throughout the trading day.
Buyer/Seller Zone (Simplified Version)📌 Indicator: Buyer/Seller Zone (Simplified Version)
This indicator is designed to highlight potential areas of strong buyer or seller activity based on advanced volume and volatility analysis. It identifies key candles that exhibit anomalous behavior — those standing out from typical market noise — and marks them as potential interest zones.
🔍 What it does:
Detects candles with unusually high volume (anomalies).
Filters them further based on strong price movement (volatility).
Marks bullish and bearish zones using customizable visuals: area, circle, or diamond.
Provides optional alerts when a buyer/seller signal is detected.
💡 How to use:
Use this tool to identify potential reversal or continuation zones.
Zones may act as strong support/resistance areas.
Some levels are more significant than others — do not trade every level blindly. Combine with your own analysis or wait for a retest/confirmation before entry.
⚙️ Customization:
Volume filter threshold
Volatility sensitivity
Visualization type, size, and transparency
🚨 Alerts: Set alerts for bullish, bearish, or any signal type.
CPR + 44 MA Breakout Alert with Qty (Crypto, INR Risk)CPR + 44 EMA Breakout Alert with Quantity (Crypto | INR Risk-Based)
This indicator identifies high-probability **breakout and breakdown trades** based on two powerful intraday levels: the **Central Pivot Range (CPR)** and the **44-period Exponential Moving Average (EMA).
📌 Key Features:
Reference Candle Logic: The script first marks a "reference candle" — a candle that breaks out above or below both CPR and 44 EMA from the opposite side.
* Bullish Reference: Closes above both CPR top (TC) and 44 EMA from below.
* Bearish Reference: Closes below both CPR bottom (BC) and 44 EMA from above.
Signal Alerts:
* A **Buy signal** is triggered when a future candle **crosses above the high** of the bullish reference candle.
* A **Sell signal** is triggered when a future candle **crosses below the low** of the bearish reference candle.
* Position Sizing (Crypto):
* Input your **risk in INR**, and the indicator calculates your **position size in crypto quantity** using the live price and risk-based stop-loss distance.
* Includes two inputs: `riskINR` (default ₹600) and `rewardINR` (default ₹1000).
* Converts INR to USD using a user-defined exchange rate (default 85).
* Visual Markings:
* Buy/Sell signals are shown using **plotshapes**.
* Quantity is displayed near the candle using a dynamic label like: `Buy Qty: 4.25`.
🔔 Alerts:
Built-in alert conditions for both Buy and Sell entries. You can use these to automate or notify your trades, with messages formatted for crypto symbols (e.g., `BTCUSD.P Buy`).
** Important Note: ** Mainly Built for the Delta Exchange Broker in India for ALGO Trade Signals for automated trading whenever the alert is triggered. You can customise it for just getting the alerts or according to your needs. Just message me to get the Pine Script!
CPR Breakout/Breakdown Alert CandleIndicator Description (CPR + 44 MA Breakout Reference Candle Alert):
This indicator generates an alert when a candle **crosses above or below a specific "reference candle."
A **reference candle** is formed when a candle on the current day **breaks out above both the Central Pivot Range (CPR) and the 44-period Moving Average (MA)** from below (for a bullish setup) or **breaks down below both CPR and 44 MA** from above (for a bearish setup).
Once this reference candle is identified, the indicator continues monitoring price action. **An alert is triggered when any future candle crosses above (for bullish) or below (for bearish) the high/low of this reference candle**, confirming momentum in the breakout or breakdown direction.
This helps traders catch strong directional moves early, using the CPR and 44 MA as key breakout levels.
QTR Sector Fund Performance vs SPY - by LMAnalyzes various market sectors and compares the last several quarters to the performance of the SPY. The goal is to seek out the sectors that have underperformed for several quarters in the hopes that they would overperform in the next quarter.
Magnet Zones: Trap Detection & Flow Map [@darshakssc]This script detects potential bull and bear trap candles—price actions that may appear strong but are likely to reverse—based on:
🔺 Wick structure
📊 Volume spike behavior
💡 RSI confirmation logic
⏳ Signal cooldown filter to reduce false positives
The indicator then plots:
🟥 Red “🚨 Trap” labels above candles showing possible bull traps
🟩 Green “🧲 Trap” labels below candles showing possible bear traps
➖ Horizontal zone lines to mark these trap levels as “magnet zones,” which may act as future support or resistance
🧠 How It Works:
1. Volume Spike Detection
2. The script first checks for unusually high volume (1.5× the average volume over the last 20 candles).
3. Trap Candle Structure
4. A trap is suspected when there is a long wick opposite the direction of the candle body, signaling a failed breakout or price manipulation.
5. RSI Confirmation
6. Bull Traps: RSI must be above 60
7. Bear Traps: RSI must be below 40
✅ This helps validate whether the price was overbought or oversold.
✅ Cooldown Mechanism
✅ After a trap is detected, it waits for 10 bars before allowing another signal—this reduces noise and overfitting.
✅ How to Use It:
1. Apply on any timeframe, especially effective for intraday trading (e.g. 5m, 15m, 1h).
2. Use the trap signals as early warnings to avoid fake breakouts.
3. Combine with your own strategy or trend-following system for confirmation.
4. The trap lines (magnet zones) can be used as dynamic support/resistance levels for future pullbacks or reversals.
⚠️ Important Note:
This script is for educational purposes only and is not financial advice.
Always use traps in combination with your personal discretion, risk management, and other confluence tools.
Opening Range and Initial balanceThis indicator represents Opening Range and Initial Balance levels.
Opening Range represents the high and low established during the first few minutes of the trading session — usually 5, 15 or 30 minutes.
Initial Balance represents the high and low established during the first hour of the trading session.
Reversal Point Dynamics⇋ Reversal Point Dynamics (RPD)
This is not an indicator; it is a complete system for deconstructing the mechanics of a market reversal. Reversal Point Dynamics (RPD) moves far beyond simplistic pattern recognition, venturing into a deep analysis of the underlying forces that cause trends to exhaust, pause, and turn. It is engineered from the ground up to identify high-probability reversal points by quantifying the confluence of market dynamics in real-time.
Where other tools provide a static signal, RPD delivers a dynamic probability. It understands that a true market turning point is not a single event, but a cascade of failing momentum, structural breakdown, and a shift in market order. RPD's core engine meticulously analyzes each of these dynamic components—the market's underlying state, its velocity and acceleration, its degree of chaos (entropy), and its structural framework. These forces are synthesized into a single, unified Probability Score, offering you an unprecedented, transparent view into the conviction behind every potential reversal.
This is not a "black box" system. It is an open-architecture engine designed to empower the discerning trader. Featuring real-time signal projection, an integrated Fibonacci R2R Target Engine, and a comprehensive dashboard that acts as your Dynamics Control Center , RPD gives you a complete, holistic view of the market's state.
The Theoretical Core: Deconstructing Market Dynamics
RPD's analytical power is born from the intelligent synthesis of multiple, distinct theoretical models. Each pillar of the engine analyzes a different facet of market behavior. The convergence of these analyses—the "Singularity" event referenced in the dashboard—is what generates the final, high-conviction probability score.
1. Pillar One: Quantum State Analysis (QSA)
This is the foundational analysis of the market's current state within its recent context. Instead of treating price as a random walk, QSA quantizes it into a finite number of discrete "states."
Formulaic Concept: The engine establishes a price range using the highest high and lowest low over the Adaptive Analysis Period. This range is then divided into a user-defined number of Analysis Levels. The current price is mapped to one of these states (e.g., in a 9-level system, State 0 is the absolute low, and State 8 is the absolute high).
Analytical Edge: This acts as a powerful foundational filter. The engine will only begin searching for reversal signals when the market has reached a statistically stretched, extreme state (e.g., State 0 or 8). The Edge Sensitivity input allows you to control exactly how close to this extreme edge the price must be, ensuring you are trading from points of maximum potential exhaustion.
2. Pillar Two: Price State Roc (PSR) - The Dynamics of Momentum
This pillar analyzes the kinetic forces of the market: its velocity and acceleration. It understands that it’s not just where the price is, but how it got there that matters.
Formulaic Concept: The psr function calculates two derivatives of price.
Velocity: (price - price ). This measures the speed and direction of the current move.
Acceleration: (velocity - velocity ). This measures the rate of change in that speed. A negative acceleration (deceleration) during a strong rally is a critical pre-reversal warning, indicating momentum is fading even as price may be pushing higher.
Analytical Edge: The engine specifically hunts for exhaustion patterns where momentum is clearly decelerating as price reaches an extreme state. This is the mechanical signature of a weakening trend.
3. Pillar Three: Market Entropy Analysis - The Dynamics of Order & Chaos
This is RPD's chaos filter, a concept borrowed from information theory. Entropy measures the degree of randomness or disorder in the market's price action.
Formulaic Concept: The calculateEntropy function analyzes recent price changes. A market moving directionally and smoothly has low entropy (high order). A market chopping back and forth without direction has high entropy (high chaos). The value is normalized between 0 and 1.
Analytical Edge: The most reliable trades occur in low-entropy, ordered environments. RPD uses the Entropy Threshold to disqualify signals that attempt to form in chaotic, unpredictable conditions, providing a powerful shield against whipsaw markets.
4. Pillar Four: The Synthesis Engine & Probability Calculation
This is where all the dynamic forces converge. The final probability score is a weighted calculation that heavily rewards confluence.
Formulaic Concept: The calculateProbability function intelligently assembles the final score:
A Base Score is established from trend strength and entropy.
An Entropy Score adds points for low entropy (order) and subtracts for high entropy (chaos).
A significant Divergence Bonus is awarded for a classic momentum divergence.
RSI & Volume Bonuses are added if momentum oscillators are in extreme territory or a volume spike confirms institutional interest.
MTF & Adaptive Bonuses add further weight for alignment with higher timeframe structure.
Analytical Edge: A signal backed by multiple dynamic forces (e.g., extreme state + decelerating momentum + low entropy + volume spike) will receive an exponentially higher probability score. This is the very essence of analyzing reversal point dynamics.
The Command Center: Mastering the Inputs
Every input is a precise lever of control, allowing you to fine-tune the RPD engine to your exact trading style, market, and timeframe.
🧠 Core Algorithm
Predictive Mode (Early Detection):
What It Is: Enables the engine to search for potential reversals on the current, unclosed bar.
How It Works: Analyzes intra-bar acceleration and state to identify developing exhaustion. These signals are marked with a ' ? ' and are tentative.
How To Use It: Enable for scalping or very aggressive day trading to get the earliest possible indication. Disable for swing trading or a more conservative approach that waits for full bar confirmation.
Live Signal Mode (Current Bar):
What It Is: A highly aggressive mode that plots tentative signals with a ' ! ' on the live bar based on projected price and momentum. These signals repaint intra-bar.
How It Works: Uses a linear regression projection of the close to anticipate a reversal.
How To Use It: For advanced users who use intra-bar dynamics for execution and understand the nature of repainting signals.
Adaptive Analysis Period:
What It Is: The main lookback period for the QSA, PSR, and Entropy calculations. This is the engine's "memory."
How It Works: A shorter period makes the engine highly sensitive to local price swings. A longer period makes it focus only on major, significant market structure.
How To Use It: Scalping (1-5m): 15-25. Day Trading (15m-1H): 25-40. Swing Trading (4H+): 40-60.
Fractal Strength (Bars):
What It Is: Defines the strength of the pivot detection used for confirming reversal events.
How It Works: A value of '2' requires a candle's high/low to be more extreme than the two bars to its left and right.
How To Use It: '2' is a robust standard. Increase to '3' for an even stricter definition of a structural pivot, which will result in fewer signals.
MTF Multiplier:
What It Is: Integrates pivot data from a higher timeframe for confluence.
How It Works: A multiplier of '4' on a 15-minute chart will pull pivot data from the 1-hour chart (15 * 4 = 60m).
How To Use It: Set to a multiple that corresponds to your preferred higher timeframe for contextual analysis.
🎯 Signal Settings
Min Probability %:
What It Is: Your master quality filter. A signal is only plotted if its score exceeds this threshold.
How It Works: Directly filters the output of the final probability calculation.
How To Use It: High-Quality (80-95): For A+ setups only. Balanced (65-75): For day trading. Aggressive (50-60): For scalping.
Min Signal Distance (Bars):
What It Is: A noise filter that prevents signals from clustering in choppy conditions.
How It Works: Enforces a "cooldown" period of N bars after a signal.
How To Use It: Increase in ranging markets to focus on major swings. Decrease on lower timeframes.
Entropy Threshold:
What It Is: Your "chaos shield." Sets the maximum allowable market randomness for a signal.
How It Works: If calculated entropy is above this value, the signal is invalidated.
How To Use It: Lower values (0.1-0.5): Extremely strict. Higher values (0.7-1.0): More lenient. 0.85 is a good balance.
Adaptive Entropy & Aggressive Mode:
What It Is: Toggles for dynamically adjusting the engine's core parameters.
How It Works: Adaptive Entropy can slightly lower the required probability in strong trends. Aggressive Mode uses more lenient settings across the board.
How To Use It: Keep Adaptive on. Use Aggressive Mode sparingly, primarily for scalping highly volatile assets.
📊 State Analysis
Analysis Levels:
What It Is: The number of discrete "states" for the QSA.
How It Works: More levels create a finer-grained analysis of price location.
How To Use It: 6-7 levels are ideal. Increasing to 9 can provide more precision on very volatile assets.
Edge Sensitivity:
What It Is: Defines how close to the absolute top/bottom of the range price must be.
How It Works: '0' means price must be in the absolute highest/lowest state. '3' allows a signal within the top/bottom 3 states.
How To Use It: '3' provides a good balance. Lower it to '1' or '0' if you only want to trade extreme exhaustion.
The Dashboard: Your Dynamics Control Center
The dashboard provides a transparent, real-time view into the engine's brain. Use it to understand the context behind every signal and to gauge the current market environment at a glance.
🎯 UNIFIED PROB SCORE
TOTAL SCORE: The highest probability score (either Peak or Valley) the engine is currently calculating. This is your main at-a-glance conviction metric. The "Singularity" header refers to the event where market dynamics align—the event RPD is built to detect.
Quality: A human-readable interpretation of the Total Score. "EXCEPTIONAL" (🌟) is a rare, A+ confluence event. "STRONG" (💪) is a high-quality, tradable setup.
📊 ORDER FLOW & COMPONENT ANALYSIS
Volume Spike: Shows if the current volume is significantly higher than average (YES/NO). A 'YES' adds major confirmation.
Peak/Valley Conf: This breaks down the probability score into its directional components, showing you the separate confidence levels for a potential top (Peak) versus a bottom (Valley).
🌌 MARKET STRUCTURE
HTF Trend: Shows the direction of the underlying trend based on a Supertrend calculation.
Entropy: The current market chaos reading. "🔥 LOW" is an ideal, ordered state for trading. "😴 HIGH" is a warning of choppy, unpredictable conditions.
🔮 FIB & R2R ZONE (Large Dashboard)
This section gives you the status of the Fibonacci Target Engine. It shows if an Active Channel (entry zone) or Stop Zone (invalidation zone) is active and displays the precise price levels for the static entry, target, and stop calculated at the time of the signal.
🛡️ FILTERS & PREDICTIVES (Large Dashboard)
This panel provides a status check on all the bonus filters. It shows the current RSI Status, whether a Divergence is present, and if a Live Pending signal is forming.
The Visual Interface: A Symphony of Data
Every visual element is designed for instant, intuitive interpretation of market dynamics.
Signal Markers: These are the primary outputs of the engine.
▼/▲ b: A fully confirmed signal that has passed all filters.
? b: A tentative signal generated in Predictive Mode, indicating developing dynamics.
◈ b: This diamond icon replaces the standard triangle when the signal is confirmed by a strong momentum divergence, highlighting it as a superior setup where dynamics are misaligned with price.
Harmonic Wave: The flowing, colored wave around the price.
What It Represents: The market's "flow dynamic" and volatility.
How to Interpret It: Expanding waves show increasing volatility. The color is tied to the "Quantum Color" in your theme, representing the underlying energy field of the market.
Entropy Particles: The small dots appearing above/below price.
What They Represent: A direct visualization of the "order dynamic."
How to Interpret Them: Their presence signifies a low-entropy, ordered state ideal for trading. Their color indicates the direction of momentum (PSR velocity). Their absence means the market is too chaotic (high entropy).
The Fibonacci Target Engine: The dynamic R2R system appearing post-signal.
Static Fib Levels: Colored horizontal lines representing the market's "structural dynamic."
The Green "Active Channel" Box: Your zone of consideration. An area to manage a potential entry.
Development Philosophy
Reversal Point Dynamics was engineered to answer a fundamental question: can we objectively measure the forces behind a market turn? It is a synthesis of concepts from market microstructure, statistics, and information theory. The objective was never to create a "perfect" system, but to build a robust decision-support tool that provides a measurable, statistical edge by focusing on the principle of confluence.
By demanding that multiple, independent market dynamics align simultaneously, RPD filters out the vast majority of market noise. It is designed for the trader who thinks in terms of probability and risk management, not in terms of certainties. It is a tool to help you discount the obvious and bet on the unexpected alignment of market forces.
"Markets are constantly in a state of uncertainty and flux and money is made by discounting the obvious and betting on the unexpected."
— George Soros
Trade with insight. Trade with anticipation.
— Dskyz, for DAFE Trading Systems