Cari
Produk
Komunitas
Pasar
Berita
Broker
Lebih lanjut
ID
Mulai
Komunitas
/
Ide-Ide
/
PVSRA
Dollar New Zealand / Dollar AS
PVSRA
Oleh vitorjhovanny
Ikuti
Ikuti
20 Feb
0
Cheer
Cheer
20 Feb
//
version
=5
indicator("PVSRA", overlay=true)
// Definir variáveis
bullCandle = close > open
bearCandle = close < open
// Verificar se a vela é de alta ou de baixa
isBullish = close > open
isBearish = close < open
// Calcular volume relativo
bullVolume = volume * isBullish
bearVolume = volume * isBearish
// Plotar volumes
plot(bullVolume, color=color.green, style=plot.style_histogram, title="Bull Volume")
plot(bearVolume, color=color.red, style=plot.style_histogram, title="Bear Volume")
Beyond Technical Analysis
vitorjhovanny
Ikuti
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di
Persyaratan Penggunaan
.