The script picks up Bank nifty stocks with their current respective weights and plots a Volume Weighted Average Price ( VWAP ) line along with 2 EMAs of your choice and an alert when the EMAs cross over and also when price crosses VWAP .

You can customize the script for MA type and lengths and to remove alert. Basic utility of the script is to analyse volumes driving the Bank Nifty index.

Credits to @daytraderph and his script (Custom Volume ) who's code I used to build this script. Also thanks to my friend @Varun who helped me code it.
Release Notes: Update - 28 June 2020
1. Updated weights as per NSE website
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


sorry im newbie
how to get it working?
+20 Reply
Hi Ashish, Can we use this in lower time frame of 5 minutes. Thanks
+10 Reply
Great stuff mate 👍
+6 Reply
aceess is not there sir, kindly provide
+2 Reply
+2 Reply
aashish2137 Jannfaiz88
@Jannfaiz88, Thank you
shofar495 aashish2137
@aashish2137, sir how to get this BNF VWAP & MOVING AVERAGE. SIR KINDLY SEND THE DETAILS IN my email shofar495@gmail.com plz waiting for your favourable response