The Stochastic CCI.afl
上传用户:shiqiang
上传日期:2009-06-12
资源大小:1289k
文件大小:1k
源码类别:

金融证券系统

开发平台:

Others

  1. //------------------------------------------------------------------------------
  2. //
  3. //  Formula Name:    The Stochastic CCI
  4. //  Author/Uploader: Dimitris Tsokakis 
  5. //  E-mail:          tsokakis@oneway.gr
  6. //  Date/Time Added: 2002-08-11 04:09:59
  7. //  Origin:          
  8. //  Keywords:        
  9. //  Level:           basic
  10. //  Flags:           indicator
  11. //  Formula URL:     http://www.amibroker.com/library/formula.php?id=211
  12. //  Details URL:     http://www.amibroker.com/library/detail.php?id=211
  13. //
  14. //------------------------------------------------------------------------------
  15. //
  16. //  The Stochastic CCI was defined and presented at
  17. //
  18. //  http://groups.yahoo.com/group/amibroker/message/2394.
  19. //
  20. //  For more details you may take a look at
  21. //
  22. //  http://groups.yahoo.com/group/amibroker/message/21618
  23. //
  24. //  and an excellent work by Herman van den Bergen, available at
  25. //
  26. //  http://www.amibroker.com/support.html
  27. //
  28. //  namely the
  29. //
  30. //  http://www.amibroker.net/3rdparty/ABSysDevTutorv2.pdf
  31. //
  32. //------------------------------------------------------------------------------
  33. StochCCI=100*(CCI(14)-LLV(CCI(14),14))/(HHV(CCI(14),14)-LLV(CCI(14),14));
  34. Plot(StochCCI,"StochCCI",1,1);
  35. Plot(80,"",2,1);Plot(20,"",2,1);