[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Alert / Scan every XX minutes



PureBytes Links

Trading Reference Links

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
   

------=_NextPart_001_003B_01C22285.AA99DC00
Content-Type: text/html;
charset="iso-8859-2"
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-2">
<META content="MSHTML 6.00.2716.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<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>&nbsp;</DIV>
<DIV><FONT color=#000080 size=2><SPAN class=750223513-03072002>Re:&nbsp; RT 
Alerts and Scan</SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2><SPAN 
class=750223513-03072002></SPAN></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT color=#000080 size=2><SPAN class=750223513-03072002>I havean 
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>&nbsp;</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></SPAN></FONT><FONT color=#000080 size=2><SPAN 
class=750223513-03072002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#000080 size=2><SPAN class=750223513-03072002>I am using 15 
minute bars.&nbsp; Delay = 0, Buy on Open, Sell on Open.</SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2><SPAN 
class=750223513-03072002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#000080 size=2><SPAN class=750223513-03072002>I set&nbsp;SCAN 
every 1 minutes.</SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2><SPAN 
class=750223513-03072002></SPAN></FONT>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV><SPAN class=750223513-03072002>Questions:</SPAN></DIV>
<OL>
<LI><FONT><SPAN class=750223513-03072002>Re:&nbsp; Set #1 should only give an 
alert on the Open of a 15 minute bar, per my 
Settings,&nbsp;correct?</SPAN></FONT></LI>
<LI><FONT><SPAN class=750223513-03072002>Re:&nbsp; Set #2&nbsp;this should 
give an alert based on tick data.&nbsp; Whenever there is a cross, there 
should be an alert regardless of bar status.&nbsp; Correct?</SPAN></FONT></LI>
<LI><FONT><SPAN class=750223513-03072002>Despite using 1 + 2 + 4 + 8 orblank 
(default)&nbsp;in the fifth parameter, I am still getting repeated alertsfor 
same time and signal.&nbsp; Why?</SPAN></FONT></LI></OL>
<DIV><FONT><SPAN class=750223513-03072002>As you can see in the screen shot 
below, IDPH is giving repeated alerts.</SPAN></FONT></DIV>
<DIV><FONT><SPAN class=750223513-03072002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT><SPAN class=750223513-03072002>Thanks,</SPAN></FONT></DIV>
<DIV><FONT><SPAN class=750223513-03072002>Rick</SPAN></FONT></DIV>
<DIV><FONT><SPAN class=750223513-03072002>&nbsp;&nbsp;&nbsp;<IMG alt=""hspace=0 
src="cid:750223513@xxxx"; align=baseline 
border=0></SPAN></FONT></SPAN></FONT></DIV></BODY></HTML>

------=_NextPart_001_003B_01C22285.AA99DC00--

Attachment: Description: ""