PROTECTED SOURCE SCRIPT

HTF Liquidity Pool + LTF Entry (SMC)

375
HTF Liquidity Pool + LTF Entry (SMC) – TradingView Script Description

Type: Indicator (SMC / Smart Money Concepts)
Timeframes Supported: Any, but HTF/TF configurable
Markets: Gold (XAU/USD), Forex, Crypto, Indices



Overview

The HTF Liquidity Pool + LTF Entry (SMC) indicator is designed for traders who follow Smart Money Concepts (SMC). It identifies potential high-probability buy and sell entries based on:
1. High Timeframe (HTF) liquidity pools – areas where stop-hunts and liquidity accumulation often occur.
2. Low Timeframe (LTF) liquidity sweeps – short-term price movements that trigger Break of Structure (BOS) signals.

The combination of HTF liquidity zones and LTF liquidity sweeps allows traders to enter trades in alignment with market structure, improving timing and risk management.



Features
1. HTF Liquidity Pools
• Detects equal highs/lows on a chosen HTF (configurable, default: 60 minutes).
• Plots Buy Liquidity (red line) and Sell Liquidity (green line) zones.
2. LTF Liquidity Sweeps
• Detects short-term liquidity sweeps (configurable lookback).
• Waits for a Break of Structure (BOS) to confirm entries.
3. Buy & Sell Signals
• Buy Signal: Price sweeps lower liquidity and closes above BOS.
• Sell Signal: Price sweeps higher liquidity and closes below BOS.
• Signals are displayed on the chart with green/red labels.
4. SL/TP Visualization
• Automatic Stop Loss (SL) and Take Profit (TP) levels plotted for each trade.
• Default: SL = 5.04 points, Reward/Risk ratio = 2 (configurable).
5. Alert Ready
• Alert conditions included for both Buy and Sell signals.
• Can be used with TradingView alerts for real-time notifications.

Setting
Description
HTF for Liquidity (htfTf)
Timeframe to detect HTF liquidity pools (default: 60)
HTF Equal High/Low Lookback
Number of bars to detect equal highs/lows
Equal Level Tolerance (eqTolerance)
Price tolerance for HTF equal highs/lows
LTF Liquidity Sweep Lookback
Lookback period for LTF liquidity sweeps
LTF BOS Lookback
Lookback period for detecting Break of Structure
SL Points (slPoints)
Stop Loss in points (default: 5.04 for Gold)
Reward/Risk Ratio (rewardRR)
TP = SL × RR (default: 2)


How to Use
1. Identify HTF Liquidity Zones:
• Red lines = buy liquidity (price likely to be absorbed before going higher)
• Green lines = sell liquidity (price likely to be absorbed before going lower)
2. Wait for LTF Liquidity Sweep and BOS:
• Look for price to sweep liquidity and close beyond BOS to confirm a signal.
3. Trade with Visualized SL/TP:
• Enter at Buy/Sell signal.
• Place Stop Loss and Take Profit at plotted levels.
4. Set Alerts:
• Use the included alertcondition() for Buy Signal Alert or Sell Signal Alert for real-time notifications.


Notes / Disclaimer
• Designed for educational and informational purposes only.
• Always manage your risk carefully; the default SL/TP is for guidance.
• Backtest before using in live markets.
• Works best on Gold (XAU/USD), but can be applied to Forex, Crypto, or Indices.
• Use multiple timeframes for best accuracy (HTF + LTF alignment).



Happy Trading! ⚡
“Follow the liquidity, respect structure, and trade smart money concepts.”


คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน