OPEN-SOURCE SCRIPT

Crypto Precision Entry v1

67
//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!")

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน