DAILY LEVELDAILY LEVEL Indicator User Guide-especially for crypto
This indicator automatically draws five horizontal lines on your chart, representing the previous trading day's High, Low, Mid (average of High and Low), Open, and Close prices. Each line is labeled with its corresponding value. It is designed for intraday traders to quickly reference key price levels from the previous day, helping to identify support/resistance and make trading decisions.
"pdH / pdL / pdEQ / pdOpen / pdClose" Correspond to the previous day's High, Low, Mid, Open, and Close, respectively.
You can customize the color and style (solid, dotted, dashed, arrow, etc.) for each line.
"Line Width (width)": Sets the thickness of all horizontal lines (range: 1–5).
"Distance": Sets the horizontal offset of the labels from the current bar to avoid overlapping with candles (range: 1–200).
1.Add the Indicator
2.On the TradingView chart, click "Indicators," search for, and add this script.
3.Customize Parameters: Adjust the color, style, line width, and label distance for each line in the settings panel to suit your preferences.
4.Indicator Display: The indicator will automatically display the previous day's High, Low, Mid, Open, and Close as horizontal lines on the far right of the chart, with value labels (e.g., pdH: 1234.56) next to each line.
DAILY LEVEL 指标用户说明
本指标用于在K线图上自动绘制加密货币前一交易日的高点(High)、低点(Low)、中点(Mid)、开盘价(Open)、收盘价(Close)五条水平线,并在每条线上显示对应的数值标签。适用于日内交易者快速参考前一日关键价位,辅助判断支撑/阻力和交易决策。
pdH / pdL / pdEQ / pdOpen / pdClose分别对应前一日的高点、低点、中点、开盘价、收盘价。
每项都可自定义线条颜色和样式(实线、虚线、点划线、箭头等)。
线宽width: 设置所有水平线的粗细,范围1~5。
distance距离: 设置标签距离当前K线的水平偏移量,避免标签遮挡K线,范围1~200。
添加指标:在TradingView图表页面,点击“指标”,搜索并添加本脚本。
自定义参数:可在参数面板中调整每条线的颜色、样式、线宽和标签距离,满足个性化需求。
指标显示:指标会自动在图表最右侧显示前一日的高、低、中、开、收五条水平线,并在每条线右侧显示对应的数值标签(如:pdH: 1234.56)。
Candlestick analysis
Intraday BUY/SELL & AUTO SL (5-min timeframe only) by chaitu50c)Intraday BUY/SELL & AUTO SL (5-min timeframe only) by chaitu50c
This indicator provides intraday traders with BUY/SELL reversal signals and automated SL (Stoploss) tracking, based on a 3-candle reversal block logic — designed to work exclusively on the 5-min timeframe.
Key Features:
• 3-Candle Reversal Logic — Signals are generated when a defined 3-candle reversal pattern is detected (body-close breakout).
• Current Session Only — All signals and SL lines are valid only for the current session and automatically reset at session start.
• BUY/SELL Signal Labels — Visual ▲ and ▼ labels mark valid reversal signals on the chart.
• Dynamic Auto SL Lines — Plots dashed SL lines based on the reversal block's low/high.
• SL HIT Tracking — If SL is broken, the line stops extending and a ‘SL HIT’ label is displayed at the midpoint of the SL line.
• Adjustable Visual Settings — Customize signal label size, SL line width, colors, and more.
• Clean & Lightweight — Optimized for intraday use without cluttering the chart.
How to Use:
You can trade this indicator in two ways:
1. Direct Signal Entry — Take a BUY or SELL trade when a valid ▲/▼ reversal signal forms.
2. SL HIT Re-entry — If an existing SL line is broken and ‘SL HIT’ appears, you can optionally take an opposite side trade in the direction of the SL HIT.
Example:
A BUY signal is generated and an SL line is plotted below.
If price breaks the SL (SL HIT appears), you may consider entering a SELL trade at that point — as it indicates weakness.
Important Notes:
• Works only on 5-min timeframe — Set your chart to 5-min for correct behavior.
• Designed for intraday trading — all signals and SL levels reset at session start.
• Does not carry signals between sessions.
• SL lines and HIT labels provide a clear and simple visual aid for trade management.
---
London / NY / Tokyo BreakoutLondon / NY / Tokyo Breakout Signal
This indicator analyzes price action during the London, New York, and Tokyo trading sessions by defining a price range (box) formed at the beginning of each session. At the end of the session, it tests whether the price range is broken.
When the box is broken, it generates a long or short breakout signal on the first breakout bar.
Features:
User-configurable session start and end times with support for local time and GMT offset
Boxes visually display the high-low range formed during each session
Long and short breakout signals plotted on the chart upon price breaking the box
Alert conditions for all breakout signals
Customizable colors for boxes and signals
Use case :
Ideal for breakout strategies based on consolidation during London, New York, and Tokyo sessions in Forex, equities, commodities, and other markets.
London / NY / Tokyo Breakout (Breakout Sinyali)London / NY / Tokyo Breakout Signal
This indicator analyzes price action during the London, New York, and Tokyo trading sessions by defining a price range (box) formed at the beginning of each session. At the end of the session, it tests whether the price range is broken.
When the box is broken, it generates a long or short breakout signal on the first breakout bar.
Features:
User-configurable session start and end times with support for local time and GMT offset
Boxes visually display the high-low range formed during each session
Long and short breakout signals plotted on the chart upon price breaking the box
Alert conditions for all breakout signals
Customizable colors for boxes and signals
Use case:
Ideal for breakout strategies based on consolidation during London, New York, and Tokyo sessions in Forex, equities, commodities, and other markets.
TitansAlgo Sureshots v2Overview:
The TitansAlgo Sureshots indicator is a breakout trading strategy designed to capitalize on the first candle of the market session. It identifies buy and sell signals based on price breakouts and automatically calculates stop-loss (SL) and take-profit (TP) levels using a risk-reward ratio (RR) parameter.
Entry Logic:
A buy signal is generated when price breaks above the first candle’s high.
A sell signal is generated when price breaks below the first candle’s low.
The system ensures only one trade per day to avoid overtrading.
Risk Management:
The stop-loss (SL) is placed at the opposite side of the first candle’s range.
The take-profit (TP) is calculated dynamically using the Risk-Reward Ratio (RR) input (default = 2.0).
Visual Signals & Alerts:
Green dots (Buy Signal) appear below bars when a long position is triggered.
Red dots (Sell Signal) appear above bars when a short position is triggered.
Buy and Sell Labels appear on the next candle to confirm trade signals.
Lines for TP and SL are drawn on the chart for better visualization.
Custom Styling:
Background highlights the first candle of the session.
Candles are color-coded:
Green for bullish bars
Red for bearish bars
Wick colors match candle sentiment
Ideal for Traders Who:
✅ Prefer breakout trading strategies based on market structure.
✅ Want a simple yet effective system with built-in risk management.
✅ Need clear visual signals for entry and exit points.
✅ Trade on intraday timeframes and follow structured trading rules.
This indicator is designed to provide high-probability trade setups, making it a valuable tool in the TitansAlgo suite for traders looking to optimize their market entries and exits. 🚀
Inside Bar Candle Color with Bullish/Bearish AlertTitle:
Inside Bar Candle Color with Bullish/Bearish Alerts
Description:
This indicator highlights Inside Bars based on candlestick structure and colors them according to bullish or bearish sentiment. It also includes real-time alerts for both bullish and bearish inside bars.
Key Features:
Detects inside bars (including equal highs/lows)
Bullish inside bars are highlighted in green (customizable)
Bearish inside bars are highlighted in red (customizable)
Alerts included:
Bullish inside bar alert
Bearish inside bar alert
Works on all timeframes and instruments
What is an Inside Bar?
An inside bar is a candlestick whose high and low are completely within the range of the previous candle. It often signals market consolidation or a potential breakout setup.
How to Use:
Use inside bars as part of a breakout or continuation strategy
Combine with trend direction, support/resistance, or volume for confirmation
Customize the candle colors to match your chart theme
Note: This indicator does not provide buy or sell signals. It's a visual tool designed to support price action traders in identifying low-volatility zones and potential setups.
Engulfing Bar AggressiveEngulfing Bar Aggressive
Engulfing Bar Aggressive is a precise price action indicator designed to detect strong bullish and bearish engulfing patterns in an aggressive way. This tool is perfect for traders who want early and confirmed signals based purely on candle formations, without relying on any indicators or moving averages.
🔍 Core Logic
The indicator scans for 2-bar engulfing patterns with additional strict conditions:
Bullish Engulfing
Current candle closes bullish (close > open).
Previous candle closes bearish (close < open ).
Current close completely engulfs previous open and high.
Current open is below previous close.
Signal triggers only after bar closure (confirmed pattern).
Bearish Engulfing
Current candle closes bearish (close < open).
Previous candle closes bullish (close > open ).
Current close completely engulfs previous open and low.
Current open is above previous close.
Signal triggers only after bar closure (confirmed pattern).
🛠 Features
Clear visual markers on the chart (green for bullish, red for bearish).
Configurable generic alert to receive notifications for any engulfing pattern detected.
Dedicated alerts for bullish and bearish engulfing setups.
Works on any timeframe and any market.
🎯 Use Case
Ideal for breakout traders, reversal traders, or as part of a multi-factor strategy.
Can be combined with support/resistance zones, ATR exhaustion levels, or trend filters for enhanced accuracy.
Candle Closer Levels & TP Zones📝 Description:
This indicator is designed to provide intrabar trade levels for high-speed execution strategies, such as scalping and intraday momentum trading.
🧩 Key Features:
Plots High, Low, Mid, and two Quarter Levels on the current candle only, keeping charts clean
Take Profit (TP) lines are calculated as a percentage of candle range, not fixed ticks — this makes it highly adaptable for futures like NQ/ES or volatile markets like crypto
Supports both long and short setups via a simple toggle
Customizable colors, line thickness, and length
Each TP level can be enabled or muted individually
📈 Use Case:
Apply this tool to spot candle-based breakouts or rejections. You can scale TPs dynamically based on the strength of the current candle. This is especially helpful in assets where volatility fluctuates greatly intrabar.
This is not a repackaged built-in indicator — it’s purpose-built for real-time tactical level plotting without historical noise.
Hội Đồng Hành - Trader NghèoThe indicator was originally programmed based on algorithmic logic for ** Super Resistance Support **, but it has now been upgraded with an additional auxiliary indicator to support more entry points.
Please ** trade according to the instructions in the video I provided **, as that is the most effective trading method.
FVG Candle TYHE42This indicator highlights potential Fair Value Gaps by applying a color change to the body of the candle that aligns with an imbalance in price movement.
When such a gap is detected in the price structure, the corresponding candle is visually marked using a customizable color, allowing for easy identification without cluttering the chart.
Users can adjust the highlight color from the settings to better match their chart style or personal preference.
CRYPTOPASTOR SR PROCRYPTOPASTOR SR PRO
The ultimate automated support, resistance, and trade setup toolkit.
Description
CRYPTOPASTOR SR PRO is the all-in-one solution for traders who want to combine powerful, automated support and resistance analysis with actionable trade setups. This indicator moves beyond simple lines on a chart; it identifies and draws the most statistically significant S/R zones and then uses that data to automatically generate potential Entry , Stop Loss , and Take Profit levels for you.
Built for both discretionary and systematic traders, SR PRO cleans up your workflow, removes manual guesswork, and provides a clear, data-driven foundation for your trading decisions.
Pro Feature: Dynamic Trade Setups
This is the core of the PRO version. It transforms the S/R analysis into a complete trade planning tool.
Automatic Trade Opportunities: Based on the indicator's core S/R analysis, the Pro version automatically identifies potential trade opportunities as they form.
Intelligent Trade Bias: It determines a trade bias (Long or Short) by evaluating the current price's proximity to the nearest major support or resistance zone.
Automatic Trade Levels: For each potential setup, the script instantly calculates and plots:
An Entry Level based on the middle of the key S/R zone.
A smart Stop Loss placed with a calculated buffer outside the zone.
Up to five Take Profit levels targeting subsequent S/R zones.
Core Engine: Advanced S/R Detection
At its heart, the SR PRO is powered by an advanced engine that automates the most tedious parts of technical analysis.
Dynamic Pivot Detection: It constantly scans the chart for the most recent and relevant Pivot Highs and Pivot Lows, which are the building blocks of price structure.
Intelligent Zone Clustering: Instead of just drawing a line at every pivot, SR PRO groups multiple nearby pivot points into a single, cohesive zone. This technique reveals areas where price has repeatedly reacted, making them much more significant.
Strength-Based Filtering: A zone's "strength" is determined by how many pivots it contains. The indicator filters out weak, unreliable zones and only displays those that meet a minimum strength requirement, removing noise from your chart.
Full Features List
Automated Trade Setups with Entry, Stop Loss, and Take Profit levels.
Dynamic Support & Resistance Zones that update with new price action.
Clean Zone Labels showing the timeframe and price level, pinned to the right side of your chart.
Strength-Based Algorithm to ensure only the most significant levels are shown.
Built-in Alerts for when a key support or resistance level is broken.
Fully Customizable settings to tailor the indicator to any market or timeframe.
Customizable Settings (Inputs)
Setup
Pivot Period: Controls the sensitivity of pivot detection.
Source: Use candle High/Low or Close/Open for calculations.
Maximum Number of Pivot: Sets the memory for how many recent pivots are analyzed.
Maximum Channel Width %: Defines how close pivots must be to form a zone.
Maximum Number of S/R: The maximum number of S/R zones to display.
Minimum Strength: The minimum number of pivots required to form a valid zone.
Trade Setup
Show Trade Setups: Globally turn the Entry/SL/TP feature on or off.
Number of Take Profit Levels: Choose how many TP targets to display (1 to 5).
Stop Loss Buffer %: Customize the buffer size for the automatically generated Stop Loss.
Colors
Label Location: Controls how far to the right the price labels are drawn.
Line Style & Width: Customizes the appearance of the S/R zones.
Resistance & Support Color: Set your preferred colors for all zones.
Alerts
You can set up the following alerts in TradingView's alert menu:
Resistance Broken: Triggers when price breaks and closes above a resistance zone.
Support Broken: Triggers when price breaks and closes below a support zone.
Support or Resistance Broken: A combined alert that triggers for either condition.
Alto y Bajo Vela Anterior PersonalizableThe high and low values of the last closed candle. It works on any timeframe and features adjustable font size and color. The label can be relocated to any corner of the chart.
Crypto Pastor SR - LITESupport & Resistance - Lite (SR Lite) is a clean, powerful, and lightweight indicator designed to automatically identify and draw the most significant support and resistance zones on your chart.
This tool is built for traders who rely on key price levels but want to avoid the clutter of complex indicators. It does the hard work of finding historical price turning points and intelligently clustering them into strong, actionable zones, allowing you to focus on your strategy.
This "Lite" version contains the complete, powerful S/R detection engine, ideal for traders who want a clean chart focused purely on key levels without the trade setup features (Entry/Stop Loss/Take Profit) of the Pro version.
How It Works
The indicator's logic is both sophisticated and intuitive:
Dynamic Pivot Detection: It constantly scans the chart for the most recent and relevant Pivot Highs and Pivot Lows. These are the fundamental building blocks of price structure.
Intelligent Zone Clustering: Instead of just drawing a line at every pivot, SR Lite groups multiple nearby pivot points into a single, cohesive zone. This technique reveals areas where price has repeatedly reacted, making them much more significant than a single point.
Strength-Based Filtering: Not all zones are created equal. A zone's "strength" is determined by how many pivots it contains. The indicator filters out weak, unreliable zones and only displays those that meet a minimum strength requirement, removing noise from your chart.
Clean & Automated Charting: The strongest zones are automatically drawn and extended into the future. As new price action unfolds, the zones dynamically update to reflect the most current market structure.
Features & Visuals
Support & Resistance Zones: These are the primary visual element, drawn as transparent boxes.
Green Zones: Indicate Support levels currently below the price.
Red Zones: Indicate Resistance levels currently above the price.
Price Labels: Each zone is accompanied by a clean text label on the right-hand side of the chart, showing:
The Timeframe the zone was identified on (e.g., "4H").
The exact Price Level of the zone's midpoint (e.g., "108697").
Built-in Alerts: Create alerts to be notified immediately when a key level is broken.
Binance OI Stochastic MFIibb.co Binance Open Interest Stochastic Money Flow Index (OI Stochastic MFI)
Inspiration:
This indicator is an innovative tool combining the traditional Money Flow Index (MFI) and Stochastic Oscillator concepts, enhanced by directly incorporating Open Interest data from Binance Futures BTCUSDT perpetual contracts.
What is it and what does it measure?
The traditional Money Flow Index (MFI) measures the flow of money considering both price and volume.
Open Interest represents the total number of outstanding futures contracts at any given moment, offering deeper insight into speculative involvement and investors' positioning.
This indicator replaces the traditional volume input with Open Interest, providing a more accurate perspective of speculative inflows and outflows in Bitcoin's perpetual futures market.
Advantages and Applications:
Higher accuracy for futures markets, particularly cryptocurrencies, due to direct usage of Binance Futures data reflecting real and speculative activities.
Clear identification of extreme overbought and oversold levels.
Provides objective visual signals for buying (green upward arrows) and selling (red downward arrows).
How to interpret:
The indicator oscillates between values of 0 and 100.
Values above the configured overbought level (e.g., 80) indicate potential downward reversals.
Values below the configured oversold level (e.g., 20) indicate potential upward reversals.
Crossovers of the K-line (blue) with the D-line (orange) generate immediate buy or sell signals.
Practical use:
Long (buy): Look for a green upward arrow after the indicator exits an oversold region.
Short (sell): Look for a red downward arrow after the indicator exits an overbought region.
This indicator is especially useful for traders operating perpetual futures contracts, providing increased precision and clarity for decision-making based on speculative money flows.
Average Candle Length TrendlineI developed an interesting indicator and share it with you. Generally, when the price goes up, the price movement within each minute will be large, and vice versa. Based on that, I created an indicator that averages the trend of candle length and displays it as a line. In order to display it on the screen, I adjusted it to change around the 200-day moving average. It will be a very useful long-short reference line. Based on this line, if the candle goes above this line, the candle length generally starts to get longer, so if you only hit longs, and if it goes below that, you will see a very high winning rate.
Previous Daily High/LowUnderstanding Previous Daily High and Low in Trading
The previous day’s high and low are critical price levels that traders use to identify potential support, resistance, and intraday trading opportunities. These levels represent the highest and lowest prices reached during the prior trading session and often act as reference points for future price action.
Why Are Previous Daily High/Low Important?
Support & Resistance Zones
The previous day’s low often acts as support (buyers defend this level).
The previous day’s high often acts as resistance (sellers defend this level).
Breakout Trading
A move above the previous high suggests bullish momentum.
A move below the previous low suggests bearish momentum.
Mean Reversion Trading
Traders fade moves toward these levels, expecting reversals.
Example: Buying near the previous low in an uptrend.
Institutional Order Flow
Market makers and algos often reference these levels for liquidity.
How to Use Previous Daily High/Low in Trading
1. Breakout Strategy
Long Entry: Price breaks & closes above previous high → bullish continuation.
Short Entry: Price breaks & closes below previous low → bearish continuation.
2. Reversal Strategy
Long at Previous Low: If price pulls back to the prior day’s low in an uptrend.
Short at Previous High: If price rallies to the prior day’s high in a downtrend.
3. Range-Bound Markets
Buy near previous low, sell near previous high if price oscillates between them.
Previous Daily High/LowThe previous day’s high and low are critical price levels that traders use to identify potential support, resistance, and intraday trading opportunities. These levels represent the highest and lowest prices reached during the prior trading session and often act as reference points for future price action.
Why Are Previous Daily High/Low Important?
Support & Resistance Zones
The previous day’s low often acts as support (buyers defend this level).
The previous day’s high often acts as resistance (sellers defend this level).
Breakout Trading
A move above the previous high suggests bullish momentum.
A move below the previous low suggests bearish momentum.
Mean Reversion Trading
Traders fade moves toward these levels, expecting reversals.
Example: Buying near the previous low in an uptrend.
Institutional Order Flow
Market makers and algos often reference these levels for liquidity.
How to Use Previous Daily High/Low in Trading
1. Breakout Strategy
Long Entry: Price breaks & closes above previous high → bullish continuation.
Short Entry: Price breaks & closes below previous low → bearish continuation.
2. Reversal Strategy
Long at Previous Low: If price pulls back to the prior day’s low in an uptrend.
Short at Previous High: If price rallies to the prior day’s high in a downtrend.
3. Range-Bound Markets
Buy near previous low, sell near previous high if price oscillates between them.
Example Trade Setup
Scenario: Price opens near the previous day’s high.
Bullish Case: A breakout above it targets next resistance.
Bearish Case: Rejection at the high signals a pullback.
Candlestick Pattern DetectorAll main Candlestick Pattern are available in this
Candlestick patterns are visual representations of price movements that help traders identify potential trend continuations and reversals in financial markets. Each candlestick displays four key price points: open, high, low, and close for a specific time period.
In trending markets, several patterns prove particularly valuable. **Continuation patterns** signal that the existing trend will likely persist. The bullish engulfing pattern occurs when a large green candle completely engulfs the previous red candle, indicating strong upward momentum. Conversely, a bearish engulfing pattern suggests continued downward movement.
**Hammer and doji patterns** often appear at trend extremes, potentially signaling reversals. A hammer features a small body with a long lower wick, suggesting buyers stepped in after initial selling pressure. Doji candles, where open and close prices are nearly identical, indicate market indecision and possible trend changes.
**Three-candle patterns** like morning and evening stars provide stronger reversal signals. A morning star consists of a bearish candle, followed by a small-bodied candle, then a strong bullish candle, suggesting a potential uptrend reversal.
Successful traders combine candlestick analysis with volume indicators and support/resistance levels for confirmation. While these patterns offer valuable insights into market psychology and potential price movements, they should never be used in isolation for trading decisions.
Liquidity Sweeps [SB1]### 🧠 **Liquidity Sweeps \ – Enhanced by SamB817**
> ⚠️ **Original Credit:** This script is built on the excellent foundation by **LuxAlgo**, licensed under (creativecommons.org). All core functionality and visual logic originates from LuxAlgo’s open-source framework. This version adds enhanced functionality tailored for precision intraday and swing entries using sweep behavior.
🔹 Overview
The Liquidity Sweeps indicator is designed to help traders spot bullish and bearish liquidity grabs, a key concept in smart money trading. It automatically detects swing highs and lows, identifies stop hunts, and highlights areas where institutional traders might be sweeping liquidity before price reverses.
🔹 How It Works
Detects liquidity sweeps by tracking swing points based on a user-defined lookback period.
Differentiates between:
✅ Wick-based liquidity grabs (stop hunts).
✅ Breakouts & retests (confirming liquidity sweeps).
✅ Both combined for deeper analysis.
Draws liquidity zones with extendable boxes to visualize areas where liquidity was taken.
Provides alerts when a liquidity sweep occurs. ---
---
### 📈 **WHAT THIS INDICATOR DOES**
This tool identifies **liquidity sweeps**—key moments where price **wicks above/below swing highs/lows**, often triggering stop losses or absorbing institutional orders. These zones frequently precede powerful reversals or continuations.
It draws:
* 🔹 **Dotted lines** at the top or bottom of the candle wicks when a sweep is confirmed.
* 🔹 **Shaded sweep zones** (boxes) which extend until price decisively trades through them.
* 🔹 **Breakout confirmation lines** when price reclaims or mitigates a swept level.
---
### 🔧 **FEATURES & ENHANCEMENTS BY SAM**
* ✅ **Dotted Lines Extension**: Liquidity sweep dotted lines now **automatically extend** until they’re traded through, allowing for reliable reference levels even dozens of bars later.
* ✅ **Thickness Upgrade**: Dotted lines now appear **thicker** for better visibility during fast market conditions.
* ✅ **Visual Cleanup**: Auto-deletion of outdated sweeps (older than 2000 bars or already mitigated).
* ✅ **Optimized Wicks-Only Mode**: Improved behavior when in *Only Wicks* mode, ideal for tracking stop hunts without false triggers.
---
### 🚨 **ALERTS INCLUDED**
1. 🔔 **New Bullish Sweep (Wick)**
2. 🔔 **New Bearish Sweep (Wick)**
These alerts let you react **in real-time** when liquidity has been swept and price is beginning to show directional intent.
---
### 📚 **HOW TO USE IT EFFECTIVELY**
1. **Timeframes**:
* Use on **2H / 4H** for swing setups.
* Use on **1min–15min** for scalping or day trading around NY/LO open.
2. **Entry Logic**:
* Wait for the **dotted line to form after a sweep**.
* **Do not enter immediately.** Wait for: Close of candle!!!!
* A clean **break of the sweep line**, OR
* A **retest of the line within 3–45 bars**, followed by rejection.
3. **Best When Combined With**:
* Fair Value Gaps (FVGs)
* Market Structure Shift (MSS)
* Order Flow Clusters
* Anchored VWAP and Volume Profile
---
### 💡 **TIPS & STRATEGIC INSIGHTS**
* **Sweeps on higher timeframes** (like 2H/4H) are more powerful and often mark **institutional reversals**.
* **Double lines** (dotted lines on both wick ends) = high-volatility trap. Wait for a clean break before entry.
* Use the **sweep box + dotted line** as a **zone**, not a pinpoint level.
* Be patient. Sweeps are **traps first**, **opportunities second**.
---
### 🔓 Attribution
Script forked and expanded from the open-source **LuxAlgo Liquidity Sweeps**. Original License: (creativecommons.org).
Enhancements by **SamB817**.
--- 🧠 1. It Tracks Sweep Behavior — Not Just Breakouts
Purpose: It identifies where liquidity has been taken — stops hit — not where price is "breaking out" in the traditional sense.
The dotted lines show wick-based stop hunts (liquidity raids).
The boxes show sweep zones, including body-to-wick range when applicable.
🟢 Use case: Smart money is taking stops here → expect reaction, not chase the move.
🕓 2. Timeframe Matters — Sweeps on Higher TF = More Impact
15m & 1h: Intraday trap sweeps, good for scalps or fast directional shifts.
2h/4h: Institutional-level sweeps. Often lead to major intraday reversals or the start of a new leg.
Daily/Weekly: Macro-level stops taken → these are often trend changers.
🔑 Rule of thumb: The higher the timeframe the sweep occurs on, the more meaningful the response tends to be.
🎯 3. Entry Logic: Always Wait for Price to Show Direction
After a sweep appears:
Wait for price to break above/below the dotted line or box, depending on the direction.
Don’t enter blindly on the sweep — it's a trap until proven otherwise.
✅ Best entries often occur on retests of the sweep line or area, especially 3–45 bars later (as you’ve already implemented).
🧲 4. Sweeps Often Magnetize Price
Liquidity sweeps act like magnets — if a sweep hasn't been hit yet, price may drift toward it to "collect" those orders.
Use this to anticipate potential targets and reversal zones.
🧪 5. Sweeps Work Best With These Confirmations:
🔹 FVG (Fair Value Gaps) in the same direction immediately after a sweep.
🔹 Market Structure Shift (MSS) right after a sweep = high-probability reversal.
🔹 Order Flow Confirmation: Strong buy/sell imbalances, absorption at sweep level.
🔹 Liquidity voids: If price sweeps and then enters an inefficient zone — fast move likely.
📊 6. Combines Best With These Tools:
Tool Why It Works Well With Sweeps
1.🎯🎯🧠 🧠 Order Flow (AlgoAlpha)Confirm absorption or intent at sweep zone🎯🎯🧠🧠 2.✅ Volume Profile - See if the sweep occurred at a low-volume node (ideal)
3.✅ VWAP or Anchored VWAP - Catch reclaims or rejections off institutional zones
4.✅ Session Highs/Lows Sweeps of session extremes are often the trap setups
🧩 7. Psychology Behind the Sweeps
Sweeps represent stop runs, trap moves, or liquidity grabs by larger players.
The goal is to trigger weak hands before moving in the true direction.
Train yourself to:
Expect the opposite of the sweep direction once structure confirms.
Think like the liquidity provider, not the victim.
DisplacementAndPinBar [TFO]# DisplacementAndPinBar v1.5 - Advanced Market Structure Indicator
## Overview
DisplacementAndPinBar v1.5 is a sophisticated technical indicator that combines displacement detection with advanced pin bar analysis to identify high-probability trading opportunities. Unlike traditional pin bar indicators that create chart clutter with insignificant signals, this indicator uses mathematical filtering to show only meaningful market structure patterns.
## Key Features
### 🎯 **True Pin Bar Detection**
- **Level Rejection Logic**: Pin bars must break recent highs/lows (adjustable lookback period)
- **Statistical Significance**: Uses standard deviation to filter candle size
- **Smart Classification**: Distinguishes between true pin bars and momentum impulse candles
- **Visual Clarity**: Green/red circles with "PIN" text for easy identification
### 📈 **Displacement Detection**
- **Momentum Identification**: Detects large body candles showing strong directional movement
- **Open-to-Close Analysis**: Measures true momentum (not just volatility)
- **Objective Filtering**: Uses standard deviation over customizable lookback period
- **Market Structure**: Identifies significant shifts in buying/selling pressure
### ⚡ **Advanced Signal Types**
#### 1. Pin Bar Signals
- **Bullish Pin Bars**: Long lower wicks rejecting at key support levels
- **Bearish Pin Bars**: Long upper wicks rejecting at key resistance levels
- **Requirements**: Must break recent 20-candle highs/lows + meet wick-to-body ratios
#### 2. Confirmation Signals
- **Follow-Through Detection**: Validates pin bar signals with directional movement
- **Smart Filtering**: Requires proper body size and minimal opposing wicks
- **Visual**: Large yellow/pink triangles (semi-transparent)
#### 3. Displacement Momentum Signals
- **Continuation Pattern**: Two displacement candles in same direction within timeframe
- **No Opposing Signal**: Ensures clean momentum without conflicting moves
- **Trade Signal**: Huge yellow/pink triangles indicating strong momentum building
#### 4. Impulse & Indecision Detection
- **Impulse Candles**: Large wicks without level rejection (gray triangles)
- **Indecision Patterns**: Range-bound rejection patterns (gray diamonds)
- **Context Awareness**: Helps understand market state and volatility
## Technical Specifications
### Mathematical Foundation
- **Standard Deviation Filtering**: Eliminates noise by requiring statistical significance
- **Historical Comparison**: Manual loop calculations for reliable level detection
- **Independent Criteria**: Pin bars use High-to-Low, Displacement uses Open-to-Close
- **Multi-Timeframe Logic**: Optimized for 5-minute charts but works on all timeframes
### Default Settings (Optimized for 5-minute)
- **Displacement Length**: 40 periods
- **Displacement Strength**: 4.0x standard deviation
- **Pin Bar Lookback**: 20 periods
- **Pin Bar Body-to-Wick Ratio**: 4.0
- **Displacement Signal Lookback**: 6 periods
- **FVG Requirement**: OFF (recommended for optimal signals)
## Visual Hierarchy
### Signal Priority (Most to Least Important)
1. **🔴🟢 PIN Circles**: True pin bars at key levels (highest probability reversals)
2. **🔺 Huge Triangles**: Displacement momentum signals (strong continuation)
3. **🔺 Large Triangles**: Pin bar confirmations (validation signals)
4. **🔺 Small Triangles**: Impulse patterns (momentum without level interaction)
5. **💎 Diamonds**: Indecision at range extremes
6. **🟡🟣 Colored Candles**: Base displacement detection
### Visual Enhancements
- **Semi-Transparent Triangles**: Prevents hiding pin bar signals when zoomed out
- **Black Text on Circles**: Enhanced readability
- **Size Differentiation**: Clear hierarchy through symbol sizing
- **Color Coding**: Intuitive green/red for direction, blue for momentum
## Trading Applications
### Reversal Trading
- **Pin Bar Entries**: High-probability reversals at key support/resistance
- **Confirmation Required**: Wait for follow-through triangle for validation
- **Stop Placement**: Just beyond pin bar wick for optimal risk/reward
### Momentum Trading
- **Displacement Signals**: Trade continuation when two displacement candles align
- **Trend Following**: Excellent for catching momentum shifts and breakouts
- **Multiple Timeframes**: Combine with higher timeframe bias for best results
### Market Context
- **Impulse Analysis**: Understand when market is in momentum vs. consolidation
- **Indecision Patterns**: Identify range-bound conditions and potential breakouts
- **Volume Confirmation**: Displacement often coincides with volume spikes
## Alert System
Comprehensive alert functionality for all major signals:
- Bullish/Bearish Pin Bar detection
- Pin Bar confirmation signals
- Displacement momentum signals
- Customizable alert messages with context
## Settings Organization
### 🎯 Trading Signals (Priority Settings)
- Displacement trade signal toggle and lookback period
- Pin bar and confirmation detection toggles
### 📊 Core Settings Groups
- **Displacement Settings**: Length, strength, FVG requirements
- **Pin Bar Settings**: Lookback periods, ratios, thresholds
- **Visual Settings**: Colors and display preferences
### 💡 Helpful Tooltips
- Detailed explanations for each setting
- Optimization recommendations
- Best practices for different timeframes
## Why This Indicator is Different
### ❌ **What Most Pin Bar Indicators Do Wrong**
- Show every candle with long wicks (creates noise)
- No context about market structure or significance
- Fixed parameters that don't adapt to volatility
- No distinction between rejection and momentum patterns
### ✅ **What DisplacementAndPinBar v1.5 Does Right**
- **Quality Over Quantity**: Only shows statistically significant patterns
- **Market Structure Awareness**: Considers recent highs/lows and volatility
- **Multiple Signal Types**: Comprehensive pattern recognition
- **Visual Clarity**: Clean, organized display with logical hierarchy
- **Professional Features**: Proper alerts, settings organization, documentation
## Best Practices
### Timeframe Recommendations
- **Primary**: 5-minute charts (optimized settings)
- **Secondary**: 15-minute and 1-hour for confirmation
- **Scalping**: 1-minute with adjusted sensitivity
### Market Application
- **Forex**: Excellent during London/NY sessions
- **Crypto**: Particularly effective on Bitcoin and major altcoins
- **Stocks**: Works well on liquid stocks and indices
- **Futures**: Optimal on high-volume contracts
### Risk Management
- **Stop Losses**: Use pin bar wicks and displacement candle extremes
- **Position Sizing**: Reduce size in low-probability setups
- **Confirmation**: Wait for follow-through signals when possible
- **Context**: Consider higher timeframe trends and major support/resistance
## Version History
- **v1.1**: Initial pin bar and displacement integration
- **v1.3**: Added confirmation logic and refined indecision detection
- **v1.5**: Added displacement momentum signals, organized settings, comprehensive alerts
## Credits
Based on original displacement work by tradeforopp, enhanced with advanced pin bar detection and signal classification by AleksandarPesic & Claude (Anthropic).
---
*DisplacementAndPinBar v1.5 represents a new standard in technical analysis, combining mathematical rigor with practical trading applications. Perfect for traders who want quality signals without the noise.*
Break EMA20 - 2nd Time Signal//@version=5
indicator("Break EMA20 - 2nd Time Signal", overlay=true)
// 1. EMA20
ema20 = ta.ema(close, 20)
// 2. ตรวจจับการทะลุขึ้นและทะลุลง
crossUp = ta.crossover(close, ema20)
crossDown = ta.crossunder(close, ema20)
// 3. สร้างตัวนับรอบ
var int upCount = 0
var int downCount = 0
if crossUp
upCount := upCount + 1
if crossDown
downCount := downCount + 1
// 4. สร้างสัญญาณเมื่อเป็นรอบที่ 2
buySignal = crossUp and upCount == 2
sellSignal = crossDown and downCount == 2
// 5. แสดงผลบนกราฟ
plotshape(buySignal, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(sellSignal, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
// 6. Reset counter หลังส่งสัญญาณ เพื่อรอรอบถัดไป
if buySignal or sellSignal
upCount := 0
downCount := 0
Nifty Trading 5 & 15 Min Confirmation Hariss 369The indicator best suits for all types of intraday trading. Buy and sell signals are reflected in 5 min chart after getting confirmed from 15 min time frame.
Indicators used: VWAP, 20 EMA, KAMA, RSI, MACD and RVOL.
CPR, 20 EMA, 200 EMA, VWAP, KAMA can be plotted over the charts. Trade only when signal is given. PSAR based stop loss have been used which caters the dynamic movement of the market.
Pany GBPUSD 15minsIn the name.
Long-Only script.
Enter longs on green triangles, exit on others.
Not financial advice.