PureBytes Links
Trading Reference Links
|
Yes but note that scans in AA window can be run only every 1 minute, so in reality alert may be delayed upto 1 minute.
I am currently working on alerts connected to Real Time Quote window that will react quicker because
scans will be triggered by price action.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: Rick Parsons
To: amibroker@xxxxxxxxxxxxxxx
Sent: Wednesday, July 10, 2002 6:40 PM
Subject: RE: [amibroker] Re: Alert / Scan every XX minutes
Tomasz,
Please clarify one other point. Suppose I have the following alerts on 5minute RT charts:
AlertIf( Cross(rs, BuyLine), "", "RS Buy", 10, 1 + 2 + 4 + 8 );
AlertIf( Cross( SellLine, rs), "", "RS Sell", 10, 1 + 2 + 4 + 8 );
Do these alerts fire based on tick data? In other words, as soon as there is a cross caused by the lastest tick, the alert should fire, even if thechart is 5 minute bars. It will have nothing to do with the Settings, Delays or Settings, Open, Close, Average etc. Is this right?
Thanks,
Rick
-----Original Message-----
From: Tomasz Janeczko [mailto:amibroker@x...]
Sent: Wednesday, July 03, 2002 3:55 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Alert / Scan every XX minutes
Rick,
Yes this will give you only one signal BUT... only if at one time (one scan) only ONE type of alert is generated per symbol.
The problem is that in your formula cover = buy so when buy alert appears you receive also cover alert.
So you should use:
AlertIf( Buy, "", "Buy / Cover Stock", 1 , 1 + 2 + 4 + 8);
AlertIf( Sell, "", "Sell / Short Stock", 2, 1 + 2 + 4 + 8 );
to avoid repeated signals.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: Rick Parsons
To: amibroker@xxxxxxxxxxxxxxx
Cc: TJ
Sent: Wednesday, July 03, 2002 5:35 PM
Subject: Alert / Scan every XX minutes
Tomasz,
Re: RT Alerts and Scan
Situation:
I have an indicator that triggers my Buy/Sell/Short/Cover signals.
Buy = Cross(rs, BuyLine);
Sell = Cross( SellLine, rs);
Short = Sell;
Cover = Buy;
I am using 15 minute bars. Delay = 0, Buy on Open, Sell on Open.
I set SCAN every 1 minutes.
Set #1:
AlertIf( Buy, "", "Buy Stock", 1 , 1 + 2 + 4 + 8);
AlertIf( Sell, "", "Sell Stock", 2, 1 + 2 + 4 + 8 );
AlertIf( Short, "", "Short Stock", 3, 1 + 2 + 4 + 8 );
AlertIf( Cover, "", "Cover Stock", 4, 1 + 2 + 4 + 8 );
Set #2:
AlertIf( Cross(rs, BuyLine), "", "RS Buy", 10, 1 + 2 + 4 + 8 );
AlertIf( Cross( SellLine, rs), "", "RS Sell", 10, 1 + 2 + 4 + 8 );
AlertIf( Cross( SellLine, rs), "", "RS Short", 10, 1 + 2 + 4 + 8 );
AlertIf( Cross(rs, BuyLine), "", "RS Cover", 10, 1 + 2 + 4 + 8 );
Questions:
1.. Re: Set #1 should only give an alert on the Open of a 15 minute bar, per my Settings, correct?
2.. Re: Set #2 this should give an alert based on tick data. Whenever there is a cross, there should be an alert regardless of bar status. Correct?
3.. Despite using 1 + 2 + 4 + 8 or blank (default) in the fifth parameter, I am still getting repeated alerts for same time and signal. Why?
As you can see in the screen shot below, IDPH is giving repeated alerts.
Thanks,
Rick
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
------=_NextPart_001_00A8_01C22846.D3AC4760
Content-Type: text/html;
charset="windows-1250"
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=windows-1250">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#fffcf0>
<DIV><FONT face="Arial CE" size=2>Rick,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Yes but note that scans in AA window can be run only every 1
minute, so in reality alert may be delayed upto 1 minute.</FONT></DIV>
<DIV><FONT size=2>I am currently working on alerts connected to Real TimeQuote
window that will react quicker because</FONT></DIV>
<DIV><FONT size=2>scans will be triggered by price action.</FONT></DIV>
<DIV><FONT face="Arial CE" size=2></FONT><BR>Best regards,<BR>Tomasz
Janeczko<BR>amibroker.com</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">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=RickParsons@xxxx
href="mailto:RickParsons@xxxx">Rick Parsons</A> </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, July 10, 2002 6:40
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [amibroker] Re: Alert/ Scan
every XX minutes</DIV>
<DIV><BR></DIV>
<DIV><SPAN class=420373516-10072002><FONT color=#000080
size=2>Tomasz,</FONT></SPAN></DIV>
<DIV><SPAN class=420373516-10072002><FONT color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=420373516-10072002><FONT color=#000080 size=2>Please clarify
one other point. Suppose I have the following alerts on 5 minute RT
charts:</FONT></SPAN></DIV>
<DIV><SPAN class=420373516-10072002><FONT color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=420373516-10072002><FONT color=#0000ff size=1> </FONT>
<DIV><FONT color=#000080 size=2>AlertIf( Cross(rs, BuyLine), "", "RS Buy", 10,
1 + 2 + 4 + 8 );</FONT><FONT size=1></DIV></FONT><FONT size=1>
<DIV><FONT color=#000080 size=2>AlertIf</FONT></FONT><FONT color=#000080
size=2>( Cross( SellLine, rs), "", "RS Sell", 10, 1 + 2 + 4 + 8
);</FONT></DIV>
<DIV><FONT color=#000080 size=2></FONT> </DIV>
<DIV><FONT size=1><SPAN class=420373516-10072002><FONT color=#000080 size=2>Do
these alerts fire based on tick data? In other words, as soon as there
is a cross caused by the lastest tick, the alert should fire, even if the
chart is 5 minute bars. It will have nothing to do with the Settings,
Delays or Settings, Open, Close, Average etc. Is this
right?</FONT></SPAN></FONT></DIV>
<DIV><FONT size=1><SPAN class=420373516-10072002><FONT color=#000080
size=2></FONT></SPAN></FONT> </DIV>
<DIV><FONT size=1><SPAN class=420373516-10072002><FONT color=#000080
size=2>Thanks,</FONT></SPAN></DIV></FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><STRONG><FONT face="Vladimir Script" color=#000080
size=5>Rick</FONT></STRONG></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Tomasz Janeczko
[mailto:amibroker@x...]<BR><B>Sent:</B> Wednesday, July 03, 2002 3:55
PM<BR><B>To:</B> amibroker@xxxxxxxxxxxxxxx<BR><B>Subject:</B> [amibroker]
Re: Alert / Scan every XX minutes<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Rick,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Yes this will give you only one signalBUT...
only if at one time (one scan) only ONE type of alert is generated per
symbol.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The problem is that in your formula cover = buy
so when buy alert appears you receive also cover alert.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>So you should use:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV><FONT color=#000080 size=2>AlertIf( <B>Buy</B>, "", "Buy / Cover
Stock", 1 , 1 + 2 + 4 + 8);</FONT></DIV><FONT size=1>
<DIV><FONT color=#000080 size=2>AlertIf</FONT></FONT><FONT color=#000080
size=2>( <B>Sell</B>, "", "Sell / Short Stock", 2, 1 + 2 + 4 + 8
);</FONT></DIV><FONT color=#000080 size=2></FONT><FONT color=#000080
size=2></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT color=#000080 size=2>to avoid repeated signals.</FONT>
<DIV><BR>Best regards,<BR>Tomasz Janeczko<BR>amibroker.com</DIV></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=RickParsons@xxxx
href="mailto:RickParsons@xxxx">Rick Parsons</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=amibroker@xxxxxxxxxxxxxxx
href="mailto:amibroker@xxxxxxxxxxxxxxx">amibroker@xxxxxxxxxxxxxxx</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=TJ@xxxxx
href="mailto:TJ@xxxx">TJ</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, July 03, 20025:35
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Alert / Scan every XX
minutes</DIV>
<DIV><BR></DIV>
<DIV><FONT color=#000080 size=2><SPAN
class=750223513-03072002>Tomasz,</SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2><SPAN
class=750223513-03072002></SPAN></FONT> </DIV>
<DIV><FONT color=#000080 size=2><SPAN class=750223513-03072002>Re:
RT Alerts and Scan</SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2><SPAN
class=750223513-03072002></SPAN></FONT> </DIV>
<DIV><FONT color=#000080 size=2><SPAN
class=750223513-03072002>Situation:</SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2><SPAN
class=750223513-03072002></SPAN></FONT> </DIV>
<DIV><FONT color=#000080 size=2><SPAN class=750223513-03072002>I have an
indicator that triggers my Buy/Sell/Short/Cover
signals.</SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2><SPAN class=750223513-03072002><FONT
size=1><FONT size=2></FONT></FONT></SPAN></FONT> </DIV>
<DIV><FONT color=#000080 size=2><SPAN class=750223513-03072002><FONT
size=1><FONT size=2>Buy = </FONT></FONT><FONT
color=#0000ff>Cross</FONT>(rs, BuyLine);</DIV>
<DIV>Sell = <FONT color=#0000ff>Cross</FONT><FONT size=1><FONT size=2>(
SellLine, rs);</FONT></FONT></DIV>
<DIV><FONT size=1><FONT size=2>Short = Sell;</FONT></FONT></DIV>
<DIV><FONT size=1><FONT size=2>Cover = Buy;</FONT></DIV>
<DIV><FONT size=2></FONT></FONT></SPAN></FONT><FONT color=#000080
size=2><SPAN class=750223513-03072002></SPAN></FONT> </DIV>
<DIV><FONT color=#000080 size=2><SPAN class=750223513-03072002>I am using
15 minute bars. Delay = 0, Buy on Open, Sell on
Open.</SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2><SPAN
class=750223513-03072002></SPAN></FONT> </DIV>
<DIV><FONT color=#000080 size=2><SPAN class=750223513-03072002>I
set SCAN every 1 minutes.</SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2><SPAN
class=750223513-03072002></SPAN></FONT> </DIV>
<DIV><FONT color=#000080 size=2><SPAN class=750223513-03072002><FONT
color=#0000ff size=1><FONT color=#000080 size=2>Set #1:</FONT></DIV>
<DIV><FONT color=#000080 size=2>AlertIf</FONT></FONT>( <B>Buy</B>, "",
"Buy Stock", 1 , 1 + 2 + 4 + 8<FONT size=1><FONT
size=2>);</FONT></DIV></FONT><FONT color=#0000ff size=1>
<DIV><FONT color=#000080 size=2>AlertIf</FONT></FONT>( <B>Sell</B>, "",
"Sell Stock", 2, 1 + 2 + 4 + 8<FONT size=1><FONT size=2>
);</FONT></DIV></FONT><FONT color=#0000ff size=1>
<DIV><FONT color=#000080 size=2>AlertIf</FONT></FONT>( <B>Short</B>, "",
"Short Stock", 3, 1 + 2 + 4 + 8<FONT size=1><FONT size=2>
);</FONT></DIV></FONT><FONT color=#0000ff size=1>
<DIV><FONT color=#000080 size=2>AlertIf</FONT></FONT>( <B>Cover</B>, "",
"Cover Stock", 4, 1 + 2 + 4 + 8<FONT size=1><FONT size=2>
);</FONT></FONT></DIV>
<DIV><FONT size=1><FONT size=2></FONT></FONT> </DIV>
<DIV><FONT size=1><SPAN class=750223513-03072002><FONT size=2>Set
#2:</FONT></SPAN></DIV></FONT><FONT color=#0000ff size=1>
<DIV><FONT color=#000080 size=2>AlertIf</FONT></FONT>( Cross(rs, BuyLine),
"", "RS Buy", 10, 1 + 2 + 4 + 8<FONT size=1><FONT size=2>
);</FONT></DIV></FONT><FONT color=#0000ff size=1>
<DIV><FONT color=#000080 size=2>AlertIf</FONT></FONT>( Cross( SellLine,
rs), "", "RS Sell", 10, 1 + 2 + 4 + 8<FONT size=1><FONT size=2>
);</FONT></DIV></FONT><FONT color=#0000ff size=1>
<DIV><FONT color=#000080 size=2>AlertIf</FONT></FONT>( Cross( SellLine,
rs), "", "RS Short", 10, 1 + 2 + 4 + 8<FONT size=1><FONT size=2>
);</FONT></DIV></FONT><FONT color=#0000ff size=1>
<DIV><FONT color=#000080 size=2>AlertIf</FONT></FONT>( Cross(rs, BuyLine),
"", "RS Cover", 10, 1 + 2 + 4 + 8<FONT size=1><FONT size=2>
);</FONT></FONT></DIV>
<DIV> </DIV>
<DIV><SPAN class=750223513-03072002>Questions:</SPAN></DIV>
<OL>
<LI><FONT size=+0><SPAN class=750223513-03072002>Re: Set #1 should
only give an alert on the Open of a 15 minute bar, per my
Settings, correct?</SPAN></FONT>
<LI><FONT size=+0><SPAN class=750223513-03072002>Re: Set
#2 this should give an alert based on tick data. Whenever
there is a cross, there should be an alert regardless of bar
status. Correct?</SPAN></FONT>
<LI><FONT size=+0><SPAN class=750223513-03072002>Despite using 1 + 2 + 4
+ 8 or blank (default) in the fifth parameter, I am still getting
repeated alerts for same time and signal.
Why?</SPAN></FONT></LI></OL>
<DIV><FONT size=+0><SPAN class=750223513-03072002>As you can see in the
screen shot below, IDPH is giving repeated alerts.</SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN
class=750223513-03072002></SPAN></FONT> </DIV>
<DIV><FONT size=+0><SPAN
class=750223513-03072002>Thanks,</SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=750223513-03072002>Rick</SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=750223513-03072002> <IMG
alt="" hspace=0 src="cid:00a601c22836$101a4fa0$168e62d9@xxxxxxx"
align=baseline
border=0></SPAN></FONT></SPAN></FONT></DIV></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><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_00A8_01C22846.D3AC4760--
Attachment:
Description: ""
|