Liquidity Sweep + FVG + VWAP Strategy//@version=5
indicator("High Accuracy Buy Sell Signal", overlay=true)
// Inputs
fastEMA = ta.ema(close, 9)
slowEMA = ta.ema(close, 21)
rsi = ta.rsi(close, 14)
= ta.macd(close, 12, 26, 9)
// Conditions
trendUp = fastEMA > slowEMA
trendDown = fastEMA < slowEMA
buyCondition = trendUp and rsi > 50 and macdLine > signalLine
sellCondition = trendDown and rsi < 50 and macdLine < signalLine
// Plot EMA
plot(fastEMA, color=color.green)
plot(slowEMA, color=color.red)
// Signals
plotshape(buyCondition, title="BUY", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(sellCondition, title="SELL", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
// Alerts
alertcondition(buyCondition, title="Buy Alert", message="BUY SIGNAL")
alertcondition(sellCondition, title="Sell Alert", message="SELL SIGNAL")
Pine Script® indicator






















