PureBytes Links
Trading Reference Links
|
Thanks for your support, it's a very very nice function. I've modified the formula a little to find reentry and exit signals after drawing the trendlines.
Now we can give every lower trendline in every stock the ID "TL" and the higher Trendline "TH" and than it's very easy to find all entry or exit signals.
Let's take a look at my .gif from Ariba
Buy = L <= 1.01 * Study ("TL") ;
/*TL = lower Trendline*/
Sell = H >= 0.99 * Study ("TH") ;
/*TH = higher Trendline*/
Best regards
Thomas
Message -----
From: Tomasz Janeczko
To: amibroker@xxxxxxxxxxxxxxx
Sent: Wednesday, November 21, 2001 11:10 AM
Subject: Re: [amibroker] alerts
Hello,
You can implement it using single universal AFL formula:
buy = Cross( High, Study("AL") );
for "Scan" mode of Automatic Analysis. This will generate a "buy"
signal for all stocks that crossed above "AL" study.
Now for every stock of your interest you would need to draw
an alert study - horizontal trend line at the level of your choice.
In the properties dialog you would need to type "AL" in the Study ID field.
To find out more about this technique please read
"Tutorial: Using studies in AFL formulas"
section of the User's Guide.
Best regards,
Tomasz Janeczko
===============
AmiBroker - the comprehensive share manager.
http://www.amibroker.com
----- Original Message -----
From: Thomas Z.
To: amibroker@xxxxxxxxxxxxxxx
Sent: Wednesday, November 21, 2001 12:39 AM
Subject: [amibroker] alerts
Dear Tomasz and others,
Is there a easy way to set price alerts for each stock without implementing it into afl.
a nice way: select ticker: .....
select price alert .......
and than a window shows us the price alerts, if the price is going to the price alert level.
Hope, that anyone can help me
Thomas
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Yahoo! Groups Sponsor
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
------=_NextPart_001_0010_01C172D4.F18457A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#c0c0c0>
<DIV><FONT face=Arial size=2>Hello Tomasz and others,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for your support, it's a very very nice
function. I've modified the formula a little to find reentry and exit signals
after drawing the trendlines.</FONT></DIV>
<DIV><FONT face=Arial size=2>Now we can give every lower trendline in every
stock the ID "TL" and the higher Trendline "TH" and than it's very easy to find
all entry or exit signals.</FONT></DIV>
<DIV><FONT face=Arial size=2>Let's take a look at my .gif from
Ariba</FONT></DIV>
<DIV><B><FONT face="Courier New" size=1>Buy</B> = <B>L</B> <= </FONT><FONT
face="Courier New" color=#ff00ff size=1>1.01</FONT><FONT face="Courier New"
size=1> * </FONT><FONT face="Courier New" color=#0000ff size=1>Study</FONT><FONT
face="Courier New" size=1> (</FONT><FONT face="Courier New" color=#ff00ff
size=1>"TL"</FONT><FONT face="Courier New" size=1>) ;</FONT></DIV>
<DIV><FONT face="Courier New" color=#008000 size=1>/*TL = lower
Trendline*/</FONT></DIV>
<DIV><B><FONT face="Courier New" size=1>Sell</B> = <B>H</B> >= </FONT><FONT
face="Courier New" color=#ff00ff size=1>0.99</FONT><FONT face="Courier New"
size=1> * </FONT><FONT face="Courier New" color=#0000ff size=1>Study</FONT><FONT
face="Courier New" size=1> (</FONT><FONT face="Courier New" color=#ff00ff
size=1>"TH"</FONT><FONT face="Courier New" size=1>) ;</FONT></DIV>
<DIV><FONT face="Courier New" color=#008000 size=1>/*TH = higher
Trendline*/</FONT></DIV>
<DIV><FONT face="Courier New" color=#008000 size=1></FONT> </DIV>
<DIV><FONT face="Courier New" color=#008000 size=1><FONT face=Arial
color=#000000 size=2>Best regards</FONT></FONT></DIV>
<DIV><FONT face="Courier New" color=#008000 size=1><FONT face=Arial
color=#000000 size=2></FONT></FONT> </DIV>
<DIV><FONT face="Courier New" color=#008000 size=1><FONT face=Arial
color=#000000 size=2>Thomas</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial"></FONT>Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
Tomasz Janeczko
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=amibroker@xxxxxxxxxx
href="mailto:amibroker@xxxxxxxxxxxxxxx">amibroker@xxxxxxxxxxxxxxx</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, November 21, 200111:10
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [amibroker] alerts</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Tahoma size=2>Hello,</FONT></DIV>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<DIV><FONT face=Tahoma size=2>You can implement it using single universal AFL
formula:</FONT></DIV>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<DIV><FONT face=Tahoma size=2>buy = Cross( High, Study("AL") );</FONT></DIV>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<DIV><FONT face=Tahoma size=2>for "Scan" mode of Automatic Analysis. This will
generate a "buy"</FONT></DIV>
<DIV><FONT face=Tahoma size=2>signal for all stocks that crossed above "AL"
study.</FONT></DIV>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<DIV><FONT face=Tahoma size=2>Now for every stock of your interest you would
need to draw</FONT></DIV>
<DIV><FONT face=Tahoma size=2>an alert study - horizontal trend line at the
level of your choice.</FONT></DIV>
<DIV><FONT face=Tahoma size=2>In the properties dialog you would needto type
"AL" in the Study ID field.</FONT></DIV>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<DIV><FONT face=Tahoma size=2>To find out more about this technique please
read</FONT></DIV>
<DIV>"Tutorial: <STRONG>Using studies in AFL formulas"</STRONG></DIV>
<DIV>section of the User's Guide.</DIV>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<DIV>Best regards,<BR>Tomasz Janeczko<BR>===============<BR>AmiBroker - the
comprehensive share manager.<BR><A
href="http://www.amibroker.com">http://www.amibroker.com</A><BR></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial ce">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial ce; font-color: black"><B>From:</B>
Thomas Z.
</DIV>
<DIV style="FONT: 10pt arial ce"><B>To:</B> <A
title=amibroker@xxxxxxxxxxxxxxx
href="mailto:amibroker@xxxxxxxxxxxxxxx">amibroker@xxxxxxxxxxxxxxx</A></DIV>
<DIV style="FONT: 10pt arial ce"><B>Sent:</B> Wednesday, November 21,2001
12:39 AM</DIV>
<DIV style="FONT: 10pt arial ce"><B>Subject:</B> [amibroker] alerts</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Dear Tomasz and others,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Is there a easy way to set price alerts for
each stock without implementing it into afl.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>a nice way: select
ticker: .....</FONT></DIV>
<DIV><FONT face=Arial
size=2> select
price alert .......</FONT></DIV>
<DIV><FONT face=Arial size=2>and than a window shows us the price alerts, if
the price is going to the price alert level.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Hope, that anyone can help me</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thomas</FONT></DIV><BR><BR><TT>Your use of
Yahoo! Groups is subject to the <A
href="http://docs.yahoo.com/info/terms/">Yahoo! Terms of Service</A>.</TT>
<BR></BLOCKQUOTE><BR><BR><TT>Your
use of Yahoo! Groups is subject to the <A
href="http://docs.yahoo.com/info/terms/">Yahoo! Terms of Service</A>.</TT>
<BR></BLOCKQUOTE></BODY></HTML>
------=_NextPart_001_0010_01C172D4.F18457A0--
Attachment:
gif00263.gif
Attachment:
Description: "Description: GIF image"
|