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.
Skrip dilindungi
Skrip ini diterbitkan secara sumber tertutup dan anda boleh menggunakannya dengan bebas. Anda boleh menyukainya untuk menggunakannya pada carta. Anda tidak dapat melihat atau mengubah kod sumbernya.
Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?