TradingView
LazyBear
2015년 5월 8일 오후 10시 45분

High-Low Index [LazyBear] 

S&P 500SP

설명

-- Fixed ---
Source: pastebin.com/Z0uS17zD

Fixes an issue with "Combined" mode, using wrong symbols.

--- Original ---
The High-Low Index is a breadth indicator based on Record High Percent, which is based on new 52-week highs and new 52-week lows.

Readings below 50 indicate that there were more new lows than new highs. Readings above 50 indicate that there were more new highs than new lows. 0 indicates there were zero new highs (0% new highs). 100 indicates there was at least 1 new high and no new lows (100% new highs). 50 indicates that new highs and new lows were equal (50% new highs).

Readings consistently above 70 usually coincide with a strong uptrend. Readings consistently below 30 usually coincide with a strong downtrend.

More info:
stockcharts.com/school/doku.php?id=chart_school:technical_indicators:high-low_index

List of my public indicators: bit.ly/1LQaPK8
List of my app-store indicators: blog.tradingview.com/?p=970

Just noticed @Greeny has already published this -> tradingview.com/v/Byka5S5F/. Linking it here.
코멘트
tanmoygsh
How do I get NIFTY New high New low symbol? Could you please help me!
akashgarhwal
@tanmoygsh, there are no sources for nifty breadth in trading view try stockschart instead but cant code only use avalailble ones
LazyBear
Line #19 needs fixing. I updated and linked the new source above. This is needed only if you use "Combined" mode, else v1.0 (source shown above) is good enough.

andara11
@LazyBear, HLIDX invalid
this HLIDX does't exist , please pick another one .
???
AnasJamal
Hey is there any way that I can use this script for a different market say Nifty and Sensex in India. If so then could help in making the modifications to the script if possible?
colicoid
@AnasJamal, I too would like this. I want the 52 week high/low index for the Swedish stock market (OMXSTO). If I understand the script correctly it uses a symbol (data feed) that contains the number of 52 week highs for a particular day. If such a symbol/index is not available for your market this script can't help you. We must first create data sets with "number of 52 week highs" and "number of 52 week lows". Then we could point this script to such symbols and it can calulate the percentage. @LazyBear Do I understand this correctly?
akashgarhwal
@colicoid, get an source for market breadth then make one in python
Francis889
Hi, thanks for the indicator. To clarify, is the calculation: New highs/(new highs + new lows)?
andara11
hi sir

symbol HLIDX invalid symbol
this symbol does't exist , please pick another one .
???
더보기