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

Re: [amibroker] Having my alert only based on the open of the current bar



PureBytes Links

Trading Reference Links

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/ 
> 
> 
> 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make Money Online Auctions! Make $500.00 or We Will Give You Thirty Dollars for Trying!
http://us.click.yahoo.com/KXUxcA/fNtFAA/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/