I've been thinking about trying out some technical indicators of market sentiment recently. Of course, this may not be limited to OHLC data, but requires more statistical data for analysis. However, I still wanted to try making a market sentiment indicator with OHLC. In this way, the difference between the two indicators can be compared later.
Function
This market sentiment indicator is functionally divided into two categories: the first is the sentiment line, which is a total of 3 lines. The first line is the yellow aggressive trader sentiment line, usually expressed as a 5-period moving average; the second line is the purple conservative trader interest line, which I used a slightly more complicated algorithm. The third line is the market sentiment line that takes the average of the first two. It is yellow when the market price is rising and purple when the price is falling.
The second type is the pressure line and the support line, a total of four, when they are support lines, the color is green; once they become resistance lines, the color will change from green to red, and show the current price of pressure or support.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.
Avoid losing contact!Don't miss out! The first and most important thing to do is to join my Discord chat now! Click here to start your adventure: discord.com/invite/ZTGpQJq 防止失联,请立即行动,加入本猫聊天群: discord.com/invite/ZTGpQJq
Also on:
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.