來源實抓:api.fxtwitter.com、cdn.syndication.twimg.com、r.jina.ai、三張圖片實視檢驗、TradingView 腳本頁 JRqryeJ5-Liquidity-Sweeps-LuxAlgo 及 pine-facade 160 行 Pine Script v5 源碼(sha12 18be09f34ebf)。
べーた(@foodloss_otoko,專業トレーダー、EA×裁量,https://lin.ee/yx9eCqY)|時間:2026-11-19T17:00:19.000Zマジで全トレーダーに「Liquidity Sweeps」を使ってほしい。
「これブレイクじゃなくてダマシやん」って場所が一瞬で分かる。
俺もずっと使ってるけど、これだけで月+100万ならガチで初心者でもいけそう。
具体的な使い方なんだけど、、、
TradingViewのインジケーターから「Liquidity Sweeps [LuxAlgo]」を表示する。これだけで、高値・安値の流動性を取りに行った場所が自動で見える。(圖1:深色 10/5-10/7 K線圖,左上標 Liquidity Sweeps [LuxAlgo],標註4處 × Sweep 流動性掃蕩與垂直影線區)ロングの場合は、直近安値をヒゲで一度下抜けて、実体が安値の上に戻って確定したらエントリー。ヒゲで抜けただけでは入らない。(圖2:兩前低支撐線被下影線刺穿後收復收陽進場 ✓,止損紅 × 置於掃蕩針低點外)損切りは、スイープした直近安値の外に置く。ショートはこの逆で、直近高値をヒゲで上抜けて、実体が高値の下に戻って確定したら入る。(圖3:左側下影掃蕩做多與右側兩前高上影掃蕩 × 收復做空對照)5年間バックテストして作った、ナンピンなし・安定重視のEAを無料配布します。プロフのリンク ↓ LINE登録 これだけで受け取れます。ta.pivothigh(len, len) / ta.pivotlow(len, len))。len=5(Swings 左右確認棒數)、opt='Only Wicks'(另有 Only Outbreaks & Retest / Wicks + Outbreaks & Retest)、extend=true、maxB=300。ph = ta.pivothigh(len, len)、pl = ta.pivotlow(len, len)(延遲 len 根確認,bix = n - len)存入 aPivH / aPivL。close > prc,Only Wicks 模式直接設 mit=true 退休;否則設 brk=true。Wick Sweep(not oO and not wic):high > prc and close < prc 畫看空方框 [high, prc]、點線水平線及 low 的 3-bar 短點線,設 wic=true。若已 brk 且 not oW,low < prc and close > prc 觸發看多 Retest(虛線,tak=true);close < prc 設 mit=true。low < prc and close > prc 畫看多方框 [prc, low]、點線水平線及 high 的 3-bar 短點線。n - bix > 2000 or mit or tak 刪除樞紐;未觸發看多 close < box_bottom 或看空 close > box_top 前,方框隨 bar_index 延長最多 maxB 根。注意原碼無 barstate.isconfirmed,故盤中會先閃現;作者規則②要求「收盤實體回到區間內確定」才進場。證實為誤讀(應為 TradingView,非 TeamViewer):原串回覆①明確指定 TradingView 指標庫「Liquidity Sweeps [LuxAlgo]」,全文無提 TeamViewer。TradingView 公開腳本頁(JRqryeJ5 / PUB;26391b932d3145879b67deca62305c9a,CC BY-NC-SA 4.0)可免登入直接讀取完整 160 行 Pine Script v5 源碼。至於作者回覆④推廣的免費 EA 需加 LINE(lin.ee/yx9eCqY)領取,該 EA 源碼與回測未公開、本席未驗證。
18be09f34ebf)// This work is licensed under a Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) https://creativecommons.org/licenses/by-nc-sa/4.0/
// © LuxAlgo
//@version=5
indicator( 'Liquidity Sweeps [LuxAlgo]'
, 'LuxAlgo - Liquidity Sweeps'
, max_lines_count=500
, max_boxes_count=500
, overlay=true
)
//------------------------------------------------------------------------------
//Settings
//-----------------------------------------------------------------------------{
len = input.int(5, 'Swings', minval=1, group='Liquidity Sweeps')
opt = input.string('Only Wicks', 'options'
, options=['Only Wicks', 'Only Outbreaks & Retest', 'Wicks + Outbreaks & Retest'], group='Liquidity Sweeps')
colBl = input.color(#089981, 'Bull ', group='Liquidity Sweeps', inline='c1')
colBr = input.color(#f23645, 'Bear' , group='Liquidity Sweeps', inline='c2')
colBl2 = input.color(#08998180, '' , group='Liquidity Sweeps', inline='c1')
colBr2 = input.color(#f2364580, '' , group='Liquidity Sweeps', inline='c2')
extend = input.bool(true, 'Extend', group='Sweep Area')
maxB = input.int(300, 'Max bars', minval=1, maxval=5000, group='Sweep Area')
colBl3 = input.color(#08998141, 'Bull ', group='Sweep Area')
colBr3 = input.color(#f2364541, 'Bear' , group='Sweep Area')
oW = opt == 'Only Wicks'
oO = opt == 'Only Outbreaks & Retest'
WO = opt == 'Wicks + Outbreaks & Retest'
n = bar_index
//-----------------------------------------------------------------------------}
//UDT's
//-----------------------------------------------------------------------------{
type piv
float prc // price
int bix // bar_index
bool brk // broken
bool mit // mitigated
bool tak // taken
bool wic // wick
line lin
type boxBr
box bx
line ln
bool br
int dr
//-----------------------------------------------------------------------------}
//Variables
//-----------------------------------------------------------------------------{
var array< piv >aPivH = array.new< piv >(1, piv.new ())
var array< piv >aPivL = array.new< piv >(1, piv.new ())
var array<boxBr>aBoxBr = array.new<boxBr>(1, boxBr.new())
//-----------------------------------------------------------------------------}
//Methods - functions
//-----------------------------------------------------------------------------{
method n(float piv) => bool out = not na(piv)
method p(piv piv, float val) => float out = (100 / piv.prc * val) - 100
method l(piv get, color c, string s='sd') =>
style = switch s
'dt' => line.style_dotted
'ds' => line.style_dashed
=> line.style_solid
line.new(get.bix, get.prc, n, get.prc, color=c, style = style)
method br(piv get, color c3, color c, int d) =>
y1 = d == 1 ? high : get.prc
y2 = d == 1 ? get.prc : low
boxBr.new(
box.new(n -1, y1, n +1, y2
, border_color
= color.new(
na, na )
, bgcolor=c3)
, line.new(n , y1, n, y2, color=c, width=3)
, false
, d)
lnDot(y, c) => line.new(n, y, n+3, y, color=c, style=line.style_dotted)
//-----------------------------------------------------------------------------}
//Execution
//-----------------------------------------------------------------------------{
ph = ta.pivothigh(len, len)
pl = ta.pivotlow (len, len)
if ph.n()
aPivH.unshift(piv.new(ph, n -len, false, false, false, false))
if pl.n()
aPivL.unshift(piv.new(pl, n -len, false, false, false, false))
for i = aPivH.size() -1 to 0
get = aPivH.get(i)
if not get.mit
if not get.brk
if close > get.prc
if not oW
get.brk := true
else
get.mit := true
if not oO and not get.wic
if high > get.prc and close < get.prc
aBoxBr.unshift(get.br(colBr3, colBr, 1))
get.l(colBr2, 'dt'), lnDot(low, colBr)
get.wic := true
else
if close < get.prc
get.mit := true
if not oW and low < get.prc and close > get.prc
aBoxBr.unshift(get.br(colBl3, colBl, -1))
get.l(colBl2, 'ds'), lnDot(high, colBl)
get.tak := true
if n - get.bix > 2000 or get.mit or get.tak
aPivH.remove(i).lin.delete()
for i = aPivL.size() -1 to 0
get = aPivL.get(i)
if not get.mit
if not get.brk
if close < get.prc
if not oW
get.brk := true
else
get.mit := true
if not oO and not get.wic
if low < get.prc and close > get.prc
aBoxBr.unshift(get.br(colBl3, colBl, -1))
get.l(colBl2, 'dt'), lnDot(high, colBl)
get.wic := true
else
if close > get.prc
get.mit := true
if not oW and high > get.prc and close < get.prc
aBoxBr.unshift(get.br(colBr3, colBr, 1))
get.l(colBr2, 'ds'), lnDot(low, colBr)
get.tak := true
if n - get.bix > 2000 or get.mit or get.tak
aPivL.remove(i).lin.delete()
if extend
for bx in aBoxBr
if not bx.br and n - bx.bx.get_left() -1 <= maxB
bx.bx.set_right(bar_index)
if bx.dr == -1 and close < bx.bx.get_bottom()
bx.br := true
if bx.dr == 1 and close > bx.bx.get_top ()
bx.br := true
//-----------------------------------------------------------------------------}