Bitcoin Cycle Log-Curve (JDK-Analysis)Important: The standard parameters provided in the script are specifically tuned for the TradingView Bitcoin Index chart on a monthly timeframe on logarithmic scale, and will yield the most accurate visual alignment when applied to that dataset. (more below)
This very simple script visualizes Bitcoin’s long-term price behavior using a logarithmic regression model designed to reflect the cyclical nature of Bitcoin’s historical market trends. Unlike typical technical indicators that react to recent price movements, this tool is built on the assumption that Bitcoin follows an exponential growth path over time, shaped by its fixed supply structure and four-year halving cycles.
The calculation behind the curved bands:
An upper boundary, a lower boundary, and a central midline, are calculated based on logarithmic functions applied to the bar index (which serves as a proxy for time). The upper and lower bounds are defined using exponential formulas of the type y = exp(constant + coefficient * log(bar_index)), allowing the curves to evolve dynamically over time. These bands serve as a macro-level guide for identifying periods of historical overvaluation (upper red curve) and undervaluation (lower green curve), with a central black curve representing the geometric average of the two.
How to customize the parameters:
The lower1_const and upper1_const values vertically shift the respective lower and upper curves—more negative values push the curve downward, while higher values lift it.
The lower1_coef and upper1_coef control the steepness of the curves over time, with higher values resulting in faster growth relative to time.
The shift_factor allows for uniform vertical adjustment of all curves simultaneously.
Additionally, the channel_width setting determines how far the mirrored bands extend from the original curves, creating a visual “channel” that can highlight more conservative or aggressive valuation zones depending on preference.
How to use this indicator:
This indicator is not intended for short-term trading or intraday signals. Rather, it serves as a contextual framework for long-term investors to identify high-risk zones near the upper curve and potential long-term value opportunities near the lower curve. These areas historically align with cycle tops and bottoms, and the model helps to place current price action within that broader cyclical narrative. While the concept draws inspiration from Bitcoin’s halving-driven market cycles and exponential adoption curve, the implementation is original in its use of time-based logarithmic regression to define dynamic trend boundaries.
It is best used as a strategic tool for cycle analysis, macro positioning, and trend anchoring—rather than as a short-term signal provider.
Chart patterns
ORB Norman (2 Sessions, Auto Timezone)ORB Norman (2 Sessions, Auto Timezone)
This script plots Opening Range Breakout (ORB) levels for two configurable sessions. It’s designed for intraday traders—especially in futures markets like Gold (GC), Nasdaq (NQ), and S&P (ES)—who trade based on early session breakouts or range rejections. Unlike standard indicators, this tool auto-adjusts for timezones based on the instrument, ensuring precise session alignment.
Features:
Automatically adjusts for NQ/ES (Chicago time) and GC (New York time) based on the symbol.
Plots high, low, and optional midpoint lines for each session.
Clean, minimal settings with visual separation for better usability.
Ray extension length is fully customizable.
Works on any intraday chart (recommended: 5–15 minute timeframes).
Includes customizable session times, colors, ray length, and an optional midpoint line.
Default Sessions:
Session 1:
‣ 07:00–08:00 EST for GC
‣ 06:00–07:00 CT for NQ/ES
Session 2:
‣ 09:30–09:45 EST for GC
‣ 08:30–08:45 CT for NQ/ES
This tool is ideal for traders who scalp the early morning breakout or look for range rejections based on the opening auction.
This script was developed from scratch based on the author's own intraday trading needs.
Dow Theory - Low timeframe Linear Regression Channel🔍 Dow Theory - Minor Trend: Linear Regression Channel for Low Timeframes
Catch Every Move. No Smoothing. No Delay. Pure Price Action.
This indicator redefines how you analyze minor trends on low timeframes by applying Dow Theory principles without relying on traditional smoothing techniques like moving averages. Instead, it maps trends using pure candle high and low points, capturing even the smallest structural shifts with surgical precision.
🧠 What Makes It Special?
Unlike traditional linear regression channels that smooth price across fixed windows (which often fail during high volatility or abrupt moves), this tool is built to react instantly, adapting to the true pulse of the market—the candle’s own highs and lows. The result: no lag, no distortion, and no compromise during fast, slow, wide, or tight market phases.
🧩 Core Functionalities:
Minor Trend Mapping: Automatically identifies and draws channels using candle-by-candle pivot detection (not swing highs/lows).
Adaptive Channel Drawing: Draws real-time parallel channels as soon as a valid trend structure is detected—uptrend, downtrend, or sideway range.
Break Detection Logic: Highlights when price breaks above or below the current channel to anticipate trend shifts.
Sideway Detection: Dynamically tracks contraction phases using overlapping pivot structures.
No Repainting: All lines are fixed and historical; what you see is what really happened.
Fully Customizable:
Change trendline colors for bullish, bearish, or sideway zones.
Adjustable line width and style (solid, dashed, dotted).
Toggle on/off channel lines for clarity.
💡 Why Use This?
If you’re tired of average-based indicators that get whipsawed in volatile markets, this is your surgical tool for clarity. Whether you’re scalping, building entry logic, or looking to automate setups—this indicator gives you the raw market structure in its cleanest, most responsive form.
ENJOY!
Absorption DetectorABSORPTION DETECTOR -
The Absorption Detector identifies institutional order flow by detecting "absorption" patterns where smart money quietly accumulates or distributes positions by absorbing retail order flow. This creates high-probability support and resistance zones for trading. This is an approximation only and does not read any footprint data.
WHAT IS ABSORPTION?
Absorption occurs when institutions take the opposite side of retail trades, creating specific candlestick patterns with high volume and significant wicks. The indicator identifies two main patterns:
SELLING ABSORPTION (P-Pattern): Red zones above candles where institutions sell into retail buying pressure, creating resistance levels. Look for high volume candles with large upper wicks that close in the lower half.
BUYING ABSORPTION (B-Pattern): Green zones below candles where institutions buy from retail selling pressure, creating support levels. Look for high volume candles with large lower wicks that close in the upper half.
KEY FEATURES
- Automatic detection of institutional absorption patterns
- Dynamic support and resistance zone creation
- Customizable styling for all visual elements
- Historic zone display for backtesting analysis
- Strength-based filtering to show only high-probability setups
- Real-time alerts for new absorption patterns
- Professional info panel with key statistics
- Multi-timeframe compatibility
MAIN SETTINGS
Volume Threshold (1.2): Minimum volume surge required compared to average. Higher values = fewer but stronger signals.
Minimum Volume (2500): Absolute volume floor to prevent signals during low-volume periods.
Min Wick Size (0.2): Minimum wick size as ATR multiple. Ensures significant rejection occurred.
Minimum Strength (1.5): Combined volume and wick strength filter. Higher values = higher quality signals.
Show Historic Zones (OFF): Enable to see all historical zones for backtesting. Disable for better performance.
Zone Extension (20): How many bars to project zones forward for anticipating future reactions.
TRADING APPROACH
ZONE REACTION STRATEGY: Wait for price to approach absorption zones and trade the bounce or rejection. Use the zones as dynamic support and resistance levels.
BREAKOUT STRATEGY: Trade decisive breaks of strong absorption zones with proper risk management. Failed zones often lead to strong moves.
CONFLUENCE TRADING: Combine absorption zones with other technical analysis for highest probability setups. Look for alignment with trend lines, Fibonacci levels, and key support/resistance.
RISK MANAGEMENT: Always use stop losses beyond the absorption zones. Target minimum 1:2 risk-reward ratios. Position size appropriately based on zone strength.
OPTIMIZATION GUIDE
For Conservative Trading (fewer, higher quality signals):
- Volume Threshold: 1.5
- Minimum Strength: 2.0
- Min Wick Size: 0.3
For Aggressive Trading (more signals, requires careful filtering):
- Volume Threshold: 1.1
- Minimum Strength: 1.0
- Min Wick Size: 0.15
BEST PRACTICES
Markets: Works best on liquid instruments with good volume - major forex pairs, popular stocks, liquid futures, and established cryptocurrencies.
Timeframes: Effective on all timeframes from 1-minute scalping to daily swing trading. Adjust settings based on your timeframe and trading style.
Confirmation: Never trade absorption signals in isolation. Always combine with trend analysis, market structure, and proper risk management.
Session Timing: Be aware of market sessions and avoid trading during low liquidity periods or major news events.
Backtesting: Use the historic zones feature to validate performance on your chosen market and timeframe before live trading.
CUSTOMIZATION
The indicator offers complete visual customization including zone colors, border styles, label appearances, and info panel positioning. All colors can be adapted to match your chart theme and personal preferences.
Alert system provides both basic and custom message alerts for real-time notifications of new absorption patterns.
PERFORMANCE NOTES
Default settings are optimized for most markets and timeframes. For best performance on older charts, keep "Show Historic Zones" disabled unless specifically backtesting.
The indicator maintains excellent performance even with extensive historical analysis enabled, handling up to 500 zones and 100 labels for comprehensive backtesting.
Futures Support & Resistance LevelsMulti-Timeframe Support & Resistance Levels for Futures Trading
Description:
This indicator automatically identifies and displays key support and resistance levels using multiple technical analysis methods. Designed specifically for futures traders (ES, NQ, etc.), it provides a clean, organized view of important price levels.
Key Features:
Multiple Detection Methods: Combines pivot points, daily ranges, and psychological levels
Smart Ranking System: Levels are numbered by strength (1 = strongest)
Clean Visualization: Extended lines across the chart with clear price labels
Confluence Detection: Highlights areas where multiple levels converge
Customizable Display: Adjust colors, line styles, and label sizes
Level Types Identified:
Daily High/Low (current session)
Previous Daily High/Low
Pivot-based Support/Resistance
Psychological Round Numbers
Confluence Zones (multiple levels clustering)
Technical Approach:
The indicator uses a strength-scoring algorithm to rank levels by importance. Daily levels receive the highest weighting (2.0), followed by previous daily levels (1.5), pivot points (1.0), and psychological levels (0.5). This helps traders focus on the most significant levels.
Visual Elements:
Solid lines = Strong levels
Dashed lines = Medium levels
Dotted lines = Weak levels
Optional technical condition markers for educational analysis
Best Used For:
Identifying key intraday levels for futures trading
Finding high-probability reversal zones
Setting logical stop-loss and take-profit levels
Recognizing confluence areas for stronger setups
Note:
This is a technical analysis tool for educational purposes. No indicator can predict future price movements. Always use proper risk management and combine with other forms of analysis.
Retracement Bar🔍 Retracement Bar – RB
The Retracement Bar (RB) indicator is designed to highlight potential reversal zones by identifying candles where price shows a clear rejection from the extremes. It helps traders spot moments where institutional inventory rebalancing may be occurring — often a precursor to a strong move in the opposite direction.
RB highlights bars that:
Have a relatively small real body compared to the total candle range.
Show a long wick (upper or lower) that exceeds a user-defined percentage of the candle range.
Suggest a potential rejection of price — upward or downward — based on candle structure.
When these conditions are met, a triangle symbol is plotted:
🔻 Red triangle above a candle suggests a possible short opportunity.
🔺 Green triangle below a candle suggests a possible long opportunity.
This indicator does not repaint and triggers only at candle close.
📈 Example – Long Entry
Signal: A green triangle appears below a candle (suggesting rejection of lower prices).
Steps:
Wait for the current RB candle to close.
On the next candle:
Enter long if price breaks above the high of the RB candle.
Alternatively, wait for a pullback and enter based on confirmation (e.g., bullish engulfing, hammer, trendline bounce).
Place a stop-loss just below the low of the RB candle.
Set a target:
Based on a 2:1 risk-reward ratio.
Or use the next resistance/Fibonacci level.
📉 Example – Short Entry
Signal: A red triangle appears above a candle (suggesting rejection of higher prices).
Steps:
Wait for the current RB candle to close.
On the next candle:
Enter short if price breaks below the low of the RB candle.
Or wait for confirmation (e.g., bearish engulfing, shooting star, breakdown from a level).
Place a stop-loss just above the high of the RB candle.
Set a target:
2:1 risk-reward ratio.
Or the next support/Fibonacci zone.
✅ Recommended Filters for Better Results:
Confluence with support/resistance zones.
Trend alignment or reversal context.
Additional confirmation from price action patterns or oscillators.
Volume analysis for entry strength.
🙏 Acknowledgment
Special thanks to Rob Hoffman for inspiring this concept through his original Inventory Retracement Bar (IRB) idea — this indicator is a reinterpretation meant to visually and practically support discretionary price action traders.
Wave Collapse Simulation - Confirmation of New TrendThis Pine Script, titled "Wave Collapse Simulation - Confirmation of New Trend," is an advanced indicator designed to identify high-conviction trend changes. It operates on the principle of a "wave collapse," a metaphor for a moment when market uncertainty resolves into a new, confirmed direction. It identifies these moments by combining signals from market structure, trend-following moving averages, and a spike in volatility. The indicator plots its signals directly on the price chart
The core idea is that a stable trend (making higher highs and higher lows, or vice-versa) will eventually fail. This script pinpoints the exact moment this failure is confirmed by a significant price move that breaks key levels, signaling the start of a new trend.
Key Components
1. Multi-Length Pivot Analysis
Instead of relying on a single lookback period, the script analyzes market structure using up to ten different pivot lengths (e.g., 2, 3, 5, 7, 11...).
Structural Failure: It constantly monitors these pivots to see if the market fails to make a new higher high in an uptrend (higherHighsFailed) or a new lower low in a downtrend (lowerLowsFailed). A failure in this pattern is the first sign that the prevailing trend is weakening.
2. Trend Context and Volatility Trigger
The script uses two additional components to validate a potential trend change:
Long-Term Trend: Two slow-moving averages (999 and 3000 periods) are used to establish the dominant, long-term trend direction. A signal can only occur if it aligns with a break of this established trend.
Volatility Spike: It uses the Average True Range (ATR) to detect a sudden, powerful price movement. A "collapse" is only considered valid if the price moves more than a specified multiple of the ATR, ensuring the signal is backed by significant market force and not just noise.
3. The "Collapse" Event
This is the central logic of the indicator. A bullish or bearish collapse is a high-probability signal triggered only when three specific conditions are met simultaneously:
Bullish Collapse (New Uptrend):
Structure: The market has failed to make new lower lows.
Trend Break: The price breaks above the short-term moving average during a long-term downtrend.
Volatility: The move is accompanied by a significant volatility spike.
Bearish Collapse (New Downtrend):
Structure: The market has failed to make new higher highs.
Trend Break: The price breaks below the short-term moving average during a long-term uptrend.
Volatility: The move is accompanied by a significant volatility spike.
4. Gaussian Probability Simulation
The script includes a Gaussian (normal distribution) function to model market certainty.
Sigma (σ): This variable represents the standard deviation, or "uncertainty." After a collapse event, sigma is reset to a very small value, representing a moment of high certainty about the new trend.
Decay: If no new collapse occurs, sigma gradually increases with each bar, representing the return of uncertainty to the market. While the script calculates the probabilities for a price distribution (the "wave"), its primary function is to use the state of sigma to define the collapse event itself, rather than plotting a visual wave.
How It Appears on the Chart
Moving Averages: The long-term maShort (blue) and maLong (orange) are plotted to show the underlying trend context.
Collapse Signals:
A green triangle is plotted below the price bar to signal a Bullish Collapse.
A red triangle is plotted above the price bar to signal a Bearish Collapse.
Collapse Price: A horizontal red line appears at the price where the collapse was triggered, serving as a key reference level for the new trend.
Institutional Sessions Overlay (Asia/London/NY)Institutional Sessions Overlay is a professional TradingView indicator that visually highlights the main trading sessions (Asia, London, and New York) directly on your chart.
Customizable: Easily adjust session start and end times (including minutes) for each market.
Timezone Alignment: Shift session boxes using the timezone offset parameter so sessions match your chart’s timezone exactly.
Clear Visuals: Colored boxes and optional labels display session opens and closes for fast institutional market structure reference.
Toggle Labels: Show or hide session open/close labels with a single click for a clean or detailed look.
Intuitive UI: User-friendly grouped settings for efficient configuration.
This tool is designed for day traders, institutional traders, and anyone who wants to instantly recognize global session timing and ranges for SMC, ICT, and other session-based strategies.
How to use:
Set your chart to your local timezone.
Use the "Session timezone offset" setting if session boxes do not match actual session opens on your chart.
Adjust the hours and minutes for each session as needed.
Enable or disable labels in the “Display” settings group.
Tip: Use the overlay to spot session highs and lows, volatility windows, and institutional liquidity sweeps.
Slope Based Divergences Multi-Block (Dual Price)This Pine Script® indicator, titled "Slope Based Divergences Multi-Block (Dual Price)," is engineered to identify high-conviction trading signals by detecting divergences across multiple look-back lengths simultaneously. It uses a unique method of calculating momentum through average slopes rather than traditional price points, applying this logic to two different price sources and an oscillator for a comprehensive market view.
Core Concept: Average Slope Analysis
Instead of just looking at price or oscillator values, the indicator's foundation is built on measuring the rate-of-change, or slope, of the market. It goes a step further by calculating an average slope over a specified range of lengths. This provides a much more stable and robust measure of momentum compared to a single-length calculation, effectively smoothing out noise and focusing on the true underlying trend.
The Multi-Block System
The indicator's main strength comes from its "multi-block" design, which concurrently analyzes the market from three distinct perspectives:
Block 1 (Short-Term): Focuses on recent price action.
Block 2 (Mid-Term): Looks at the intermediate trend.
Block 3 (Long-Term): Analyzes the broader, underlying market structure.
For each of these blocks, the indicator calculates the average slope for two separate price sources (e.g., high and low) and one oscillator source (e.g., RSI, Stochastics).
Normalization and Thresholds
To make the slope values from different look back lengths comparable, the indicator converts each calculated average slope into a percentile rank. This rank, from 0 to 100, shows how extreme the current slope is compared to its historical values. Each of the three blocks has its own customizable high and low thresholds, allowing you to define precisely what constitutes a significant upward or downward momentum for that specific timeframe.
High-Confluence Divergence Signals
A divergence is flagged when there's a clear disagreement between the direction of price and the direction of the oscillator. For example, a bullish divergence occurs when the price sources are showing significant downward momentum (low percentile rank slopes) while the oscillator is showing significant upward momentum (high percentile rank slope).
The final signal is intentionally very selective. A "BULL" or "BEAR" signal is only generated when a rare moment of consensus occurs: all three blocks must detect a divergence simultaneously, and an additional short-term price movement must confirm this potential shift in momentum. This strict, multi-layered confirmation process is designed to filter out weak signals and highlight only the most promising opportunities.
The indicator plots clear labels on the chart and can trigger alerts, making it easy to spot these high-conviction setups when they occur
QEMO: Quantum Electromagnetic Oscillator (Safe Adjusted)This is a highly conceptual and oscillator and It attempts to model market dynamics by borrowing concepts from quantum physics and electromagnetism to create a unique oscillator. It does not represent any real physical phenomena but uses these concepts as metaphors for market forces.
Here is a breakdown of its core components:
1. Quantum Price Wavefunction (The Core Price Engine)
This is the most abstract part of the script. It tries to model price not as a single point, but as a "wavefunction" representing a distribution of probable future prices.
Volatility & Price Grid: It first calculates recent market volatility. Based on this volatility, it creates a dynamic grid of possible price levels (price_bins) around the current price.
Probability Density: It assigns a probability to each price level in the grid.
"Energy" Operators:
Kinetic Energy: Metaphorically represents the "momentum" or rate of change of the price probabilities.
Potential Energy: A force field that influences the probabilities, derived from a combination of volatility and trading volume.
Expected Price: After evolving these probabilities, it calculates a single "expected price" which is the weighted average of all prices in the grid, based on their final probabilities.
2. Electromagnetic Fields (Buying vs. Selling Pressure)
This section models the battle between buyers and sellers in a more familiar way:
E-Field (Electric/Buying): Represents buying pressure, calculated from upward price moves (close - open) multiplied by volume.
B-Field (Magnetic/Selling): Represents selling pressure, calculated from downward price moves (open - close) multiplied by volume.
Lorentz Force (F_net): This is the net force (E - B), representing the overall directional pressure in the market. A positive value means buyers are in control; a negative value means sellers are.
3. Entanglement Entropy (Systemic Risk/Stability)
This component aims to measure the market's stability or "systemic risk."
It calculates a form of auto-correlation on recent price returns.
A high degree of instability in this correlation results in a high "Entropy" (S) value.
Essentially, a high S suggests the market is chaotic and unpredictable (low stability), while a low S suggests it is more stable and trending.
4. Final QEMO Calculation & Plotting
All the components are combined to create the final oscillator value:
Final Value: The qemo value is a product of the expected_price, the amplified net force, and the market stability (1 - S).
Smoothing: This raw qemo value is then smoothed with an Adaptive Moving Average (AMA) to produce the final line that gets plotted on the chart.
Visualization:
The main oscillator line is plotted below the chart. Its color changes based on its value (e.g., blue for positive, red for negative).
The background color of the indicator pane changes based on the Entropy (S), providing an immediate visual cue of market stability (e.g., black for stable, white for chaotic).
The script also plots 99th and 1st percentile bands to help identify statistically extreme readings in the oscillator's value.
Enhanced Neowave Wave 1 Finder with ZigZagThis script is an advanced technical analysis indicator for the TradingView platform, written in Pine Script version 5. Its primary goal is to identify potential Elliott Wave "Wave 1" patterns, enhanced with principles from Neowave theory and a custom ZigZag indicator for more accurate pivot detection. The script is designed to be overlaid on the main price chart.
Core Functionality: Blending ZigZag and Neowave
The indicator's methodology is a two-part process. First, it identifies significant price swings using a robust ZigZag indicator. Then, it analyzes these swings based on a set of rules derived from Neowave and classic technical analysis to validate them as potential Wave 1 patterns.
Part 1: ZigZag Integration
The first major component is a comprehensive ZigZag indicator that forms the foundation for all subsequent analysis.
Pivot Detection: The pivots() function is the engine of the ZigZag. It scans the historical price data for significant high and low points (pivots) over a user-defined Length.
Segment Drawing: Once pivots are identified, the script draws lines connecting them, creating the classic ZigZag pattern on the chart.
Extended Direction & Ratios: This is an enhanced feature. The script doesn't just identify highs and lows; it categorizes them as:
Higher High (HH) or Lower High (LH)
Lower Low (LL) or Higher Low (HL)
This classification is crucial for understanding the market structure. It also calculates the price ratio of the most recent ZigZag leg relative to the previous one, which is used later for pattern validation.
Dynamic Updates: The ZigZag is not static. On each new bar, it can update its most recent pivot point if a new, more extreme price (a higher high or a lower low) is printed before the direction officially changes. This ensures the ZigZag is always reflecting the most current and significant price action.
Part 2: Neowave Wave 1 Finder
With the market structure defined by the ZigZag, the second part of the script applies a rigorous set of rules to identify potential Wave 1 patterns. A Wave 1 is the initial move of a new trend in Elliott Wave theory.
Key Validation Criteria
For a price move between two ZigZag pivots to be considered a valid Wave 1, it must pass a series of checks:
Significance: The move must have a minimum percentage change (Minimum Wave Length) and last for a minimum number of bars, filtering out insignificant noise.
Volume Confirmation: A genuine impulse wave is typically supported by increasing volume. The script checks if the volume during the potential Wave 1 is significantly higher than the recent average (Volume Increase Threshold).
Momentum Alignment: The direction of the wave must be confirmed by momentum indicators.
For a bullish (upward) Wave 1, the Relative Strength Index (RSI) must be in a bullish regime (above 50) and the MACD line must be above its signal line.
For a bearish (downward) Wave 1, the RSI must be below 50 and the MACD line must be below its signal line.
Structural Analysis (Impulse vs. Diagonal): The script attempts to differentiate between two types of Wave 1:
Impulse Wave: A strong, clean, and direct move.
Diagonal Wave: A more complex, overlapping, and often wedge-shaped pattern. This is identified by analyzing the time and price complexity of the move, along with the ZigZag leg ratios.
Wave 2 Retracement Check: A critical Neowave rule is that a valid Wave 1 must be followed by a valid Wave 2 retracement. The script looks at the next ZigZag leg to ensure it doesn't retrace more than 100% of the potential Wave 1. It also uses the ZigZag ratios to confirm the retracement falls within typical Fibonacci levels (e.g., 38.2% to 78.6%).
Display and User Interface
The script provides a rich visual experience to aid the trader in their analysis.
Wave Labels and Boxes: When a valid Wave 1 is detected, it is highlighted with a colored line (green for bullish, red for bearish) and a shaded background box. A label clearly marks it as "Wave 1 IMPULSE" or "Wave 1 DIAGONAL".
Fibonacci Retracement Levels: Upon detection of a Wave 1, the script automatically draws key Fibonacci retracement levels (38.2%, 50%, 61.8%, 78.6%). These levels are potential targets for the end of the subsequent Wave 2, offering potential entry points for a Wave 3 trade.
Information Labels: Additional labels provide at-a-glance confirmation of the conditions, showing whether volume and momentum criteria were met.
Customizable Inputs: Users have extensive control over the indicator's parameters, including the ZigZag length, volume thresholds, RSI levels, and the colors of all visual elements.
Alerts: The indicator can be configured to generate an alert whenever a new bullish or bearish Wave 1 pattern is confirmed, allowing traders to be notified of potential opportunities in real-time.
CRT + PO3 Range Theory Hey everyone, I’ve put together a little script for TradingView that tries to show the classic CRT + PO3 (Power of Three) pattern. It’s still a work in progress, so please use it on a demo account and let me know what you think!
What It Does
Accumulation Phase: On each higher‐timeframe bar (e.g. 2-hour), it draws a shaded zone where price is hanging out. That’s when we assume “big players” are quietly building positions.
Manipulation Phase: If price briefly pokes above or below that zone but then slips back inside, it marks that wick as a shake-out.
Distribution Phase: When price finally closes cleanly outside the zone, it draws another shaded area and drops a “Distribution” label plus a big LONG or SHORT arrow on that bar.
You can tweak it so it only shows signals when a bar closes (no more weird flashing mid-bar), or even allow “direct” Distribution on a clean breakout without waiting for a fake wick first.
How to Set It Up
Add the script from your Indicators list.
Pick your HTF (I like 2-hour or 4-hour).
Turn “Show Zone Labels” on or off—these are the little “Accumulation/Manipulation/Distribution” tags.
Turn “Show Entry Signals” on to get the big LONG/SHORT arrows.
If you hate flicker, check “Show signals only at bar close.”
If you want to catch a swift breakout (no fake-out needed), check “Allow direct Distribution on clean breakout.”
There are also sliders for zone colors, transparency, label size, and how far above/below the bars the labels sit.
Why It’s Still a Beta
I’m not a CRT/PO3 guru—this is more of a hobby project and a little facination for this strategy.
There might be edge cases where it misses a shake-out or flags a Distribution too early.
I take no responsibility for your trades—please only run it on a demo account until we’ve worked out the quirks.
Feedback Wanted!
If you try it out, I’d love to hear:
Did the Manipulation wicks line up where you expected?
Were the Distribution arrows on the right bars?
Any ideas for easier settings or extra alerts?
Thanks for testing and helping me turn this into something solid!
Candle Range Theory (CRT) indicator📌 Indicator Name: Candle Range Theory (CRT) indicator
This indicator detects potential bullish and bearish reversal setups based on specific candlestick price action behavior. It is designed to highlight moments when the market may be rejecting extremes and preparing to reverse direction — but only after confirmation with the closing price.
🔍 How It Works:
Bullish Setup (Long Signal):
The previous candle is bearish (closes lower than it opens).
The current candle makes a lower low than the previous one.
The current candle closes above the previous candle’s close.
Bearish Setup (Short Signal):
The previous candle is bullish (closes higher than it opens).
The current candle makes a higher high than the previous one.
The current candle closes below the previous candle’s close.
Signals are only triggered after the bar is fully closed, to avoid premature entries.
🔔 The script includes alert conditions for both long and short setups so you can receive notifications instantly.
🎥 Inspiration:
The idea for this indicator came from the excellent educational content presented in this video:
"How to Read Candlesticks Like a Pro"
We highly recommend watching it to better understand the price action principles behind this signal.
HTF Candle Extremes Zigzag (Drawn on LTF)HTF Candle Extremes Zigzag (Drawn on LTF)
This indicator plots zigzag lines connecting the extremes (highs and lows) of Higher Timeframe (HTF) candles directly on your lower timeframe (LTF) chart. It visually highlights trend changes and HTF candle structure by drawing colored lines representing uptrends and downtrends based on HTF candle extremes.
"Key Features"
Higher Timeframe Tracking: Select any HTF to track candle extremes using the built-in security function.
Zigzag Lines: Connects HTF candle lows to highs in an intuitive zigzag pattern.
Trend Indication: Uptrend lines are green, downtrend lines are red (customizable colors).
Customizable Line Width: Adjust the thickness of the zigzag lines for better visibility.
Drawn on Lower Timeframe: All lines appear on your active lower timeframe chart, allowing easy visual correlation.
"How It Works"
The script fetches the open, high, low, close, and time data of the specified HTF candle. It detects new HTF bars and identifies trend direction changes by comparing the highs and lows of consecutive HTF candles.
- When an uptrend is detected, vertical lines are drawn from low to high of the HTF candle, connected to the previous extreme low.
- When a downtrend is detected, vertical lines are drawn from high to low, connected to the previous extreme high.
- Transitions between trends are highlighted by connecting the last extreme of the previous trend to the current extreme, creating a clean zigzag pattern.
Usage Notes:
Ideal for traders who want to visualize HTF market structure and trend changes while analyzing price action on lower timeframes.
---
© The_Forex_Steward
(mozilla.org)
DP_ORB Entry & Exit IndicatorDisclaimer:
This indicator is for educational purposes only. It does not constitute financial advice. Always do your own research and manage your risk. Also, I cannot take full credit for 'ORB' as its a well known strategy amongst many traders, but I do need to give a special shout out to @TheBigDaddyMax for putting me on to this.
DP_ORB Entry & Exit Indicator
Description:
The DP_ORB Entry & Exit Indicator is a powerful tool designed for traders who utilize the Opening Range Breakout (ORB) strategy on the NYSE session. This indicator visually identifies the initial volatility window of the trading day, by marking the 15m High, and 15m Low into a ORB Box, & then tracks breakout opportunities, and provides clear, dynamic trade management levels—all directly on your chart.
Key Features:
Automatic Opening Range (ORB) Box:
Identifies and plots the high and low of the user-defined opening range (default 9:30–9:45 NYSE) for visual reference and strategy foundation.
Breakout Entry Signals:
Automatically detects and marks long or short breakout entries when price closes above or below the ORB range, with additional momentum confirmation.
Dynamic Stop Loss:
Stop loss is intelligently set to the previous bar’s low for long trades (or high for shorts), adapting to market structure at entry.
Take Profit Targets:
Up to three fully adjustable take-profit levels are plotted, calculated as percentages from entry, supporting progressive trade management.
Visual Trade Management:
Entry, stop loss, and take profit levels are displayed as extending dashed lines from entry point to the current bar, with labels always shown just to the right of price for clarity on all timeframes.
Automatic Reset and Cleanup:
Visuals and logic reset daily and upon exit, ensuring a clean, uncluttered chart experience.
How to Use:
Set your preferred opening range time and take profit levels in the settings.
Wait for a breakout and confirmation during the NYSE session.
Use the on-chart lines and labels to manage your trade according to your risk and strategy plan.
Best For:
Day traders and scalpers seeking a disciplined, visual, and fully-automated approach to opening range breakout trading.
First FVG📘 Indicator Description (English)
First FVG – NY Open is a TradingView indicator designed to automatically identify the first Fair Value Gap (FVG) that appears during the New York session, following the ICT (Inner Circle Trader) methodology.
It highlights institutional inefficiencies in price caused by imbalanced price action and helps traders spot high-probability entry zones, especially after the 9:30 AM EST (New York Open).
⚙️ How It Works
Session time: The indicator scans for FVGs starting at 9:32 AM (allowing 3 candles after the NY Open to form).
FVG Conditions:
Bullish FVG: When the high of 2 candles ago is lower than the low of the current candle and the middle candle is bullish.
Bearish FVG: When the low of 2 candles ago is higher than the high of the current candle and the middle candle is bearish.
Only the first FVG per session is drawn, as taught by ICT for setups like Judas Swing or NY Reversal models.
A colored box is drawn to represent the FVG zone.
A dotted horizontal line (CE) is drawn at the midpoint of the FVG box (Consequent Encroachment), a key level watched by smart money traders.
A dashed vertical line is drawn at 9:30 NY time to mark the open.
🧠 How to Use It
Wait for the NY Open (9:30 AM EST) – the indicator becomes active at 9:32 AM.
Watch for the first FVG box of the day. This is often a high-probability reaction zone.
Use the CE line (center of the FVG) as a reference for entries, rejections, or liquidity grabs.
Combine with market structure, PD Arrays, and liquidity concepts as taught by ICT for confluence.
The FVG box and CE line will extend forward for several candles for visual clarity.
🎛️ Customizable Settings
Session time (default: 09:32–16:00 NY)
FVG box color (up/down)
Text color
Max number of days to keep boxes on chart
Option to show or hide the 9:30 NY Open vertical line
The Great Anchors: Dual AVWAP Powered by RSI
The Great Anchors
*Dual Anchored Volume Weighted Average Price Powered by RSI*
---
📌 Overview
The Great Anchors is a dual AVWAP-based indicator that resets dynamically using RSI extremes — either from the current asset or a master symbol (e.g., BTCUSDT). It identifies meaningful shifts in price structure and momentum using these "anchored" levels.
It’s designed to help traders spot trend continuations, momentum inflection points, and entry signals aligned with overbought/oversold conditions — but only when the market confirms through volume-weighted price direction.
---
🛠 Core Logic
• AVWAP 1 (favwap): Anchored when RSI reaches overbought levels (top anchor)
• AVWAP 2 (savwap): Anchored when RSI reaches oversold levels (bottom anchor)
• AVWAPs are recalculated each time a new OB/OS condition is triggered — acting like "fresh anchors" at key market turning points.
---
⚙️ Key Features
🔁 Auto or Manual RSI Thresholds
→ Automatically determines dynamic RSI OB/OS levels based on past peaks and troughs, or lets you set fixed levels.
🧠 Master Symbol Control
→ Use the RSI of a separate asset (like BTCUSDT, ETHUSDT, SOLUSDT, BNBUSDT, SUPRAUSDT) or indices (like TOTAL, TOTAL2, BFR) to control resets — ideal for tracking how BTC/major coins impacts altcoins/others.
🔍 Trend-Filtering Signal Logic
→ Signals are filtered for less noise and are triggered when:
- Both AVWAPs are rising (bullish) or falling (bearish)
- Price action confirms the structure
🎯 Visual Markers & Alerts
→ "💥" for bullish signals and "🔥" for bearish ones. Alerts included for automation or push notifications.
---
🎯 How to Use It
1. Add the indicator to your chart.
2. Choose whether to use RSI from the current symbol or a master symbol (e.g., BTC).
3. Select auto-adjusted or manual OB/OS levels.
4. Watch for:
- AVWAP(s) making a significant change (at this point it's one of the AVWAPs resetting)
- Check if price flip it upwards or downwards
- If price goes above both AVWAPs thats a likely bullish trend
- If price can't go above both AVWAPs up and fall bellow both that's a likely bearish trend
- Price retesting upper AVWAP and bounce
- likely bullish continuation
- Price retesting lower AVWAP and dip
- likely bearish continuation
- Signal icons on chart ("💥 - Bullish" or "🔥- Bearish")
Best suited for:
• Swing traders
• Momentum traders
• Traders timing altcoin entries using BTC/Major asset's RSI
---
🔔 Signal Explanation
💥 Bullish Signal =
• Both AVWAPs rising
• Higher lows in price structure
• Bullish candle close
• Triggered from overbought RSI reset
🔥 Bearish Signal =
• Both AVWAPs falling
• Lower highs in price structure
• Bearish candle close
• Triggered from oversold RSI reset
Signals reset by opposite signals to prevent noise or overfitting.
---
⚠️ Tips & Notes
• Use AVWAPs as dynamic support/resistance, even without signal triggers
• Pair with volume or divergence tools for stronger confirmation
---
🧩 Credits & Philosophy
This tool is built with a simple philosophy:
"Anchor your trades to meaningful moments in price — not arbitrary time."
The dual AVWAP concept helps you see how price reacts after momentum peaks, giving you a cleaner bias and more precise trade setups.
---
Harmonic Pattern Detector [The_lurker]
📊 Harmonic Pattern Detector
An advanced indicator designed to automatically detect and visualize harmonic patterns on price charts with high accuracy. It is based on Fibonacci ratios, ZigZag structures, and pivot points, offering traders precise identification of potential reversal zones.
The indicator supports detection of 13 major harmonic patterns: Gartley, Butterfly, Bat, Crab, Deep Crab, AB=CD, Cypher, Shark, Three Drives, Wolfe Waves, 5-0, Black Swan, and Anti-Gartley.
Each pattern is matched using ideal Fibonacci ratios with a customizable error margin. Patterns are validated only if the similarity score (accuracy) is greater than or equal to 80%, ensuring reliable signals.
🔎 How It Works:
1️⃣ Pivot Point Detection
The indicator uses a function to find major swing highs and lows (`findPivots`), based on a configurable pattern length (default is 18 candles). These pivots are stored in arrays: `pivotPrices`, `pivotBars`, and `pivotDirections`.
2️⃣ ZigZag Construction
With the pivots detected, the indicator constructs a ZigZag structure by connecting the relevant price points using `buildZigZag`. These lines represent the fundamental price movements forming harmonic shapes.
3️⃣ Fibonacci Ratio Calculation
From the ZigZag, the indicator extracts points labeled X, A, B, C, and D, then calculates key Fibonacci ratios:
* XAB = |B-A| / |X-A|
* ABC = |C-B| / |A-B|
* XAD = |D-A| / |X-A|
4️⃣ Pattern Matching Algorithm
Each pattern has its ideal Fibonacci ranges. The ratios are compared with these ranges using adjustable error margins:
ERROR_MARGIN_MIN = (100 - DETECT_ERROR_MARGIN_PERCENT) / 100
ERROR_MARGIN_MAX = (100 + DETECT_ERROR_MARGIN_PERCENT) / 100
If all required ratios for a pattern fall within these bounds, the pattern is considered a potential match.
5️⃣ Similarity Score Calculation
To evaluate accuracy, each pattern gets a similarity score by comparing actual vs. ideal ratios. For example:
simXAB = min(xabRatio / idealXAB, idealXAB / xabRatio)
simABC = min(abcRatio / idealABC, idealABC / abcRatio)
simXAD = min(xadRatio / idealXAD, idealXAD / xadRatio)
similarity = (simXAB + simABC + simXAD) / 3
Only patterns with a similarity ≥ MIN\_RATING\_PERCENT (default 80%) are shown.
6️⃣ Visual Output
When a pattern is detected, it is displayed by connecting the points X→A→B→C→D. A label is drawn at point D showing:
* Pattern Name
* Emoji (e.g., 🦋 for Gartley)
* Similarity percentage (e.g., "92%")
Patterns are color-coded:
🟢 Green for Bullish
🔴 Red for Bearish
⚙️ Configurable Settings:
* ENABLE_PATTERN_DETECTION`: Toggle to enable or disable pattern detection
* PATTERN_LENGTH_INPUT`: Number of candles to consider for structure
* DETECT_ERROR_MARGIN_PERCENT`: Controls allowed deviation from ideal Fibonacci ratios
* MIN_RATING_PERCENT`: Minimum similarity percentage to display a pattern (e.g., 80%)
🎨 Display Customization:
* Customize ZigZag lines (solid, dotted, dashed)
* Control thickness, color, and style of lines
* Adjust label font size, position, and visibility
* Enable or disable specific pattern types
* Modify Fibonacci levels used per pattern
Labels include emojis for easier recognition:
🦋 Gartley | 🐝 Butterfly | 🦈 Shark | 🐺 Wolfe Waves | 🦢 Black Swan | ⚡ Anti-Gartley
📚 Pattern Definitions:
Gartley: XAB ≈ 0.618, ABC ≈ 0.382–0.886, XAD ≈ 0.786
Butterfly: XAB ≈ 0.786, XAD ≈ 1.272
Bat: XAB ≈ 0.382–0.50, XAD ≈ 0.886
Crab / Deep Crab: XAD ≈ 1.618–1.902
AB=CD: AB equals CD (symmetrical moves)
Cypher: ABC ≈ 1.13–1.414, XAD ≈ 0.786
Shark: XAD ≈ 1.0–1.13
Three Drives: Three legs with Fibonacci extensions
Wolfe Waves: Geometrically aligned points, XAD ≈ 1.272–1.618
5-0: CD retraces 50% of previous wave
Black Swan: Rare, sharp pattern, XAD ≈ 3.618–4.236
Anti-Gartley: Reverse Gartley with custom ratios
📈 Target Markets:
This indicator is effective for analyzing:
✔ Forex
✔ Stocks
✔ Crypto
✔ Commodities (Gold, Oil, etc.)
Suitable for multiple trading styles:
* Scalping
* Swing Trading
* Position Trading
✨ Key Features:
✅ 13 harmonic patterns supported
✅ Automatic detection with accuracy scoring
✅ Adjustable error margins
✅ Fully customizable display
✅ Pattern-specific toggles
✅ Bullish/Bearish color-coded output
✅ Informative labels with pattern name, emoji, and similarity
⚠️ Disclaimer:
This indicator is for educational and analytical purposes only. It does not constitute financial, investment, or trading advice. Use it in conjunction with your own strategy and risk management. Neither TradingView nor the developer is liable for any financial decisions or losses.
كاشف الأنماط التوافقية 📊
مؤشر متطور مصمم للكشف التلقائي عن الأنماط التوافقية على مخططات الأسعار وتصورها بدقة عالية. يعتمد على نسب فيبوناتشي، وهياكل الزجزاج، ونقاط الارتكاز، مما يوفر للمتداولين تحديدًا دقيقًا لمناطق الانعكاس المحتملة.
يدعم المؤشر الكشف عن 13 نمطًا توافقيًا رئيسيًا: جارتلي، الفراشة، الخفاش، السلطعون، السلطعون العميق، AB=CD، السايفر، القرش، ثلاثة محركات، موجات وولف، 5-0، البجعة السوداء، ومضاد جارتلي.
يتم مطابقة كل نمط باستخدام نسب فيبوناتشي مثالية مع هامش خطأ قابل للتخصيص. لا يتم التحقق من صحة الأنماط إلا إذا كانت درجة التشابه (الدقة) أكبر من أو تساوي 80%، مما يضمن إشارات موثوقة.
🔎 كيفية العمل:
1️⃣ اكتشاف نقاط الارتكاز
يستخدم المؤشر دالة للعثور على قمم وقيعان التأرجح الرئيسية (`findPivots`)، بناءً على طول نمط قابل للتخصيص (الطول الافتراضي هو 18 شمعة). تُخزّن هذه النقاط المحورية في مصفوفات: `pivotPrices`، `pivotBars`، `pivotDirections`.
2️⃣ بناء ZigZag
بعد اكتشاف النقاط المحورية، يُنشئ المؤشر بنية ZigZag بربط نقاط السعر ذات الصلة باستخدام `buildZigZag`. تُمثل هذه الخطوط تحركات الأسعار الأساسية مُشكّلةً أشكالًا توافقية.
3️⃣ حساب نسبة فيبوناتشي
من ZigZag، يستخرج المؤشر النقاط المُسمّاة X، A، B، C، وD، ثم يحسب نسب فيبوناتشي الرئيسية:
* XAB = |B-A| / |X-A|
* ABC = |C-B| / |A-B|
* XAD = |D-A| / |X-A|
4️⃣ خوارزمية مطابقة الأنماط
لكل نمط نطاقات فيبوناتشي مثالية. تُقارن النسب بهذه النطاقات باستخدام هوامش خطأ قابلة للتعديل:
ERROR_MARGIN_MIN = (100 - DETECT_ERROR_MARGIN_PERCENT) / 100
ERROR_MARGIN_MAX = (100 + DETECT_ERROR_MARGIN_PERCENT) / 100
إذا وقعت جميع النسب المطلوبة للنمط ضمن هذه الحدود، يُعتبر النمط مطابقًا محتملًا.
5️⃣ حساب درجة التشابه
لتقييم الدقة، يحصل كل نمط على درجة تشابه بمقارنة النسب الفعلية بالنسب المثالية. على سبيل المثال:
simXAB = min(xabRatio / idealXAB, idealXAB / xabRatio)
simABC = min(abcRatio / idealABC, idealABC / abcRatio)
simXAD = min(xadRatio / idealXAD, idealXAD / xadRatio)
التشابه = (simXAB + simABC + simXAD) / 3
يتم عرض الأنماط التي يكون تشابهها ≥ MIN\_RATING\_PERCENT (الافتراضي 80%) فقط.
6️⃣ المخرجات المرئية
عند اكتشاف نمط، يتم عرضه بتوصيل النقاط X→A→B→C→D. يتم رسم علامة عند النقطة D تُظهر:
* اسم النمط
* رمز تعبيري (مثل 🦋 لنمط جارتلي)
* نسبة التشابه (مثل "92%))
الأنماط مُرمَّزة بالألوان:
🟢 أخضر للارتفاع
🔴 أحمر للانخفاض
⚙️ إعدادات قابلة للتخصيص:
* تمكين كشف النمط: تفعيل أو تعطيل كشف النمط
* إدخال طول النمط: عدد الشموع المُراد حسابها للهيكل
* كشف الخطأ: نسبة الهامش: يتحكم في الانحراف المسموح به عن نسب فيبوناتشي المثالية
* الحد الأدنى لنسبة التشابه لعرض النمط (مثل 80%)
🎨 تخصيص العرض:
* تخصيص خطوط متعرجة (متصلة، منقطة، متقطعة)
* التحكم في السُمك واللون ونمط الخطوط
* ضبط حجم خط التسمية وموضعه ووضوحه
* تفعيل أو تعطيل أنواع أنماط محددة
* تعديل مستويات فيبوناتشي المستخدمة لكل نمط
تتضمن التسميات رموزًا تعبيرية لتسهيل التعرف عليها:
🦋 جارتلي | 🐝 فراشة | 🦈 سمكة قرش | 🐺 موجات وولف | 🦢 بجعة سوداء | ⚡ نمط مضاد لـ غارتلي
📚 تعريفات الأنماط:
غارتلي: XAB ≈ 0.618، ABC ≈ 0.382–0.886، XAD ≈ 0.786
فراشة: XAB ≈ 0.786، XAD ≈ 1.272
خفاش: XAB ≈ 0.382–0.50، XAD ≈ 0.886
سرطان البحر/سرطان البحر العميق: XAD ≈ 1.618–1.902
AB=CD: AB يساوي CD (حركات متماثلة)
سايفر: ABC ≈ 1.13–1.414، XAD ≈ 0.786
شارك: XAD ≈ 1.0–1.13
ثلاثة أرجل: ثلاثة أرجل مع فيبوناتشي امتدادات
موجات وولف: نقاط متوازية هندسيًا، XAD ≈ 1.272–1.618
5-0: تصحيح CD بنسبة 50% من الموجة السابقة
البجعة السوداء: نمط نادر وحاد، XAD ≈ 3.618–4.236
مضاد جارتلي: جارتلي معكوس بنسب مخصصة
📈 الأسواق المستهدفة:
هذا المؤشر فعال لتحليل:
✔ الفوركس
✔ الأسهم
✔ العملات المشفرة
✔ السلع (الذهب، النفط، إلخ)
مناسب لأنماط تداول متعددة:
* المضاربة السريعة
* تداول التأرجح
* تداول المراكز
✨ الميزات الرئيسية:
✅ دعم 13 نمطًا توافقيًا
✅ كشف تلقائي مع تسجيل الدقة
✅ هوامش خطأ قابلة للتعديل
✅ شاشة قابلة للتخصيص بالكامل
✅ مفاتيح تبديل خاصة بالأنماط
✅ مخرجات مرمزة بالألوان للصعود/الهبوط
✅ تسميات توضيحية مع النمط الاسم، والرموز التعبيرية، والتشابه
⚠️ إخلاء مسؤولية:
هذا المؤشر لأغراض تعليمية وتحليلية فقط. لا يُمثل نصيحة مالية أو استثمارية أو تداولية. استخدمه بالتزامن مع استراتيجيتك الخاصة وإدارة المخاطر. لا يتحمل TradingView ولا المطور مسؤولية أي قرارات مالية أو خسائر.
Smart Range Zones [Dr. Hafiz]Smart Range Zones
Description:
This indicator highlights key market zones — High Range, Mid Range, and Low Range — to help traders visually understand dynamic support and resistance levels.
✅ High Range: Potential supply/resistance area
✅ Mid Range: Fair value or equilibrium zone
✅ Low Range: Potential demand/support area
The zones are calculated based on the highest and lowest price over a user-defined period (default: 130 bars) and dynamically projected forward.
🔸 EMA 15 Line is included as an optional trend filter — helping confirm direction or trend alignment.
🔧 Features:
Auto-calculated High/Mid/Low zones
Real-time dynamic projections
Right-aligned zone labels inside each box
Clean visual structure
Toggle for showing/hiding EMA 15
📌 Best suited for:
Intraday & swing traders
Range breakouts and rejections
Trend confirmation with EMA
Created and published by Dr. Hafiz, modified under the MPL 2.0 license.
Automated Scalping Signals with TP/SL Indicator [QuantAlgo]🟢 Overview
The Automated Scalping Signals with Take Profit & Stop Loss Indicator is a multi-timeframe trading system that combines market structure analysis with directional bias filtering to identify potential scalping opportunities. It detects Points of Interest (POI) including Fair Value Gaps (FVG) and Order Blocks (OB) while cross-referencing entries with higher timeframe exponential moving average positioning to create systematic entry conditions.
The indicator features adaptive timeframe calculations that automatically scale analysis periods based on your chart timeframe, maintaining consistent analytical relationships across different trading sessions. It provides integrated trade management with stop loss calculation methods, configurable risk-reward ratios, and real-time performance tracking through dashboard displays showing trade statistics, bias direction, and active position status.
This advanced system is designed for low timeframe trading, typically performing optimally on 1 to 15-minute charts across popular instruments such as OANDA:XAUUSD , CME_MINI:MES1! , CME_MINI:ES1! , CME_MINI:MNQ1! , CBOT_MINI:YM1! , CBOT_MINI:MYM1! , BYBIT:BTCUSDT.P , BYBIT:ETHUSDT.P , or any asset and timeframe of your preference.
🟢 How It Works
The indicator operates using a dual-timeframe mathematical framework where higher timeframe exponential moving averages establish directional bias through cross-over analysis, while simultaneously scanning for specific market structure patterns on the POI timeframe. The timeframe calculation engine uses multiplication factors to determine analysis periods, ensuring the bias timeframe provides trend context while the POI timeframe captures structural formations.
The structural analysis begins with FVG detection, which systematically scans price action to identify imbalances where gaps exist between consecutive candle ranges with no overlapping wicks. When such gaps are detected, the algorithm measures their size against minimum thresholds to filter out insignificant formations. Concurrently, OB recognition analyzes three-candle sequences, examining specific open/close relationships that indicate potential institutional accumulation zones. Once these structural patterns are identified, the algorithm cross-references them against the higher timeframe bias direction, creating a validation filter that only permits entries aligned with the prevailing EMA cross-over state. When price subsequently intersects these validated POI zones, entry signals generate with the system calculating entry levels at zone midpoints, then applying the selected stop loss methodology combined with the configured risk-reward ratio to determine take profit placement.
To mirror realistic trading conditions, the indicator incorporates configurable slippage calculations that account for execution differences between intended and actual fill prices. When trades reach their take profit or stop loss levels, the algorithm applies slippage adjustments that worsen the exit prices in a conservative manner - reducing take profit fills and increasing stop loss impact. This approach ensures backtesting results reflect more realistic performance expectations by accounting for spread costs, market volatility during execution, and liquidity constraints that occur in live trading environments.
It also has a performance dashboard that continuously tracks and displays comprehensive trading metrics:
1/ Bias TF / POI TF: Displays the calculated timeframes used for bias analysis and POI detection, showing the actual periods (e.g., "15m / 5m") that result from the multiplier settings to confirm proper adaptive timeframe selection
2/ Bias Direction: Shows current market trend assessment (Bullish, Bearish, or Sideways) derived from EMA cross-over analysis to indicate which trade directions align with prevailing momentum
3/ Data Processing: Indicates how many price bars have been analyzed by the system, helping users verify if complete historical data has been processed for comprehensive strategy validation
4/ Total Trades: Displays the cumulative number of completed trades plus any active positions, providing volume assessment for statistical significance of other metrics
5/ Wins/Losses: Shows the raw count of profitable versus unprofitable trades, offering immediate insight into strategy effectiveness frequency
6/ Win Rate: Reveals the percentage of successful trades, where values above 50% generally indicate effective entry timing and values below suggest strategy refinement needs
7/ Total R-Multiple: Displays cumulative risk-reward performance across all trades, with positive values demonstrating profitable system operation and negative values indicating net losses requiring analysis
8/ Average R Win/Loss: Shows average risk-reward ratios for winning and losing trades separately, where winning averages approaching the configured take profit ratio indicate minimal slippage impact while losing averages near -1.0 suggest effective stop loss execution
9/ TP Ratio / Slippage: Displays the configured take profit ratio and slippage settings with calculated performance impact, showing how execution costs affect actual versus theoretical returns
10/ Profit Factor: Calculates the ratio of total winning amounts to total losing amounts, where values above 1.5 suggest robust profitability, values between 1.0-1.5 indicate modest success, and values below 1.0 show net losses
11/ Maximum Drawdown: Tracks the largest peak-to-trough decline in R-multiple terms, with smaller negative values indicating better capital preservation and risk control during losing streaks
🟢 How to Use
Start by applying the indicator to your chart and observe its performance across different market conditions to understand how it identifies bias direction and POI formations. Then navigate to the settings panel to configure the Bias Timeframe Multiplier for trend context sensitivity and POI Timeframe Multiplier for structural analysis frequency according to your trading preference and objectives.
Next, fine-tune the EMA periods in Bias Settings to control trend detection sensitivity and select your preferred POI types based on your analytical preference. Proceed to configure your Risk Management approach by selecting from the available stop loss calculation methods and setting the Take Profit ratio that aligns with your risk tolerance and profit objectives. Complete the setup by customizing Display Settings to control table visibility and trade visualization elements, adjusting UI positioning and colors for optimal chart readability, then activate Alert Conditions for automated notifications on trade entries, exits, and bias direction changes to support systematic trade management.
🟢 Examples
OANDA:XAUUSD
CME_MINI:MES1!
CME_MINI:ES1!
CME_MINI:MNQ1!
CBOT_MINI:YM1!
BYBIT:BTCUSDT.P
BINANCE:SOLUSD
*Disclaimer: Past performance is not indicative of future results. None of our statements, claims, or signals from our indicators are intended to be financial advice. All trading involves substantial risk of loss, not just upside potential. Users are highly recommended to carefully consider their financial situation and risk tolerance before trading.
db/dt [keypoems]Double Top / Double Bottom Marker
This indicator identifies classic double bottom/double top reversal patterns using pivot point analysis and breakout confirmation methodology, it also marks pivot based market structure shifts or flips.
WHAT IT DOES
The indicator detects two primary types of trading patterns:
1. Double Bottom/Top Patterns: Recognizes classic reversal formations where price creates two similar highs or lows before breaking the neckline
2. Market Structure Shifts (Flips): Identifies when price breaks through significant pivot levels indicating a potential trend change
HOW IT WORKS
Double Pattern Detection:
For double bottoms, the system identifies the first pivot low, then tracks the highest point between potential lows to establish the neckline level. It searches for a second pivot low within the specified price tolerance percentage of the first low. The pattern confirms when price breaks above the neckline. Double tops use the same logic but inverted, tracking the lowest point for the neckline and confirming on downward breaks.
Pattern Invalidation:
Double patterns are automatically invalidated if price creates new extremes beyond both pivot points before neckline confirmation occurs.
Flip Detection:
The algorithm uses a three-step process for each direction. For bullish shifts, it first identifies a pivot high using the specified left/right bar length parameters. It then waits for a subsequent pivot low that occurs after the pivot high. Finally, it confirms the shift when price closes above the original pivot high level. The bearish detection works inversely, starting with a pivot low, followed by a pivot high, and confirmed when price closes below the original pivot low.
CONFIGURATION OPTIONS
General Settings:
- Pivot High/Low Length: Controls the number of bars required on each side of a pivot point for validation
- Start Bar Index: Sets how many bars from the beginning of data to start pattern detection
- Time Filter: Optional start time to limit detection to specific periods
Double Pattern Settings:
- Separate pivot length controls for each pattern type
- Price Tolerance: Maximum percentage difference allowed between the two pivot points to qualify as a double pattern (0.1% to 20%)
- Individual start bar settings for each pattern type
Visual Controls:
- Toggle display for bullish flips, bearish flips, double bottoms, and double tops
- Optional text labels for each pattern type
- Sweep/Mitigation classification labels that distinguish between patterns where the second pivot sweeps beyond the first versus those that hold within tolerance
VISUAL PRESENTATION
Market structure shifts display as triangular markers above or below price with connecting lines that extend from the original pivot point to the breakout confirmation bar. Double patterns appear as rectangular boxes that encompass both pivot points with pattern type labels. The boxes automatically size themselves based on the price range and bar spacing of the pattern.
Color coding uses green for bullish signals, red for bearish signals, blue for double bottoms, and orange for double tops. All visual elements can be individually enabled or disabled based on trading preferences.
UNDERLYING CONCEPTS
This indicator applies market structure theory which suggests that trend changes are often preceded by breaks of significant swing points. The double pattern recognition is based on classical technical analysis principles where price creates similar levels twice before reversing direction, indicating exhaustion of the prevailing trend.
The pivot point methodology ensures that only statistically significant highs and lows are considered, filtering out minor fluctuations that might create false signals. The confirmation requirement prevents premature signals during consolidation phases.
PRACTICAL APPLICATION
Market structure shifts help identify potential trend changes early in their development. Double patterns provide high-probability reversal setups with clear entry levels at neckline breaks and logical stop placements beyond the pattern extremes.
The price tolerance setting allows adaptation to different market volatility conditions. Tighter tolerances work better in stable markets while looser tolerances accommodate more volatile instruments.
LIMITATIONS AND CONSIDERATIONS
This indicator works best in trending markets and may produce less reliable signals during extended sideways consolidation periods. The pivot-based approach means signals occur with some delay after actual market turns, as confirmation requires subsequent price action.
Users should be aware that the indicator plots historical patterns and breakout confirmations. Real-time trading decisions should account for the lag inherent in pivot point calculation and pattern completion requirements.
The effectiveness of detected patterns may vary significantly across different timeframes, market conditions, and instrument types. Combining these signals with additional analysis methods and proper risk management is recommended for practical trading applications.
Double pattern detection requires sufficient price history and bar spacing to properly identify and validate formations. Very short timeframes or instruments with limited volatility may not generate frequent pattern signals.
All pattern recognition is based on historical price data and does not guarantee future performance. Market conditions, fundamental factors, and external events can invalidate technical patterns regardless of their historical reliability.
MWA swing high & lowThis indicator identifies and connects significant swing highs and swing lows on the chart using customizable pivot-based logic. It creates a ZigZag-style structure that helps traders visually analyze price action, market structure, and trend direction.
🧠 Key Features:
Detects pivot highs and lows using left/right bar logic.
Plots a ZigZag line connecting swings for easy visual tracking.
Labels each swing as "Swing High" or "Swing Low".
Fully customizable settings: pivot sensitivity, label color/size, and line color.
📈 How to Use:
Use it to spot higher highs/lows or lower highs/lows in trending markets.
Identify structure shifts that may signal trend reversals.
Combine with support/resistance, Fibonacci, or other structure-based tools for confirmation.
Suitable for discretionary or rule-based strategies.
⚠️ Disclaimer:
This script is a visual analysis tool. It does not generate buy/sell signals and does not claim profitability. Past structure patterns do not guarantee future results.
Fair Value Gap [Custom]📌 FVG Indicator – Smart Money Concepts Tool
This script is based on Smart Money Concepts (SMC) and automatically detects and marks Fair Value Gaps (FVG) on the chart, helping traders identify unbalanced price areas left behind by institutional moves.
🧠 What is an FVG?
An FVG (Fair Value Gap) is the price gap formed when the market moves rapidly, leaving behind a candle range where no trading occurred — typically between Candle 1’s high and Candle 3’s low (in a three-candle pattern). These gaps often signal imbalance, created during structural breaks or liquidity grabs, and may act as retrace zones or entry points.
🛠 Features:
✅ Automatically detects and highlights FVG zones (high-low range)
✅ Differentiates between open (unfilled) and closed (filled) FVGs
✅ Adjustable timeframe settings (works best on 1H–4H charts)
✅ Option to toggle display of filled FVGs
✅ Great for identifying pullback entries, continuation zones, or reversal setups
💡 Recommended Use:
After BOS/CHoCH, watch for price to return to the FVG for entry
Combine with Order Blocks and liquidity zones for higher accuracy
Best used as part of an ICT or SMC-based trading system
Smart Directional Fib Zone (Selectable Session)🎯 Overview
This indicator plots a dynamic Fibonacci zone between the 0.5 and 0.618 levels , calculated from the previous day’s price action , and is designed specifically for intraday traders.
It visually highlights key retracement or reaction areas where the market often pauses or reverses.
🔍 How it works
At the start of each day, the script automatically captures:
the previous day’s open (pdo),
high (pdh),
low (pdl),
and close (pdc).
It then determines if the previous day was bullish (Close > Open) or bearish (Close < Open).
Based on that:
If the previous day was bullish, it projects the Fibonacci levels down from the high (typical for expecting retracements).
If bearish, it projects them up from the low.
The two key levels are:
0.5 (50%) retracement / projection
0.618 (61.8%) retracement / projection
A colored zone is plotted between these levels to act as a leading guide for intraday setups.
⏰ Time filtering & session customization
A unique feature is the dynamic session filtering:
By default, the zone is only plotted during active market hours, keeping your chart clean outside trading hours.
The script provides a dropdown selector so you can quickly switch between:
India session (9:15 to 15:30)
Europe session (9:00 to 17:30)
US session (9:30 to 16:00)
Or even define your own custom session times.
This makes it ideal for intraday traders in any region.
🎨 Visual features
The fill zone changes color based on the previous day’s sentiment:
Green zone if the previous day was bullish
Red zone if the previous day was bearish
🚨 Alerts
The script includes an alert condition, so you can easily set up TradingView alerts to notify you when:
Price enters the Fibonacci zone.
This is extremely helpful for catching retracements or reversals without staring at the screen all day.
⚙️ How to use
✅ Works on any intraday timeframe (1 min, 5 min, 15 min, etc.).
✅ Simply add it to your chart, pick your session in the dropdown, and watch the Fibonacci zone automatically adjust to your selected market hours.
Use it as a confluence tool alongside other indicators like VWAP, EMAs, Bollinger Bands, or price action patterns to time entries and exits.
💪 Why this is powerful
This is more than a simple Fib retracement tool:
It dynamically adapts to the previous day’s sentiment, helping you trade in alignment with recent market psychology.
The session filtering ensures your charts are focused only on the periods