PureBytes Links
Trading Reference Links
|
Mark,
This will really help you get up to speed on AFL.
http://www.amitools.com/
Regards
Jim
--- In amibroker@xxxxxxxxxxxxxxx, "Mark Keitel" <mkeitel@xxxx> wrote:
> Wonder if someone can help me here
>
> Knowing nothing about writing an AFL I figured I would try my hand
at
> putting one together, and taking some information from ones that I
have
> seen.
>
>
>
> What I am trying to do
>
>
>
> Find a symbol that has an UP day that is greater than at least the
two
> previous days. So that up day totally wipes out the previous two
days
> minimum of two days. Then on the symbol needs to open at the close
or
> higher of the last day.
>
>
>
>
>
> I have something that runs but do not think this does what I am
looking for
> it to, can someone help me out here? Thank you
>
>
>
> // Kicker Bullish Signal
>
>
>
> Cond1 = Close > Open AND Low >= Ref(High, -1);
>
> Cond2 = Ref(Low, -1) >= Ref (High, -2);
>
> Cond3 = Ref(High, -2) < Ref(High, -3) AND Ref(High, -3) < Ref
(High, -4);
>
> Cond4 = Ref(Low, -2) < Ref(Low, -3) AND Ref(Low,-3) < Ref(Low, -4);
>
> Cond5 = Ref(Volume, -1) > Ref( Volume, -2);
>
> Cond6 = EMA (Close, 20) < EMA (Close, 50);
>
>
>
> // Buy signal for Kicker Bullish Signal
>
>
>
> Buy = Cond1 AND Cond2 AND Cond3 AND Cond4 AND Cond5 AND Cond6;
>
> Sell = Close < (0.5 * HHV (Close, 2));
>
>
>
>
>
>
>
>
>
> Mark
>
>
>
>
> <file:///C:\Documents%20and%20Settings\Owner\Application%
20Data\Microsoft\Si
> gnatures\www.aajonahfish.com\astronomyhaven.htm>
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> 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/
|