OPEN-SOURCE SCRIPT
nifty vwap 3

Monitors the "Big Players"
It tracks the 10 most important stocks (like HDFC Bank, Reliance, and ICICI Bank) because these stocks carry the most "weight" and usually decide where the Nifty index goes.
2. The VWAP Test (The Filter)
For each stock, the code checks:
Is the current price Above its average price (VWAP)?
Or is it Below its average price?
Why? If a stock is above VWAP, it is considered Strong (buyers are in control). If it is below, it is Weak (sellers are in control).
3. Calculates "Power" (Weightage)
Instead of just counting stocks, it calculates their combined percentage in the Nifty.
Example: If only 3 stocks are "Above VWAP" but they are the biggest ones (like HDFC and Reliance), the "Total Weight" might still be very high (e.g., 30%), suggesting the market has underlying strength despite fewer stocks being green.
4. Visual Table
It puts all this info into a neat Table on the top-right of your chart.
Teal Section: Shows stocks that are Strong/Bullish.
Red Section: Shows stocks that are Weak/Bearish.
Summary: It tells you exactly how many stocks are on each side and their total percentage impact.
It tracks the 10 most important stocks (like HDFC Bank, Reliance, and ICICI Bank) because these stocks carry the most "weight" and usually decide where the Nifty index goes.
2. The VWAP Test (The Filter)
For each stock, the code checks:
Is the current price Above its average price (VWAP)?
Or is it Below its average price?
Why? If a stock is above VWAP, it is considered Strong (buyers are in control). If it is below, it is Weak (sellers are in control).
3. Calculates "Power" (Weightage)
Instead of just counting stocks, it calculates their combined percentage in the Nifty.
Example: If only 3 stocks are "Above VWAP" but they are the biggest ones (like HDFC and Reliance), the "Total Weight" might still be very high (e.g., 30%), suggesting the market has underlying strength despite fewer stocks being green.
4. Visual Table
It puts all this info into a neat Table on the top-right of your chart.
Teal Section: Shows stocks that are Strong/Bullish.
Red Section: Shows stocks that are Weak/Bearish.
Summary: It tells you exactly how many stocks are on each side and their total percentage impact.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.