PROTECTED SOURCE SCRIPT

Liquidity Sweep Signals [cx.liquidityhunter]

26
En Construcción

// Breakout bajista: rompe soporte con fuerza
if array.size(lsSupLevels) > 0
for i = array.size(lsSupLevels) - 1 to 0
if array.size(lsSupLevels) > i and i >= 0
lvl = array.get(lsSupLevels, i)
ln = array.get(lsSupLines, i)
// SIMPLE: Vela bajista grande que cierra por debajo del nivel
isBigBearCandle = close < open and lsBody > lsAtr * 0.3
closesBelow = close < lvl and high > lvl
noBottomWick = lsLowerWick < lsBody * 0.3
breakoutConfirm = isBigBearCandle and closesBelow and noBottomWick
breakoutCooldown = sweepCooldown * 2
if breakoutConfirm and bar_index > lastBearSweepBar + breakoutCooldown
lastBearSweepBar := bar_index
entrySell = close
slSell = lvl + lsAtr * lsSLBuffer
riskSell = slSell - entrySell
tp1Sell = entrySell - riskSell * lsRR1
tp2Sell = entrySell - riskSell * lsRR2
if lsShowLabels
bkTxt = "📉 BREAKOUT SELL\nEntry: " + str.tostring(entrySell, "#.##") + "\nSL: " + str.tostring(slSell, "#.##") + "\nTP1: " + str.tostring(tp1Sell, "#.##") + "\nTP2: " + str.tostring(tp2Sell, "#.##")
label.new(bar_index, low - lsAtr * 0.3, bkTxt, style = label.style_label_up, textcolor = color.white, size = size.small, color = lsBreakoutColor)
if lsShowSLTP
line.new(bar_index, slSell, bar_index + 20, slSell, color = color.red, width = 1, style = line.style_dashed)
line.new(bar_index, tp1Sell, bar_index + 20, tp1Sell, color = color.green, width = 1, style = line.style_dashed)
line.new(bar_index, tp2Sell, bar_index + 20, tp2Sell, color = color.lime, width = 1, style = line.style_dotted)
line.set_color(ln, lsBreakoutColor)
line.set_width(ln, 3)

Pernyataan Penyangkalan

Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.