41
I looked for this indicator in the public library and didn't find it so I thought I would offer it to anyone who felt like they would like to try it out. Frankly, the name caught my attention in one of my favorite books on volume "The Traders Book of Volume" by Mark Leibovit
"Created by Richard Arms Jr. and explained in an article he penned for Barrons's in 1998, it combines the daily spread of a stock or index and divides the daily volume by that number to see how many shares it needs to trade in order to move the issue through one point of its daily spread. This is usually considered a broad market indicator, but is useful for individual issues as well. On a historical basis more volume is required in order to generate a wider price swing at tops, while the opposite is true at bottoms. This is explained by the emotions of greed and fear. At tops there is complacency which requires ever greater volume to get prices to swing in wider ranges, while at bottoms fear can cause greater swings on relatively lower volume."
--The Traders Book of Volume, by Mark Leibovit

This indicator is useful at identifying divergences and trend confirmation. It is also effective in shorter time-frames as well as much longer time frames. The original formula does not use any smoothing, but I have included it as I feel it dulls some of the shorter term sharp turns inherent in this indicator. There is also no adjustment to the length of Richard Arms' original, so I include it in case you feel you need to 'play' with the settings. I hope you all find it useful. Good trading all,
Shiroki
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?
//@version=2
// "Created by Richard Arms Jr. and explained in an article he penned for Barrons's in 1998, it combines the daily spread of a stock or index and 
// divides the daily volume by that number to see how many shares it needs to trade in order to move the issue through one point of its daily spread.
// This is usually considered a broad market indicator, but is useful for individual issues as well.  On a historical basis more volume is required in 
// order to generate a wider price swing at tops, while the opposite is true at bottoms.  This is explained by the emotions of greed and fear.  At tops
// there is complacency which requires ever greater volume to get prices to swing in wider ranges, while at bottoms fear can cause greater swings on 
// relatively lower volume."  
//     --The Traders Book of Volume, by Mark Leibovit
// This indicator is useful at identifying divergences and trend confirmation.  It is also effective in shorter time-frames as well as much longer time frames.
// The original formula does not use any smoothing, but I have included it as I feel it dulls some of the shorter term sharp turns inherent in this indicator.
// There is also no adjustment to the length of Richard Arms' original, so I include it in case you feel you need to 'play' with the settings.
study("YOYO index", shorttitle="YOYO", precision=0, overlay=false)
sm    = input(false,title="Smooth?")
ln    = input(10, title="Length",defval=10, minval=5)
yoyo  = sum((volume/1000)/((high-low)/high),ln)/ln
yo_ma = sm?ema(yoyo,3):yoyo
plot(yo_ma,color=teal, transp=0, linewidth=2, title="YOYO Index")