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


즐겨찾기 스크립트에서 빼기 즐겨찾기 스크립트에 넣기

코멘트

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?
+5 응답
ceyhun allwynxavier9
@allwynxavier9, Thanks.I don't know if this can do.
응답
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?
+1 응답
ceyhun anubis_9990
@anubis_9990, the volume indicator does not work on indices that do not work. vwap or vwma etc.
+1 응답
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 응답
ceyhun sankargnayagam
@sankargnayagam, thank you
total volume is visible
응답
How can I get the Buy Volume% & Sell volume % to show on the right side of the screen like it does on your screenshot?
응답
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
응답
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
응답
kp03 anubis_9990
@anubis_9990, did you found anyway, I'm too looking for this
응답
홈으로 스탁 스크리너 포렉스 스크리너 크립토 스크리너 이코노믹 캘린더 사용안내 차트 특징 프라이싱 프렌드 리퍼하기 하우스룰(내부규정) 헬프 센터 웹사이트 & 브로커 솔루션 위젯 차팅 솔루션 라이트웨이트 차팅 라이브러리 블로그 & 뉴스 트위터
프로화일 프로화일설정 계정 및 빌링 리퍼드 프렌즈 코인 나의 서포트 티켓 헬프 센터 공개아이디어 팔로어 팔로잉 비밀메시지 채팅 로그아웃