ceyhun

Buying Selling Volume

Buying Selling Volume

-Buy Volume
-Sell Volume
-Buy Volume Percent %
-Sell Volume Percent %
-Volume Index


-Buy Sell Volume-
BuyVolume>SellVolume=Blue barcolor
SellVolume>BuyVolume=Purple barcolor

-Volume Index-
VolumeIndex>length and close > open =Cyan barcolor
VolumeIndex>length and close < open =Gray barcolor
VolumeIndex<=length = Yellow barcolor


Remover dos scripts favoritos Adicionar aos scripts favoritos

Comentários

Thanks, was looking for something just like this. Also, is it possible to have a tally, say for 'n' periods, that would just add the buy volumes and sell volumes after each bar so as to get a more accurate number of whose in control?
+4 Resposta
ceyhun allwynxavier9
@allwynxavier9, Thanks.I don't know if this can do.
Resposta
Awesome script ! god bless you man !!!

and moreover , how to enable the option to show total volume ,buy sell volume and their percentage as letters in side bar(your first chart) ?actually its is easy to see the volume level.
+1 Resposta
ceyhun sankargnayagam
@sankargnayagam, thank you
total volume is visible
Resposta
How can I get the Buy Volume% & Sell volume % to show on the right side of the screen like it does on your screenshot?
Resposta
timeframe = input(title="Time", type=input.resolution, defval="15")
// showMA = input(true)

//close value
f_sec_hlc(_sec, _timeframe) => security(_sec, _timeframe, close)

//List of Securities
s1 = input(title="Symbol", type=input.symbol, defval="NSE:HDFCBANK")
s2 = input(title="Symbol", type=input.symbol, defval="NSE:ICICIBANK")
s3 = input(title="Symbol", type=input.symbol, defval="NSE:KOTAKBANK")
s4 = input(title="Symbol", type=input.symbol, defval="NSE:AXISBANK")
s5 = input(title="Symbol", type=input.symbol, defval="NSE:SBIN")
s6 = input(title="Symbol", type=input.symbol, defval="NSE:INDUSINDBK")
s7 = input(title="Symbol", type=input.symbol, defval="NSE:FEDERALBNK")
s8 = input(title="Symbol", type=input.symbol, defval="NSE:RBLBANK")
s9 = input(title="Symbol", type=input.symbol, defval="NSE:BANKBARODA")
s10 = input(title="Symbol", type=input.symbol, defval="NSE:BANDHANBNK")
s11 = input(title="Symbol", type=input.symbol, defval="NSE:IDFCFIRSTB")
s12 = input(title="Symbol", type=input.symbol, defval="NSE:PNB")

valO1=f_sec_hlc(s1, timeframe)
valO2=f_sec_hlc(s2, timeframe)
valO3=f_sec_hlc(s3, timeframe)
valO4=f_sec_hlc(s4, timeframe)
valO5=f_sec_hlc(s5, timeframe)
valO6=f_sec_hlc(s6, timeframe)
valO7=f_sec_hlc(s7, timeframe)
valO8=f_sec_hlc(s8, timeframe)
valO9=f_sec_hlc(s9, timeframe)
valO10=f_sec_hlc(s10, timeframe)
valO11=f_sec_hlc(s11, timeframe)
valO12=f_sec_hlc(s12, timeframe)

// valO41=f_sec_hlc(s41, timeframe)
// valO42=f_sec_hlc(s42, timeframe)
// valO43=f_sec_hlc(s43, timeframe)
// valO44=f_sec_hlc(s44, timeframe)
// valO45=f_sec_hlc(s45, timeframe)
// valO46=f_sec_hlc(s46, timeframe)
// valO47=f_sec_hlc(s47, timeframe)
// valO48=f_sec_hlc(s48, timeframe)
// valO49=f_sec_hlc(s49, timeframe)
// valO50=f_sec_hlc(s50, timeframe)

src1 = valO1
changepos1 = change(src1) >= 0 ? 1 : 0
changeneg1 = change(src1) <= 0 ? -1 : 0

src2 = valO2
changepos2 = change(src2) >= 0 ? 1 : 0
changeneg2 = change(src2) <= 0 ? -1 : 0

src3 = valO3
changepos3 = change(src3) >= 0 ? 1 : 0
changeneg3 = change(src3) <= 0 ? -1 : 0

src4 = valO4
changepos4 = change(src4) >= 0 ? 1 : 0
changeneg4 = change(src4) <= 0 ? -1 : 0

src5 = valO5
changepos5 = change(src5) >= 0 ? 1 : 0
changeneg5 = change(src5) <= 0 ? -1 : 0

src6 = valO6
changepos6 = change(src6) >= 0 ? 1 : 0
changeneg6 = change(src6) <= 0 ? -1 : 0

src7 = valO7
changepos7 = change(src7) >= 0 ? 1 : 0
changeneg7 = change(src7) <= 0 ? -1 : 0

src8 = valO8
changepos8 = change(src8) >= 0 ? 1 : 0
changeneg8 = change(src8) <= 0 ? -1 : 0

src9 = valO9
changepos9 = change(src9) >= 0 ? 1 : 0
changeneg9 = change(src9) <= 0 ? -1 : 0

src10 = valO10
changepos10 = change(src10) >= 0 ? 1 : 0
changeneg10 = change(src10) <= 0 ? -1 : 0

src11 = valO11
changepos11 = change(src11) >= 0 ? 1 : 0
changeneg11 = change(src11) <= 0 ? -1 : 0

src12 = valO12
changepos12 = change(src12) >= 0 ? 1 : 0
changeneg12 = change(src12) <= 0 ? -1 : 0

Positive = changepos1 + changepos2 + changepos3 + changepos4 + changepos5 + changepos6
Resposta
anubis_9990 anubis_9990
@anubis_9990, Can You Help me to make new one because im new for pinescript and no idea how to inject this code to buy or sell total volume of 8 to 10 securities or stocks
Resposta
kp03 anubis_9990
@anubis_9990, did you found anyway, I'm too looking for this
Resposta
Nice Work but not work in index

I have question if in this code can we inject stocks or securities as a volume it is possible?
Resposta
ceyhun anubis_9990
@anubis_9990, the volume indicator does not work on indices that do not work. vwap or vwma etc.
+1 Resposta
Início Rastreador de Fundamentos Rastreador Forex Rastreador de Criptomoedas Calendário Econômico Como Funciona Recursos gráficos Preços Indique um Amigo Regras da Casa Central de Ajuda Soluções para Sites & Corretoras Widgets Soluções em Gráficos Biblioteca de Gráficos Lightweight Blog & Notícias Twitter
Perfil Configurações de perfil Conta e Cobrança Amigos indicados Moedas Meus Tíquetes de Suporte Central de Ajuda Ideias Publicadas Seguidores Seguindo Mensagens Privadas Conversa Deslogar