TradingView
SharemarketRaja
2 sep 2020 10:43

NIFTY Adv/Dec Live Count 

Nifty 50 IndexNSE

Beskrivning

1) NIFTY Index Advance-Decline count
2) Each session, it reads the number of stock are +Ve or -Ve
3) Whichever the side +Ve or -Ve side moving stock is more than count will be plotted
4) at +/- 25 drawn a dotted line if Count is > = +/-25 Nifty is moving in a strong army

Eg:-

in the current session, 30 Stock is moving in +Ve direction & 10 are in -Ve direction
30 count will be plotted in the chart

Kommentarer
faulal96
not woring now in 2023
BoomBabish
Excellent Idea. Can you create similar script for BANKNIFTY and FINNIFTY pls?
BoomBabish
@BoomBabish, I see you have already created. Thanks :)
UnknownUnicorn4658161
Hi Raja,

THe indicator is very helpful. Thanks for creating and allowing us to use. Can i request you add Buy / Sell signal based on Volume? Thanks
SharemarketRaja
@Vijendhar, actually this is to know the depth of the market or to understand the majority direction of Nifty stocks we cant add buy or sell signals
King_Bhavesh_
//@version=5
indicator(title = "Advance Decline Line", shorttitle="ADL", format=format.price, precision=2)
adlCalc(difference) => ta.cum(difference > 0 ? math.sqrt(difference) : -math.sqrt(-difference))
adl = request.security("(USI:ADVN.NY - USI:DECL.NY) / (USI:UNCH.NY + 1)", timeframe.period, adlCalc(close))
plot(adl, "Advance Decline Line")

This is Advance Decline Line Indicator for US market, can you please suggest modification for INDIAN market ( CNX500 ) , it will be great help.
I tried using symbols like nse, cnx500, nifty in there, but it giving error. Please help
Thank You
SharemarketRaja
@King_Bhavesh_, code is already there above pls use it
susantarya.sg
It gives wrong count, today 22/06/22, 44 stocks in decline in nifty 50 but the result shows 35. So program may be modified with list of companies present now in nifty 50.
SharemarketRaja
@susantarya.sg, the Trading view will not allow adding more than 40 scripts so i added only top 40 according to its weightage, this indicator purpose which I designed to use at a lower time frame with other my index weightage indicators to see high weighted stocks moving direction so that it will add extra confirmation to my other setups near support, resistance gaps how overall market is moving
mermitesh23
hi would like to see this as advance and decline line , is it possible
Mer