Auto Analysis Hook Reversal.afl
上传用户:shiqiang
上传日期:2009-06-12
资源大小:1289k
文件大小:1k
源码类别:
金融证券系统
开发平台:
Others
- //------------------------------------------------------------------------------
- //
- // Formula Name: Auto Analysis Hook Reversal
- // Author/Uploader: Larry Lovrencic
- // E-mail: lvl@firstpacific.net
- // Date/Time Added: 2001-09-04 01:50:18
- // Origin:
- // Keywords: hoor reversal automatic analysis
- // Level: basic
- // Flags: exploration
- // Formula URL: http://www.amibroker.com/library/formula.php?id=108
- // Details URL: http://www.amibroker.com/library/detail.php?id=108
- //
- //------------------------------------------------------------------------------
- //
- // Find Hook Reversals using automatic analysis
- //
- //------------------------------------------------------------------------------
- /*Hook Reversals Automatic Analysis
- by Larry Lovrencic*/
- buy=O<(L+0.2*(H-L)) AND C>(H-0.2*(H-L)) AND H<ref(H,-1) AND L>ref(L,-1);
- sell=O>(L+0.8*(H-L)) AND C<(H-0.8*(H-L)) AND H<ref(H,-1) AND L>ref(L,-1);