PureBytes Links
Trading Reference Links
|
Hi Tomasz,
Thank you very much. It is great to get toknow al
the various capabilities of AmiBroker.
Regards
Mohan
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Tomasz Janeczko
To: <A
href=""
title=amibroker@xxxxxxxxxxxxxxx>amibroker@xxxxxxxxxxxxxxx
Sent: Saturday, November 17, 2001 1:47
PM
Subject: Re: [amibroker] Follow Through
Code
Hello,
Consider using HighestSince, LowestSince,
HighestSinceBars and LowestSinceBars, ValueWhen functions.
point1 = GapUp() AND volume > 1.4 * ema(
volume, 50 );
point2 = Cross( Close, ValueWhen( point1, High )
); // generates a signal when close rises above high reached on
point1
or
point2 = High == HighestSince( point1,
High ); // generates a signal when today's high is the highest high since
point1
Best regards,Tomasz Janeczko===============AmiBroker - the
comprehensive share manager.<A
href="">http://www.amibroker.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Mohan Yellayi
To: <A
href=""
title=amibroker@xxxxxxxxxxxxxxx>amibroker@xxxxxxxxxxxxxxx
Sent: Saturday, November 17, 2001
4:17 PM
Subject: [amibroker] Follow Through
Code
Can anyone ahre an example of how to code for a
follow through condition.What I am looking for is the
following.
1. A stock went up or down on some condition -
Gap up or down, Up(down) on good volume ( say twice above the 50 DMA of
Volume) some time ago.
2. Today the stock closed above (below) , from
when condition 1 happened.
I tried to modify Jon's code for a 10 day high,
But it is not exactly what I am loking for.
//backP = 260;
H20 = <FONT color=#0000ff face="Courier New"
size=2>HHV<FONT color=#000000 face="Courier New"
size=2>(H,<FONT color=#ff00ff face="Courier New"
size=2>10);
backP=3<FONT
color=#000000 face="Courier New" size=2>;
shortP = <FONT color=#ff00ff face="Courier New"
size=2>10<FONT color=#000000 face="Courier New"
size=2>;
//sumNewHigh = Sum( HHV(H,backP)==H20, shortP);<FONT
color=#000000 face="Courier New" size=2>
sumNewHigh = <FONT color=#0000ff face="Courier New"
size=2>Sum(
H==H20, shortP);
Graph0 = sumNewHigh;
/* Filter = sumNewHigh >=
2<FONT
color=#000000 face="Courier New" size=2>;*/
Thanks for
anyhelp.
regards
<FONT color=#000000 face="Courier New"
size=2>MohanYour use of Yahoo! Groups is
subject to the Yahoo! Terms of
Service. Your
use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
|