Chaikin's Volatility.afl
上传用户:shiqiang
上传日期:2009-06-12
资源大小:1289k
文件大小:1k
源码类别:

金融证券系统

开发平台:

Others

  1. //------------------------------------------------------------------------------
  2. //
  3. //  Formula Name:    Chaikin's Volatility
  4. //  Author/Uploader: Tomasz Janeczko 
  5. //  E-mail:          tj@amibroker.com
  6. //  Date/Time Added: 2001-06-16 08:09:22
  7. //  Origin:          Originally developed by Marc Chaikin
  8. //  Keywords:        volatility
  9. //  Level:           basic
  10. //  Flags:           indicator
  11. //  Formula URL:     http://www.amibroker.com/library/formula.php?id=7
  12. //  Details URL:     http://www.amibroker.com/library/detail.php?id=7
  13. //
  14. //------------------------------------------------------------------------------
  15. //
  16. //  Chaikin's Volatility indicator compares the spread between a security's
  17. //  high and low prices. This is done by first calculating a moving average of
  18. //  the difference between the daily high and low prices and then calculating
  19. //  the rate of change of that moving average. For more information please
  20. //  check AmiBroker Tips newsletter <a
  21. //  href="http://www.amibroker.com/newsletter/03-2000.html">Issue 3/2000</a>
  22. //
  23. //------------------------------------------------------------------------------
  24. /*
  25. ** Chaikin's Volatility
  26. ** AFL Implementation by Tomasz Janeczko
  27. */
  28. graph0 = roc( ema( high-low, 10), 10);