theehoganator

Volume Spread for VSA Custom

theehoganator Uppdaterad   
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.
Versionsinformation:
- 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.
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?