[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Hook Pattern


  • Date: Fri, 05 Mar 2010 10:27:05 -0000
  • From: "jollypolly999" <jollypolly999@xxxxxxxxx>
  • Subject: [amibroker] Re: Hook Pattern

PureBytes Links

Trading Reference Links




:)  Finally a break through. I had a few numbers in the wrong place. :)

O1 = Ref(O,-1);O2 = Ref(O,-2);O3 = Ref(O,-3);O4 = Ref(O,-4);
H1 = Ref(H,-1);H2 = Ref(H,-2);H3 = Ref(H,-3);H4 = Ref(H,-4);H5 = Ref(H,-5);H6 = Ref(H,-6);H7 = Ref(H,-7);
L1 = Ref(L,-1);L2 = Ref(L,-2);L3 = Ref(L,-3);L4 = Ref(L,-4);
C1 = Ref(C,-1);C2 = Ref(C,-2);C3 = Ref(C,-3);C4 = Ref(C,-4);

"J-Hook Pattern"        ; J1 = (L1 = Min(L,4) OR L2 = Min(L,4) OR L3 = Min(L,4)) &&
Max(C,3) < Ref(Max(C,4), -3) && (H3 = Ref(Max(H,15), -4) OR H4 = Ref(Max(H,15), -4) OR
H5 = Ref(Max(H,15), -4) OR H6 = Ref(Max(H,15), -4) OR H7 = Ref(Max(H,15), -4)) &&
(Ref(Max(H,4), -3) - Min(L,4) / Ref(Max(H,4), -3) - Ref(Min(L,21), -3) > 0.23) &&
(Ref(Max(H,4), -3) - Min(L,4) / Ref(Max(H,4), -3) - Ref(Min(L,21), -3) < 0.62) &&
Ref(MA(H, 3), -5) > Ref(MA(H, 3), -8) && Ref(MA(H, 3), -8) > Ref(MA(H, 3), -13) &&
Ref(MA(H, 3), -13) > Ref(MA(H, 3), -18);

Buy = J1;
Sell = 0;
Short = 0;
Cover = 0;

Filter = Buy;
AddColumn(Buy, "Buy");

Exploration hit.   Click on image to expand




__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___