About Buyside and Sellside Liquidity Pools
Unlike liquidity pool tools that only draw the levels, Buyside and Sellside Liquidity Pools keeps following each pool after price reaches it, tells swept from broken, and alerts on both.
How it works
- A pool is a swing high (BSL, buyside liquidity) or a swing low (SSL, sellside liquidity): a high with no higher high for Swing length bars to its left and Confirmation bars to its right. It appears once confirmed, is drawn from the swing bar and is never moved or removed afterwards.
- A new swing within Equal highs / lows (× ATR) of an untaken pool joins it. "BSL ×3" means price turned back at that level three times.
- Pools come from the chart's timeframe and two higher timeframes, chosen automatically (5m and 30m on a 1-minute chart, 4h and D on a 1-hour chart) or by you. Higher timeframe pools use confirmed swings only and are judged on this chart's bars, so a 1-minute wick can sweep a 4h pool. The same high on several timeframes is one pool, named after the largest. Optional: Tokyo, London and New York session highs and lows.
- Key pools are higher timeframe pools, session pools and equal highs or lows (×2 or more).
- States are set when a bar closes. Swept: price went past the pool and closed back inside. Broken: it closed beyond the pool (Closes beyond to break, 1 close by default, optionally at least Break margin × ATR beyond).
- Forming: the newest swing of the chart's timeframe that does not have its confirmation bars yet. It moves with price until it is confirmed and becomes a pool.
On the chart
- Untaken pools: a line and a thin zone beyond it, running to the right edge. BSL red above the price, SSL green below. Names sit outside the line, for example "BSL ×2", "4h BSL", "Tokyo SSL". Prices are on the price scale.
- Line width shows the timeframe, one wider for ×2 or more.
- The 3 nearest chart timeframe pools and the 3 nearest key pools on each side, counted separately so small swings never hide a 4h or daily pool.
- Pools far outside the price range of the last 200 bars are not drawn, so the candles keep their height. The nearest one is named with its distance, for example "4h SSL 137.3 pips below".
- Taken pools stop at the bar that took them and fade: dashed for swept, dotted for broken. The label on that bar is in the pool's color for swept and gray for broken. Labels within 12 bars on one side share one label, one line per state. Key pools by default; all pools, or none, can be chosen.
- Forming swings: a dotted line named "BSL (forming)" or "SSL (forming)".
- Colors, line widths and text size can be changed, and every part can be turned off.
Alerts
Create one alert with "Any alert() function call" and choose the pools (key pools, all pools, higher timeframe, session or chart timeframe pools), the side and the events:
- New pool: a swing was confirmed and became a pool.
- Near: price came within Near distance (pips or %) of an untaken pool.
- Reached: sent the moment price touches the pool, without waiting for the bar to close.
- Swept and Broken: sent when the bar closes.
Each pool sends each event once. The message names the pool and its price, for example "[Saikix-LP] USDJPY 1m 5m BSL 159.308 broken. Price 159.316". Text, or JSON for webhooks. Each event is also in the Condition list as its own alert, for example "BSL · Swept". Alerts do not depend on what is drawn on the chart.
Pools and states are judged on closed bars and do not change afterwards. The caution TradingView shows when you create the alert appears for almost every custom script.
Notes
- Distances are in pips on forex and metals and in percent on other markets (Distance unit).
- A pool appears Confirmation bars after its swing. Looking back, its line starts at the swing bar, so it looks as if it was there earlier.
- Session pools are for charts of 1 hour and below.
How to add it
- 1Open the script page on TradingView with the button above (or here).
- 2Click “Add to favorites” on that page.
- 3On any chart, open Indicators, go to Favorites and click Buyside and Sellside Liquidity Pools [Saikix].
First steps on the chart
- Start with the labels: untaken pools run to the right edge with their name, for example "4h BSL" or "BSL ×2", and a taken pool stops at the bar that took it, for example "4h SSL · Swept" or "SSL ×2 · Broken".
- Pools come from the chart's timeframe and two higher timeframes, chosen automatically (5m and 30m on a 1-minute chart, 4h and D on a 1-hour chart) or by you. Tokyo, London and New York session highs and lows can be turned on for charts of 1 hour and below.
- In a TradingView alert, use the "Any alert() function call" condition and choose the pools, the side and the events: new, near, reached, swept and broken. Reached is sent the moment price touches the pool; swept and broken when the bar closes.
- Pools far outside the price range of the last 200 bars are not drawn. The nearest one is named with its distance, for example "4h SSL 137.3 pips below", so the candles keep their height.