OPEN-SOURCE SCRIPT

Volume Pressure

Aggiornato
This script modified from @the_akechi's VolumePressure

The sum of buying and selling volume is NOT always equal to the total volume using the original script because the 2 columns are overlaid, not stacked
Note di rilascio
add buying/selling ratio
Note di rilascio
Based on SpinTrades' feedback, added a scale accordingly to a Stack Overflow answer to fit the Candlestick Charts.
Note di rilascio
1) Add moving average of buying/selling volume. You'll need to go to the setting to enable it. You have an option to show both, or MA, or default volume only.
a) I wonder if there is any useful insight by showing the VMA, crossover, or something. Please share your thoughts.
2) Make the vol limit optional as its sole purpose is to scale the histogram to fit the main chart. This displays better the volume pressure on a separate pane.
3) Side note: if you want to display the volume pressure together with the candlesticks, you'll need to enable the scale from the settings. To put the indicator to the bottom, the best way I can think of is to set the chart's bottom margin to 0.
Note di rilascio
adjusted some default settings to look more like the build-in volume indicator, e.g., to fit the candlestick pane with any timeframes.
buyingpressuresellingpressureVolume

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Declinazione di responsabilità