OPEN-SOURCE SCRIPT

NIFTY Intraday Strategy - 50 Points

168
๐Ÿ“Š 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

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.