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 :)
สคริปต์โอเพนซอร์ซ

ด้วยจิตวิญญาณของ TradingView อย่างแท้จริง ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้ผู้ค้าสามารถเข้าใจและตรวจสอบได้ ไชโยให้กับผู้เขียน! คุณสามารถใช้ได้ฟรี แต่การใช้รหัสนี้ซ้ำในสิ่งพิมพ์อยู่ภายใต้กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?
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)