OPEN-SOURCE SCRIPT

Bank Nifty VWAP + RSI Alert

35
//version=5
indicator("Bank Nifty VWAP + RSI Alert", overlay=true)

// VWAP
vwapValue = ta.vwap

// RSI
rsiValue = ta.rsi(close, 14)

// Conditions
longCondition = close > vwapValue and rsiValue > 60
shortCondition = close < vwapValue and rsiValue < 40

// Plot signals on chart
plotshape(longCondition, style=shape.labelup, color=color.green, text="CALL")
plotshape(shortCondition, style=shape.labeldown, color=color.red, text="PUT")

// Alert conditions
alertcondition(longCondition, title="CALL Alert", message="Bank Nifty crossed above VWAP + RSI > 60 - Consider Call")
alertcondition(shortCondition, title="PUT Alert", message="Bank Nifty crossed below VWAP + RSI < 40 - Consider Put")

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.