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)

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.