TradingView
Keanu_ritz
10 Th03 2022 07:21

Nifty / Banknifty Dashboard by RiTz 

BANKNIFTY INDEX FUTURESNSE

Mô tả

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!

Phát hành các Ghi chú

Update : used the new Pinescript feature for merging cells and showing tooltip for table cells.

Phát hành các Ghi chú

It's was not working because of some of the updates in TradingView pinescript, it said "If statement too long". fixed it!

Phát hành các Ghi chú

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 )

Phát hành các Ghi chú

change log :-
Added column to display Average True Range of 14 period [ ATR(14) ]

Phát hành các Ghi chú

minor update fixed tooltips.

Phát hành các Ghi chú

Changelog :- Fixed some minor issues related to text & cell transparency.

Phát hành các Ghi chú

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.

Phát hành các Ghi chú

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.
Bình luận
zero54
@Keanu_ritz
Nice job buddy. I really hated that RankDelta was closed source. So nice of you to clone it and open source it. I will evaluate this next few days and let you know. Nice Handle "Keanu_ritz" :)
Keanu_ritz
@zero54, Thanks for the appreciation & do let me know your evaluation. "Keanu_ritz" because Keanu Reeves is my favorite actor and ritz is short-form of my Name.
sreerajpv346
Good Work. Please add new options like FINNIFTY and MIDCAP NIFTY
CChimentobit
Suggestion : Add Average daily range (ADR), Volume
varijashivramshetty
sir thanks for such wondefull indicator . but its not displaying anything
Keanu_ritz
@varijashivramshetty, That is because symbol "HDFC" doesn't exit now after the merger , for now you can replace it with any other symbol from nifty50 from the settings , then you'll see the dashboard. I will have to change it in the code. Thanks for the appreciation.
Keanu_ritz
TradeWIthPassion2020
@Keanu_ritz, Thank you for quick fix
bhaskar1
// here is a problem in ta.sma()

smma(src, length) =>
smma = 0.0
smma := na(smma[1]) ? ta.sma(src, length) : (smma[1] * (length - 1) + src) / length
smma

jaw = smma(hl2, jawPeriod)
teeth = smma(hl2, teethPeriod)
lips = smma(hl2, lipsPeriod)
Thêm nữa