TheLark

FREE INDICATOR: VOLUME MOMENTUM

For the momentum trader there are plenty of price momentum indicators, here's one that tracks the volume's momentum. Rising momentum in both price and volume is great for any momentum trader.
Add this to your chart, play with the settings, and maybe you'll notice something new!

Grab the source code here: pastebin.com/DUw3kyMK
Installation video by @ChrisMoody here : vimeopro.com/user146...iewcom-how-to-videos


          ·´¯`·.¸¸.·´¯`· Feel free to follow me to keep up with my latest scripts! ·´¯`·.¸¸.·´¯`·
·´¯`·.¸¸.·´¯`· PLEASE THUMB UP OR STAR IF YOU LIKE THIS INDICATOR! ·´¯`·.¸¸.·´¯`·
                                 I'd like as many people as possible to get it :)
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?
study(title ="TheLark Volume Momentum",overlay=false)

//•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•//   
//                                             //
//          VOLUME MOMENTUM BY THELARK         //
//                 ~ 2-18-14 ~                 //
//                                             //
//                     •/•                     //
//                                             //
//    https://www.tradingview.com/u/TheLark    //
//     (please do not remove this heading)     //
//                                             //
//•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•//

// 

//inputs
Length = input(14,minval=1)
atype = input(1,minval=1,maxval=3,title="1=sma, 2=ema, 3=wma")
mv = input(false, title="Multiply the volume?")
cc = input(false,title="Change color?")
//calc
avg = atype == 1 ? sma(volume,Length) : atype == 2 ? ema(volume,Length) : wma(volume,Length)
avgm = mv ? (avg - avg[Length]) * volume : (avg - avg[Length])
//plot
col = cc and avgm >= avgm[1] ? #0094FF : #FF006E
plot(avgm,style=histogram,linewidth=5,color=col)