OPEN-SOURCE SCRIPT

Math by Thomas Liquidity Pool

466
Description
Math by Thomas Liquidity Pool is a TradingView indicator designed to visually identify potential liquidity pools on the chart by detecting areas where price forms clusters of equal highs or equal lows.

Bullish Liquidity Pools (Green Boxes): Marked below price where two adjacent candles have similar lows within a specified difference, indicating potential demand zones or stop loss clusters below support.

Bearish Liquidity Pools (Red Boxes): Marked above price where two adjacent candles have similar highs within the difference threshold, indicating potential supply zones or stop loss clusters above resistance.

This tool helps traders spot areas where smart money might hunt stop losses or where price is likely to react, providing valuable insight for trade entries, exits, and risk management.

Features:
Adjustable box height (vertical range) in points.

Adjustable maximum difference threshold between candle highs/lows to consider them equal.

Boxes automatically extend forward for visibility and delete when price sweeps through or after a defined lifetime.

Separate visual zones for bullish and bearish liquidity with customizable colors.

How to Use
Add the Indicator to your chart (preferably on instruments like Nifty where point-based thresholds are meaningful).

Adjust Inputs:

Box Height: Set the vertical size of the liquidity zones (default 15 points).

Max Difference Between Highs/Lows: Set the max price difference to consider two candle highs or lows as “equal” (default 10 points).

Box Lifetime: How many bars the box stays visible if not swept (default 120 bars).

Interpret Boxes:

Green Boxes (Bullish Liquidity Pools): Areas of potential demand and stop loss clusters below price. Watch for price bounces or accumulation near these zones.

Red Boxes (Bearish Liquidity Pools): Areas of potential supply and stop loss clusters above price. Watch for price rejections or distribution near these zones.

Trading Strategy Tips:

Use these zones to anticipate where stop loss hunting or liquidity sweeps may occur.

Combine with your Order Block, Fair Value Gap, and Market Structure tools for higher probability setups.

Manage risk by avoiding entries into price regions just before large liquidity pools get swept.

Automatic Cleanup:

Boxes delete automatically once price breaks above (for bearish zones) or below (for bullish zones) the zone or after the set lifetime.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。