OPEN-SOURCE SCRIPT

Buying and Selling Pressure Raw Multi (TG Fork)

已更新
Visualize raw buying and selling pressure via 3 different calculation methods, all superimposed with dynamic rescaling.
Buying and selling pressure is the concept of quantifying the disproportion between buying and selling. In practice, there is no single definitive way to calculate it.

This indicator is a merge to display three different methods to calculate buying and selling pressure, with automatic visual rescaling to superimpose the three simultaneously, updated to PineScript v5, and with some additional improvements for speed and calculation precisions, and instead of the EMA, other types of moving averages can be used.

I primarily made it for my own needs, but as always, I like sharing with the community, as maybe others may find this useful too.

How to use:
* As often, the goal is to get as many of the 3 signals concur together to get a stronger aggregated signal.
* First signal: If the green bars on the histogram are bigger than the red ones, then there is more buying pressure, and vice versa.
* Second signal: If the background is green, there is more buying pressure, and vice versa if the background is orange. The yellow and green lines define the background color, but they are by default hidden for a less cluttered visual experience.
* Third signal: If the cloud is blue, there is more buying pressure, and the bigger the cloud, the more momentum there is for it to stay (and more difficult it is to reverse to selling pressure). If the cloud is red, there is more selling pressure.

If you like this indicator, please don't give me any credit, instead please show some love to the original authors (in no particular order):

版本注释
* Tweak colors to improve visual contrast.
版本注释
* Hide second signal's lines by default to unclutter visual experience.
版本注释
* Add optional (but disabled by default) cloud for the daytraderph buy/sell pressure metric (so that the relative strength of the pressure can be quantified, contrary to background highlighting).
版本注释
* Add Alternative second signal: instead of background highlighting, there is a green/yellow cloud that uses the same buying-selling pressure calculation method as the background highlighting, but it allows to evaluate not only directional timing but also strength of pressure by the cloud's size, similarly to the third signal.

This alternative second signal is enabled by default, and although the visuals are more busy, it's meant to be "glanced over" more quickly and broadly, to get a bigger picture, which is I think more often more reliable than trying to infer from isolated bars buying-selling pressure metrics. The combination of clouds allows us to see very quickly the general current sentiment. If you liked the previous more uncluttered visuals, you can disable the "Cloud" option in the second group of parameters (daytraderph method).
buyingbuyingpressurebuysellpressureCandlestick AnalysismultiindicatorpressuresellingsellingpressureVolatilityVolume

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明