OPEN-SOURCE SCRIPT
Bank Nifty VWAP + RSI Alert

//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")
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")
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。