SAR Pullback By TradingConTotoName & Version
SAR Pullback UX Improved (Pine Script v5)
Core Logic
Calculates two EMAs (fast and slow) to identify overall trend direction.
Uses the Parabolic SAR to detect “flip” points (when SAR crosses price), marking micro-trend reversals.
Micro-Trend Extremes
Tracks the highest high after a bullish flip (SAR below price) and the lowest low after a bearish flip (SAR above price).
These extremes feed into the stop-loss approximation.
Approximate Stop-Loss (“SL aprox”)
If SAR is below price (bullish), SL ≔ (micro-trend high − current SAR).
If SAR is above price (bearish), SL ≔ (current SAR − micro-trend low).
Leverage Calculation
User-defined “UR in USD” input.
Computes leverage as UR ÷ SL, giving you an estimate of position sizing potential.
On-Chart Signals
BUY label at each bullish flip, with SL and leverage printed.
SELL label at each bearish flip, likewise showing SL and leverage.
Customizable UI
Inputs to toggle display of SL, leverage, or both.
Choose your UR value, panel background/text colors, and BUY/SELL label colors.
Panel position fixed at top-right by default, showing a 2×3 table:
Header row (“Metric” / “Value”)
“SL aprox” row
“Leverage” row
Visuals
Plots the slow EMA colored by trend.
Draws SAR as crosses.
Bar colors shade green/red according to bullish/bearish conditions.
Semi-transparent, styled panel for quick glance of key metrics.
This indicator combines trend filtering, automated stop-loss sizing, and leverage guidance into a single, fully-configurable Pine Script tool—giving you clear on-chart signals plus a neat metrics panel for streamlined decision-making.
Candlestick analysis
HTF 6H Visualiser for 30M - ADK - W
HTF 6H Visualiser — use on 30-minute charts
Purpose – lets 30-minute traders see the prior 6-hour candle’s range, open and close without changing time-frames.
Visual elements
Two dotted vertical lines mark the 6-hour candle’s start and an “early” finish one 30-min bar before the true close (avoids overlap).
Vertical colour: green for bullish 6 H close, red for bearish.
Dotted green horizontal at the 6 H open, red horizontal at the 6 H close – both drawn only between the two verticals.
Verticals are clipped to that candle’s exact high and low.
Data window – auto-deletes oldest guides so only ~2 trading days (8 candles) remain on the chart.
Typical uses – mean-reversion to 6 H opens/closes, quick HTF bias check, liquidity-grab targets.
Correction Candle CounterIndicator that identifies “correction” candles using the classic 3-1-3 pattern, highlights them with customizable colors and arrow markers, and tallies occurrences across all data, a selected year, or any defined month range. Flexible styling and date-filter options make it ideal for quick, focused analysis.
ICT Turtle Soup (Liquidity Reversal)ICT Turtle Soup — Liquidity Reversal Detection
Trap the Trap: A Precision Reversal Strategy from the Inner Circle Trader Playbook
This indicator implements the Turtle Soup liquidity reversal setup — a widely used ICT (Inner Circle Trader) concept that targets false breakouts beyond recent swing highs or lows. These patterns typically occur when price grabs liquidity above or below a known level, then snaps back, trapping retail traders and creating a high-probability reversal scenario.
🔍 What This Script Does:
Detects Liquidity Sweeps Above/Below Key Swing Levels
Uses a customizable swing lookback to identify recent swing highs and lows.
Triggers a Bearish Turtle Soup when price runs above a previous swing high and closes back below.
Triggers a Bullish Turtle Soup when price sweeps below a prior swing low and closes back above.
Plots Clear Visual Signals
Reversal signals appear as 🐢🔻 (Bearish) or 🐢🔺 (Bullish) markers directly on your chart.
Optional labels can be enabled for enhanced journaling and review.
Real-Time Alerts
Receive alert notifications when a Turtle Soup setup is detected — ideal for scalpers or intraday traders watching for reversals around liquidity pools.
⚙️ Customization Options:
Set the swing lookback sensitivity (default: 5)
Enable or disable labels
Choose label font size
Customize colors for bullish and bearish signals
💡 How to Use:
Deploy on intraday timeframes (e.g. 5m–15m) for high-resolution liquidity analysis.
Watch for signals at key highs/lows, session extremes, or zones where liquidity is likely resting.
Combine with tools like FVGs, Order Blocks, and OTE zones for layered confirmation.
🔗 Combine With These Tools for a Complete SMC Edge:
✅ First FVG — Opening Range Fair Value Gap Detector
✅ ICT SMC Liquidity Grabs + OB + Fibonacci OTE Levels
✅ Liquidity Levels — Smart Swing Lows
Together, these tools form a high-precision Smart Money toolkit — helping traders map, anticipate, and act on institutional-level liquidity events with clarity and confidence.
Volume Aggression Monitor📌 Volume Aggression Monitor — Overview
This indicator helps identify buying and selling pressure (aggression) in real-time by analyzing how market participants are executing trades. It is composed of three main components:
🔍 What Does It Show?
🧭 1. The Thermometer (Above Candles)
🟢 Green Arrow (▲) → Buy Aggression: Buyers are lifting the ask.
🔴 Red Arrow (▼) → Sell Aggression: Sellers are hitting the bid.
⚪ Gray Square (■) → Neutral: No significant price movement or aggression.
💡 Neutral in this context means:
The price barely moved during the candle (open-close % change < direction_threshold, default 0.05%).
No clear buyer or seller dominance. It often appears during low volatility, equilibrium, or market indecision periods. This prevents noise and false directional readings due to random micro-movements.
📊 2. Percentage Panel
A table displaying recent trades or candle data (from a lower timeframe). Colored arrows indicate the direction of aggression (buy/sell). Shows volume, delta, and aggression %.
✅ Use it to:
Track clusters of buy/sell aggression. Spot momentum builds.
⏱️ 3. Cumulative Times & Sales Bar
A horizontal progress bar representing cumulative aggression.
Positive = Buy Aggression dominates.
Negative = Sell Aggression dominates.
📉 Even in sideways price movement, this bar shows who is winning the fight under the surface.
---
🧠 How to Use It:
🔹 Confirm Trades
Use the thermometer and aggression signals to confirm your strategy entries (e.g., breakouts, pullbacks, support/resistance).
🔹 Detect Dominance
Observe who is in control: buyers or sellers? Are they pressing or hesitating?
🔹 Filter Market Noise
The neutral state avoids misinterpreting small, meaningless movements as strong signals.
---
Component | Meaning
🌡️ Thermometer (▲ ▼ ■) | Who’s in control in each candle
📊 Percentage Panel | Trade details: direction, delta, aggression
📈 Cumulative T&S Bar | Overall aggression bias over time
---
Vacuum Candles [XrayAlgo]The Vacuum Candles indicator helps traders identify inefficient price movements—where the price moves significantly but lacks sufficient volume to support it. These inefficiencies may signal weak trends, potential reversals, or false breakouts/breakdowns.
Inefficient candles are visually marked with a darker / black body to indicate when the price movement is disproportionate to the volume.
1. Spotting Potential Reversals
When the indicator marks an inefficient candle, it signals that the price movement may be unsustainable.
In an uptrend: A inefficient bullish candle suggests that the uptrend is losing momentum, potentially leading to a downward reversal.
In a downtrend: A inefficient bearish candle signals that the downtrend may be weakening, with a potential bullish reversal.
2. Identifying Breakout and Breakdown Failures
This indicator is useful for recognizing false breakouts or false breakdowns.
If price breaks resistance but the candle is inefficient, the breakout may be weak and could fail quickly.
If price breaks support with an inefficient bearish candle, the breakdown could be a false signal, with price reverting back above support.
3. Recognizing Weak Trends
Inefficient candles help you spot when a trend is losing strength and could soon reverse or consolidate.
In an uptrend: A series of dark body bullish candles suggests that the uptrend may be weakening, signaling a potential correction or trend reversal.
In a downtrend: A series of dark body bearish candles suggests that the selling pressure is weakening, indicating a potential bullish reversal.
4. Fine-Tuning Entries and Exits
Inefficient candles offer an opportunity to fine-tune your entries and exits based on weak price moves.
Entering a trade: An inefficient candle near key support or resistance can indicate a reversal, making it a good entry point for a counter-trend position.
Exiting a trade: If you're already in a trend, and an inefficient candle appears, it suggests the trend is losing strength, indicating it may be a good time to exit before a potential reversal.
5. Fine-Tuning with Inputs
The Vacuum Candles indicator includes two key inputs:
Length: The number of candles used to calculate the average price movement and volume. A longer length (e.g., 20-30) smooths out the inefficiencies, while a shorter length (e.g., 10-15) makes the indicator more sensitive to recent price moves.
Multiplier: Controls the threshold for what is considered an inefficient candle:
A higher Multiplier (e.g., 1.5–3) filters out smaller inefficiencies and focuses on large discrepancies.
A lower Multiplier (e.g., 0.1–0.9) captures even smaller inefficiencies in highly efficient markets.
Bullish and Bearish Breakout Alert for Gold Futures PullbackBelow is a Pine Script (version 6) for TradingView that includes both bullish and bearish breakout conditions for my intraday trading strategy on micro gold futures (MGC). The strategy focuses on scalping two-legged pullbacks to the 20 EMA or key levels with breakout confirmation, tailored for the Apex Trader Funding $300K challenge. The script accounts for the Daily Sentiment Index (DSI) at 87 (overbought, favoring pullbacks). It generates alerts for placing stop-limit orders for 175 MGC contracts, ensuring compliance with Apex’s rules ($7,500 trailing threshold, $20,000 profit target, 4:59 PM ET close).
Script Requirements
Version: Pine Script v6 (latest for TradingView, April 2025).
Purpose:
Bullish: Alert when price breaks above a rejection candle’s high after a two-legged pullback to the 20 EMA in a bullish trend (price above 20 EMA, VWAP, higher highs/lows).
Bearish: Alert when price breaks below a rejection candle’s low after a two-legged pullback to the 20 EMA in a bearish trend (price below 20 EMA, VWAP, lower highs/lows).
Context: 5-minute MGC chart, U.S. session (8:30 AM–12:00 PM ET), avoiding overbought breakouts above $3,450 (DSI 87).
Output: Alerts for stop-limit orders (e.g., “Buy: Stop=$3,377, Limit=$3,377.10” or “Sell: Stop=$3,447, Limit=$3,446.90”), quantity 175 MGC.
Apex Compliance: 175-contract limit, stop-losses, one-directional news trading, close by 4:59 PM ET.
How to Use the Script in TradingView
1. Add Script:
Open TradingView (tradingview.com).
Go to “Pine Editor” (bottom panel).
Copy the script from the content.
Click “Add to Chart” to apply to your MGC 5-minute chart .
2. Configure Chart:
Symbol: MGC (Micro Gold Futures, CME, via Tradovate/Apex data feed).
Timeframe: 5-minute (entries), 15-minute (trend confirmation, manually check).
Indicators: Script plots 20 EMA and VWAP; add RSI (14) and volume manually if needed .
3. Set Alerts:
Click the “Alert” icon (bell).
Add two alerts:
Bullish Breakout: Condition = “Bullish Breakout Alert for Gold Futures Pullback,” trigger = “Once Per Bar Close.”
Bearish Breakout: Condition = “Bearish Breakout Alert for Gold Futures Pullback,” trigger = “Once Per Bar Close.”
Customize messages (default provided) and set notifications (e.g., TradingView app, SMS).
Example: Bullish alert at $3,377 prompts “Stop=$3,377, Limit=$3,377.10, Quantity=175 MGC” .
4. Execute Orders:
Bullish:
Alert triggers (e.g., stop $3,377, limit $3,377.10).
In TradingView’s “Order Panel,” select “Stop-Limit,” set:
Stop Price: $3,377.
Limit Price: $3,377.10.
Quantity: 175 MGC.
Direction: Buy.
Confirm via Tradovate.
Add bracket order (OCO):
Stop-loss: Sell 175 at $3,376.20 (8 ticks, $1,400 risk).
Take-profit: Sell 87 at $3,378 (1:1), 88 at $3,379 (2:1) .
Bearish:
Alert triggers (e.g., stop $3,447, limit $3,446.90).
Select “Stop-Limit,” set:
Stop Price: $3,447.
Limit Price: $3,446.90.
Quantity: 175 MGC.
Direction: Sell.
Confirm via Tradovate.
Add bracket order:
Stop-loss: Buy 175 at $3,447.80 (8 ticks, $1,400 risk).
Take-profit: Buy 87 at $3,446 (1:1), 88 at $3,445 (2:1) .
5. Monitor:
Green triangles (bullish) or red triangles (bearish) confirm signals.
Avoid bullish entries above $3,450 (DSI 87, overbought) or bearish entries below $3,296 (support) .
Close trades by 4:59 PM ET (set 4:50 PM alert) .
Market Sessions & Viewer Panel [By MUQWISHI]▋ INTRODUCTION :
The “Market Sessions & Viewer Panel” is a clean and intuitive visual indicator tool that highlights up to four trading sessions directly on the chart. Each session is fully customizable with its name, session time, and color. It also generates a panel that provides a quick-glance summary of each session’s candle/bar shape, helping traders gain insight into the volatility across all trading sessions.
_______________________
▋ OVERVIEW:
_______________________
▋ CREDIT:
This indicator utilizes the “ Timezone — Library ”. A huge thanks to @n00btraders for effort and well-organized work.
_______________________
▋ SESSION PANEL:
The Session Panel allows traders to visually compare session volatility using a candlestick/bar pattern.
Each bar represents the price action during a session and includes the session status, session name, closing price, change(%) from open, and a tooltip that reveals detailed OHLC and volume when hovered over.
Chart Type:
It offers two styles Bar or Candle to display based on traders’ preference
Sorting:
Allowing to arrange session candles/bars based on…
—Left to Right: The most recently opened on the left, moving backward in time to the right.
—Right to Left: The most recently opened on the right, moving backward in time to the left.
—Default: Arrange sessions in the user-defined input order.
_______________________
▋ CHART VISUALIZATION:
The chart visualization highlights each trading session using color-coded backgrounds in two selectable drawing styles that span their respective active timeframes. Each session block provides session’s name, close price, and change from open.
Chart Type: Candle
Chart Type: Box
Extra Drawing Feature:
This feature may not exist in other indicators within the same category, it extends the session block drawing to the projected end of the session. This's done through estimation based on historical data; however, it doesn’t function fully on seconds-based timeframes due to drawing limitations.
_______________________
▋ INDICATOR SETTINGS:
Section(1): Sessions
(1) Universal Timezone.
(2) Each Session: Enable/Disable, Name, Color, and Time.
Section(2): Session Panel
(1) Show/Hide Session Panel.
(2) Chart Type: Candle/Bar.
(3) Bar’s Up/Down color.
(4) Width and Height of the bar.
(5) Location of Session Panel on chat.
(6) Sort: Left to Right (most recent session is placed on the left), Right to Left (most recent session is placed on the right), and Default (as input arrangement).
Section(3): Chart Visualization
(1) Show/Hide Chart Block Visualization.
(2) Draw Shape: Box/Candle.
(3) Border Style and Size.
(4) Label Styling includes location, size, and some essential selectable infos.
Please let me know if you have any questions
HL2 Moving Average with BandsThis indicator is designed to assist traders in identifying potential trade entries and exits for S&P 500 (ES) and Nasdaq-100 (NQ) futures. It calculates a Simple Moving Average (SMA) based on the HL2 value (average of high and low prices) of the current candle over a user-defined lookback period (default: 200 periods). The indicator plots this SMA as a blue line, providing a smoothed reference for price trends.
Additionally, it includes upper and lower bands calculated as a percentage (default: 0.5%) above and below the SMA, plotted as green and red lines, respectively. These bands act as dynamic thresholds to identify overbought or oversold conditions. The indicator generates trade signals based on price action relative to these bands:
Long Entry: A green upward triangle is plotted below the candle when the close crosses above the upper band, signaling a potential buy.
Close Long: A red square is plotted above the candle when the close crosses back below the upper band, indicating an exit for the long position.
Short Entry: A red downward triangle is plotted above the candle when the close crosses below the lower band, signaling a potential sell.
Close Short: A green square is plotted below the candle when the close crosses back above the lower band, indicating an exit for the short position.
The script is customizable, allowing users to adjust the SMA length and band percentage to suit their trading style or market conditions. It is plotted as an overlay on the price chart for easy integration with other technical analysis tools.
Recommended Time Frame and Settings for Trading S&P 500 and Nasdaq-100 Futures
Based on research and market dynamics for S&P 500 (ES) and Nasdaq-100 (NQ) futures, the 5-minute chart is recommended as the optimal time frame for day trading with this indicator. This time frame strikes a balance between capturing intraday trends and filtering out excessive noise, which is critical for futures trading due to their high volatility and leverage. The 5-minute chart aligns well with periods of high liquidity and volatility, such as the U.S. market open (9:30 AM–11:00 AM EST) and the afternoon session (2:00 PM–4:00 PM EST), when institutional traders are most active.
Why 5-minute? It allows traders to react to short-term price movements while avoiding the rapid fluctuations of 1-minute charts, which can be prone to false signals in choppy markets. It also provides enough data points to make the SMA and bands meaningful without the lag associated with longer time frames like 15-minute or hourly charts.
Recommended Settings
SMA Length: Set to 200 periods. This longer lookback period smooths the HL2 data, reducing noise and providing a reliable trend reference for the 5-minute chart. A 200-period SMA helps identify significant trend shifts without being overly sensitive to minor price fluctuations.
Band Percentage: 0.5% is more suitable for the volatility of ES and NQ futures on a 5-minute chart, as it generates fewer but higher-probability signals. Wider bands (e.g., 1%) may miss short-term opportunities, while narrower bands (e.g., 0.1%) may produce excessive false signals.
Trading Session Recommendations
Futures markets for ES and NQ are open nearly 24 hours (Sunday 6:00 PM EST to Friday 5:00 PM EST, with a daily break from 4:00 PM–5:00 PM EST), but not all hours are equally optimal due to varying liquidity and volatility. The best times to trade with this indicator are:
U.S. Market Open (9:30 AM–11:00 AM EST): This period is characterized by high volume and volatility, driven by the opening of U.S. equity markets and economic data releases (e.g., 8:30 AM EST reports like CPI or GDP). The indicator’s signals are more reliable during this window due to strong order flow and price momentum.
Afternoon Session (2:00 PM–4:00 PM EST): After the lunchtime lull, volume picks up as institutional traders return, and news or FOMC announcements often drive price action. The indicator can capture breakout moves as prices test the upper or lower bands.
Pre-Market (7:30 AM–9:30 AM EST): For traders comfortable with lower liquidity, this period can offer opportunities, especially around 8:30 AM EST economic releases. However, use tighter risk management due to wider spreads and potential volatility spikes.
Additional Tips
Avoid Low-Volume Periods: Steer clear of trading during low-liquidity hours, such as the overnight session (11:00 PM–3:00 AM EST), when spreads widen and price movements can be erratic, leading to false signals from the indicator.
Combine with Other Tools: Enhance the indicator’s effectiveness by pairing it with support/resistance levels, Fibonacci retracements, or volume analysis to confirm signals. For example, a long entry signal above the upper band is stronger if it coincides with a breakout above a key resistance level.
Risk Management: Given the leverage in futures (e.g., Micro E-mini contracts require ~$1,200 margin for ES), use tight stop-losses (e.g., below the lower band for longs or above the upper band for shorts) to manage risk. Aim for a risk-reward ratio of at least 1:2.
Test Settings: Backtest the indicator on a demo account to optimize the SMA length and band percentage for your specific trading style and risk tolerance. Micro E-mini contracts (MES for S&P 500, MNQ for Nasdaq-100) are ideal for testing due to their lower capital requirements.
Why These Settings and Time Frame?
The 5-minute chart with a 200-period SMA and 0.5% bands is tailored for the volatility and liquidity of ES and NQ futures during peak trading hours. The longer SMA period ensures the indicator captures meaningful trends, while the 0.5% bands are tight enough to signal actionable breakouts but wide enough to avoid excessive whipsaws. Trading during high-volume sessions maximizes the likelihood of valid signals, as institutional participation drives clearer price action.
By focusing on these settings and time frames, traders can leverage the indicator to capitalize on the dynamic price movements of S&P 500 and Nasdaq-100 futures while managing the inherent risks of these markets.
Engulfing Candle with Streaks and CountIdentifies Engulfing Candles + The Number of Consecutive Signals + Identifies 3rd/4th Consecutive Signals + Keeps Count of Most Recent Number of Signals as Decided by User.
- Have coded in the latest version 6
- This script allows the tracking of engulfing candles over a user defined amount of time (candles).
- The script will signal every engulfing candle and its consecutive corresponding number across the entire chart.
- The Engulfing Count box in the bottom right counts how many bullish and bearish engulfing candles have occurred over the number decided by the user.
- The Engulfing Signal that prints is triggered when an opposite next candle prints and the body is over 100% larger than the previous candle. It does not need to "fully engulf" the previous candle, the coding has an allowance for an "equal to and greater/smaller than" the previous close price. This allows for signals were the open of the engulfing candle can be equal to the close of the previous opposite, however the engulfing still must reach an over 100% sizing of the previous to print a signal.
- Where a piercing candle occurs and the open price is within the body of the previous candle, this will void the equation and no matter how big the candle is, it will not trigger an engulfing signal as I was only looking for true engulfing candles.
- The script keeps count of the same consecutive signals no matter the timeframe.
- It will print the consecutive number above or below the signal (depending if bullish or bearish).
- To assist with trend identification the 3rd consecutive signal will print blue, and the 4th consecutive signal will print yellow (or I prefer to use the term "Gold"). This can help filter out the noise on lower timeframes to assist to see where the momentum is going, or if there are signals going against the trend to try trick traders.
- Back testing I found the 3rd and 4th signals are uncommon on higher timeframes and tend to act as fake-outs before the trend reverses.
- Overall a good tool to add to your trend analysis, either for additional confluence or to assist with reversal identification.
- Colors are set as default, but everything can be changed by the user as I didn't want to limit its possibilities.
*** Please note that this script does not take into any consideration candle wicks. Although it can be used with Heikin Ashi it is somewhat unreliable. This indicator is designed to be used with standard candles only ***
Radial Root AngleDescription:
Radial Root Angle is a precision geometric tool that calculates the angular trajectory of any price leg using a square-rooted price compression model. By selecting two anchor points on a move (typically swing low to swing high or vice versa), the tool computes the true angle of the leg in degrees.
Important Notes:
On low-priced assets or instruments with tight price ranges, the output angle may appear very small, with multiple decimal places.
This is a natural result of square-rooted price compression applied over time, especially when volatility is low.
In such cases, you may choose to round, scale, or interpret the angle proportionally when comparing across other legs or instruments.
Use Cases:
Identify price compression, trend exhaustion, or swing energy
Compare angular velocity across legs, assets, or timeframes
Integrate with Gann tools, harmonic cycles, or radial timing models
Build square-outs, circular projections, or geometry-based entries
Ideal For:
Traders exploring:
Gann angles and time/price geometry
Square root and harmonic market models
Sacred or astro-geometric analysis
Energetic mapping of price structure
Trading Session Highs and LowsTrading Session Highs and Lows
This script provides an intuitive way to visualize key market levels from major trading sessions: Asia, London, New York, and New York Close. By automatically plotting the high and low of each session, it helps traders quickly identify important price levels that could impact market behavior.
Features include:
Session Marking: The script marks the high and low for each major session (Asia, London, New York, and New York Close).
Customizable Lines and Labels: You can adjust the line style, width, and color for each session’s high/low markers. The session name (e.g., "London", "New York") and the PDH/PDL (Prior Day High and Low) are also shown to give clear context.
Real-Time Updates: The levels are updated in real-time to reflect the current price action, helping you gauge price movement throughout the trading day.
Customizable Indicators: Easily adjust the visibility of the different sessions and the labels to focus on the session that matters most to your trading strategy.
This tool is designed to help day traders spot important levels for potential breakouts or reversals, making it easier to base your trading decisions on well-established price points. Ideal for scalpers, swing traders, and anyone who trades across multiple sessions.
((Range||Type||Swing))Consecutive Candle range boxes with gradient and number count. Inside Outside and Engulfing color bars plus plots. Strict swing filter plus bonus filter where the 3rd bar in the swing closes below the swing candles high or low respectfully.
How I Use
I use the candle stick patterns to gauge market conditions, the consecutive candle ranges to follow order flow using a closing break of the range and retest and the filtered swings to assist in identifying stronger. If any one wants to create a strategy around this that would be cool i know nothing of coding and do everything with A.I
turns
JOYZONE.04JOYZONE signal for TradingView
The JOYZONE Breakout Indicator is a sophisticated tool designed for traders seeking to identify potential trend reversals and breakouts in financial markets. Built for TradingView’s Pine Script v6, this indicator leverages pivot points to detect significant price levels, offering a clear visual representation of bullish and bearish market shifts. By focusing on key price action patterns, it aims to provide traders with actionable insights for both trend-following and reversal strategies.
Core Functionality
The JOYZONE Breakout Indicator identifies critical pivot highs and lows using a fixed 5-period lookback, which simplifies the detection of potential reversal zones without requiring user adjustments. These pivot points are used to establish "JOYZONE" levels—price thresholds that, when broken with confirmation, signal a change in market trend. The indicator employs a robust confirmation mechanism within fixed bar window, reducing false signals and enhancing reliability.
Upon detecting a breakout, the indicator plots horizontal lines at the JOYZONE levels, extending until a new signal emerges or the trend shifts. Labels accompany these lines, marking bullish (+JOYZONE) and bearish (-JOYZONE) breakouts with customizable colors (default: green for bullish, red for bearish) and sizes (tiny to large). This visual clarity helps traders quickly assess market direction and key price levels.
Key Features
Simplified Inputs: The indicator minimizes user configuration by hardcoding critical parameters like the fixed-period directional detection system. Traders can toggle JOYZONE level visibility, adjust label sizes, and customize colors, ensuring flexibility without overwhelming complexity.
Efficient Signal Management: With a default cap of 86 signals, the indicator prevents chart clutter by automatically removing older lines and labels when the limit is exceeded. This feature is particularly useful for long-term chart analysis.
Dynamic Alerts: The script includes alert triggers for bullish and bearish JOYZONE breakouts, delivering real-time notifications with price details. This enables traders to act swiftly on confirmed signals, whether trading manually or integrating with automated systems.
ATR-Based Label Positioning: Labels are offset using the 50-period Average True Range (ATR), ensuring they remain visible and uncluttered regardless of market volatility.
How It Works
The indicator tracks pivot highs and lows to establish JOYZONE levels during uptrends (bearish levels) and downtrends (bullish levels). When the price crosses a JOYZONE level and satisfies the confirmation criteria, the trend updates, and a breakout signal is plotted. For example, a bullish JOYZONE breakout occurs when the price crosses above a pivot high during a downtrend, confirmed by a close above the threshold. The script then draws a green line and a “+JOYZONE” label, alerting the trader to a potential uptrend.
Use Cases
This indicator is versatile, catering to various trading styles:
Swing Traders: Use JOYZONE breakouts to enter trades at the onset of new trends, with clear entry and stop-loss levels based on plotted lines.
Day Traders: Leverage real-time alerts to capitalize on intraday reversals in volatile markets.
Position Traders: Monitor higher timeframes to identify long-term trend shifts with high-probability setups.
Customization and Performance
Traders can adjust the visibility of JOYZONE levels, label sizes, and colors to suit their chart preferences. The hardcoded 5-period lookback and 0.015% confirmation ensure consistency across assets, but users may need to test performance on specific markets (e.g., forex, stocks, crypto) to align with their strategies. The indicator’s reliance on ATR for label placement adapts to varying volatility, making it effective across different instruments.
Limitations and Considerations
While the JOYZONE Breakout Indicator excels in trending markets, it may produce delayed signals in choppy or sideways conditions due to its confirmation mechanism. Traders should combine it with other tools, such as moving averages or volume indicators, to filter signals. Additionally, the fixed period may not suit all timeframes, so testing on historical data is recommended.
Conclusion
The JOYZONE Breakout Indicator offers a streamlined, visually intuitive approach to detecting trend reversals and breakouts. Its automated signal management, dynamic alerts, and customizable display make it a valuable addition to any trader’s toolkit. By focusing on confirmed price action, it empowers traders to make informed decisions with confidence. Whether you’re a novice or seasoned trader, this indicator provides a reliable framework for navigating dynamic markets.
Disclaimer: This code does not guarantee of profit/return, please analyze with other factors, it is shared only for knowledge and educational purpose.
10K's 4Levels for CME10K’s 4Levels for CME|A Navigation Tool for Market Opening Structure
This is a TradingView visual tool designed for CME index futures traders, helping you grasp the structural foundation and potential market direction before the New York session begins.
It consists of four key price levels:
ETH High & Low
The highest and lowest prices during the full electronic trading session (starting at 6:00 PM the previous day), representing the full range of market positioning before the U.S. equity market opens.
ETH Open (Daily Candle Open)
The opening price at the start of the ETH session, which marks the beginning of the futures daily candle. This price reflects the first valuation by market participants, especially market makers.
RTH Open (New York Open)
The opening price of the regular trading session, aligning with the U.S. cash market open.
This price is the starting point of my trading session and determines half the shape of the day’s futures daily candle.
Tool Function & Purpose
The 4Levels indicator is not a prediction tool or signal generator—it's a scene-setting mechanism for your daily price playbook. With these four levels, you can:
Distinguish between pre-market sentiment and actual post-open price movements.
Clearly identify the starting point of your trading narrative, avoiding misguidance from early session noise.
Combine with daily and 465K charts to imagine possible intraday structures and narrative paths.
Use it alongside 30K for entry timing and price positioning, then fine-tune entries with 3K or 5K charts.
Recommended Use
This tool is ideal for intraday traders who focus on the first 1–3 hours after the New York open. If your trading approach is built around structure rather than signals, if you care about the relationship between opening prices and subsequent movement, and if you value rhythm and behavior over predictions—then this tool provides a clean, logical, and intuitive framework.
10K’s 4Levels for CME|市場開盤結構的導航工具
這是一個為美國CME指數期貨設計的TradingView視覺工具,協助你在紐約開盤前,快速掌握市場的結構基礎與潛在推演方向。
它由四條關鍵價位構成:
ETH高低點
電子盤全時段(前一日18:00起)至紐約開盤前的高點與低點,代表所有交易者在美股開盤前所參與的完整價格範圍。
電子盤開盤價(日K開盤)
電子盤開啟瞬間的開盤價,對我而言也是當天「期貨日K」的起點,象徵造市者與市場的第一個定價。
紐約開盤價(RTH開盤)
現貨盤開始之際,小那斯達克期貨的開盤價,是日內決戰的起點。
這條價位,是我交易時間的起點,也決定了日K的一半樣貌。
工具功能定位
「4Levels」不是預測工具,也非訊號指標,而是一份價格劇本的基礎場景設定。透過這四條線,你能:
區分哪段波動來自開盤前的市場情緒,哪段則是現貨開盤後的實質推進。
明確劃出交易起點,不被模糊的早盤波動誤導。
結合日K與465K,設想當天日內結構可能發展的方向與路徑。
搭配30K圖表進行進場時點與位階判斷,再用3K/5K精準入場。
使用建議
本工具適合專注於紐約開盤後 1~3 小時的日內交易者。若你習慣用結構而非訊號進行交易、關注開盤價位置與推進狀況、重視市場節奏與行為邏輯,而不是預測高低點,那麼這會是一套非常直觀、乾淨且有邏輯的視覺輔助工具。
US30 Smart Money 5M/4H Strategy🧠 How It Works
✅ 1. 4H Trend Bias Detection
Uses the 4-hour chart (internally) to determine if the market is in an uptrend or downtrend.
Background turns green for bullish trend, red for bearish trend.
This helps filter trades — only take longs during uptrend, shorts during downtrend.
✅ 2. Liquidity Sweeps (Stop Hunts) on 5M
Highlights candles that break previous highs/lows and then reverse (typical of institutional stop raids).
Draws a shaded red box above sweep-high candles and green box under sweep-lows.
These indicate key reversal zones.
✅ 3. Order Block Zones
Detects bullish/bearish engulfing patterns after liquidity sweeps.
Draws a supply or demand zone box extending forward.
These zones show where institutions likely placed large orders.
✅ 4. FVG Midpoint from 30-Min Chart
Detects Fair Value Gaps (imbalances) on the 30-minute chart.
Plots a line at the midpoint of the gap (EQ level), which is often revisited for entries or rejections.
✅ 5. Buy/Sell Signals (Non-Repainting)
Buy = 4H uptrend + 5M liquidity sweep low + bullish engulfing candle.
Sell = 4H downtrend + 5M liquidity sweep high + bearish engulfing.
Prints green “BUY” or red “SELL” label on the chart — these do not repaint.
📈 How to Use It
Wait for trend bias — only take trades in the direction of the 4H trend.
Watch for liquidity sweep boxes — these hint a stop hunt just occurred.
Look for a signal label (BUY/SELL) — confirms entry criteria.
Use FVG EQ lines & Order Block zones as confluence or targets.
Take trades after NY open (9:30 AM EST) for best momentum.
Monday Range (Lines) with Fib LevelsMonday Range with Fibonacci Levels Indicator - Description
This advanced TradingView indicator combines the power of Monday Range analysis with Fibonacci extension levels to help traders identify key weekly support and resistance zones.
Key Features:
Monday Range Detection:
Automatically detects and plots the high and low of each Monday's trading range (configurable for Sunday open markets)
Displays customizable horizontal lines for the weekly opening range
Adjustable lookback period (1-52 weeks)
Fibonacci Extension Levels:
Plots 9 key Fibonacci levels (-1.618, -1.272, -0.618, 0, 0.5, 1, 1.618, 2.272, 2.618) relative to Monday's range
Each Fib level is fully customizable (color, visibility, label)
Negative Fib levels extend below Monday low for potential reversal zones
Customizable Visuals:
Choose between solid, dotted or dashed line styles
Adjustable line thickness and colors
Configurable label text and positioning
Toggle individual elements on/off as needed
How Traders Use It:
Swing Traders: Identify weekly support/resistance levels for trade entries and exits
Breakout Traders: Watch for price reactions at Fibonacci extension levels beyond Monday's range
Mean Reversion Traders: Use negative Fib levels as potential reversal zones
Institutional Flow Analysis: Monitor how price reacts at key weekly levels
Settings Overview:
Market Open Day selection (Sunday/Monday)
Number of historical weeks to display (1-52)
Complete styling control for all lines and labels
Individual toggle controls for each Fibonacci level
Why It's Unique:
This indicator provides a rare combination of institutional weekly range analysis with mathematically precise Fibonacci extensions, giving traders a complete picture of both standard and extended price reaction zones that develop from the weekly opening range.
Perfect for forex, crypto, and index traders who want to incorporate weekly opening range strategies with Fibonacci price projection techniques.
Largest Candles with Price DifferenceThis script shows the largest move on a candle on a particular time frame. So if you are looking at the 10-minute chart, it will tell you what the largest 10-minute candle has been in the past.
Compare Strength with SLOPE Description
This indicator compares the relative strength between the current asset and a benchmark (e.g., BTC vs. ETH or AAPL vs. SPY) using a linear regression slope of their ratio over time.
The ratio is calculated as: close / benchmark
A linear regression slope is computed over a user-defined window
The slope represents trend strength: if it’s rising, the current asset is outperforming the benchmark
Plots
Gray Line: The raw ratio between the asset and benchmark
Orange Line: The slope of the ratio (shows momentum)
Background Color :
Green: The asset is significantly stronger than the benchmark
Red: The asset is significantly weaker than the benchmark
No color: No clear trend
Settings
Slope Window Length: Number of candles used in the regression (default = 10)
Slope Threshold: Sensitivity of trend detection. Smaller values detect weaker trends.
Example Use Cases
Style Rotation Strategy: Use the slope to determine whether "Growth" or "Value" style is leading.
Pair Trading / Relative Performance: Track which asset is leading in a pair (e.g., BTC vs ETH).
Factor Timing: Serve as a timing model to allocate between different sectors or factors.
Happy trading!
Day of Week and HTF Period SeparatorThis indicator displays vertical lines to separate each day of the week, along with optional 1H and 4H period separators. It also shows day-of-week labels (MON, TUE, etc.) at a specified hour for quick visual reference. Useful for intraday traders who want a clear view of daily and higher timeframe transitions.
Chan Theory - Chanlun UltraChan Theory -Chanlun Ultra
Overview
This script is based on the core technical framework of Chan Theory, transforming complex market fluctuations into a multi-layered, quantifiable structural analysis system. Through real-time dynamic computation, it automatically parses key components in price movements such as fractals, pens, segments, and pivot zones. Integrated with momentum analysis and trading signal alerts, it provides traders with comprehensive market insights from micro to macro perspectives. The core distinction of Chan Theory from traditional technical indicators lies in its rigorous recursive logic and human-centric market philosophy. This script faithfully restores Chan Theory's essence of "using Zen to resolve market complexity," decomposing spiral price movements into an orderly trading decision system.
Technical Principles
This indicator implements the complete recognition process from candlesticks to fractals, pens, segments, and pivot zones using pure Pine Script under Chan Theory's framework. Core technical implementations include:
1. Candlestick Containment Processing
Employs specific algorithms to handle candlestick containment relationships, eliminating random noise:
In uptrends: Select the higher high and higher low values
In downtrends: Select the lower high and lower low values
Ensure complete elimination of containment through recursive processing
2. Fractal Identification System
Performs strict fractal judgment on processed candlesticks:
Top Fractal: The middle candlestick's high is higher than both adjacent candlesticks
Bottom Fractal: The middle candlestick's low is lower than both adjacent candlesticks
Validate fractal effectiveness via the filterOperateType function
3. Pen Construction Mechanism & Type Selection
Connects valid top/bottom fractals to form pen structures, offering four pen types:
Classic Pen: Traditional Chan Theory definition, strictly following classic rules
Optimized Pen: Enhanced algorithm for short-term volatility recognition
4K Pen: Builds pens based on fractals formed by at least 4 candlesticks (improves stability)
Strict Pen: Employs the most stringent validation conditions for reliability
4. Segment Partitioning Algorithm
Applies segment rules to pen sequences with three modes:
- Dynamic Real-time Progressive Correction: Adjusts forming segments continuously with new data
- Strict Mode: Fully complies with Chan Theory definitions
- Extension Mode: Flexible handling of trend developments
5. Pivot Zone Recognition Technology
Identifies pen-level and segment-level pivot zones
Calculates pivot zone price ranges and time durations
Analyzes pivot zone evolution characteristics
Supports display of pivot zones across different levels
Trading Signal System & Filters
Trading Signal Filtering System
This indicator provides comprehensive filtering functions:
Fractal Validity Filter: Verifies fractal patterns and post-fractal developments
Basic Fractal Filter: Eliminates non-compliant fractals through basic feature checks
Type I MACD Divergence Filter: Enhances Type I signal reliability via MACD divergence analysis
Type II Signal Filter: Custom conditions for Type II signals
-False Signal Trap Avoidance: Detects and bypasses deceptive price patterns
Chan Theory Trading Signal Principles
Type I Signals (Trend Reversals)
Principle: Forms when price makes new highs/lows with weakening internal momentum (divergence)
Identification: Compares structural features of adjacent same-direction pens
Application: Early trend reversal signals for swing trading
Type II Signals (Pullback Entries)
Principle: Occurs during retracements as sub-level reversal signals
Identification: Determined by pivot zone support/resistance and fractal combinations
Application: Optimal positions for pullback trades with controlled risk
Type III Signals (Breakout Confirmations)
Principle: Confirms pivot zone breakouts
Identification: Price breaks prior pivot zone boundaries with valid fractals
Application: Trend continuation signals for trend-following strategies
Indicator Features
Multi-Level Structural Analysis
Distinguishes structures across levels via level parameters
Higher-level trends guide lower-level operations
Implements cross-level collaborative logic
Displays sub-level pivot zones
Structural Visualization
Pens: Displayed per selected pen type
Segments: Rendered according to chosen segment mode
Pivot Zones: Color gradients indicate consolidation strength
Technical Implementation
Data Structure Design
Pen Object: Stores direction, timestamps, and price attributes
Segment Object: Manages segments and constituent pens
Pivot Object: Defines pivot zone ranges and characteristics
Grade Object: Organizes analysis results across levels
User Guide
Parameter Settings
Pen Type: Classic/Optimized/4K/Strict (adapt to analysis needs)
Segment Mode: Dynamic/Strict/Extension (match trading strategies)
Signal Filters: Enable/disable specific filters
Pivot Display: Toggle sub-level pivot zones
Divergence Settings: Configure types (regular/hidden) and display styles
Strategy Settings: Set trading rules linked to signals
Strategy Configuration
Follow Segments: Trade in alignment with segment direction
Signal Participation: Enable/disable Type I/II/III signals
Signal Conditions: Require signals to appear post-pivot zone formation
Prevent Early Entries:
Type I signals require ≥1 pivot zone or 5 pens
Type II Safety Control: Participate only if Type III signals are absent
Practical Recommendations
Select pen types/segment modes per market conditions
Adjust filters for different instruments and timeframes
Enhance accuracy through multi-level analysis
Confirm Type I signals with divergence indicators
Choose strategy parameters aligned with risk tolerance
Value Proposition
Systematizes Chan Theory into computable structures
Multiple pen/segment methods adapt to diverse markets
Advanced filtering significantly improves signal quality (historically validated)
Multi-level analysis provides holistic market insights
This tool is for technical analysis only. It does not constitute investment advice. Users must exercise independent judgment based on personal risk tolerance and objectives.
概述
本脚本基于缠论核心技术框架,将复杂的市场波动转化为多层次、可量化的结构分析系统。通过实时动态演算,自动解析价格走势中的分型、笔、线段、中枢等核心组件,并融合动量分析与交易信号预警功能,为交易者提供从微观到宏观的全方位市场透视。缠论区别于传统技术指标的核心在于其严格的递归逻辑与人性化市场哲学,本脚本忠实还原缠论"以禅破缠"的思想精髓,将螺旋缠绕的价格运动分解为有序的交易决策体系。
技术原理
本指标基于缠论技术分析框架,通过纯Pine Script实现了从K线到分型、笔、线段和中枢的完整识别流程。核心技术实现包括:
1. K线包含处理
采用特定算法处理K线包含关系,消除随机波动干扰:
- 上涨趋势中取高点高值、低点高值
- 下跌趋势中取高点低值、低点低值
- 通过递归处理确保包含关系完全消除
2. 分型识别系统
在处理后的K线基础上实现严格的分型判断:
- 顶分型:中间K线高点高于两侧K线
- 底分型:中间K线低点低于两侧K线
- 通过`filterOperateType`函数实现分型有效性验证
3. 笔的构建机制与类型选择
连接有效顶底分型形成笔结构,提供四种笔类型选择:
- **老笔**:传统缠论笔定义,严格遵循经典规则
- **新笔**:优化算法,增强对短期波动的识别能力
- **4K**:基于至少4根K线形成的分型构建笔,提高稳定性
- **严笔**:采用最严格的条件验证,确保形成的笔结构可靠
4. 线段划分算法
基于笔序列应用线段划分规则,支持三种线段模式:
- **当下延伸后修正**:实时计算当前形成中的线段,并随新数据更新修正
- **严格模式**:要求线段完全符合缠论定义,减少假信号
- **延伸模式**:更灵活地处理线段延伸情况,适合趋势分析
5. 中枢识别技术
- 实现笔中枢和线段中枢识别
- 计算中枢价格区间与时间范围
- 分析中枢演变特征
- 支持显示不同级别中枢功能
买卖点系统与过滤机制
买卖点过滤系统
本指标提供全面的买卖点过滤功能:
- **买卖点分型过滤**:检验分型形态有效性,验证分型后续发展
- **买卖点分型基础过滤**:针对分型基本特征进行验证,排除不合格分型
- **1买卖macd背驰过滤**:通过MACD判断背驰情况,提高一类买卖点可靠性
- **2买卖点过滤**:专门针对二类买卖点的过滤条件
- **防狼术**:避免陷阱式买卖点,提高交易安全性
缠论买卖点原理
1. **一类买卖点**
- 原理:基于趋势背驰原理,当价格创新高/低但内部结构力度减弱时形成
- 识别方法:通过比较相邻同向笔的结构特征判断力度变化
- 应用:提供趋势可能反转的早期信号,适合波段操作
2. **二类买卖点**
- 原理:发生在回调过程中,属于次级别转折信号
- 识别方法:通过中枢支撑位与分型组合判断
- 应用:回调买入或做空的较佳位置,风险相对可控
3. **三类买卖点**
- 原理:中枢突破确认信号
- 识别方法:价格突破前中枢边界并形成有效分型
- 应用:趋势延续的确认信号,适合追踪趋势
指标特点
多级别结构分析
本指标支持多级别联动分析:
- 通过级别参数区分不同级别结构
- 高级别趋势指导低级别操作
- 实现级别间的协同判断逻辑
- 支持显示次级别中枢功能
结构可视化
- 笔结构:根据选择的笔类型显示
- 线段结构:按照选定的线段模式呈现
- 中枢区域:颜色渐变标识不同强度
技术实现说明
数据结构设计
指标设计了完整的面向对象结构:
- Pen结构:存储笔的方向、时间、价格等属性
- Segment结构:管理线段及其组成笔
- Pivot结构:表示中枢范围和特性
- Grade结构:区分不同级别的分析结果
使用指南
参数设置
- 笔的类型:选择老笔、新笔、4K或严笔以适应不同分析需求
- 线段模式:根据交易策略选择合适的线段计算方式
- 买卖点过滤:根据需要启用不同的过滤机制
- 中枢显示:选择是否显示次级别中枢
- 背离设置:选择背离类型、显示方式和样式
- 策略设置:配置与买卖点相关的交易策略选项
策略应用配置
- 跟随线段:根据线段方向进行交易
- 买卖点参与设置:可选择性参与一类、二类和三类买卖点
- 买卖点条件限制:可设置买卖点需要在中枢形成后出现
- 防止过早进场:可要求一类买卖点至少出现一个中枢后或至少5笔后才参与
- 二类买卖点安全性控制:可选择仅在未出现三类买卖点的情况下参与
实际应用建议
- 结合市场环境选择合适的笔类型和线段模式
- 针对不同品种和时间周期调整过滤设置
- 通过多级别分析提高判断准确性
- 使用背离指标确认一类买卖点的有效性
- 根据策略风格选择适合的策略配置参数
技术特点与价值
本指标通过系统化实现缠论结构分析,提供了一种客观的技术分析工具。它的核心价值在于:
1. 将复杂的缠论理论系统化为可计算的结构
2. 提供多种笔、线段判断方法以适应不同市场环境
3. 完善的买卖点过滤系统大幅提高信号质量
4. 多级别联动分析提供全面市场视角
*本指标仅提供技术分析参考,不构成投资建议。用户应根据自身风险承受能力和投资目标进行判断。*
Umesh BC IST 3:30 AM Session Tracker + 4H Candles📌 IST 3:30 AM Session Tracker + 4H Candle Marker
This indicator is designed for traders who follow Indian Standard Time (IST) and want precise session tracking and 4H candle insights.
🔧 Features:
🕒 Daily Session Start at 3:30 AM IST
Automatically detects and marks the beginning of each new trading day based on 3:30 AM IST, not midnight.
Displays session Open, High, and Low lines.
Background shading for each session.
Customizable alert when a new day starts.
🟧 4H Candle Start Markers (IST Time)
Identifies every new 4-hour candle that starts at:
3:30, 7:30, 11:30, 3:30 PM, 7:30 PM, 11:30 PM IST
Adds a vertical line and label ("🟧 4H") above the candle.
Plots a dynamic line for the 4H candle's opening price.
Includes optional alert for new 4H candles.
🔔 Alerts Included:
"🕒 New IST Day Start": Triggers at 3:30 AM IST.
"🟧 New 4H Candle": Triggers at each 4H candle start (IST).
✅ Best for:
Intraday, swing, and institutional traders using IST-based analysis.
Those wanting more accurate daily sessions and clear candle structuring.
LinReg Heikin Ashi CandlesLinear Regression Heikin Ashi Candles will dramatically change how the candlesticks on your chart will appear. This script creates Heikin Ashi candles from the existing candlesticks and then applies wickless Linear Regression candles as an overlay. The result is an ultra smoothed 'Renko-like' chart that remains time-based and responsive.
Key Features:
Heikin Ashi Base: Provides a smoother representation of price trends by filtering out noise.
Linear Regression Candles on Heikin Ashi: Plots Linear Regression lines as candles on the Heikin Ashi chart, potentially highlighting the immediate trend direction and momentum within the smoothed data. Wicks are intentionally removed for a clearer focus on the linear progression.
Tillson T3 Moving Averages: Includes fast and slow T3 Moving Averages with customizable length and alpha. These smoothed moving averages can help identify trend direction and potential crossover signals. Users can toggle their visibility.
Volatility Bands: Integrates Volatility Bands based on Average True Range (ATR) with customizable length, ATR type (RMA, SMA, EMA, WMA), and inner/outer multipliers. These bands help gauge price volatility and potential reversal zones. Users can toggle the visibility of the basis line.
Customizable Colors: Allows users to customize the colors of the Linear Regression Heikin Ashi bullish and bearish candles.
How to Use:
This is an overlay on your chart so you'll need to 'hide' the existing candlesticks on your chart.
This indicator can be used on any timeframe from seconds to days to quickly identify market trend, gauge volatility, and potentially find entry/exit points. Consider looking for confluence between the candle color/direction, T3 MA crossovers, and price interaction with the Volatility Bands.
Note: This indicator plots Linear Regression directly on Heikin Ashi candles, removing wicks for a focus on the linear trend within the smoothed data. Adjust the input parameters to suit your trading style and the specific market conditions.
HUGE CREDIT to ugurvu who originally created the Linear Regression Candles indicator that my indicator pulls code from.
ICT SMC Liquidity Grabs and OBsICT SMC Liquidity Grabs + Order Blocks + Fibonacci OTE Levels
A High-Probability Entry Engine for Smart Money Concept Traders
This script combines three powerful Smart Money Concepts (SMC) into a single tool: Liquidity Grabs, Order Block Zones, and Fibonacci OTE Levels, allowing traders to identify institutional entry models with clean, rule-based visual signals.
It’s designed to simplify SMC trading by highlighting confluence zones where price is likely to reverse or continue — with clear visual zones, entry arrows, and take profit projections.
🔍 What This Script Does:
Detects Liquidity Grabs
Identifies when price sweeps above/below the highest high or lowest low within a user-defined lookback period and closes back inside.
Plots orange labels on the chart to signal potential liquidity events (LG-H / LG-L).
Plots Order Blocks After Liquidity Grabs
After a liquidity grab, the script looks for displacement candles (strong bullish or bearish moves) and draws highlighted OB zones extending several bars to the right.
These zones represent potential institutional footprints for price reversals.
Draws Fibonacci OTE Levels (Optimal Trade Entry)
Uses recent swing high and low pivots to automatically calculate OTE zones (default: 62% and 75% retracement levels).
Draws these retracement zones for both bullish and bearish setups.
Marks Valid OTE Entry Zones
Buy/Sell zones only trigger when:
A liquidity grab occurs,
Price enters the OTE zone,
And a strong confirming candle is present.
Plots green/red arrows for valid buy/sell OTE entries.
Auto-Draws Take Profit Zones
TP1 = Previous swing high/low
TP2 = Risk-based R-multiplied extension (e.g., 1.5R — customizable)
Alerts
Triggers alerts when valid buy or sell OTE setups are detected.
⚙️ Customization Features:
Toggle each feature: Liquidity Grabs, Order Blocks, Fibonacci OTE levels
Set Fibonacci retracement percentages (e.g., 0.62 / 0.75)
Adjust lookback window for liquidity detection
Customize the take-profit multiplier (R-based)
Full control over visuals: colors, labels, and lines
💡 How to Use:
Use this script to scan for high-confluence trade setups based on Smart Money principles.
Combine with session timing (e.g., New York open), major swing structure, or Kill Zone windows for maximum edge.
Look for arrows inside OB zones or OTE levels following liquidity sweeps for cleaner entries.
🔗 Works Best With:
✅ First FVG — Opening Range Fair Value Gap Detector: Identify early inefficiencies to set the narrative for the day.
✅ Liquidity Levels — Smart Swing Lows: Spot key structural lows that can fuel stop hunts and reversals.
✅ ICT Turtle Soup — Liquidity Reversal: Add a classic reversal pattern to your toolkit to catch fakeouts cleanly.
Together, these tools build a complete Smart Money ecosystem for entry precision, risk management, and price behavior forecasting.