OPEN-SOURCE SCRIPT

Nifty / Banknifty Dashboard by RiTz

已更新
Nifty / Banknifty Dashboard :
Shows Values of different Indicators on current Timeframe for the selected Index & it's main constituents according to weightage in index.
customized for Nifty & Banknifty (You can customize it according to your needs for the markets/indexes you trade in)

Interpretation :-

VWAP : if LTP is trading above VWAP then Bullish else if LTP is trading below VWAP then Bearish.

ST(21,1) : if LTP is trading above Supertrend (21,1) then Bullish , else if LTP is trading below Supertrend (21,1) then Bearish.

ST(14,2) : if LTP is trading above Supertrend (14,2) then Bullish , else if LTP is trading below Supertrend (14,2) then Bearish.

ST(10,3) : if LTP is trading above Supertrend (10,3) then Bullish , else if LTP is trading below Supertrend (10,3) then Bearish.

RSI(14) : Shows value of RSI (14) for the current timeframe.

ADX : if ADX is > 75 and DI+ > DI- then "Bullish ++".
if ADX is < 75 but >50 and DI+ > DI- then "Bullish +".
if ADX is < 50 but > 25 and DI+ > DI- then "Bullish".
if ADX is above 75 and DI- > DI+ then "Bearish ++".
if ADX is < 75 but > 50 and DI- > DI+ then "Bearish+".
if ADX is < 50 but > 25 and DI- > DI+ then "Bearish".
if ADX is < 25 then "Neutral".

MACD : if MACD line is above Signal Line then "Bullish", else if MACD line is below Signal Line then "Bearish".

PDH-PDL : "< PDH > PDL" means LTP is trading between Previous Days High(PDH) & Previous Days Low(PDL) which indicates Rangebound-ness.
"> PDH" means LTP is trading above Previous Days High(PDH) which indicates Bullish-ness.
"< PDL" means LTP is trading below Previous Days Low(PDL) which indicates Bearish-ness.

Alligator : If Lips > Teeth > Jaw then Bullish.
If Lips < Teeth < Jaw then Bearish.
If Lips > Teeth and Teeth < Jaw then Neutral/Sleeping.
If Lips < Teeth and Teeth > Jaw then Neutral/Sleeping.

Settings :
Style settings :-

Dashboard Location: Location of the dashboard on the chart
Dashboard Size: Size of the dashboard on the chart
Bullish Cell Color: Select the color of cell whose value is showing Bullish-ness.
Bearish Cell Color: Select the color of cell whose value is showing Bearish-ness.
Neutral Cell Color: Select the color of cell whose value is showing Rangebound-ness.
Cell Transparency: Select Transparency of cell.

Columns Settings :-
You can select which Indicators values should be displayed/hidden.

Rows Settings :-
You can select which Stocks/Symbols values should be displayed/hidden.

Symbol Settings :-
Here you can select the Index & Stocks/Symbols

Dashboard for Index : select Nifty/Banknifty
if you select Nifty then Nifty spot, Nifty current Futures and the stocks with most weightage in Nifty index will be displayed on the Dashboard/Table.

if you select Banknifty then Banknifty spot, Banknifty current Futures and the stocks with most weightage in Banknifty index will be displayed on the Dashboard/Table.

You can Customise it according to your needs, you can choose any Symbols you want to use.

Note :- This is inspired from "RankDelta" by AsitPati and "Nifty and Bank Nifty Dashboard v2" by cvsk123 (Both these scripts are closed source!)
I'm not a pro Developer/Coder , so if there are any mistakes or any suggestions for improvements in the code then do let me know!
發布通知
Update : used the new Pinescript feature for merging cells and showing tooltip for table cells.
發布通知
It's was not working because of some of the updates in TradingView pinescript, it said "If statement too long". fixed it!
發布通知
Disabled merge cell, as it was causing problems in displaying the table properly when indicators were turned off (caused gaps in column's , which didn't look good).

Added column to indicate whether the Price is Trading above 5 SMA High (Bullish), Below 5 SMA Low (Bearish) or in between 5 SMA High/Low (Neutral)
as far as I've observed,
when price is trading above 5 SMA High it is Bullish.
when price is trading below 5 SMA Low it is Bearish.
when price is trading between 5 SMA High-Low it is Neutral.
( If you don't like it, you can turn it off )
發布通知
change log :-
Added column to display Average True Range of 14 period [ ATR(14) ]
發布通知
minor update fixed tooltips.
發布通知
Changelog :- Fixed some minor issues related to text & cell transparency.
發布通知
Changelog :- Updated the 5SMA H-L logic , bullish if price is trading above 20sma & 5sma(high) & bearish if price is trading below 20sma & 5sma(low) and neutral otherwise.
發布通知
Fixed invalid symbol :- Dashboard was not being displayed as "HDFC" symbol was in the code and after merger the symbol is invalid now, so replaced it with current nifty50 list.
BANKNIFTYdashboardeducationalindexNIFTY

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明