OPEN-SOURCE SCRIPT

Breakout Liquidity Strategy

43
//version=5
indicator("Breakout Liquidity Strategy", overlay=true)

// ===== Inputs =====
lenVol = input.int(20, "Volume MA")
lenMFI = input.int(14, "MFI Length")

// ===== Indicators =====
volMA = ta.sma(volume, lenVol)
mfi = ta.mfi(hlc3, lenMFI)
vwap = ta.vwap(close)

// ===== Conditions =====
liquidityIn = mfi > 50 and volume > volMA
priceBreak = close > ta.highest(high, 20)[1]
aboveVWAP = close > vwap

breakout = liquidityIn and priceBreak and aboveVWAP

// ===== Plot =====
plotshape(breakout, title="BREAKOUT", style=shape.labelup,
location=location.belowbar, color=color.new(color.green, 0), text="🚀")

plot(vwap, color=color.orange, linewidth=2, title="VWAP")

면책사항

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