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

[amibroker] Re: Alert Output



PureBytes Links

Trading Reference Links

Thanks very much Chuck and Terry.
Amazing answers.
Eduardo.


--- In amibroker@xxxxxxxxxxxxxxx, "cstrader" <cstrader232@xxxx> wrote:
>
> Terry.. you are amazing.. 
>   ----- Original Message ----- 
>   From: Terry 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Monday, December 05, 2005 4:24 PM
>   Subject: RE: [amibroker] Alert Output
> 
> 
>   To add to Chuck's reply,
> 
> 
> 
>   I have alerts from several different charts. I save the alerts in 
a StaticVar, then another chart loops through all the StaticVars and 
collects their output and sends an email alert. The _TRACE command is 
built-in to this routine as an option. I also have verbose and short 
versions of my messages. You just save the text of the message in the 
variable varmsg and use that in your AlertIf and your _TRACE commands.
> 
>   Early and Final alerts refer to the two different times my alerts 
are triggered. You won't need this part.
> 
> 
> 
>   You could also just save all your alerts to StaticVars and 
summarize them at the end of the day with a special chart. That chart 
could write to a file, then clear all the StaticVars.
> 
> 
> 
>   Here's one of the functions I built:
> 
> 
> 
>   //Loop through up to 10 charts sending messages for those with 
data available.
> 
>   function sendAlert (alertName)
> 
>   {
> 
>       varMsg = "";
> 
>       for (i = 1; i <= 10; i++) 
> 
>       {
> 
>           varName = "email_" + NumToStr(i,1.0);
> 
>           _TRACE(VarName);
> 
>           varTemp = StaticVarGetText(varName);
> 
>           if (varTemp == "") varName = "";
> 
>           else
> 
>           {
> 
>               varMsg = varMsg + varTemp + " : ";
> 
>           }
> 
>       }
> 
>       varNow = Now(2) + ", ";
> 
>       if (alertName == "Early: ") varType = 6; else varType = 7;    
AlertIf(True,"EMAIL",/*alertName + varNow +*/ 
varMsg,varType,1+2,0); //Comment out stuff to shorten message
> 
>   }
> 
> 
> 
> 
> 
>   --
> 
>   Terry
> 
> 
> 
>   -----Original Message-----
>   From: amibroker@xxxxxxxxxxxxxxx 
[mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of cstrader
>   Sent: Monday, December 05, 2005 14:13
>   To: amibroker@xxxxxxxxxxxxxxx
>   Subject: Re: [amibroker] Alert Output
> 
> 
> 
>   I use _TRACE for this.  Open the debugger and then write exactly 
what you 
> 
>   want to it in real time.  Then you can save the output.  Seemed 
more 
> 
>   flexible to me than using Alert...
> 
> 
> 
>   chuck
> 
> 
> 
>   ----- Original Message ----- 
> 
>   From: "amarilloblanco" <amarilloblanco@xxxx>
> 
>   To: <amibroker@xxxxxxxxxxxxxxx>
> 
>   Sent: Monday, December 05, 2005 4:07 PM
> 
>   Subject: [amibroker] Alert Output
> 
> 
> 
> 
> 
>   > How can save or print or copy my Alert Output when the day 
finish?
> 
>   > I would like to collect calls on another place and work with it.
> 
>   > tia.
> 
>   > Eduardo
> 
>   >
> 
>   >
> 
>   >
> 
>   >
> 
>   >
> 
>   >
> 
>   >
> 
>   > Please note that this group is for discussion between users 
only.
> 
>   >
> 
>   > To get support from AmiBroker please send an e-mail directly to
> 
>   > SUPPORT {at} amibroker.com
> 
>   >
> 
>   > For other support material please check also:
> 
>   > http://www.amibroker.com/support.html
> 
>   >
> 
>   >
> 
>   > Yahoo! Groups Links
> 
>   >
> 
>   >
> 
>   >
> 
>   >
> 
>   >
> 
>   > 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>   Please note that this group is for discussion between users only.
> 
> 
> 
>   To get support from AmiBroker please send an e-mail directly to 
> 
>   SUPPORT {at} amibroker.com
> 
> 
> 
>   For other support material please check also:
> 
>   http://www.amibroker.com/support.html
> 
> 
> 
> 
> 
>   Yahoo! Groups Links
> 
> 
> 
>       http://groups.yahoo.com/group/amibroker/
> 
> 
> 
>       amibroker-unsubscribe@xxxxxxxxxxxxxxx
> 
> 
> 
>       http://docs.yahoo.com/info/terms/
> 
> 
> 
> 
> 
> 
> 
>   Please note that this group is for discussion between users only.
> 
>   To get support from AmiBroker please send an e-mail directly to 
>   SUPPORT {at} amibroker.com
> 
>   For other support material please check also:
>   http://www.amibroker.com/support.html
> 
> 
> 
> 
> 
>   SPONSORED LINKS Investment management software  Real estate 
investment software  Investment property software  
>         Software support  Real estate investment analysis software  
Investment software  
> 
> 
> --------------------------------------------------------------------
----------
>   YAHOO! GROUPS LINKS 
> 
>     a..  Visit your group "amibroker" on the web.
>       
>     b..  To unsubscribe from this group, send an email to:
>      amibroker-unsubscribe@xxxxxxxxxxxxxxx
>       
>     c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms 
of Service. 
> 
> 
> --------------------------------------------------------------------
----------
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/