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 é publicado como de código fechado e você pode usá-lo livremente. Você pode favoritá-lo para utilizá-lo em um gráfico. Você não pode visualizar ou modificar seu código fonte.
Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?