OPEN-SOURCE SCRIPT

Crypto Precision Entry v1

70
//version=5
indicator("Crypto Precision Entry v1", overlay=true)

// === RSI ===
rsiLength = 14
rsi = ta.rsi(close, rsiLength)
rsiBuySignal = ta.crossover(rsi, 30)

// === MACD ===
fast = 12
slow = 26
signal = 9
macd = ta.ema(close, fast) - ta.ema(close, slow)
macdSignal = ta.ema(macd, signal)
macdBuySignal = ta.crossover(macd, macdSignal)

// === VWAP ===
vwapValue = ta.vwap(close)
priceAboveVwap = close > vwapValue

// === BUY CONDITION ===
buyCondition = rsiBuySignal and macdBuySignal and priceAboveVwap

// === PLOT ===
plot(vwapValue, color=color.yellow, title="VWAP")
plotshape(buyCondition, title="BUY", style=shape.labelup,
color=color.green, text="BUY", size=size.large)

// === ALERT ===
alertcondition(buyCondition, title="BUY ALERT",
message="Precision Entry Signal: RSI + MACD + VWAP Confirmed!")

Penafian

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.