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")