Thanks Marshall - We could try something this,
based on info I found at this site:
This would be for a bullish kicker - the definition
of a downtrend could be open to interpretation I guess.
DownTrend = ref( close, -1 ) < ref( close, -2 )
and ref( close, -2 ) < ref( close, -3 );
YestDown = ref( open, -1 ) > ref( close, -1
);
TodayUP = open >= ref( open, -1 ) and open <
close;
Buy = DownTrend and YestDown and TodayUp; //
kicker
----- Original Message -----
Sent: Tuesday, June 21, 2005 10:46
AM
Subject: Re: [amibroker] Kicker
code
|
Steve, "Kicker" is a candlestick formation, which suggests a
long trend is coming. It is a series of white candles, with the
second candle open at about the halfway point of the previous
white candle. The close is well above the close of the previous
candle. That is my definition of the kicker candle. It
may not be text book, but I have used it for many years.
marshall
-------Original
Message-------
Date: 06/21/05
09:26:33
Subject: Re:
[amibroker] Kicker code
Hi,
I don't know what a "kicker" is,
but your Buy statement references tomorrow's data - that can't
be right, can it? Maybe if you posted in English what the
formula should do...
Steve
----- Original Message
----- From: "jacquesmmathieu"
<jacquesmmathieu@xxxxxxxxx> To:
<amibroker@xxxxxxxxxxxxxxx> Sent: Tuesday, June 21, 2005
9:30 AM Subject: [amibroker] Kicker code
>I was
just reading the latest issue of Active Trader when I saw
the > article on candlesticks and how kickers were the most
powerful trading > symbols. Anyway I tried coding a buy
signal for a kicker and I got > horrible results. Can anyone
look at my code and tell me how I could > improve it, or
even if it is correct? > > Thanks, > >
Jacques > > Buy = Ref(Close, 1)*1.01 < Ref(Open, 1)
AND Open > Ref(Open, 1) AND > Open*1.01 <
Close; > Buy = ExRemSpan( Buy, 5 ); > Sell = Ref( Buy,
-5 ); > > I put in the coefficients after the first
attempt. I tried using > different percent moves, so the one
percent isn't fixed. > > > > >
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 > > > > > > > >
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
| |
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
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
|