TradingView
theehoganator
12 Tem 2022 16:55

Volume Spread for VSA Custom 

E-mini S&P 500 FuturesCME

Açıklama

Hey everyone, I have been using volume a lot more lately as price action can sometimes get manipulated but volume shows us the truth!
Anyways, I have enjoyed the Volume Spread for VSA indicator but wished I had the code to change a few settings. This volume indicator includes spread analysis with the ability to customize input values and I'm making it open source so you can do with it as you please.
I have made notes all throughout the code to give suggestions on a few changes or why I have written it in such a way. I have also tried to section everything off to make it easier to see where each piece of the code is used. Overall I think it is a good example of how to code cleanly and how to add useful notes when you are learning Pine for yourself :D

The indicator on the price chart is my Donchian Channel indicator, which you can also find on my profile. This is the one I use every day.

Sürüm Notları

- Changed format to volume, this changes the indicator values from i.e. 3518.00 to 3.518k
- Included a drop down list to change the moving average type
- Included an option to draw the bars as a histogram or as columns
- Updated a few plot lines to use the new options from the menus created above
- Changed a few color values to the way I like them. Feel free to use the whatever values you like.
Yorumlar
moneymagnetwarrior
I was just thinking about it would be nice to have custom ema for the indicator! it is great!
cocopufftrader
You rock!!! Thanks so much!
UnknownUnicorn36161431
This is an excellent add to the community! I was thinking about doing the same thing you did here and I'm glad I searched before trying. I've also been using the original VSA indicator a lot and I'm so very glad I can now adjust it and even use it in TV strategies! This is immense! Thank you again, good sir.
Limp_io
Hi,
Thank you very much for this code. I followed your steps for the alarm but it doesn't work. Any idea ?
Thanks
dednor
Thank you very much for posting this code; this goes a long way in helping me understand VSA techniques. :) Appreciate it!
dogekao
Hii thanks for share i want use ir for scalp 15 mins 🚀🚀✅👨🏻‍🎓
kevincalderonster
Im really enjoying the indicator. Im confused to how to use the alerts tho. How do I make it alert me when the high volume spikes happen?
theehoganator
@kevincalderonster, I sent you this in a message but I'll post here for anyone else that may have this question:

Go to your alerts section on the right of the screen then hit create alert.
1. Change condition to Volume(30, SMA...) and to the right of change the Baseline to Volume.
2. You can leave the second part to Crossing, but I'd set it to Crossing Up.
3. Change the third row Value to Volume (30, SMA...) and to the right of that you can select which moving average you want to be signaled for crossing. MA0 is the base EMA that you can change in the settings it comes default at 30. MA1 is the low one that makes bars purple if they are below it. MA2 is the high one that makes bars yellow when above it. MA3 is the highest one that makes bars red when above it.
From there you can select your normal stuff like how often you want to be alerted. I like mine at once per bar close, or once per bar if you want to know right away.
kevincalderonster
@theehoganator, Thank you. I must have missed the message. appreciate you
Allesmann
@theehoganator, ty very much for this beautifull indicator!:) the alerts are kinda unintuitive tho xD
Daha Fazla