Smart Money Concept (Expo)Are you Trading SMC? - Are you willing to learn how to apply SMC techniques? - Great, this indicator is for you!
█ This Smart Money Concept ( SMC ) indicator is a sophisticated and highly innovative indicator that combines all the necessary features to trade SMC trading techniques. It is built off of Smart Money Concepts inspired by inner trader circle (ICT) teachings. Smart Money is considered the capital allocated by institutional investors, funds, and other larger financial market participants. This indicator takes the Institutional trading behavior and makes it accessible to retail investors. By using an SMC indicator, you get professional insights into the market.
█ This indicator provides you with all of the most important SMC principles in one indicator. Fully automated and real-time Break of Market Structure, Change of Character, Current Trading Range, Premium & Discount , Fractals, and Swing Structure. In addition to the most important features, we have added a highly unique SMC Market Structure Trend based on the market structure principle. A confirmed swing structure trend background enhances the trend feature even more.
Swing Structure
Identifying major market structures with the indicator.
Current Trading Range
The Range feature ensures that traders always know where the current range is and where to find Premium and Discount within that range. In addition, the range is updated in real-time without any delay.
Premium & Discount Zones
Identifying Premium and Discounts zones automatically for you.
Structure break
Break of Market Structure ( BMS ) and Change of Character ( CHoCH ) - are automatically identified and plotted in real-time.
Supply and Demand
Use our Supply/Demand indicator to identify high probabilities trading zones.
█ HOW TO USE
Use the indicator to trade SMC Trading techniques.
Use the indicator to understand the current market structure.
Use the indicator to identify the current range and premium and discount levels.
█ Settings
The Market structure period is fully customized and can be adjusted to fit Swing Trading, Trend Trading, Day Trading, or Scalping.
The indicator works in any market and timeframe.
█ Basic Terminology
S&D - Supply & Demand
S2D - Supply to Demand
D2S - Demand to Supply
OB - Orderblock
AOI - Area of Interest
POI - Point of Interest
LOR - Level of Respect
FLOR - First Level of Respect
IMB - Imbalance
INF - Inefficiency
FVG - Fair Value Gap
IRL - Internal Range Liquidity
ERL - External Range Liquidity
HH - Higher High
HL - Higher Low
LL - Lower Low
LH - Lower High
BOS - Break of Structure
BMS - Break of Market Structure
mBOS - Minor Break of Structure
SMS - Shift in Market Structure
CHoCH - Change of Character
mCHoCH - minor Change of Character
EQH - Equal Highs
EQL - Equal Lows
BSL - Buy Side Liquidity
SSL - Sell Side Liquidity
LQ - Liquidity
EQ - Equilibrium
PA - Price Action
MTF - Multi Timeframe
HTF - Higher Timeframe
LTF - Lower Timeframe
PT - Protrend
CT - Counter trend
OF - Orderflow
EOF - Expectational Orderflow
LOD - Low of the Day
HOD - High of the Day
HOW - High of the Week
LOW - Low of the week
RE - Risk Entry
CE - Confirmation Entry
DCE - Double Confirmation Entry
SL - Stop loss
RR - Risk Reward
BFI - Banks & Financial Institutions
Hedgies - Hedge Funds
-----------------
Disclaimer
Copyright by Zeiierman.
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Cerca negli script per "liquidity"
The CryptoPlayground FrameworkThe CryptoPlayground Framework & Built-in Strategy Analysis
CryptoPlayground’s Framework provides the community an “executive assistant” that teaches traders how to trade The CryptoPlayground Framework ‘LIVE’. Producing a structured approach with a built in Strategy where traders to learn the method as the trade pans out.
Cryptoplayground’s Framework pays close attentions to fundamental as well as technical analysis . In this publication we will be breaking down the simplicity of what makes the framework “tick”.
Traders take notice how the price moves between the double blue sets of lines marked #cpf, these are some of the most important aspects of the CryptoPlayground Framework. Let’s jump in and explain.. The built-in Fibonacci Retraction add+ tool is the method we use to frame up our technical analysis . Helping CryptoPlayground traders define support and resistance levels of extreme relevance and more importantly defining #cpf Optimal Trade Entries. Traders trading from these blue lines produce high probability low risk trade ideas and opportunities.
How it’s done: Drawn using (plot) the high and low of a particular time-frame (depicted by your chart settings, or set using custom time settings in the indicator settings itself). These high and low points have many names and can be defined in many ways. as basic as it comes these are knows as pivot points . Using these points, Cryptoplayground Framework draws levels respecting Fibonacci ratios. Reminder that CryptoPlayground is a framework to structure trades, these levels are supposed to change. Using a time series to do so allows traders to define their style of trading, whether intra, daily or swing.
When the CryptoPlayground Framework is “about to change” we call this a liquidity event and most commonly in crypto it’s some sort of purge in the direction that traders are willing to buy up to or sell to.
🤖 Technicals in the code:
// Fibonacci Retraction
Length(x)
Source( close)
Out = fib retract
High(close, x)
Low(close, x)
plot(…
Plotshape (fib = high - low within time series multiples by ratio)
Alert condition(
crossunder(close, x)…. ; candle close below x indicating our liquidity event)
Plot ( purge
Plotshape (purge
CryptoPlayground Framework traders have the added improvement of RSI add+ , as a further confirmation, defining whether bulls are in control, bears are in control or when defining overbought or oversold thresholds. Represented by the larger blue and grey dotted channel, traders are able to use this visual tool and add it to their analysis.
🤖 Technicals in the code:
//RSI+
Based on in-build RSI , where RSI is (rsiSource, rsilength)
RSI = close
Legth = x
Condition = x
Condition = x
plot ( plot as size 2 dotted lines on the chart )
CryptoPlaygound “Helper Tool” is an Exponential Moving Average function to determine bullish and bearish conditions, we are able to remain emotionless through the trade. As well as, when to book profit and the sign of a possible reversal. Backtested for optimal crypto conditions, the degree of weighted decrease provides observations faster for a volatile market. CryptoFramework makes these calculations available on all time frames or customisable for the style of trader. CryptoPlayground used a time settings (constant) that makes traders pay themselves first.
🤖 Technicals in the code:
// bullish . bearish
Length = ( x )
Source( close )
Out = ( ema )
High ( close, x )
Low ( close, x )
Last = ( high , x )
Last = ( low , x )
Bearish = cross ( close , x )
Bullish = cross ( close , x )
Plotshape ( bullish , style
Plotshape ( bearish , style
// Long.short exit
Ema = x
SMA = x
EMA ( close, x )
SMA ( close , x )
RSI (close , x )
Using the CryptoPlayground Framework, the description below will describe, How to trade a “Fake Out - Purge Event“, also known as “Purge and Revert”
Set alert: Purge Event (This way you will get notified, this type of trade can be ruined with emotions and therefor it is best traded with structure)
Purge Events indicate one of 3 things, a breakout/liquidity run or raid, a reach for liquidity or a possible fake-out. Purge Events are represented by the label “Purge”.
In this example, CryptoPlayground Framework has structured a trade example during a “Fakeout - Purge Event” to the sell side.
Further visual description provided.
On chart elaboration and description on how to trade
1. Set Alert Condition - Liquidity Purge Alert
(using TradingView alert settings)
2. Set entry at #cpf Entry 1 :
This is a level 2 entry.
Scaling down chart time-frame will create a further "Optimal Trade Entry
".
3. Pay yourself, book profit, move your stop loss up or to break even.
The trade is now risk free and you’ve made a successful trade.
The rest is just added bonus.
4. Opportunity to consider re-enter, add partials previously taken signified by bullish Label and Rejection of Fibonacci ratios.
5. Trade is complete, you paid yourself, lowered risk, added more into a trade and entered hopefully using a limit order :)
Blue horizontal lines marked #cpf are your long and short optimal trade entry location, where trading from these regions carry less risk. These blue lines are what the Cryptoplayground Framework refers to as Optimal Trade Entries.
In the opposition's corner we have a mirrored x2 blue horizontal lines marked #cpf these are your targets. Traders are made aware of a "liquidity Event" at these levels when bulls or bears are in control.
White "time to book profit" labels are there to remind traders to pay themselves first. Having Entered from #cpf a CryptoPlayground Trader would at this point take profit and move stop loss into profit or break even. Using this method further reduces downside and removes the risk from your original entry position. Leaving the CryptoPlayground Framework Trader with a "Risk Free Trade".
White "exit trade" indicates extreme limits of oversold and overbought conditions where it is likely that a reversal will take place as buyers or sellers increase in the respected direction.
Grey horizontal dotted lines indicate levels at which price action is likely to respect. In that regard, price action will make moves from these levels and to these levels.
If you have any questions please reach out, the script is invite-only.
If you wish to have access please reach out.
Hope you enjoy, please comment or message! 🙏
DePriExchange weighted price for cryptocurrencies
DECENTRALIZED PRICE CHART FOR DECENTRALIZED WORLD
See non-manipulated , globally price action that comes from whole liquidity!
The main idea behind this script is that...
The value of each trading pair finally determined globally and the price displayed in exchanges is its own and not global! differences between exchanges, reduced to near zero gradually by market makers and arbitrages, so..
Every min tick price changes Must be backed by liquidity to be part of the global fluctuations
more liquidity gives it more credibility
more credibility give it more weight
..Against opposing movements.
This script can collect price of crypto pairs from 12 exchanges that listed on TV and have effective volume.
In the first step, summarizes the volume of all exchanges and creates the total volume
In the next step, divide each exchange volume to total volume to obtain relative weight of each exchange.
In the final step, multiply each exchange price to weight of itself and summarizes these numbers .. now, we have Exchange weighted price!
The results on high liquidity pairs like BTCUSDT, ETHUSDT, is not much differ then simple chart but when you apply it on lower liquidity, lower time frames of altcoins, you realize its benefits and usefulness. Altcoins chart in composite and simple mode is very differ, I hope you enjoy from TRUE CHART.
With this, also you can..
Filter and smooth candlestick chart with SMA or EMA
Plot a line chart of pair at your desired frame separate from the main chart for monitor important price levels
Get realtime report of whole volume of pair on included exchanges
Get realtime report of each exchange weight and share
Note.1:
some of pairs queted on more than one like BTCUSD, BTCUSDT, BTCUSDC and etc. In this pairs we choose the one that usually has more volume on that exchange.
Note.2:
At this time, supported queted currencies are BTC, ETH, USD, USDT, BUSD, USDC, USDK.
Note.3:
This script is relatively heavy! This is not cuz of bad coding.
Each bar compution contains at least one plot and some of security calls, so 10 to 15 seconds is normal load time.
Note.4:
You can combine this with your price action base scripts and use balanced OHLCV. The necessary explanations about this are available in the code.
Note.5:
You must only include exchanges that support your ticker, Otherwise you will receive an error.
I hope it comes useful to you.
SSMT Divergence (Quarterly Theory) [TakingProphets]SSMT (Quarterly Theory)
Overview
SSMT (Sequential SMT) is an ICT-based tool designed to detect real-time intermarket divergence based on the Sequential SMT model popularized by Trader Daye and FearingICT.
It leverages Quarterly Theory, a core ICT concept, to break the trading day into time-based quarters and scans for divergences across Daily, 90-minute, and Micro-session cycles. The indicator updates continuously in real time, allowing you to spot liquidity grabs, manipulation plays, and directional imbalances the moment they occur.
Rooted in Quarterly Theory 📐
-Built on ICT’s Quarterly Theory, the model segments the trading day into predictable phases of accumulation, manipulation, and distribution.
Daily Quarters (4 per day):
Q1: 18:00 – 00:00 ET
Q2: 00:00 – 06:00 ET
Q3: 06:00 – 12:00 ET
Q4: 12:00 – 18:00 ET
-90-Minute Quarters: Splits Asia, London, NY-AM, and NY-PM into structured liquidity windows.
-Micro Quarters: Offers an even finer breakdown of each session, perfect for precision scalping.
-By aligning SMT detection with ICT’s time-based framework, this indicator delivers accurate timing context around when institutional liquidity shifts are most likely.
Real-Time SMT Detection ⚡
-Unlike static divergence tools, SSMT reacts instantly:
-Monitors your instrument and a correlated symbol tick by tick.
-Tracks current vs. previous highs/lows within the active quarter.
-Compares live price behavior against the correlated asset.
-Draws divergence lines and labels as soon as SMT forms:
-Bullish SMT → Your market forms a higher low while the correlated asset does not.
-Bearish SMT → Your market forms a lower high while the correlated asset does not.
-Divergence lines and labels update in real time, keeping your chart accurate and contextually aligned with ICT principles.
Key Features
Three SMT Cycles in One Tool
-Daily → Perfect for swing traders tracking higher-timeframe liquidity events.
-Ninety (90-Minute) → Ideal for intraday setups and session-specific SMTs.
-Micro → Highly detailed for scalpers timing manipulative sweeps.
Per-Cycle Customization
-Toggle Daily, 90-Minute, and Micro SMT independently.
-Fully customize line colors, widths, styles, and optional session boxes.
-Smart Auto-Labeling
-Labels display the correlated symbol automatically (“SMT w/ES” by default).
-Divergence lines persist historically beyond quarter boundaries for added confluence.
-Instant Style Updates
-All active and historical SMT drawings update immediately when customizing colors, widths, or line styles.
Practical Use Cases
-Scalpers → Spot micro-level SMTs for high-precision entries.
-Day Traders → Track real-time divergences within Asia, London, and New York sessions.
-Swing Traders → Combine Daily SMT signals with ICT-based HTF POIs for optimal confluence.
-ICT Traders → Designed around ICT’s teachings, popularized by Trader Daye and FearingICT, giving you a visual framework to apply their methods seamlessly.
Short Description (TradingView card)
SSMT — Sequential SMT detection based on ICT principles, inspired by Trader Daye and FearingICT. Real-time divergence mapping built on Quarterly Theory, covering Daily, 90m, and Micro-session SMTs.
Monday Open [Bellsz]Plots the NY Monday range with box, High/Low, EQ, and Monday Open, then projects those levels forward by N bars. Clean weekly framing for liquidity targets and mean reversion.
Purpose
Maps the full New York Monday (00:00–23:59 NY time) and projects its High, Low, EQ (midpoint), and Monday Open forward. Use it to frame the week’s liquidity map, “magnet” levels, and mean-reversion targets with one glance.
What it draws
Monday Box — live-updating box for the NY Monday session (fill + border).
High/Low (solid lines) — locked at Monday close and optionally extended N bars.
EQ / Midline (dashed) — (High + Low) ÷ 2, extended N bars.
Monday Open (solid line) — projected from Monday’s first bar, extended N bars during Monday (temporary), then replaced by a fixed Monday-Open line at session end.
How it works
Detects NY calendar day without dayofyear and anchors to America/New_York.
Starts tracking at NY Monday 00:00; updates the box/high/low in real time.
When Monday ends, the script freezes the range and plots final H/L/EQ + Open, extending each by your chosen number of bars.
No lookahead; levels are only finalized after Monday completes.
Inputs
Extend lines (bars →) — how far to project H/L/EQ/Open into the future.
Monday Box Fill / Border — style the range box.
High/Low Line Color / Width — style Monday H & L.
EQ Line Color / Width — style midpoint.
Monday Open Color / Width — style the Monday open.
Why use this indicator
Weekly bias framing: Monday’s range often acts as the reference box for the week’s expansion.
Liquidity targeting: Equal highs/lows and EQ act as common magnet/rebalance areas.
Confluence: Combine with sessions/killzones, FVGs, order blocks, or news timing.
Best practices
Keep chart on your normal trading TF (M5–H1 for intraday, H4–D for swing).
Watch EQ taps and previous Monday H/L sweeps Tuesday–Friday.
Pair the projection length with your strategy’s average holding horizon.
Notes & limitations
All timing is NY session-based (America/New_York). If your symbol trades Sunday evening (futures/FX), Monday begins at 00:00 NY as coded.
Market holidays that shift liquidity can affect the “feel” of Monday’s range.
Works on any symbol/TF supported by TradingView. No repainting after Monday close.
ICT Structure Levels (ST/IT/LT) - v7 (by Jonas E)ICT Structure Levels (ST/IT/LT) – Neighbor-Wick Pivots
This indicator is designed for traders following ICT-style market structure analysis. It identifies Short-Term (ST), Intermediary (IT), and Long-Term (LT) swing highs and lows, but with a stricter filter that reduces false signals.
Unlike standard pivot indicators, this script requires not only that a bar makes a structural high/low, but also that the neighboring bars’ extremes are formed by wicks rather than flat-bodied candles. This wick condition helps confirm that the level is a true liquidity sweep and not just random price action.
How it works (conceptual):
Detects pivots based on user-defined left/right bars.
Validates that extremes on both sides of the pivot are wick-driven (high > body for highs, low < body for lows).
Marks valid STH/STL, ITH/ITL, and LTH/LTL directly on the chart with optional price labels.
Uses ATR offset for better label readability.
Alerts can be enabled to notify when a new structural level is confirmed.
How to use it:
Map market structure across multiple layers (ST/IT/LT).
Identify true liquidity grabs and avoid false highs/lows.
Integrate with Break of Structure (BOS) and Change of Character (CHoCH) strategies.
Combine with other ICT concepts (Order Blocks, Fair Value Gaps, Liquidity Pools).
What makes it unique:
Most pivot indicators mark every high/low indiscriminately. This script filters pivots using wick validation, which significantly reduces noise and focuses only on the levels most relevant to liquidity-based trading strategies.
[RealEdgeFX] - Manipulation CandleOverview
The Manipulation Candle indicator highlights potential liquidity grabs and false breakouts directly on the chart. It focuses on moments when price sweeps prior highs or lows but closes in the opposite direction, suggesting a possible manipulation before a market reversal.
Core Logic
The indicator compares the current candle against the previous one and colors the bar when specific conditions are met:
Sell Manipulation (dark red)
When the current candle breaks above the previous high but then closes below the prior low.
→ This often signals a stop hunt to the upside followed by bearish intent.
Buy Manipulation (light green)
When the current candle breaks below the previous low but then closes above the prior high.
→ This suggests a liquidity sweep to the downside before bullish continuation.
Neutral candles remain uncolored to avoid clutter and keep the focus on high-impact moments.
Design Approach
Clarity: Only the candles that meet strict criteria are marked, reducing noise.
Liquidity Focused : Built for traders who want to quickly spot manipulative price action.
Non-Repainting : Once a candle is identified as manipulation, the color stays fixed.
Usage
Add it as an overlay on your chart.
Watch for green or red manipulation candles as alerts of possible reversals or liquidity events.
Combine with your own market structure or bias tools to increase accuracy.
FREEDOM - TJR Model\ FREEDOM – TJR Model\ 🚀
\ Automates TJR’s well-known NQ playbook with clean visuals, filters, and alerts—so you can focus on execution.\
\ Core idea\
1. Trade \ NQ\ in the \ New York session\ 🗽
2. Wait for a \ liquidity sweep\ of a \ prior session\ High/Low (Asia or London) ✂️
3. Confirm with \ SMT (NQ vs ES) divergence\ 🔀
4. Act on a \ proprietary entry signal\ 🔒
5. Risk at the swing 🛡️, target \ untapped internal/session liquidity\ 🎯
This indicator draws those session levels for you, tracks sweeps, detects SMT, applies higher-timeframe confluence, and fires alerts that respect your time window and filters.
---
\ What it draws & detects\
\ • Sessions & Liquidity Sweeps\ 🕒
* Plots \ Asia / London / New York\ session bands.
* On session close, it freezes the session’s \ High/Low\ as dotted “previous-session levels” and \ extends them forward\ until price \ crosses\ (choose \ Wicks\ or \ Close\ ).
* When price takes a previous-session \ High\ → \ Buyside sweep\ ; takes a \ Low\ → \ Sellside sweep\ .
* Optional \ Sweep Zones\ expand around the swept level using an \ ATR(21)\ margin; can auto-fade “fake” sweeps.
\ Tip: Keep “Extend previous session High/Low until cross” ON to maintain a clean roadmap into NY open.\
\ • SMT Divergence (NQ vs ES)\ 🔀
* Classic pivot-to-pivot SMT:
* \ Bearish SMT\ = NQ makes a \ higher high\ while ES does \ not\ .
* \ Bullish SMT\ = NQ makes a \ lower low\ while ES does \ not\ .
* Draws \ lines\ from pivot to pivot (no chart spam), with optional inline “SMT” label and optional confidence \ score\ (0–100) based on strength + recency.
* Context aware:
* Only shows \ Bearish SMT\ after a \ buy-side sweep\ (previous-session High taken).
* Only shows \ Bullish SMT\ after a \ sell-side sweep\ (previous-session Low taken).
* Respects your \ NY time window\ if enabled.
\ • Proprietary Entry Signals\ 🔒
* Prints entry lines + arrows only when your rules align (proprietary detection under the hood).
* Respects:
* \ Session-sweep bias\ (optional): Sells only after buy-side sweep; Buys only after sell-side sweep.
* \ Monotonic filter\ : new Sell must be \ higher\ than last Sell; new Buy must be \ lower\ than last Buy (resets each session).
* \ Minimum distance\ to nearest previous-session dotted level (in ticks).
* \ NY time filter\ window.
* \ HTF confluence\ (see below).
---
\ HTF Confluence (optional)\ 📈
* Choose \ MA slope\ (\ EMA/SMA/RMA/WMA\ ) or \ HH/HL structure\ on a higher timeframe (e.g., 60m/240m).
* Entry arrows and alerts can be gated so they only print when HTF bias agrees with the setup.
\ Tip: Start with EMA 50 on 60m for a smooth directional filter; add HH/HL only if you want stricter structure confirmation.\
---
\ Dashboard (bottom-right)\ 🧩
* \ VWAP state\ :
* \ Overbought\ (🔴) if close > VWAP + (mult × stdev)
* \ Oversold\ (🟢) if close < VWAP − (mult × stdev)
* Otherwise \ Neutral\ (⚪️)
* \ Premium / Discount\ vs previous-session 50% midline: Premium = above (red bias), Discount = below (green bias).
* \ SMT row\ : Bullish / Bearish / Neutral with optional score.
---
\ How to use the settings (quick tour)\
\ ENTRY\
* \ Entry Swing Length\ : lower = more signals.
* \ Confirmation\ : \ Candle Close\ or \ Wicks\ for breakout.
* \ Filter entry by session sweeps\ : enforces “sell after buy-side sweep, buy after sell-side sweep.”
* \ Minimum distance (ticks)\ : blocks entries too close to previous-session dotted levels.
* \ Replay mode\ : keeps entries visible in Bar Replay.
* \ NY Time filter\ : default \ 08:00–14:00 NY\ ; arrows/alerts respect the window.
* \ Arrow offset (ticks)\ : how far above/below the candle to plot the arrow.
\ SESSION SWEEPS\
* Toggle \ Buyside/Sellside zones\ , adjust \ ATR(21)\ margin & length.
* \ Hide Fake Sweep Zones\ (default ON).
* \ Extend H/L until cross\ (Wicks/Close).
* Optional \ daily reset\ for unswept dotted lines.
\ SESSIONS\
* Enable/disable \ Asia, London, NY AM, NY PM\ ; set start/end; choose color; extend midline if desired.
* DST toggles for NY/London.
\ HTF Confluence\
* Turn it ON/OFF; pick timeframe & method (MA slope or HH/HL); set MA type/length or swing length.
\ Dashboard\
* Show/hide table; set VWAP stdev length/multiplier.
* SMT settings: comparison symbol (\ default ES1!\ ), pivot length, show score/labels, recency window, etc.
\ Alerts\ (always last) 🔔
* \ Session line cross\ : choose Highs/Lows and crossing mode (\ Same as extension / Wicks / Close\ ).
* \ Entry alerts\ : \ Filtered / Unfiltered / Both\ .
* \ Filtered\ = respects sweep bias, HTF confluence, minimum distance, monotonic rule, and time window.
* \ Unfiltered\ = ignores sweep bias/HTF/monotonic (still respects minimum distance + time window).
* All entry alerts also respect the \ NY time window\ when enabled.
---
\ Suggested workflow\
* Open NQ on a 1–5m chart.
* Let the dotted \ previous-session H/L\ extend into NY; wait for a \ sweep\ .
* Check \ SMT\ : after buy-side sweep → look for \ bearish SMT\ ; after sell-side sweep → look for \ bullish SMT\ .
* Take the \ proprietary entry\ when filters agree.
* Stop at the swing; aim for \ untapped internal/session liquidity\ .
* Let \ alerts\ handle the monitoring.
---
\ Why traders like it\
* It mirrors the model popularized by \ TJR\ while removing the chart admin: sessions, sweeps, SMT, HTF gating, distances, monotonic sequencing, time windows, and ready-to-use alerts—so your execution stays consistent. ✨
---
\ Disclaimer\ ⚠️
\ This tool is for educational purposes only and does not constitute financial advice. Markets involve risk; always do your own research and test in replay/paper before trading live. FREEDOM – TJR Model is inspired by TJR’s publicly known framework but is not affiliated with, endorsed by, or sponsored by TJR. You are solely responsible for your trading decisions and outcomes.\
TRI - Smart Zones============================================================================
# TRI - SMART ZONES v2.0
## Professional Smart Money Concepts Indicator for Pine Script v6
============================================================================
## 📊 OVERVIEW
**TRI - Smart Zones** is a comprehensive Smart Money Concepts indicator that
combines multiple institutional trading concepts into a single, powerful tool.
Built with Pine Script v6 for optimal performance and reliability.
## 🎯 CORE FEATURES
### **Fair Value Gaps (FVG)**
- **Detection**: Automatic identification of price imbalances
- **Types**: Bullish and Bearish Fair Value Gaps
- **Threshold**: Customizable gap size requirements (0.1% default)
- **Extension**: Configurable zone projection length
- **Mitigation**: Real-time tracking of gap fills
### **Order Blocks (OB)**
- **Detection**: Volume-based institutional footprint identification
- **Types**: Bullish and Bearish Order Blocks
- **Method**: Pivot-based volume analysis with configurable lookback
- **Validation**: Market structure confirmation required
- **Extension**: Adjustable zone projection
### **BSL/SSL Liquidity Levels**
- **Multi-Timeframe**: Automatic higher timeframe reference
- **Dynamic**: Real-time level updates and extensions
- **Visual**: Clear line markings with timeframe labels
- **Smart**: Adaptive timeframe selection based on current chart
### **Fibonacci Extensions**
- **ZigZag Integration**: Advanced pivot point detection
- **Levels**: Customizable Fibonacci ratios (38.2%, 61.8%, 100%, 161.8%)
- **Projection**: Dynamic extension from swing points
- **Visual**: Subtle dashed lines with level/price labels
### **Smart Dashboard**
- **Zone Statistics**: Real-time FVG and OB counts
- **Success Rates**: Mitigation percentages for each zone type
- **Market Bias**: Intelligent bullish/bearish/neutral assessment
- **Positioning**: Customizable location and size
### **Zone Analysis Engine**
- **Technical Confluence**: RSI, ADX, ATR, Volume analysis
- **VWAP Integration**: Institutional price reference
- **Confidence Scoring**: High/Mid/Low signal classification
- **Signal Arrows**: Visual trade direction indicators
## 🔔 ALERT SYSTEM
### **Market Structure Alerts**
- `Market Bias Changed` - Shift in overall market sentiment
- `BSL Touched` - Buy Side Liquidity level reached
- `SSL Touched` - Sell Side Liquidity level reached
### **Zone Touch Alerts**
- `OB Touched` - Any Order Block interaction
- `Bullish OB Touched` - Bullish Order Block touch
- `Bearish OB Touched` - Bearish Order Block touch
- `FVG Touched` - Any Fair Value Gap interaction
- `Bullish FVG Touched` - Bullish FVG touch
- `Bearish FVG Touched` - Bearish FVG touch
- `Zone Touched` - Any Smart Zone interaction
- `Bullish Zone Touched` - Any bullish zone touch
- `Bearish Zone Touched` - Any bearish zone touch
## ⚙️ CONFIGURATION
### **Zone Detection**
- Enable/disable FVG and OB detection independently
- Maximum zones per type (3-15, default: 8)
- Zone-specific threshold and extension settings
### **Visual Customization**
- Individual color schemes for each zone type
- Adjustable transparency levels
- Configurable line styles and widths
- Dashboard positioning and sizing options
### **Technical Analysis**
- RSI, ADX, ATR period customization
- Volume threshold multipliers
- Confidence level color coding
- Signal display toggle
## 🚀 PINE SCRIPT v6 OPTIMIZATIONS
- **User-Defined Types**: Structured data for zones and statistics
- **Methods**: Type-specific operations for better code organization
- **Enhanced Arrays**: Optimized memory management
- **Switch Statements**: Improved performance for zone classification
- **Error Handling**: Robust input validation and edge case management
- **Performance**: Efficient algorithms for real-time analysis
## 📈 TRADING APPLICATIONS
### **Entry Strategies**
- Zone confluence for high-probability setups
- Multi-timeframe confirmation via BSL/SSL
- Fibonacci extension targets
- Signal arrows for directional bias
### **Risk Management**
- Zone mitigation for stop-loss placement
- Market bias for position sizing
- Dashboard statistics for strategy validation
### **Market Analysis**
- Institutional footprint identification
- Liquidity level mapping
- Market structure assessment
- Trend continuation vs reversal analysis
## 🔧 TECHNICAL SPECIFICATIONS
- **Version**: Pine Script v6
- **Overlay**: True (draws on price chart)
- **Max Objects**: 100 boxes, 100 lines, 50 labels
- **Performance**: Optimized for real-time analysis
- **Compatibility**: All TradingView chart types and timeframes
ICT Assistance TYHE42█ Overview
ICT Assistant Tye42 is a complete indicator built for Smart Money Concepts (SMC) and ICT-based trading strategies, offering a clear, stable, and real-time view of key market levels.
This all-in-one tool includes several essential features used by professional traders:
Fair Value Gaps (FVG) detected in real-time
EQH (Equal Highs) and EQL (Equal Lows) auto-detected
Previous Highs & Lows (Daily, Weekly, Monthly)
Killzones (Asian Range, London Open, New York Open, London Close)
Daily Open Line
Every module is fully customizable (color, opacity, timezone, toggle on/off), allowing traders to tailor the indicator to their strategy, style, and chart theme.
Designed for traders focused on market structure, liquidity, and imbalances, this script emphasizes clarity, responsiveness, and visual efficiency — without cluttering your chart.
█ How It Works
🔍 Automatic detection of key price action elements:
Fair Value Gaps (FVG): identified based on ICT logic (imbalance between the current candle and the one two candles back)
EQH/EQL: spots equal highs and lows as potential liquidity zones
Previous Highs & Lows: automatically plots highs and lows from previous sessions (Daily, Weekly, Monthly)
Killzones: highlights key time-based volatility zones depending on your selected timezone
Daily Open Line: shows the daily open level to help frame the trading session
█ How to Use
Use FVGs and EQH/EQL as potential imbalance or liquidity signals
Combine with Killzones to identify moments of high volatility
Monitor Previous Highs & Lows for potential stop hunts or reaction areas
Works on all timeframes – ideal for intraday and swing trading
█ Settings
Custom colors & opacity for each module
Adjustable timezone for precise session alignment
Individual on/off toggles for a clean and tailored display
█ What Makes It Unique
Unlike other ICT indicators that overload charts with visuals, ICT Assistant Tye42 follows a minimalist, clean, and efficient approach, while combining all key tools in one script.
Built for traders who want to focus on what matters most — market structure, liquidity, and institutional price behavior — this tool provides everything you need in a sleek package.
⚠️ Disclaimer
This script is for educational purposes only and does not constitute financial advice. Use at your own risk. No refunds or liabilities provided.
Gold Killzone Bias Suite🟡 Gold Killzone Bias Suite
The Gold Killzone Bias Suite is an advanced institutional-grade tool designed to generate high-confidence directional bias for XAU/USD (Gold) during the London and New York killzones.
Built for traders using a structured, confluence-driven approach, this tool blends price action, smart money principles, momentum, and volume into a real-time bias engine with a clean, easy-to-read dashboard.
🔧 Key Features
🕰️ Session-Based Bias (London / New York)
Independent bias calculation per session
Killzone times customizable with timezone support
Background highlighting (blue/red) for each session
📊 VWAP Engine
Reclaim & rejection detection
VWAP deviation alerts
Daily HTF VWAP integration
Score impact based on VWAP behaviour
📉 Market Structure (CHoCH / BOS)
Detects swing highs/lows
Labels bullish/bearish CHoCHs
Structure score contributes to session bias
💧 Liquidity Grabs
Detects stop hunts above highs / below lows
Confirms with candle rejection (body % filter)
Plots labels and adds to bias scoring
⚡ Momentum Filters
RSI: Bullish >55, Bearish <45
MACD: Histogram + Signal Line crossovers
Combined momentum score used in bias
🧠 Smart Money Proximity
Optional FVG/OB score toggle (placeholder for custom logic)
Adds static confluence for proximity-based setups
⏫ Higher Time Frame Context
Daily VWAP comparison
4H high/low structure breaks
Adds trend score to current session bias
🧠 How Bias Works
The suite uses a scoring model. Each confluence adds or subtracts points:
VWAP reclaim/reject: ±30
CHoCH/BOS: ±30
Liquidity grab: ±20
RSI/MACD: ±10
FVG/OB Proximity: +10
Daily VWAP trend: ±10
H4 Trend Break: ±10
Final Bias:
Bullish if score ≥ +20
Bearish if score ≤ -20
Neutral if between -19 and +19
A confidence % (capped at 100) is also shown, along with the contributing confluences (VWAP, Structure, Liquidity, etc.).
📋 Dashboard
A real-time dashboard shows for each session:
Session name and time
Bias (Bullish / Bearish / Neutral)
Confidence (%)
Confluences used
Position can be moved (Top Left, Top Right, etc.). Designed to be unobtrusive yet informative.
🧪 Best Practices
Use on 15m / 5m charts for intraday setups
Confirm with D1 or H4 structure for directional context
Combine with OB/FVG zones or SMT for entries
Use Trading View alerts for bias flips or liquidity grabs (custom logic can be added)
Bar Replay compatible for back testing and journaling bias shifts
🔐 Notes
Does not generate trade signals or alerts by default
Focused on bias generation and confluence stacking
Compatible with funded account trading models
📈 Built for traders who want a systematic, score-based approach to identifying directional edge in high-volume gold sessions.
Ayman Entry Signal – Ultimate PRO (Scalping Gold Settings)1. Overview
This indicator is a professional gold scalping tool built for TradingView using Pine Script v6.
It combines multiple price action and technical filters to generate high-probability Buy/Sell signals with built-in trade management features (TP1, TP2, SL, Break Even, Partial Close, Stats tracking).
It is optimized for XAUUSD but can be applied to other assets with proper setting adjustments.
2. Key Features
Multi-Condition Trade Signals – EMA trend, Break of Structure, Order Blocks, FVG, Liquidity Sweeps, Pin Bars, Higher Timeframe confirmation, Trend Cloud, SMA Cross, and ADX.
Full Trade Management – Auto-calculates lot size, SL, TP1, TP2, Break Even, Partial Close.
Dynamic Chart Drawing – Entry lines, SL/TP lines, trade boxes, and real-time PnL.
Statistics Panel – Tracks wins, losses, breakeven trades, and total PnL over selected dates.
Customizable Filters – All filters can be turned ON/OFF to match your strategy.
3. Main Inputs & Settings
Account Settings
Capital ($) – Total trading capital.
Risk Percentage (%) – Risk per trade.
TP to SL Ratio – Risk-to-reward ratio.
Value Per Point ($) – Value per pip/point for lot size calculation.
SL Buffer – Extra points added to SL to avoid stop hunts.
Take Profit Settings
TP1 % of Full Target – Fraction of TP1 compared to TP2.
Move SL to Entry after TP1? – Activates Break Even after TP1.
Break Even Buffer – Extra points when moving SL to BE.
Take Partial Close at TP1 – Option to close half at TP1.
Signal Filters
ATR Period – For SL/TP calculation buffer.
EMA Trend – Uses EMA 9/21 crossover for trend.
Break of Structure (BoS) – Requires structure break confirmation.
Order Block (OB) – Validates trades within OB zones.
Fair Value Gap (FVG) – Confirms trades inside FVGs.
Liquidity Sweep – Checks if liquidity zones are swept.
Pin Bar Confirmation – Uses candlestick patterns for extra confirmation.
Pin Bar Body Ratio – Controls strictness of Pin Bar filter.
Higher Timeframe Filters (HTF)
HTF EMA Confirmation – Confirms lower timeframe trades with higher timeframe trend.
HTF BoS – Confirms with higher timeframe structure break.
HTF Timeframe – Selects higher timeframe.
Advanced Filters
SuperTrend Filter – Confirms trades based on SuperTrend.
ADX Filter – Filters out low volatility periods.
SMA Cross Filter – Uses SMA 8/9 cross as filter.
Trend Cloud Filter – Uses EMA 50/200 as a cloud trend filter.
4. How It Works
Buy Signal Conditions
EMA 9 > EMA 21 (trend bullish)
Optional filters (BoS, OB, FVG, Liquidity Sweep, Pin Bar, HTF confirmations, ADX, SMA Cross, Trend Cloud) must pass if enabled.
When all active filters pass → Buy signal triggers.
Sell Signal Conditions
EMA 9 < EMA 21 (trend bearish)
Same filtering process but for bearish conditions.
When all active filters pass → Sell signal triggers.
5. Trade Execution & Management
When a signal triggers:
Lot size is auto-calculated based on risk % and SL distance.
SL is placed beyond recent swing high/low + ATR buffer.
TP1 and TP2 are calculated from the SL using the reward-to-risk ratio.
Break Even: If enabled, SL moves to entry price after TP1 is hit.
Partial Close: If enabled, half of the position closes at TP1.
Trade Exit: Full exit at TP2, SL hit, or partial close at TP1.
6. Chart Display
Entry Line – Shows entry price.
SL Line – Red dashed line at stop loss level.
TP1 Line – Lime dashed line for TP1.
TP2 Line – Green dashed line for TP2.
PnL Labels – Displays real-time profit/loss in $.
Trade Box – Visual area showing trade range.
Pin Bar Shapes – Optional, marks Pin Bars.
7. Statistics Panel
Stats Header – Shows “Stats”.
Total Trades
Wins
Losses
Breakeven Trades
Total PnL
Can be reset or filtered by date.
8. How to Use
Load the Indicator in TradingView.
Select Gold (XAUUSD) on your preferred scalping timeframe (1m, 5m, 15m).
Adjust settings:
Use default gold scalping settings for quick start.
Enable/disable filters according to your style.
Wait for a Buy/Sell alert.
Confirm visually that all desired conditions align.
Place trade with calculated lot size, SL, and TP levels shown on chart.
Let trade run – the indicator manages Break Even & Partial Close if enabled.
9. Recommended Timeframes
Scalping: 1m, 5m, 15m
Day Trading: 15m, 30m, 1H
Swing: 4H, Daily (adjust settings accordingly)
Stockraft HFT Candles⚡ HFT Candle Indicator
🧠 What Are HFT Candles?
HFT (High-Frequency Trading) candles are sharp, fast price movements often created by large algorithmic orders. These candles typically:
Break key highs/lows or liquidity zones
Quickly reverse, trapping retail traders on the wrong side
Signal manipulation or smart money activity
✅ How to Use the Indicator
Spot Liquidity Sweeps
When a candle pierces above recent highs or below recent lows and gets marked by this indicator, it's likely an HFT candle.
These candles usually act as liquidity grabs — not genuine breakouts.
Wait for Rejection or Confirmation
Do not enter immediately.
Wait for the next candle to show rejection (e.g., pin bar, engulfing) or close back within the previous range.
Trade in the Opposite Direction
HFT candles often trap traders chasing breakouts.
Look to trade in the opposite direction of the HFT candle after confirmation.
Example: If the candle breaks a high and reverses → look for a short.
If it breaks a low and reverses → look for a long.
Best Used With Zones
Works best near:
Support/Resistance
Supply/Demand Zones
Session Highs/Lows
News-induced spikes
🎯 Purpose
This indicator helps you:
Avoid false breakouts
Understand smart money behavior
Time entries around liquidity grabs
Increase win-rate by trading reversals after traps
Crypto DanR 1.4.2 PC-Roye Edition📜 Crypto DanR 1.4.2 — PC Roye Edition (Open Source)
This indicator combines Smart Money Concepts (SMC), Liquidity Analysis, and Trend Filtering to provide traders with a high-quality tool for intraday and swing trading on assets like XRP/USDT.
✅ What This Script Does
Crypto DanR 1.4.2 integrates the following advanced features:
Break of Structure (BOS) & Change of Character (CHoCH):
Detects key shifts in market structure
Helps confirm trend direction and reversal points
Fair Value Gaps (FVG):
Displays unmitigated liquidity voids using a style inspired by LuxAlgo
Highlights potential retracement zones where smart money may re-enter
Equal Highs / Equal Lows (EQH/EQL):
Marks liquidity zones that institutions often target before reversals
Order Blocks (OB):
Identifies potential institutional demand/supply zones
Option to filter by wick, body, or mitigation logic
Fibonacci Volatility Bands (based on BigBeluga’s logic):
Detects potential price extremes using Fib extensions on volatility
10 Moving Averages in One (inspired by hiimannshu's script):
Supports 10 custom MAs (SMA, EMA, RMA, HMA, VWMA, etc.) with adjustable source and timeframe
Ideal for trend filtering or dynamic support/resistance
Vector Candles (TradersReality / PVSRA):
Color-coded candles showing real-time volume pressure and trend bias
Visual Trade Plan:
Optional overlay for entry, stop-loss, and take-profit planning
Displays risk-to-reward ratio and potential % gain/loss live
🧠 How It Works
The script uses a price-action-first approach, built around concepts from Smart Money Theory. CHoCH and BOS detect structural shifts, while FVGs and OBs help forecast likely reaction zones. The multiple moving averages act as a trend filter to avoid entering against momentum.
This combination allows traders to:
Enter on mitigations or breakouts
Set stops outside liquidity zones
Manage trades visually with dynamic risk/reward levels
📊 Best Use Cases
15m or 1h scalping (ideal)
Swing trading on 4h
Works well on crypto, FX, and indices
🙏 Credits
TradersReality for PVSRA logic via public library
LuxAlgo for FVG inspiration
hiimannshu for 10-in-1 MA logic
BigBeluga for Fibonacci Bands methodology
All reused logic is significantly modified and part of a broader framework.
📌 Notes
Script is open-source to promote transparency and collaboration
Please do not copy-paste and republish without adding meaningful improvements
Feedback and suggestions welcome!
Crypto DanR 1.4.2 PC-Roye Edition📜 Crypto DanR 1.4.2 — PC Roye Edition (Open Source)
This indicator combines Smart Money Concepts (SMC), Liquidity Analysis, and Trend Filtering to provide traders with a high-quality tool for intraday and swing trading on assets like XRP/USDT.
✅ What This Script Does
Crypto DanR 1.4.2 integrates the following advanced features:
Break of Structure (BOS) & Change of Character (CHoCH):
Detects key shifts in market structure
Helps confirm trend direction and reversal points
Fair Value Gaps (FVG):
Displays unmitigated liquidity voids using a style inspired by LuxAlgo
Highlights potential retracement zones where smart money may re-enter
Equal Highs / Equal Lows (EQH/EQL):
Marks liquidity zones that institutions often target before reversals
Order Blocks (OB):
Identifies potential institutional demand/supply zones
Option to filter by wick, body, or mitigation logic
Fibonacci Volatility Bands (based on BigBeluga’s logic):
Detects potential price extremes using Fib extensions on volatility
10 Moving Averages in One (inspired by hiimannshu's script):
Supports 10 custom MAs (SMA, EMA, RMA, HMA, VWMA, etc.) with adjustable source and timeframe
Ideal for trend filtering or dynamic support/resistance
Vector Candles (TradersReality / PVSRA):
Color-coded candles showing real-time volume pressure and trend bias
Visual Trade Plan:
Optional overlay for entry, stop-loss, and take-profit planning
Displays risk-to-reward ratio and potential % gain/loss live
🧠 How It Works
The script uses a price-action-first approach, built around concepts from Smart Money Theory. CHoCH and BOS detect structural shifts, while FVGs and OBs help forecast likely reaction zones. The multiple moving averages act as a trend filter to avoid entering against momentum.
This combination allows traders to:
Enter on mitigations or breakouts
Set stops outside liquidity zones
Manage trades visually with dynamic risk/reward levels
📊 Best Use Cases
15m or 1h scalping (ideal)
Swing trading on 4h
Works well on crypto, FX, and indices
🙏 Credits
TradersReality for PVSRA logic via public library
LuxAlgo for FVG inspiration
hiimannshu for 10-in-1 MA logic
BigBeluga for Fibonacci Bands methodology
All reused logic is significantly modified and part of a broader framework.
📌 Notes
Script is open-source to promote transparency and collaboration
Please do not copy-paste and republish without adding meaningful improvements
Feedback and suggestions welcome!
[TehThomas] - ICT Rejection BlocksWhat Are Rejection Blocks?
Rejection Blocks are price zones formed when a candle attempts to push through a level, gets rejected with force, and then closes in the opposite direction. This price action creates a “block” that reflects clear intent from smart money participants. These blocks are typically marked by a large wick that fails to close beyond a key high or low, followed by a body that closes back inside the previous range. The zone around the candle body becomes a footprint of where buyers or sellers aggressively stepped in, often defending that level with size.
Why Rejection Blocks Matter to Smart Money Traders
In any smart money model, understanding where large players are active is key. Rejection Blocks highlight exactly that. These zones often sit just above inducement highs or below engineered lows, where liquidity was taken before displacement occurred. By identifying where price got rejected with conviction, traders can spot the origin of institutional interest. These levels often act as magnets for retracement and can provide high-probability entries when price trades back into them. The best part is they often line up with other SMT elements like Fair Value Gaps, Breaker Blocks, or market structure shifts, allowing for strong confluence-based setups.
How the Indicator Works and Why It’s Effective
This script is designed to do one thing exceptionally well, automatically detect and display clean, high-quality rejection blocks. It filters out noise and only marks candles that meet strict rejection criteria. That means long wicks showing failed pushes, and bodies that close convincingly in the opposite direction. The indicator then draws a box over the candle body to mark the rejection zone. These boxes help map out areas where price is likely to react or stall in the future. By automating this process, the indicator saves time, improves consistency, and removes guesswork. You no longer have to manually scan charts or second-guess if a level is valid, the tool handles it for you.
What This Adds to Your Trading Workflow
This tool fits perfectly into any smart money strategy built around liquidity, displacement, and market structure. It helps you focus on the most meaningful zones, especially when price sweeps a high or low and leaves behind a reversal. Whether you trade breakouts, reversals, or liquidity setups, Rejection Blocks give you a visual confirmation of where price got turned away. They act as future entry zones, rejection points, or even stop placement areas. You can pair them with your Fair Value Gap entries, or use them to validate the direction of a shift in structure. This is the type of tool that simplifies your chart without losing precision.
Optimized for Focus and Clarity
There’s no clutter, no overload of options, and no distractions. Just clean, focused rejection zones that update in real-time. The boxes stay until invalidated, giving you a static map of relevant zones without recalculating on every bar. This makes it ideal for traders who want to plan entries, set alerts, or manage risk without redrawing levels every session. Whether you scalp on the 5M or swing trade using the 4H, this tool helps lock in the zones where price already told you something important, rejection with force.
Conclusion
The Rejection Blocks indicator is for traders who want cleaner charts, smarter levels, and more conviction behind every entry. It isolates zones where price showed clear rejection and turns them into actionable blocks that fit seamlessly into any smart money strategy. If you rely on liquidity sweeps, displacement, and reaction-based entries, this tool brings clarity and consistency to your edge. Just turn it on and let it show you where real rejection occurred.
Example of how to use it
FVG 9:31–10:00 AM ETFVG 9:31–10:00 AM ET - Script Description
What This Script Does
This indicator finds **Fair Value Gaps (FVGs)** that form during the first 29 minutes of the U.S. stock market (9:31 AM to 10:00 AM Eastern Time). A Fair Value Gap is a price imbalance where there's a gap between candles that often becomes an important support or resistance level.
Key Features:
- **Time Window**: Only looks for FVGs between 9:31-10:00 AM ET (most important opening period)
- **One Per Day**: Finds only the first FVG that forms in this time window each day
- **Visual Display**: Draws a purple box around the gap with a clear "FVG" label
- **Price Tracking**: Monitors when price comes back to test the gap level
- **Alert System**: Sends notifications when price returns to the FVG zone
How FVGs Are Detected:
- **Bullish FVG**: When there's a gap up (low of middle candle is above high of 3rd candle back)
- **Bearish FVG**: When there's a gap down (high of middle candle is below low of 3rd candle back)
The 9:31-10:00 AM window is chosen because this is when institutions and algorithms create their biggest price moves right after market open, making these gaps very reliable.
Customization Options
User Settings
Extend FVG Box (Bars)
- **What it does**: Makes the purple box longer to the right
- **Default**: 0 (box ends right after the gap forms)
- **Options**: Any number from 0 to 100+
- **When to use**:
- Keep at 0 for clean historical view
- Set to 10-20 to track the gap during the current session
- Set higher for longer reference
Code Settings (Can Be Changed)
Time Window
- **Start**: 9:31 AM Eastern Time
- **End**: 10:00 AM Eastern Time
- **Can modify**: Change the hour/minute numbers in the code
Visual Style
- **Color**: Purple with see-through background
- **Label**: Shows "FVG" text in white
- **Can modify**: Change colors and transparency in the code
How to Use:
Setup
Chart Settings
1. Use 1-minute, 5-minute, or 15-minute charts (works best on these timeframes)
2. Apply to liquid markets like ES, NQ, major stocks, or forex pairs
3. Set the "Extend FVG Box" to your preference (start with 0 or 10)
What You'll See
- A purple box appears when an FVG forms during 9:31-10:00 AM
- Box shows the exact price levels of the gap
- "FVG" label appears on the box
- Only one FVG per day will be marked
Trading Strategies
Basic FVG Trading
1. **Wait for Formation**: Let the purple box appear during 9:31-10:00 AM
2. **Watch Price Movement**: See if price moves away from the gap
3. **Enter on Retest**: When price comes back to the purple box area, consider entering
4. **Trade Direction**:
- Bullish FVG = look for long opportunities when price retests
- Bearish FVG = look for short opportunities when price retests
Entry Methods
- **Bounce Play**: Enter when price touches the FVG box and bounces away
- **Break Play**: Enter if price strongly breaks through the FVG box
- **Rejection Play**: Enter opposite direction if price gets rejected at the FVG
Risk Management
Stop Losses
- Place stops just outside the FVG box (a few ticks beyond the gap)
- If trading a bounce, stop goes on opposite side of the gap
- If trading a break, stop goes back inside the gap
Position Sizing
- Start small until you understand how FVGs work in your market
- Bigger gaps = smaller position size (more risk)
- Smaller gaps = can use larger position size
Profit Targets
- Take profits at obvious levels like round numbers, previous highs/lows
- Consider taking half profits at 1:1 risk/reward ratio
- Let some position run if the move is strong
Best Practices
When It Works Best
- High-volume stocks and futures (ES, NQ work great)
- Normal market days without major news during the 9:31-10:00 window
- When there's clear institutional activity in the opening period
When to Be Careful
- Low-volume stocks or markets
- Major economic news releases during the time window
- Market holidays when volume is low
- Very choppy or sideways days
Alert Usage
- The script will alert you when price comes back to test the FVG
- Don't trade the alert blindly - always check the current market situation
- Use the alert as a heads-up to start watching the setup more closely
Tips for Success
- The earlier the FVG forms in the 9:31-10:00 window, often the more significant it is
- FVGs that form with high volume are usually more reliable
- Always consider the overall market direction - don't fight the main trend
- Practice on paper first to understand how FVGs behave in your chosen market
🔗 Works Best With:
✅ 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.
✅ ICT SMC Liquidity Grabs and OBs- Liquidity Grabs, Order Block Zones, and Fibonacci OTE Levels, allowing traders to identify institutional entry models with clean, rule-based visual signals.
This script is most valuable for day traders who want to catch institutional moves right after market open, but it can also help swing traders identify important intraday levels.
✅ ICT Macro Zones (Grey Box Version)- It tracks real-time highs and lows for each Silver Bullet session.
✅ Weekly Opening Gap (cryptonnnite)
Obscure Institutional Candle PatternsThe "Obscure Institutional Candle Patterns" indicator is a specialized tool designed to identify subtle and unconventional candlestick patterns that may signal institutional activity, liquidity grabs, and sophisticated traps. Unlike common patterns like dojis or engulfing candles, this script focuses on nuanced relationships between price, wicks, and volume that often go unnoticed by the average retail trader.
The core idea is that institutional players leave footprints in the market that don't conform to standard textbook patterns. This indicator decodes these footprints, providing traders with potential early warnings or confirmations of significant market moves. Each pattern is plotted with a unique label and color for easy identification, and alerts are available for each signal.
Identified Patterns
Here is a breakdown of the specific patterns this indicator detects:
1. Liquidity Leech
What it is: A candle with an exceptionally long upper or lower wick (more than 3.618 times the body size) that forms on significantly low volume (less than the 20-period average).
Interpretation: This pattern suggests a probe into key price levels. A large institution may be "leeching" liquidity by testing for stop-loss orders without committing significant volume. It can be a precursor to a reversal, as it indicates where liquidity rests.
Plotted as: A small green triangle (Leech).
2. Echo Rejection
What it is: Two consecutive candles that both dip below the midpoint of the previous day's trading range but manage to close above it.
Interpretation: The previous day's midpoint acts as a critical support or resistance level. A single rejection is significant, but a second consecutive rejection—an "echo"—powerfully reinforces the level's strength. This pattern suggests a robust defense of a price level by buyers and can signal the start of a bullish move.
Plotted as: A small orange triangle (Echo).
3. Bleeding Wick Trap
What it is: A series of three consecutive candles, each with a very long lower wick (more than 6.618 times its body size), culminating in a bullish close on the third candle.
Interpretation: This pattern illustrates a sustained battle where sellers repeatedly try to push the price down, but buyers aggressively step in, creating long "bleeding" wicks. The final bullish close suggests the sellers have been exhausted or "trapped," and the buyers have won control, indicating strong accumulation.
Plotted as: A small blue triangle (WickTrap).
4. Time-Shifted Shadow Box
What it is: A bullish reversal candle that occurs after the price retraces into the middle of a bullish candle from two periods ago. This reversal must be accompanied by a massive surge in volume (at least 5 times the 20-period average).
Interpretation: This complex pattern identifies when the market returns to a "shadow" of a previous key level (the midpoint of the candle from two bars back). The aggressive, high-volume reversal from this time-shifted level suggests a powerful institution has stepped in to reverse the short-term retracement with conviction.
Plotted as: A fuchsia label (TS Box).
5. False Containment Body
What it is: A candle that looks like a bullish Harami (body is contained within the prior candle's body) but with two key differences: its entire range (high and low) is also contained, and its body is exceptionally tiny (less than 1/18th the size of the prior candle's body).
Interpretation: While a standard Harami signals indecision or a potential reversal, this pattern suggests a "false" signal designed to deceive. The extremely low volatility and tight range indicate a temporary pause or consolidation with hidden intent, often before a powerful continuation of the previous trend. It traps traders who misinterpret it as a simple reversal signal.
Plotted as: A yellow label (False).
How to Use
Confirmation Tool: Use these signals as a confirmation layer alongside your existing trading strategy. They are not meant to be standalone entry signals.
Context is Key: The effectiveness of these patterns increases significantly when they appear near key support/resistance levels, supply/demand zones, or major moving averages.
Alerts: Enable alerts to be notified in real-time when one of these obscure patterns forms, allowing you to pay closer attention to the price action that follows.
Predictive Time & AlertsPredictive Time Engine (ICT Macros)
Summary
The Predictive Time Engine is a visual tool designed specifically for traders who utilize Time & Price based methodologies, particularly those inspired by ICT (Inner Circle Trader) concepts.
The primary purpose of this indicator is to visualize the critical "time windows" where market liquidity is most likely to be significantly manipulated or distributed. Instead of only appearing in real-time, this indicator is predictive: at the beginning of each day, it will automatically calculate and draw all selected macro sessions for the day ahead, serving as your daily time roadmap.
With this tool, you will no longer miss these crucial moments and can be better prepared to anticipate price action.
Key Features
Predictive Visualization: Automatically projects and draws all macro time windows for the current trading day, giving you a forward-looking view of where the action is likely to occur.
ICT Macro Time Filter: Based on the "Hourly-Macros" concept, which are specific 20-minute periods within each hour (e.g., 09:50 - 10:10) where the price delivery algorithm (IPDA) is often active. You can select and enable each macro window you wish to monitor.
Full Customization: You have complete control over how the information is displayed. Choose between:
Outline: A clean, transparent box frame.
Background: A solid, colored background for the time zone.
Vertical Lines (Dotted, Dashed, Solid): Marks the beginning of each macro session with a vertical line in your chosen style.
Real-time Alerts: Set up notifications in TradingView to get an alert precisely when the price enters one of your selected Macro Time windows.
Automatic Management: Drawings from previous days are automatically cleared to keep your chart clean and focused on the current day's schedule.
The Concept Behind the Indicator
This indicator is inspired by the concept that the market moves in fractal Time Cycles, from yearly down to 90-minute periods. Each of these time cycles often follows a pattern of AMD (Accumulation, Manipulation, Distribution).
Accumulation: A phase of order gathering.
Manipulation: Price is often driven in the opposite direction of its true intent to sweep liquidity (stop losses).
Distribution: The true price move towards a liquidity target (Draw On Liquidity).
The Macro Time windows marked by this indicator are often the stage where the Manipulation phase or the beginning of the Distribution phase occurs. By knowing when these times are approaching, traders can be on high alert and look for confirming trade setups in the most potent areas and times.
How to Use
Configure Sessions: Open the indicator's Settings.
In the "1. General Settings" tab, ensure the Timezone matches your chart's local time (Default: "America/New_York").
In the "2. Active Macro Sessions" tab, check the box for each macro time window you want to monitor.
Choose Display Style: In "General Settings", select your preferred "Display Style" (Outline, Background, or various Line types). You can also change the color.
Set Up Alerts (Optional):
Click the "Alert" clock icon in the TradingView toolbar.
In the "Condition" section, select this indicator: Predictive Time Engine.
From the dropdown below it, ensure "Sesi Makro Dimulai" (Macro Session Start) is selected.
Set your desired notification options and click "Create".
Chart Interpretation: Use the marked time zones as high-alert areas. Pay close attention to how price reacts when entering or leaving these zones to find potential entry opportunities that align with your trading strategy.
Disclaimer: This tool is provided for educational and analytical purposes only. It is not financial advice. All trading decisions are solely your responsibility. Conduct your own research and manage your risk appropriately.
[GetSparx] Lacuna Pro⚡ Lacuna Pro – Institutional Liquidity Framework
This indicator is a premium Smart Money Concepts (SMC) trading toolkit designed to help traders identify high-probability entry and exit zones by visualizing real-time market inefficiencies. It combines Fair Value Gaps (FVGs), Break of Structure (BOS), Change of Character (CHoCH), and Supply & Demand Zones into a unified, configurable framework.
Unlike many public indicators that simply "overlay concepts", this indicator implements strict internal validation to filter out noise and provide only institutional-grade levels — making it a valuable execution layer for SMC-based strategies.
🧠 What the Script Does – and Why the Combination Matters
This is more than just a combination of known SMC tools — it's a complete workflow assistant:
-FVGs highlight where liquidity is likely resting due to institutional imbalance.
-BOS & CHoCH define structural context: whether the market is trending or shifting.
-Supply & Demand Zones show where institutions are likely to react.
-Each component works together to create a layered confluence system:
-FVG inside a Demand Zone after a Bullish CHoCH → High-probability Long Setup
-Bearish BOS into a Supply Zone + fresh Bearish FVG → High-probability Short Setup
📘 Core Concepts Explained
Fair Value Gap (FVG)
FVGs occur when price moves with strong momentum and leaves a gap between candles — suggesting inefficiency. Bullish FVGs lie below price; bearish ones above. Price often returns to these levels before continuing.
An FVG is detected when a three-candle sequence reveals a price imbalance:
- Bullish : Candle 2’s low is higher than Candle 1’s high
- Bearish : Candle 2’s high is lower than Candle 1’s low
These setups indicate a sudden burst of institutional momentum, often causing price to revisit the gap for rebalancing.
Break of Structure (BOS)
A BOS signals trend continuation when price breaks the previous swing high or low in the direction of the current trend.
The script uses a 3-bar pivot system to detect local swing highs and lows — a swing high forms when the highest candle is flanked by two lower highs on each side (and vice versa for swing lows).
A BOS is confirmed when price closes beyond the most recent swing point in alignment with the current trend direction.
Change of Character (CHoCH)
A CHoCH signals a potential trend reversal by breaking a structure level in the opposite direction of the prevailing trend.
It is detected when price breaks the most recent opposing swing and simultaneously flips the internal trend state.
CHoCH events always take precedence over BOS to avoid conflicting signals.
The internal trend engine ensures that these structural shifts are valid and not caused by random volatility.
Supply & Demand Zones
These zones mark institutional interest and are formed using precise price action rules — not arbitrary support/resistance.
A valid zone begins when a small-bodied base candle (such as a star or doji) appears at a local swing point. This candle must be followed by a strong impulse candle — either a bullish engulfing (for demand) or bearish breakout (for supply).
- Demand Zone : From the base candle's low to the impulse candle's high
- Supply Zone : From the base candle's high to the impulse candle's low
These zones represent likely institutional entries or exits, often acting as magnets or rejection areas. Once price decisively breaks through a zone, it is automatically removed — keeping the chart clean and relevant.
Zone Detection Logic – When a Zone Is Drawn or Skipped
Below are the precise rules used to determine whether a Supply or Demand Zone is valid and shown on the chart
A Supply or Demand Zone is only drawn if all of the following conditions are met:
-A small-bodied base candle forms at a local high or low (body size below threshold)
-The base candle is followed by a strong impulse candle (engulfing or breakout)
-The impulse direction matches the expected context (e.g., bearish impulse from swing high = Supply)
-The candle wicks do not invalidate the structure (e.g., no long opposing wick that retraces the move)
-The zone meets the minimum size threshold based on % or ATR filter
If any of these criteria are not satisfied, the zone is skipped to avoid false or weak levels.
This ensures only clean, institutional-grade Supply & Demand Zones are shown on the chart.
(e.g. small-bodied star + bullish engulfing at swing low = Demand Zone, or bearish breakout at swing high = Supply Zone).
🔍 Core Functionality & Original Features
1. 📉 Fair Value Gaps (FVGs) – Dynamic, Validated, and Clean
Unlike scripts that draw every gap, this script applies strict quality control to ensure only meaningful FVGs appear:
Minimum Threshold Filtering
Filters out small or noisy gaps by requiring each FVG to exceed a % or ATR-based size threshold. Prevents micro-gap clutter on lower timeframes.
Momentum Candle Verification
Requires a strong middle candle (candle 2) between two extremes. Large opposing wicks invalidate the setup.
Partial Fill Adjustment
When price partially fills a gap, the FVG box automatically shrinks to show only the remaining imbalance. If fully filled, the box is removed.
Multi-Timeframe Overlays
View institutional gaps from 15m, 1H, 4H, or Daily overlaid onto any chart for top-down analysis and entry refinement.
2. 🧱 Structural Shifts – BOS & CHoCH
Structural logic is built around pivot detection with real-time trend state awareness:
Pivot Logic (Customizable Strength)
Local highs/lows are detected using pivot length (default: 3 bars left/right). Breaks are only confirmed if they align with the internal trend state.
BOS = Continuation
Breaks a swing in trend direction (e.g., HL → HH → BOS at previous HH)
CHoCH = Reversal
Breaks a structure against trend (e.g., HH → HL → break of HL = Bearish CHoCH)
Conflict Resolution
If both BOS and CHoCH could trigger, CHoCH takes priority. This avoids false positives and ensures a single, clear structure signal per swing.
Styling & Visibility
All structure lines and labels are customizable — colors, line style (solid/dashed), and which signals to display (BOS/CHoCH/both).
3. 🧠 Supply & Demand Zones – Smart Detection & Maintenance
These zones are generated using strict price action logic, not arbitrary support/resistance lines:
-Formation Conditions
-Small-bodied "base candle" at a local high/low
-Followed by an impulse candle (bullish/bearish engulfing or breakout)
-Zone Bounds
- Demand : From base candle low to impulse high
- Supply : From base candle high to impulse low
Automatic Cleanup
Once price decisively pierces a zone, it’s automatically removed from the chart. This keeps the display relevant and clutter-free.
Multi-Timeframe Zones
Toggle zones from your current timeframe or overlay from 1H, 4H, and Daily — ideal for confluence stacking.
Zone Compression Filtering
Optional compression % ensures overlapping zones are combined logically to reduce redundancy.
🧩 How It Works Together – Practical Usage Flow
This indicator is designed to follow a structured workflow used by institutional-style traders:
Trend Structure
Identify trend using BOS and CHoCH on your timeframe.
Liquidity Zones
Look for supply/demand zones aligning with the structural bias.
Execution Areas
Wait for an unfilled FVG in confluence with the above conditions.
📸 Screenshot Captions
Screenshot 1: CHoCH + Demand Zone + Bullish FVG
📌 Reversal Setup with Confluence
A Bullish CHoCH confirms a structural shift. Price enters a Demand Zone and reacts from an unfilled Bullish FVG, creating a high-probability long opportunity.
Screenshot 2: Bearish BOS + FVG Fill
📌 Trend Continuation Confirmation
Price breaks a swing low, triggering a Bearish BOS. A Bearish FVG forms and price returns to fill it before continuing lower — validating the trend and the gap.
Screenshot 3: Multi-Timeframe Overlay (FVGs from 1H and 4H)
📌 Top-Down Liquidity Mapping
Overlaid 1H and 4H FVGs provide institutional-level insight on lower timeframes. Combined with structure signals, this supports precise entry alignment across timeframes.
As price partially fills a bullish gap, the FVG box auto-adjusts to show only the remaining imbalance. Fully filled zones are automatically removed, keeping the chart clean.
Screenshot 4: Supply Zone Rejection
📌 Institutional Supply in Action
Price enters a Supply Zone formed from a base candle + bearish impulse. A sharp rejection confirms active sell-side interest at this level. Zone opgevuld box verdwijnt
Screenshot 5: Bullish BOS + Internal Trend Logic
📌 Trend Continuation with Structure Awareness
A Higher Low forms, followed by a Higher High, triggering a Bullish BOS. The internal trend engine confirms direction and filters false reversals.
Screenshot 6: Zone Compression Logic
📌 Smart Zone Consolidation
Closely overlapping supply zones are merged using compression logic to prevent clutter. Only the strongest institutional levels remain visible.
⚙ Full Customization Panel
You can configure:
-FVG display per timeframe + color scheme
-BOS/CHoCH styling, label text, and detection toggles
-Zone settings: visibility, compression %, length
-Auto-cleanup behavior for FVGs and zones
🔐 Why Invite-Only?
This indicator contains original logic not available in public indicators, including:
-Momentum-candle verified FVGs
-Real-time partial fill trimming
-Auto-removal of invalidated structure/zones
-Conflict-aware BOS/CHoCH logic
-Multi-timeframe overlays with internal state tracking
-Proprietary compression-based zone filtering
This script is part of a private paid offering. It is not based on reused or repackaged educational code. The logic and structure management are exclusive to this implementation.
⚠ Disclaimer
This tool is for educational and analytical use only. It does not provide financial advice or trading signals. Always use proper risk management and do your own due diligence.
ICT Directional FVG Indicator (Buffered SL)This is the first indicator I have ever made, and I am very new to Pine Script. I’ve tried my best to create this as a strategy, but I’m still learning, so please be kind and constructive with your feedback!
ICT Directional FVG Indicator (Buffered SL)
This indicator is designed for traders who follow ICT (Inner Circle Trader) concepts, focusing on Fair Value Gaps (FVGs), liquidity sweeps, and session-based trading. It automatically detects bullish and bearish FVGs, highlights them on the chart, and identifies liquidity sweep events. The indicator features three customizable Kill Zones (London, New York, and Asia sessions), each with independent toggles and color-coded backgrounds for clear visual separation.
Key features:
Fair Value Gap Detection: Highlights bullish and bearish FVGs in real time.
Liquidity Sweep Alerts: Marks potential liquidity sweep events for both highs and lows.
Session Kill Zones: Toggle each Kill Zone (London, New York, Asia) independently; background color changes only in enabled zones.
Trade Signal Visualization: Plots entry, stop loss, and take profit levels based on FVG and sweep logic, with a user-defined stop loss buffer.
Customizable Display: Easily enable or disable FVGs, sweeps, trade levels, and each Kill Zone to suit your strategy.
This tool is ideal for ICT-based traders who want a clear, automated view of FVGs, sweeps, and session activity, with full control over which sessions and signals are displayed.
0x278's Swing-Failure-Pattern (SFP)0x278's Swing-Failure-Pattern (SFP) ‑ Confirmed Short
Table of Contents
Introduction
Core Concept – What Is an SFP?
How the Indicator Works
Visual Elements & Their Meaning
Input Parameters Explained
Step-by-Step Trading Playbook
Example Workflow (Daily BTC-USDT)
Alerts & Automation
Tips, Tricks & Best Practices
FAQ
Advanced Configuration & Asset-Class Playbook
1. Introduction
The Swing-Failure-Pattern (SFP) – Confirmed Short indicator spots and tracks bearish SFPs on any market and timeframe, with defaults tuned for Daily charts.
A bearish SFP occurs when price sweeps a prior swing high (liquidity grab) and then decisively rejects lower , signalling a possible trend reversal or sharp pullback.
This script automatically:
Identifies the liquidity sweep & rejection (‐"SFP-SHORT" label)
Confirms directional intent via a structure-breaking close below the setup low
Paints a preferred sell-on-retest zone and tracks its validity
Identifies optimal entry opportunities when price retests the zone
Generates optional retest and entry alerts when trading conditions appear
Self-cleans after a configurable number of bars – keeping your chart tidy
Default Timeframe : Daily
Default Market : Crypto / FX majors
Works On : All symbols + timeframes – simply adjust parameters.
2. Core Concept – What Is an SFP?
Sweep (Liquidity Grab) – Price trades above a meaningful swing high, triggering stops & inducing breakout buyers.
Rejection – The same bar (or the next) closes back below the swept high, invalidating the breakout.
Structure Break – Bears confirm intent by closing below the "setup low" (the most recent pivot low before the sweep).
Retest – Price retraces to the sweep zone. Traders seek entries inside the upper half of that zone with invalidation just above the swing high.
The indicator encodes these four steps so you can spot high-quality bearish reversals without manual bar-by-bar analysis.
3. How the Indicator Works
Phase: Sweep & Rejection
Script Logic: high > lastSwingHigh and close < lastSwingHigh
Visual Cue: Red SFP-SHORT label above candle
Phase: Structure Break
Script Logic: Close < setupLow while pattern locked
Visual Cue: Zone (red line-box) plotted; SFP-SHORT label stays
Phase: Retest Tracking
Script Logic: Zone stays active for retestExpiry bars or until tapped
Visual Cue: Orange SFP-RETEST label when hit
Phase: Entry Signal
Script Logic: Price rejection within retest zone
Visual Cue: Green ENTRY label at optimal entry point
Phase: Expiry / Cleanup
Script Logic: Zone deleted after expiry
Visual Cue: Labels fade but remain visible for reference
All calculations reset after each completed/expired pattern ensuring fresh, uncluttered signals.
4. Visual Elements & Their Meaning
SFP-SHORT (red) – Bar that swept a prior high and closed below it.
Red Box / Line – Preferred sell zone between the swing high (upper bound) and dynamic lower bound (see sizing methods). Extends right until filled/expired.
SFP-RETEST (orange) – Bar that first tags the zone after confirmation.
ENTRY (green) – Appears when a high-probability entry signal occurs within the retest zone.
EXPIRED (gray) – Appears when the retest zone expires without being hit.
Visual Persistence – Labels fade but remain visible after expiry for reference and historical analysis.
5. Input Parameters Explained
Pivot Detection
Pivot left / right : Bars left/right of the pivot that must stay below/above it. Tip : Symmetrical values (3/3) work best for clean structure.
Retest Management
Retest expiry (bars) : Lifespan of a retest zone before it is considered stale. Default: 14 bars on Daily . Tip : Shorten for intraday, lengthen for swing trading.
Retest Zone Sizing
Sizing method : Select Static %, ATR-based or Hybrid logic for the lower boundary. Tip : Hybrid balances tight stops with realistic fills.
Static % : Fixed fraction of sweep range when Static/Hybrid is selected. Tip : Higher % deepens zone & widens stop.
ATR period : Look-back length for ATR when volatility sizing is used. Tip : Increase to smooth choppy markets.
ATR multiplier : Multiplier applied to ATR in ATR-based/Hybrid mode. Tip : Higher value widens zone during volatility.
Visual – Retest Zone
Show retest zone box : Toggles drawing of the semi-transparent sell zone box. Tip : Disable for ultra-clean look.
Retest box color : Fill colour of the box (alpha = transparency). Tip : Match your chart theme.
Max retest boxes : How many historical boxes remain visible (0 = unlimited). Tip : Lower to boost performance.
Only show active boxes : Automatically deletes a box once it's hit. Tip : Reduces clutter during back-testing.
Visual – General
Minimal mode : Hides most visuals apart from critical labels. Tip : Ideal for screenshots.
Show retest zone line : Draws a vertical line linking upper/lower boundaries. Tip : Acts as a quick depth guide.
Show ENTRY labels : Plots 'ENTRY' on optimal candles. Tip : Turn off for manual confirmation.
Labels
Label size : Overall size of all labels. Tip : tiny / small / normal.
Use simple label style : Switches to pixel text style for labels. Tip : Faster rendering on low-spec machines.
Advanced
minPct / maxPct (hard-coded) : Internal floor/cap for Hybrid logic. Tip : Exposed in code for power-users only.
Zone-Sizing Methods
Static – Lower bound = sweepRange × staticPct.
ATR-based – Lower bound = ATR × multiplier, normalised to the sweepRange.
Hybrid – Uses the greater of Static and ATR-based (capped by an internal safety ceiling).
6. Step-by-Step Trading Playbook
Identify Context – Prefer setups against extended moves into obvious highs (e.g., daily swing highs, prior week high, round numbers).
Wait for SFP Confirmation – The indicator will label an SFP-SHORT only after the candle closes. Do not front-run.
Structure-Break Close – A close below setupLow turns the zone live. This is your go signal – prepare sell orders.
Place Orders in the Zone
Entry : Limit order anywhere between retestLower and the swing high.
Stop : 1-2 ticks/pips above the swing high.
Risk Management
Size position so risk per trade ≤ account risk % (common: 0.5-1%).
If no retest before retestExpiry bars → cancel order .
Targets
Conservative: First liquidity pocket / FVG below.
Aggressive: 2-3× risk or next HTF support.
Trail or Partial – Consider trailing stop once 1R is achieved or partial profit at 1R.
7. Example Workflow (Daily BTC-USDT)
BTC trades to a fresh one-month high at $31 050 sweeping prior highs.
Candle closes at $30 420 – below the swept high – SFP-SHORT label appears.
Two days later, candle closes below setupLow at $29 880 – confirmation & zone plotted (upper = $31 050, lower ≈ $30 550).
Five days later price retests the zone hitting $30 750 – SFP-RETEST alert fires, trade filled.
Stop placed @ $31 120 (70$ risk). 1R target = $29 680 reached four days later.
8. Alerts & Automation
SFP Short confirmed
Fires When: Structure-break close below setupLow.
Suggested Action: Prepare/submit sell-limit order in the zone.
SFP Short retest
Fires When: Price enters the retest zone.
Suggested Action: Monitor for entry signals or prepare for manual entry.
SFP Short Entry Signal
Fires When: Optimal entry conditions detected within retest zone.
Suggested Action: Execute short trade with defined risk parameters.
Use TradingView's Webhook URL to forward alerts to a trade-execution bot (e.g., PineConnector) for automated order placement.
9. Tips, Tricks & Best Practices
Combine with HTF Bias – Only take bearish SFPs in bearish weekly trend.
Watch Volume – High volume on the sweep bar adds conviction.
Time Window – SFPs during NY session FX / US session crypto tend to be stronger.
Cluster Zones – Multiple overlapping SFP zones increase probability; treat the cluster as one larger supply.
Avoid News – Skip SFPs forming minutes before high-impact macro news.
10. FAQ
Q: Can I use this on lower timeframes?
A: Yes – reduce retestExpiry (e.g., 15 bars on 15-minute) and test ATR-based sizing.
Q: Does it work for longs?
A: This script focuses on bearish SFPs. Clone & invert conditions for longs.
Q: Why did a zone disappear?
A: Either it expired (retestExpiry) without a retest or the cleanup routine removed old visuals to stay within Pine limits (500 objects per type).
Q: What's the difference between the "SFP-RETEST" and "ENTRY" signals?
A: "SFP-RETEST" indicates price has entered the zone, while "ENTRY" signals an optimal entry opportunity based on price rejection within the zone.
Q: How do I customize the label appearance?
A: Use the "Label size" and "Use simple label style" settings to adjust all labels to your preferred visual style.
Happy trading & trade safe!
11. Advanced Configuration & Asset-Class Playbook
Why does the retest box feel "too high" and how do I actually get filled? Use the quick tweaks below or the power-user code snippet to shape the zone to your personality and instrument.
11.1 Why the default box is shallow
The Static 25 % / ATR-Hybrid logic keeps stops small. Around 50 % of Daily BTC SFPs never look back – that's the cost of tight risk. If you need higher fill-rates, deepen the zone (11.2).
11.2 Three slider moves – no coding required
Retest zone sizing method – switch Static → Hybrid or ATR-based
Static % – raise from 0.25 → 0.45-0.60
ATR multiplier – raise from 1.0 → 1.5-2.0
Each turn pulls the lower edge of the box deeper while keeping the invalidation at the swing high.
11.3 One-liner for coders
To allow >60 % of the sweep range edit the source:
Old code:
minPct = 0.05
maxPct = 0.60
New code:
minPct = 0.05
maxPct = input.float(0.60, "Max retest % of sweep", step = 0.05, minval = 0.10, maxval = 0.95)
Then dial the cap up to ~0.80-0.90 from the settings panel.
11.4 If price never comes back…
No-retest partial – take 25-40 % size on the confirmation candle, stop above the high.
Lower-TF confirmation – drop to 4 h / 1 h and hunt an internal SFP or bearish FVG inside the sweep.
ATR trail – if price dumps immediately, trail the stop above each new lower-high.
11.5 Asset-Class Cheat-Sheet
Crypto – Daily : Static %: 0.20-0.35, ATR mult: 1.0, Retest Expiry: 12-20 . Notes : High volatility; sweeps expand fast.
FX Majors – 4 h/D : Static %: 0.25-0.40, ATR mult: 1.2, Retest Expiry: 15-25 . Notes : ATR handles session compression.
Index Futures – 1 h : Static %: 0.30-0.50, ATR mult: 1.5, Retest Expiry: 10-20 . Notes : Hybrid recommended; gaps tighten sweeps.
US Equities – 30 m : Static %: 0.35-0.55, ATR mult: 1.5-2.0, Retest Expiry: 10-14 . Notes : Consider no-retest entry on earnings spikes.
Always forward-test on your own symbol & timeframe ✔️
Advanced SMC Market Structure AnalyzerAdvanced SMC Market Structure Analyzer
Version 1.0 • by Rendon1
Short Description:
A multi-timeframe Smart Money Concepts (SMC) toolkit for detecting Breaks of Structure (BOS), Changes of Character (CHoCH), liquidity zones, order blocks, fair-value gaps, and raw entry signals—all in one overlay indicator.
🔍 Overview
This script analyzes both a higher timeframe (e.g. 4H) for market structure shifts and a lower “entry” timeframe (e.g. 5–30 m) to flag optimal entries. It visually marks:
BOS (Higher-Highs/Bearish BOS & Lower-Lows/Bullish BOS)
CHoCH (structure flips)
Liquidity Zones (equal highs/lows)
Order Blocks (last candle before a directional move)
Fair-Value Gaps on the entry timeframe
Buy/Sell Labels when multiple conditions align
⚙️ Features
Multi-Timeframe Structure: Define your higher-timeframe for HTF swings and a customizable lower-timeframe for precision entries.
Swing Sensitivity: Adjustable pivot lookback (default 5 bars).
Liquidity Detection: Highlights market stagnation points via equal highs/lows.
Order Blocks & FVG: Identifies key institutional zones on both HTF and LTF.
Automated Entry Signals: Composite logic combining CHoCH with LTF order blocks or fair-value gaps.
Alerts Built-In: “Bullish Entry,” “Bearish Entry,” “CHoCH Detected,” and “BOS Detected.”
⚙️ Inputs
Setting Default Description
Swing Detection Sensitivity 5 Lookback bars for pivot detection (higher = smoother)
Show Structure Labels ☑️ Toggle visual BOS/CHoCH labels
HTF Structure Timeframe 240 Higher-timeframe (minutes) for market structure
Entry Structure Timeframe 15 Lower-timeframe for order block & FVG entries
Liquidity Lookback 3 Bars to check for equal highs/lows
📖 How to Use
Add to Chart: Apply the indicator to any symbol.
Configure Timeframes: Choose your preferred HTF (e.g. 4H) and LTF (e.g. 15 m).
Interpret Signals:
Blue “BOS” labels mark momentum breaks on HTF.
Orange “CHoCH” labels indicate structure flips.
Green “🟢 BUY” and Red “🔴 SELL” labels appear when HTF flips align with LTF zones.
Set Alerts: Right-click any of the built-in alert conditions to add real-time notifications.
⚠️ Disclaimer
This script is for educational purposes only and does not constitute financial advice. Trading involves risk, and you should perform your own analysis before making any trades. The author is not liable for any losses or gains resulting from the use of this indicator.