TF Breakout BarIndicator Name: TF Breakout Bar
Creator: Andrew Palladino
Date: 12/14/2016
The TF Breakout Bar allows the user to check for a breakout or a breakdown on a specific time frame regardless of what time frame resolution the current chart is on.
The user can change the following:
Breakout and Breakdown time frame
Lookback bar period for breakouts
Lookback bar period for breakdowns
In den Scripts nach "liquidity" suchen
RSI5 Multi Time Frame IndicatorCreated by Andrew Palladino.
Date of Creation: 12/13/2016
Checks overbought or oversold conditions across 5 time frames.
If Time frame 1, 2 and 3 are all overbought then bar color changes to red
If Time frame 1, 2 and 3 are all oversold then bar color changes to green
If Time frame 1, 2, 3, 4 and 5 are all overbought then a vertical red line is added to the plot
If Time frame 1, 2, 3, 4 and 5 are all oversold then a vertical green line is added to the plot
The user has the ability to change:
1) Any of the 5 time frames (Set in minutes: m5 = 5, m15 = 15, h1 = 60, h4 = 240, D = 1440...)
2) RSI overbought threshold Level
3) RSI oversold threshold Level
4) RSI Period
Breakout BarThe following script colors breakout bars.
The user can specify the look back period.
If current close is highest of the past n bars it will color the bar light blue.
If current close is lowest of the past n bars it will color the bar red.
All other bars are black for down bars and white for up bars.
RSI MultiTFLooks for Triple Overbought/Oversold RSI conditions. Paints the bar red when Triple Overbought, and Lime when Triple Oversold.
Multi Time frame RSITriple RSI Indicator.
Colors bars red when RSI is overbought across 3 time frames specified by user.
Colors bars lime when RSI is oversold across 3 time frames specified by user.
os/ob levels and RSI period can also be customized.
Pip Spread to EMA TargetThis script calculates the total number of pips between current close and a target EMA. There are three thresholds that can be specified to determine when that total number of pip spread exceeds a standard deviation multiple set by user. Current standard deviation thresholds on pip spread are set to 2, 2.5 and 3. A pip spread that goes above 3 standard deviations is considered very extreme. The standard deviation is calculated across a predetermined set of bars. Currently look back period for standard deviation count is set to 3000.
Pip Spread to EMA TargetCalculates the pip spread to a target EMA. When spread exceeds a standard deviation multiple set by user background area goes blue. Blue zones are extreme spreads and opportunities for a reversion to EMA Target trade.
Bars Since EMA OverlayCounts number of bars since an EMA Touch or an EMA cross with close and shades the area when a threshold is exceeded. Currently supported for 3 thresholds.
TQ's Support & Resistance(My goal creating this indicator): Provide a way to categorize and label key structures on multiple different levels so I can create a plan based on those observable facts.
The Underlying Concept / What is Momentum?
Momentum indicates transaction pressure. If the algorithm detects price is going up, that would be considered positive momentum. If the algorithm detects price is going down negative momentum would be detected.
The Momentum shown is derived from a price action pattern. Unlike my previous Support & Resistance indicator that used Super Trend, this indicator uses a unique pattern I created. On the first bar bearish momentum is detected a resistance Level is made at the highest point of the previous bullish condition. On the first bar bullish momentum is detected a support Level is made at the lowest point of the previous bearish condition. This happens on 5 different Momentum Levels, (short-term to long-term). I currently use this pattern to trade so the source code is protected.
What is Severity?
Severity is How we differentiate the importance of different Highs and Lows. If Momentum is detected on a higher level the Supply or Demand Level is updated. The Color and Size representing that Level will be shown. Demand and Supply Levels made by higher levels are more SEVERE than a demand level made by a lower level.
Technical Inputs
- to ensure the correct calculation of Support and Resistance levels change BAR_INDEX. BAR_INDEX creates a buffer at the start of the chart. For example: If you set BAR_INDEX to 300. The script will wait for 300 bars to elapse on the current chart before running. This allows the script more time to gather data. Which is needed in order for our dynamic lookback length to never return an error (Dynamic lookback length can't be negative or zero). The lower the timeframe the greater the number of bars need. For Example, if I open up a 1min chart I would enter 5000 as my BAR_INDEX since that will provide enough data to ensure the correct calculation of Support and Resistance levels. If I was on a daily chart, I would enter a lower number such as 800. Don't be afraid to play around with this.
- Toggle options (Close) or (High & Low) creates Support and Resistance Levels using the Lowest close and Highest close or using the Lowest low and Highest high.
Level Inputs
- The indicator has 5 Different Levels indicating SEVEREITY of a Supply and Demand Levels. The higher the Level the more SEVERE the Level.
Display Inputs
- You have the option to customize the Length, Width, Line Style, and Colors of all 5 different
- This indicator includes a Trend Chart. To Easily verify the current trend of any displayed by this indicator toggle on Chart On/Off. You also get the option to change the Chart Position and the size of the Trend Chart
How Trend Is being Determined?
(Close > Current Supply Level) if this statement is true technically price made a HH, so the trend is bullish.
(Close < Current Demand Level) if this statement is true technically price made a LL, so the trend is bearish.
- Fully customize how you display Market Structure on different levels. Line Length, Line Width, Line Style, and Line color can all be customized.
How it can be used?
(Examples of Different ways you can use this indicator): Easily categorize the severity of each and every Supply or Demand Level in the market (The higher Level the stronger the level)
: Quickly Determine the trend of any Level.
: Get a consistent view of a market and how different Levels are behaving but just use one chart.
: Take the discretion from hand drawing support and resistance lines out of your trading.
: Find and categorize strong levels for potential breakouts.
: Trend Analysis, use Levels to create a narrative based on observable facts from these Levels.
: Different Targets to take money off the table.
: Use Severity to differentiate between different trend line setups.
: Find Great places to move your stop loss too.
Visible Range Support and Resistance [AlgoAlpha]🌟 Introducing the Visible Range Support and Resistance 🌟
Discover key support and resistance levels with the innovative "Visible Range Support and Resistance" indicator by AlgoAlpha! 🚀📈 This advanced tool dynamically identifies significant price zones based on the visible range of your chart, providing traders with crucial insights for making informed decisions.
Key Features:
Dynamic support and resistance levels based on visible chart range 📏
User-defined resolution for tailored analysis 🎯
Clear visual representation of significant key zones 🖼️
Easy integration with any trading strategy 💼
How to Use:
🛠 Add the Indicator : Add the indicator to favourites. Adjust settings like resolution and horizontal extension to suit your trading style.
📊 Market Analysis : Identify key support and resistance zones based on the highlighted areas. These zones indicate significant price levels where the market may react.
How it Works:
The indicator segments the price range into user-defined resolutions, analyzing the highest and lowest points to establish boundaries. It calculates the frequency of price action within these segments, highlighting key levels where price movements are least concentrated (areas where price tends to pivot). Customizable settings like resolution and horizontal extension allow for tailored analysis, while the intuitive visual representation makes it easy to spot potential support and resistance zones directly on your chart.
By leveraging this indicator, you can gain deeper insights into market dynamics and improve your trading strategy with data driven support and resistance analysis. Happy trading! 💹✨
Directional Pressure (maybexo)Liquidity Candles, observed in financial markets, display distinctive candlestick patterns that are noteworthy. These candles exhibit intentional price behavior aimed at triggering stop-loss orders and momentarily misleading traders. The pattern typically starts with a price movement against the current trend, activating stop-loss orders and capitalizing on liquidity from traders anticipating the prevailing trend. Subsequently, the price swiftly changes course, breaking and conclusively closing beyond the prior candle's range, often surprising unsuspecting traders.
Characteristics:
1. Liquidity Grab:
- Liquidity Candles initiate with a deliberate move against the existing trend, aimed at triggering stop-loss orders and gathering liquidity from traders who have placed stops in anticipation of the initial trend.
- Notably, the size of the wick in this liquidity grab is significant; a larger wick indicates a more substantial liquidity grab and can strengthen the indication of a potential market reversal.
2. Swift Reversal and Breakout:
- Following the liquidity grab, the price swiftly changes direction, breaking and conclusively closing above or below the previous candle's range.
3. Institutional Behavior:
- These candles are often linked to institutional trading behavior, suggesting potential involvement by significant market participants due to their distinct and deliberate price action.
// Diamonds
1. RSI Diamonds:
The RSI Diamonds represent RSI entering either overbought or oversold levels.
These Diamonds serve as an early indication for "Spooky Diamonds" as Spooky Diamonds can only form in these conditions
2. Spooky Diamonds:
The Spooky Diamonds highlight specific candle conditions, aiding in the identification of bullish or bearish momentum in the market while considering the RSI status.
Bullish Candle Momentum: The candle size is greater than the previous candle multiplied by a user-defined factor (filterMultiplier) and the closing price is higher than the opening price. This can suggest bullish momentum.
Bearish Candle Momentum: The candle size is greater than the previous candle multiplied by the filterMultiplier, and the closing price is lower than the opening price. This can suggest bearish momentum.
Important Notes:
The Candles + Diamonds should not be used in isolation as buy or sell signals but rather as additional information for your trading strategy.
The goal of this indicator is to provide a visual representation of RSI data and potential momentum during overbought or oversold conditions.
By utilizing the diamonds and candles, you can easily identify RSI levels and their interaction with candles, aiding in decision-making within your trading strategy.
Disclaimer: Always consider your risk tolerance and conduct thorough analysis before making any trading decisions.
Inspiration Credits:
Vanitati
Mr. Casino
🧠 Rogue BTC Dominance + BTC Price MonitorLiquidity never lies.
When whales are done pumping, they exit before price tanks, often during sideways chop or fake strength.
So we build a tracker that detects:
Volume drop during uptrend (distribution phase)
Exchange inflows of coins
Rising USDT.D while price holds → stealth exit
Divergence between price & on-chain flows
👁️ Quick Use Case: BTC/USDT with USDT.D Overlay
If you see this pattern:
BTC sideways or slow uptrend
Volume declining
USDT.D rising
BTC.D holding flat
→ Liquidity Exit Detected.
Smart money is exiting quietly, waiting for retail to hold the bag.
Liquidity Sweeps (Improved)this is improved version of liqudity sweep and alert thois is my third attempt
Multi-Timeframe Sweep IndicatorsLiquidity Sweeps: Identify when price sweeps stops above/below key levels
Breakout Confirmation: Confirm breakouts across multiple timeframes
Entry Timing: Use lower timeframe sweeps for precise entries
Risk Management: Higher timeframe sweeps may indicate stronger moves
The indicator works best when combined with other analysis techniques like support/resistance levels, volume analysis, and market structure.
Liquidity Fvg IdentifierDear Traders,
This indicator is very effective and supports Price action Traders.
Swing Identification
This automatically Detect swings level and mark as per the chart Time frame. these lines can be used for support and resistance.This is represented by Yellow and Blue lines
There is an option to put Higher time frame swing levels and these are represented by Green and Red Lines. Eg: if you are trading in 5 mins and you also want 1 hour swing levels , then you can get this by selecting higher time frame 1 hour and select both Chart and Htf in the option provided.
Trade: If price is approaching where both Times frames swing lines are coinciding these levels act as strong Support and Resistance . You need to wait for proper price action to form and take Trades.
FVG
This also automatically detect Fare Value Gaps and mark as per the chart Time Frame. These can be used for reversal trades . This is represented buy purple blocks
There is an option to put higher time frame FVG and these are represented by Red Blocks. Eg : if you are trading in 15 mins and you also want 4 hours FVG, then you can get this by selecting Higher time frame 4 hours and select both chart and HTF in the option provided.
Trade: If price is approaching where both time frames FVG are coinciding , these box will act as strong support and reversal. wait for proper price action and trade can be taken.
Volume Breakout.
This will automatically detect and volume breakout of last 60 candles and plots below the candle. These can be adjusted in setting as per requirement. suppose you want for last 30 candles , you can select 30 and it will plot below candle when ever there is breakout.
Trade: When ever volume breakout is coming near swing or fvg support or resistance , this can be considered to support reversal.
Pls take your financial advisor suggesting before using taking trades .
any suggestion reach to us thru message
Thanks
Liquidity Levels [LuxAlgo]The Peak Activity Levels indicator displays support and resistance levels from prices accompanied by significant volume. The indicator includes a histogram returning the frequency of closing prices falling between two parallel levels, each bin shows the number of bullish candles within the levels.
1. Settings
Length: Lookback for the detection of volume peaks.
Number Of Levels: Determines the number of levels to display.
Levels Color Mode: Determines how the levels should be colored. "Relative" will color the levels based on their location relative to the current price. "Random" will apply a random color to each level. "Fixed" will use a single color for each level.
Levels Style: Style of the displayed levels. Styles include solid, dashed, and dotted.
1.1 Histogram
Show Histogram: Determines whether to display the histogram or not.
Histogram Window: Lookback period of the histogram calculation.
Bins Colors: Control the color of the histogram bins.
2. Usage
The indicator can be used to display ready-to-use support and resistance. These are constructed from peaks in volume. When a peak occurs, we take the price where this peak occurred and use it as the value for our level.
If one of the levels was previously tested, we can hypothesize that the level might be used as support/resistance in the future. Additional analysis using volume can be done in order to confirm a potential bounce.
The histogram can return various information to the user. It can show if the price stayed within two levels for a long time and if the price within two levels was mostly made of bullish or bearish candles.
In the chart above, we can see that over the most recent 200 bars (determined by Histogram Window) 68 closing prices fall between levels A and B, with 27 bars being bullish.
Additionally, the width of a bin and its length can sometimes give information about the volatility of a specific price variation. If a bin is very wide but short (a low number of closing prices fallen within the levels) then we can conclude a most of the movement was done on a short amount of time.
ScalpDaddy V3ScalpDaddy bundles eight battle‑tested tools into a single, toggleable overlay for fast confluence and clean charts. It’s designed for intraday scalpers and swing traders who want a lightweight dashboard plus precision levels and volatility context—without juggling multiple indicators.
What’s Inside (all can be turned on/off)
SD: Trend Sniper (MTF RSI/ADX table)
8‑TF heatmap with emoji glyphs (momentum/strength/chop).
Weighted bias meter, HTF dominance and adjacency bonus to reward agreement.
Tiny Entry‑Qualifier dashboard (Trend, Throttle, Quality, Boost) for quick “go/no‑go”.
SD: Squeeze (BB/KC)
Bollinger Bands + Keltner Channel with squeeze fill for compression/expansion reads.
SD: Fibonacci Levels
Swing‑aware fib grid with instant flip option, reject band, extension gates, target‑zone shading, and labels.
SD: PM/AH/RTH Levels
Prior extended‑hours and prior RTH high/low, with dynamic/previous‑only modes.
SD: Pivot Points (Structure)
Clean, confirmed pivot markers to visualize HH/HL/LH/LL, BOS/MSS turns.
SD: Liquidity Sweeper
Buyside/Sellside liquidity pools with live maintenance and optional invalidation highlighting.
SD: FVG Finder
Present/Full‑history scan with budget controls, configurable fill logic and coloring.
SD: Fourier ATR
Smoothed ATR “center line” with envelope; optional labels when price exits/re‑enters the band.
Quick Start
Open inputs. In “SD: Modules,” enable only what you need for the session.
For Trend Sniper:
Pick “Table TF Preset” (e.g., fibs day trade, scalp, short/long swing) or enable “Custom TFs” and set each TF.
Choose Update Mode: “Live” for intrabar responsiveness or “On Close” for confirmed, non‑flickering signals.
Table and mini dashboard positions are configurable.
Optional confluence:
Turn on Squeeze to spot compression before Trend Sniper shifts.
Add Sessions + Liquidity + FVG to map targets/voids and where price is likely to react.
Use ATR Envelope to gauge when price is stretching outside normal travel.
How To Read The Trend Sniper Table
Emojis:
🚀/🔥 = bullish pressure; ⚓️/🩸 = bearish pressure; 🪓 = chop; ⚠️ = caution (e.g., OB/OS with strong ADX).
Bias:
A normalized, weighted read of the 8 TFs. The default thresholds used for alerts: +0.30 (bullish) / −0.30 (bearish).
HTF dominance:
When enabled, strong alignment on the slowest TFs dampens opposite LTF noise.
Entry‑Qualifier mini dash:
“Trend” (ADX), “Throttle” (RSI), “Quality” (Chop), “Boost” (relative volume). Green/steady reads support continuation; yellow/red flags warn of choppiness/whipsaw.
Module Notes
Squeeze (BB/KC): Look for squeeze fill changes—breakouts often follow compression.
Fibonacci: “Zigzag Period” sets swing sensitivity; “Instant flip” optionally flips the active leg when price breaks a chosen threshold (wick/close). Target‑zone shading highlights extension ranges; labels can be limited to extensions only.
PM/AH/RTH: “RTH Mode” = Dynamic (today’s running levels during RTH) or Previous Session Only. Optional volume filter for PM/AH to show only significant sessions.
Pivot Points: Uses confirmed pivots; simple circular markers show HH/HL/LH/LL and shifts (BOS/MSS) without clutter.
Liquidity: “margin” adjusts pool thickness sensitivity; enable “Show Broken” to keep invalidated pools visible with different fill.
FVG Finder: Choose Present or Full History and set a bar budget to control performance. “Fill Mode” supports touch/close/percent thresholds.
Fourier ATR: Envelope defines typical travel. Optional labels:
⚠️ when price exits the band
⬇️ when price re‑enters
Built‑in Alerts
Open the Alerts dialog and choose this indicator; you’ll see named alerts you can attach to any symbol/interval:
Bull Combo (🚀/🔥 no ⚠️)
Table: RSI/ADX Bull Majority
Table: RSI/ADX Bear Majority
Bias turns Bullish (≥ +0.30)
Bias turns Bearish (≤ −0.30)
EQ Bull Align
EQ Bear Align
ATR: ⚠️ Price exited envelope
ATR: ⬇️ Price re‑entered envelope
Performance Tips
Start with only the modules you need. Turn others off in “SD: Modules.”
For FVG, use Present mode with a reasonable “Present Mode Bars” budget on lower timeframes.
Set Trend Sniper to “On Close” for steadier updates during fast markets.
Heavy drawings (many labels/lines/fills) can be reduced by lowering visible counts or disabling labels.
Best Practices & Disclaimers
Educational tool, not financial advice. Past performance does not guarantee future results.
Signals are contextual—use with sound risk management and higher‑timeframe bias.
Some elements can update intrabar when “Live” or “allow repaint” is on (ATR emojis); prefer confirmed/close‑based modes if you want steadier behavior.
Works on most symbols and timeframes; intended primarily for intraday to swing trading.
Wick Size Detector (Upper + Lower, Active-Bar Lines)🧭 1. Understanding What the Indicator Tells You
Each signal means a potential shift in intent — a wick implies rejection of price at one extreme.
Upper Wick (red) → Sellers rejected higher prices → potential short setup.
Lower Wick (green) → Buyers rejected lower prices → potential long setup.
Dual Wick (both large) → Exhaustion / indecision → likely reversal or range start.
The wick is not a trade by itself — it’s a context clue telling you where liquidity was swept and which side failed.
🧩 2. Framework for Trading Wick Signals
Use a two-stage decision model: context → confirmation.
Stage 1: Context Filter
Before taking any wick, make sure the background aligns:
Higher timeframe (1H / 4H / Daily) bias using:
Market structure (higher highs/lows)
EMA slope or Fair Value Gap alignment
Key liquidity (PDH, PDL, Daily Open)
Example:
4H is bullish (higher lows + above 50 EMA) → focus only on green lower-wick signals.
4H is bearish → focus only on red upper-wick signals.
This avoids trading against momentum.
Stage 2: Confirmation & Entry
Once a valid wick signal appears in context:
✅ Entry Logic
Wait for candle with qualifying wick (per indicator).
On next candle:
For a lower wick (buy setup) →
Enter long near the midpoint or discount (50–62%) of the wick candle’s range.
For an upper wick (sell setup) →
Enter short near the midpoint or premium (50–62%) of the wick candle’s range.
🛑 Stop Loss
Below the wick low for buys.
Above the wick high for sells.
🎯 Take Profit
Target prior liquidity points:
For buys → previous highs or equilibrium.
For sells → previous lows or daily open.
Or use a fixed R:R (e.g., 2:1).
⚖️ Optional: Wait for Confirmation (Displacement / MSS)
If you combine this with your ICT-style workflow:
Wait for a market structure shift in direction of the wick.
Confirm the Change in State of Delivery (CISD) before entry.
🧠 3. Example Walkthrough
Setup:
You’re on the 15-minute chart, wickMultiplier = 1.2.
Price makes a big upper wick → indicator flashes red.
On 1H and 4H, you see price near a premium area or PDH.
Next candle opens → you short at the midpoint of that wick candle.
Stop above the wick high.
Take profit near the prior swing low or 2× risk distance.
If you see MSS confirmation → add confluence.
💡 4. Tips for Real Implementation
Multi-timeframe filter: Only take wick signals in alignment with HTF bias.
Session discipline: Limit signals to high-volume sessions (London / New York).
Avoid strong trend continuation candles (small wicks, big bodies).
Combine with displacement → your best trades come when a large wick forms into liquidity, then displacement confirms it.
Avoid every signal: Some wicks are just noise. Wait for those near obvious liquidity (previous highs/lows).
HTF Control Shift + Prev Candle Break Sequence 🧭 HTF Control Shift + Previous Candle Break Sequence
Overview
The HTF Control Shift + Previous Candle Break Sequence indicator identifies high-probability shift candles that suggest a potential change in market control — from sellers to buyers or vice versa — and then tracks whether price confirms that shift by breaking the previous candle’s high or low.
This tool is designed to help traders detect institutional control shifts and confirm them with price structure breaks, providing a framework for spotting early trend reversals or strong continuation moves.
How It Works
Control Shift Candle Detection
A Bullish Control Shift occurs when a candle shows:
A long lower wick (≥ Wick % Threshold of total range).
A close near the high (within Body % Threshold of the top).
A Bearish Control Shift occurs when a candle shows:
A long upper wick (≥ Wick % Threshold of total range).
A close near the low (within Body % Threshold of the bottom).
These candles are highlighted in green (bullish) or red (bearish), and optionally labeled on the chart.
Previous Candle High/Low Tracking
The script automatically plots horizontal lines at the previous candle’s high (green) and low (red).
These act as key reference levels for breakout confirmation.
Breakout Confirmation Sequence
A Bullish Sequence triggers when a Bullish Control Shift candle is followed by a break above the previous candle’s high.
A Bearish Sequence triggers when a Bearish Control Shift candle is followed by a break below the previous candle’s low.
When either sequence completes, the indicator can send a TradingView alert confirming the directional breakout.
How to Use
Timeframe:
Optimized for higher timeframes (1H, 4H, Daily) to filter out intraday noise and identify structural market shifts.
Trend Reversal Identification:
Watch for Control Shift candles at major highs/lows, order blocks, or liquidity zones — a confirmed breakout often signals a trend reversal or new directional push.
Continuation Confirmation:
In trending markets, a Control Shift candle that breaks in the direction of trend can validate a strong continuation setup.
Alert Usage:
Set alerts for:
Bullish Control Shift Confirmed Breakout
Bearish Control Shift Confirmed Breakdown
Optional: raw Control Shift or Break alerts.
Customization
Wick % Threshold: Adjusts the required wick size to define a control shift.
Body % Threshold: Controls how close the close must be to the high/low for confirmation.
Label Toggle: Optionally display labels only on control shift candles.
Best Practices
Combine with higher-timeframe trend filters.
Avoid using it alone in tight consolidation zones.
Strongest signals occur when:
Control Shift appears at key structure levels.
The breakout bar closes firmly beyond the previous high/low.
Volume supports the breakout.
Summary
✅ Detects when market control flips (buyers ↔ sellers).
✅ Confirms shift with breakout above/below previous candle.
✅ Ideal for 1H–4H swing or position trading.
✅ Provides visual, structural, and alert-based confirmation.
Liquidity_Detection_Fx_Shepherd [ALLDYN]### Breakdown of the Basic "Fx_Shepherd_Liquidity" Script
#### 1. **Purpose of the Script:**
This basic version of the "Fx_Shepherd_Liquidity" script is designed to help traders detect potential liquidity grabs by analyzing price movements and candle patterns in the market. It works by identifying large price deviations and compares multiple candles to detect liquidity sweeps either to the upside or downside.
#### 2. **How it Works:**
- **User Inputs:**
- `Maru_rate`: This is a user-defined percentage that helps determine how much the price movement of a candle needs to deviate from the candle's range (high - low) to be considered a liquidity grab.
- `Compare`: Another percentage input used to compare the relative size of three candles versus one candle.
- `MA`: This represents the "Big candle period," or the moving average period for big candles.
- `urgent_rate`: This is used to determine urgency by comparing the current candle's range to an SMA of previous candles.
- **Key Calculation Steps:**
- **Candle Deviation (Up and Down):**
- `Up` measures how much the current candle closes above its open (bullish deviation).
- `Down` measures how much the current candle closes below its open (bearish deviation).
- **Average Deviations:**
- `UP_Sum` and `Do_Sum` calculate the SMA of Up and Down deviations, respectively, over the defined period (MA). These averages help detect when a candle deviates significantly from the norm.
- **Urgency Detection:**
- `Check_Up_Urgent` and `Check_Dow_Urgent` are conditions that check if the current candle’s high-low range exceeds the defined urgent rate. This signals whether the price movement is "urgent" or significant.
- **Liquidity Detection:**
- **For Upward Liquidity:**
- The script checks if the candle is bullish (`close > open`) and whether the price deviation (`close - open`) meets or exceeds the user-defined `Maru_rate`.
- The script then compares the size of the previous three candles (`high - low`) with a single candle (`Compare`) to confirm a liquidity grab.
- Finally, it looks for continuous upward candle patterns to confirm the strength of the move.
- **For Downward Liquidity:**
- Similar logic applies, but for bearish candles. It checks whether the candle is bearish (`close < open`) and applies the same size comparisons to detect downward liquidity grabs.
- **Candle Highlighting:**
- If the conditions for a liquidity grab are met (both urgency and size), the script changes the bar color to green for upward liquidity and yellow for downward liquidity. These colored bars visually highlight the candles that meet the liquidity grab conditions.
- The script also colors up to three consecutive candles if they meet the liquidity grab conditions (offset = -1, -2).
#### 3. **Benefits of Using This Script:**
- **Liquidity Grab Detection:**
This script helps detect potential liquidity grabs, which occur when large players in the market push the price in a direction to trigger stop-losses or lure retail traders into a position before reversing the price direction. By detecting these movements, traders can avoid being trapped and potentially take advantage of the upcoming reversal.
- **Simple & Lightweight:**
The script uses basic inputs and calculations to detect liquidity grabs, making it easy to use and understand. It's less complex than the advanced version, which makes it suitable for traders who prefer simplicity or are new to liquidity grab detection.
- **Visual Clarity:**
The script uses color changes (green for upward grabs and yellow for downward grabs) to help traders easily spot potential liquidity grab areas on the chart. These visual cues make it more straightforward to interpret.
#### 4. **When to Use This Basic Version:**
- **Quick Liquidity Detection:** This script is ideal for traders who need a quick way to detect potential liquidity grabs without the complexity of managing dynamic parameters or volume confirmation.
- **Simplified Trading Strategies:** If your trading strategy doesn’t rely heavily on volume or multi-timeframe liquidity grab adjustments, this script can work well for basic setups where price action is the primary indicator.
- **Faster Execution:** Since this version doesn’t require dynamic adjustments or volume confirmation, it executes faster, making it suitable for traders who need lightweight tools to stay on top of fast-moving markets.
### Conclusion:
The basic version of the **Fx_Shepherd_Liquidity** script offers a simplified tool for detecting potential liquidity grabs. Its straightforward design, adjustable Maru rate, and visual bar color changes make it easy to integrate into any trading strategy focused on price action. While it lacks the advanced features of the premium version, it serves as a solid, lightweight solution for traders who prefer simplicity over complexity.