| 
 PureBytes Links 
Trading Reference Links 
 | 
Hello,
One comment: if you are using versions older than 4.31 
instead && operator use AND:
FirstTickInBar = Open == High AND Open == Low;
AlertIf( Expression AND FirstTickInBar,  "TEXT","20 min. Long Rsi",0);
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Tomasz Janeczko" <amibroker@xxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, May 01, 2003 9:38 AM
Subject: Re: [amibroker] Having my alert only based on the open of the current bar
> Hello,
> 
> It is much easier:
> 
> Expression = ... your expression here...
> 
> FirstTickInBar = Open == High && Open == Low;
> 
> AlertIf( Expression AND FirstTickInBar,  "TEXT","20 min. Long Rsi",0);
> 
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message ----- 
> From: "mleonsprint" <mleonsprint@xxxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Thursday, May 01, 2003 8:06 AM
> Subject: [amibroker] Having my alert only based on the open of the current bar
> 
> 
> > I am not sure if I have this right.... I am trying to get my alert 
> > only based on the "Open" of the current bar (I am using Realtime)
> > 
> > openbarso=ValueWhen("Expression")),minute+Second(),1); 
> > openbars2=ValueWhen(o,minute()+Second(),1); 
> > 
> > theyagree=IIf(openbarso=openbars2,1,0);
> > 
> > AlertIf("Expression" and theyagree =1,"TEXT","20 min. Long Rsi",0);
> > 
> > Thanks for your help
> > 
> > Mark
> > 
> > 
> > 
> > 
> > 
> > Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> > Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> > -----------------------------------------
> > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
> > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > --------------------------------------------
> > Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> > 
> > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> > 
> > 
> > 
> 
> 
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
> 
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get Home Early - Access Your work PC
http://us.click.yahoo.com/usvdqB/Yq8FAA/uetFAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
 |