Auto Analysis Hook Reversal.afl
上传用户:shiqiang
上传日期:2009-06-12
资源大小:1289k
文件大小:1k
源码类别:

金融证券系统

开发平台:

Others

  1. //------------------------------------------------------------------------------
  2. //
  3. //  Formula Name:    Auto Analysis Hook Reversal
  4. //  Author/Uploader: Larry Lovrencic 
  5. //  E-mail:          lvl@firstpacific.net
  6. //  Date/Time Added: 2001-09-04 01:50:18
  7. //  Origin:          
  8. //  Keywords:        hoor reversal automatic analysis
  9. //  Level:           basic
  10. //  Flags:           exploration
  11. //  Formula URL:     http://www.amibroker.com/library/formula.php?id=108
  12. //  Details URL:     http://www.amibroker.com/library/detail.php?id=108
  13. //
  14. //------------------------------------------------------------------------------
  15. //
  16. //  Find Hook Reversals using automatic analysis
  17. //
  18. //------------------------------------------------------------------------------
  19. /*Hook Reversals Automatic Analysis
  20. by Larry Lovrencic*/
  21. buy=O<(L+0.2*(H-L)) AND C>(H-0.2*(H-L)) AND H<ref(H,-1) AND L>ref(L,-1);
  22. sell=O>(L+0.8*(H-L)) AND C<(H-0.8*(H-L)) AND H<ref(H,-1) AND L>ref(L,-1);