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

[amibroker] Re: Alerts Function ?



PureBytes Links

Trading Reference Links

Thanks for information, however, I copied formula and put it into 
indicator builder, then opened Alert output window, nothing 
happened, then I ran a typical exporation that I use, then nothing 
happened. Then I copied formula into my exploration and ran the 
exploration and the Alert output window began to fill up with stocks 
with date, green or red arrows and buy or sell in text area. This is 
what I was trying to figure out about the program. My Alert output 
won't seem to put out any output unless the code is in an 
exploration. That means I have to run a specific exploration. 

If I am using it wrong, please let me know.

Thank you
Mike





--- In amibroker@xxxxxxxxxxxxxxx, "Anthony Faragasso" <ajf1111@xxxx> 
wrote:
> Here is a simple example...there also is an example in the help 
files along with description and explanation of its use.
> 
> load into Indicator builder...open Alert output window...
> 
> 
> 
> mysignalUp=Cross(C,EMA(C,28));
> 
> mysignalDn=Cross(EMA(C,28),C);
> 
> Plot(C,"close",colorBlack,styleCandle);
> 
> Plot(EMA(C,28),"MovAvg",colorRed,styleLine);
> 
> PlotShapes(IIf
(mysignalUp,shapeUpArrow,shapeNone),colorBrightGreen);
> 
> PlotShapes(IIf(mysignalDn,shapeDownArrow,shapeNone),colorRed);
> 
> AlertIf(mysignalUp,"SOUND C:\\Windows\\Media\\Ding.wav","buy",1);
> 
> AlertIf(mysignalDn,"SOUND C:\\Windows\\Media\\Ding.wav","sell",2);
> 
>   ----- Original Message ----- 
>   From: mroman59 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Monday, May 26, 2003 10:03 AM
>   Subject: [amibroker] Alerts Function ?
> 
> 
>   Trying to use the Alert Fucntion for first time. Read help 
section, 
>   but not sure how this alert function works?
> 
>   Qestions:
> 
>   1. When writing an AlertIf fucntion, does it go into the code 
for 
>   writing an exploration?
> 
>   2. If put into exploration, I assume that it will trigger alert 
only 
>   if the exploration is run at EOD, therefore if one is 
downloading 
>   data throughout the day (not realtime) but, lets say, every 20 
>   minutes from Yahoo will the alert sound or does the exploration 
also 
>   have to be ran every 20 minutes.
> 
>   3. Is the AlertIf function made fore realtime data only?
> 
>   4. Can the Alert function take advantage of built in indicators 
or 
>   does one have to write the code for each indicator over again in 
an 
>   exploration?
> 
>   5. When an indicator is triggered for a given stock, does the 
alert 
>   sound triger and the ticker symbol show up in the Alert Output 
>   display, or do we have to write code for a given ticker, date, 
text 
>   and source to display this information in the Alert Output 
display 
>   table?
> 
>   6. Could someone give me a simple code that I can put in an 
>   approriate place to see if any stocks will apear in the Alert 
Output 
>   display and then I can take it from there. 
> 
>   Thank You
> 
> 
>         Yahoo! Groups Sponsor 
> 
>              
>        
>        
> 
> 
>   Send BUG REPORTS to bugs@xxxx
>   Send SUGGESTIONS to suggest@xxxx
>   -----------------------------------------
>   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 the Yahoo! Terms of 
Service. 
> 
> 
>   ---
>   Outgoing mail is certified Virus Free.
>   Checked by AVG anti-virus system (http://www.grisoft.com).
>   Version: 6.0.483 / Virus Database: 279 - Release Date: 5/19/2003


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/CNxFAA/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/