dude
Pine Script Rookie
Pine Script Rookie
Posts: 1
Joined: March 16th, 2022

Simple question.... Data on NYSE breadth

I am new to pinescript, but I have coded for Amibroker and make charts in StockCharts. What I need is market depth data. In Stockcharts they have a ticker $NYHL, it is the number of new NYSE issues hitting 52 week highs minus those making 52 week lows. Is there such market depth data available on TradingView?

If you want to read specifically how the indicator works you can read up here: https://school.stockcharts.com/doku.php ... _new_highs

But I need the data in a symbol I can access to code from. I think the best symbol available is MADN, but is there any list of all the breadth indicators and how they are calculated?

Thank you.

processingclouds
Pine Script Master
Pine Script Master
Posts: 115
Joined: January 30th, 2022

Re: Simple question.... Data on NYSE breadth

Hey, what you can do is get the data on 40 stocks + 1 in an indicator.
You can pull their data and calculate the breadth. Only thing is you have to decide beforehand and choose which 40 symbols you would be looking at the net highs and net lows.

Return to “Pine Script Q&A”