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")

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.