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

[amibroker] Re: Hook Pattern


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

PureBytes Links

Trading Reference Links

Hi NW Trader, thanks for taking a look.

Yes the code came from the  Telechart PCF site and I don't know the
language . Hopefully it can be simplified via  initialising.  The
pattern would be infrequent to meet all the criteria.


--- In amibroker@xxxxxxxxxxxxxxx, "NW Trader" <ta4charts@xxx> wrote:
>
> Hi jolly,
>
> So what language was the original code written in?
>
> Hard to do any translation when one doesn't know what to convert from.
AVG has a particular definition in AFL (check the help file).  Telechart
PCF's use a convention like AVGH3.5 to mean  the a 3 day average of the
high 5 days ago.  In AFL that would be REF(MA(H,3),-5) .

>
> Peace and Justice   ---   Patrick
>   ----- Original Message -----
>   From: jollypolly999
>   To: amibroker@xxxxxxxxxxxxxxx
>   Sent: Thursday, March 04, 2010 4:59 AM
>   Subject: [amibroker] Hook Pattern
>
>
>
>
>   Hi,
>         I have attempted a conversion to AFL of this formula and am
stuck with what substitutes in AFL  for AVG (average) . It is not
'moving average' .  I'm not even sure if the MIN & MAX are right.  I am
new (still)   Please.
>
>   This
>                          ; ((L1 = MINL4) OR (L2 = MINL4) OR (L3 =
MINL4) ) AND
>   ( (MAXC3 < MAXC4.3)) AND( (H3 = MAXH15.4) OR (H4 = MAXH15.4) OR
>   (H5 = MAXH15.4) OR (H6 = MAXH15.4) OR (H7 = MAXH15.4) ) AND
>   (((MAXH4.3 - MINL4) / (MAXH4.3 - MINL21.3) > .23) AND
>   ((MAXH4.3 - MINL4) / (MAXH4.3 - MINL21.3) < .62) ) AND
>   ((AVGH3.5) > (AVGH3.8 ) AND (AVGH3.8 ) > (AVGH3.13) AND (AVGH3.13) >
(AVGH3.18 ))
>
>   to AFL





------------------------------------

**** 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/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/