def_init_

VolHMA [sluggishmoney]

Currently published volume scripts typically plot volume as a positive value. This one is different.

---WHAT IS IT---
If the close is greater than the open, the volume is considered positive, and if the close is less than the open, the volume is made negative. I have taken the HMA (Hull Moving Average) of this positive or negative volume with a default length of 100, and have plotted it as a histogram that is green if positive, and red if negative. The signal line is an SMA of this volume HMA with a default length of 10. The purple background is a suggested holding period for a potential long position.

---HOW TO USE IT---
When the HMA100 crosses above 0, this is considered a buy signal. This means that the smoothed volume is starting to become bullish (but delayed due to length of moving averages). When the HMA100 crosses under the signal, this is considered a sell signal.

---WHICH MARKETS---
I wrote this script specifically for cryptocurrency markets. The indicator does best with continuous volume data that's typically found in crypto markets, although I can picture this working well in FOREX as well. A volatile and continuous market can provide volume data that best captures the magnitude and direction of a move.
Script protegido
Este script se publica con código cerrado, pero puede utilizarlo libremente. Márquelo como favorito y podrá usarlo en un gráfico. El código fuente no se puede ver ni modificar.
Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?