OPEN-SOURCE SCRIPT
NIFTY Intraday Strategy - 50 Points

📊 NIFTY Intraday Strategy – Description
This Pine Script defines an intraday trading strategy targeting +50 points per trade on NIFTY, using a blend of trend-following and momentum indicators. Here's a breakdown:
🔍 Core Components
1. Indicators Used
VWAP: Volume-Weighted Average Price – institutional anchor for fair value.
Supertrend: Trend direction indicator (parameters: 10, 3.0).
RSI (14): Measures strength/momentum.
ATR (14): Determines volatility for stop-loss calculation.
📈 Entry Conditions
✅ Buy Entry
Price is above VWAP
Supertrend direction is bullish
RSI is above 50
Time is between 9:15 AM and 3:15 PM (India time)
❌ Sell Entry
Price is below VWAP
Supertrend direction is bearish
RSI is below 50
Time is within same market hours
🎯 Exit Logic
Target: 50 points from entry
Stop Loss: 1 × ATR from entry
If neither is hit by 3:15 PM, the position is held (though you may add exit logic at that time).
📌 Visualization
VWAP: orange line
Supertrend: green (uptrend), red (downtrend)
Buy Signal: green triangle below bar
Sell Signal: red triangle above bar
This strategy is ideal for intraday scalping or directional momentum trading in NIFTY Futures or Options.
a. Add end-of-day exit at 3:15 PM to fully close all trades
b. Add a risk-reward ratio input to dynamically adjust target vs stop-loss
This Pine Script defines an intraday trading strategy targeting +50 points per trade on NIFTY, using a blend of trend-following and momentum indicators. Here's a breakdown:
🔍 Core Components
1. Indicators Used
VWAP: Volume-Weighted Average Price – institutional anchor for fair value.
Supertrend: Trend direction indicator (parameters: 10, 3.0).
RSI (14): Measures strength/momentum.
ATR (14): Determines volatility for stop-loss calculation.
📈 Entry Conditions
✅ Buy Entry
Price is above VWAP
Supertrend direction is bullish
RSI is above 50
Time is between 9:15 AM and 3:15 PM (India time)
❌ Sell Entry
Price is below VWAP
Supertrend direction is bearish
RSI is below 50
Time is within same market hours
🎯 Exit Logic
Target: 50 points from entry
Stop Loss: 1 × ATR from entry
If neither is hit by 3:15 PM, the position is held (though you may add exit logic at that time).
📌 Visualization
VWAP: orange line
Supertrend: green (uptrend), red (downtrend)
Buy Signal: green triangle below bar
Sell Signal: red triangle above bar
This strategy is ideal for intraday scalping or directional momentum trading in NIFTY Futures or Options.
a. Add end-of-day exit at 3:15 PM to fully close all trades
b. Add a risk-reward ratio input to dynamically adjust target vs stop-loss
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。