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

Re: [amibroker] ALERTIF () help please.



PureBytes Links

Trading Reference Links

Hello,

Assuming Trigger1..4 are your True/False conditions then:

AlertIF( Trigger1 OR Trigger2 OR Trigger3 OR Trigger3,  "", 
WriteIf( Trigger1, " Trigger1 Hit" ) +
WriteIf( Trigger2, " Trigger2 Hit" ) +
WriteIf( Trigger3, "Trigger3 Hit" ) +
WriteIf( Trigger4, "Trigger4 Hit" ) +
 , 1 );

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "mmqp" <mmqp@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, October 14, 2003 7:39 PM
Subject: [amibroker] ALERTIF () help please.


> Hi,
> How can I ALERT multiple triggers?  eg.
> 
> If price is within 5% of any 20DMA, 50DMA, 100DMA, 200DMA then alert 
> me.  If these moving average happens to converge then It should 
> alert me 4 times because all four condition are met?  TIA
> 
> 
> 
> 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 ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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/