Nice. Thanks.

Also i reckon using 15 is redundant as all the flags are turned on by default.


--- In amibroker@yahoogroups.com, Tomasz Janeczko <gro...@...> wrote:
>
> Hello,
> 
> Completed bar is only when NEXT bar starts, so use Ref( Buy, -1 ) to 
> generate alerts.
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> 
> On 2010-01-04 16:12, Chaitanya wrote:
> >
> >
> > on further reading.. it seems like using the flag value of 15 will 
> > help a bit in reducing the number of multiple signals.
> >
> > AlertIf ( *Buy*, "SOUND C:\\Program Files\\Amibroker\\BuyBuyBuy.wav" , 
> > "Audio alert " , 15 );
> >
> > I am using 15 as from the AFL Reference guide this field has to be the 
> > sum of the chosen flags (1+2+4+8 for me).
> >
> > But it still wont wait for the end of the bar. So if  i were to get a 
> > Buy signal at the end of bar this line of code will send out an alert 
> > prematurely during the bar sometime at the first instance of the buy 
> > condition being met. So how do i wait for the bar to finish before 
> > alert happens?
> >
> >
> > --- In amibroker@yahoogroups.com, "Chaitanya" <kcityg@> wrote:
> > >
> > > Thanks for the picture Pankaj. That was helpful.
> > >
> > > Mark: havent yet looked into the code you sent.
> > >
> > > One more question, currently i am getting a ton of alerts as data is 
> > streaming (intraday).
> > >
> > > How do i make alertif send an alert only after the end of the 
> > current bar instead of during the interim (for reference, 1 am trading 
> > 5min bars mostly)?
> > >
> > >
> > >
> > > --- In amibroker@yahoogroups.com, Mark Hike markhike@ wrote:
> > > >
> > > > This is the AFL I use after setting up GMAIL. Works great!
> > > >
> > > > Procedure emailAlert(subject, msg)
> > > > {
> > > > local text;
> > > > subject = StrReplace(subject, "\"", "\\\"");
> > > > msg = StrReplace(msg, "\"", "\\\"");
> > > > text = "\"" + subject + "\" \"" + msg + "\"";
> > > > AlertIf(true, "EXEC C:\\Program Files\\AmiBroker\\EMailerSSL.exe", 
> > text, 5,
> > > > 0);
> > > > }
> > > >
> > > >
> > > > On Wed, Dec 30, 2009 at 12:37 PM, Pankaj Sharma psha...@wrote:
> > > >
> > > > >
> > > > >
> > > > > Amibroker sends emails to gmail, using it daily in my system -- 
> > you need
> > > > > 5.21 or higher. Setup for gmail is in link
> > > > > http://www.amibroker.com/gifs/gmailalert.gif
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > ------------------------------
> > > > >
> > > > > *From:* amibroker@yahoogroups.com 
> > [mailto:amibro...@yahoogroups.com] *On
> > > > > Behalf Of *Chaitanya
> > > > > *Sent:* 30 December 2009 22:49
> > > > > *To:* amibroker@yahoogroups.com
> > > > > *Subject:* [amibroker] Re: Alert email setting for GMAIL
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > So i ran into this thread looking to setup gmail as my SMTP 
> > server; so is
> > > > > the Amibroker function useless?
> > > > >
> > > > > The other option i suppose is to install a SMTP server on my 
> > machine but
> > > > > that comes with the heavy baggage of having to maintain and 
> > secure an IIS
> > > > > server; which i do not want to signup for.
> > > > >
> > > > > What are folks using to setup email alerts from Amibroker?
> > > > >
> > > > > --- In amibroker@yahoogroups.com <amibroker%40yahoogroups.com>, 
> > "zozuzoza"
> > > > > <zozuka@> wrote:
> > > > > >
> > > > > > Hi,
> > > > > > I downloaded the plugin. SendEmail does not work for me. I 
> > inserted
> > > > > > what was in email_alert.afl and Amibroker was not responding 
> > during
> > > > > > exploration and I had to kill Amibroker process. Moreover, I 
> > am not
> > > > > > sure if SendEmail provides the same functionality as Alertif 
> > in terms
> > > > > > of avoiding sending repetitive emails when exploration is run 
> > every
> > > > > > 1min and giving the same symbols in the results.
> > > > > >
> > > > > > Unfortunately, Amibroker does not support SMTP SSL authentication,
> > > > > > while all ISPs require it, so the Alertif function in Amibroker to
> > > > > > send email alerts is useless.
> > > > > >
> > > > > > --- In amibroker@yahoogroups.com 
> > <amibroker%40yahoogroups.com>, "jehmac"
> > > > > <jehmac@> wrote:
> > > > > > >
> > > > > > > The free open-source plugin has been posted to tradercandy.com
> > > > > > >
> > > > > > > jehmac
> > > > > > >
> > > > > > > --- In amibroker@yahoogroups.com <amibroker%40yahoogroups.com>,
> > > > > "yasuscus" <spirion@> wrote:
> > > > > > > >
> > > > > > > > Hi jehmac,
> > > > > > > >
> > > > > > > > Yes, it is very interesting to me. once you finish testing.
> > > > > > > > could you please post the plugin.
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > spirion
> > > > > > > >
> > > > > > > > --- In amibroker@yahoogroups.com 
> > <amibroker%40yahoogroups.com>,
> > > > > "jehmac" <jehmac@> wrote:
> > > > > > > > >
> > > > > > > > > Gmail requires secure SSL connection to SMTP server. 
> > Amibroker does
> > > > > > > > > not support this. I've created an Amibroker DLL plugin 
> > that will
> > > > > > > > allow
> > > > > > > > > this using a new AFL function. I'm testing it now. If 
> > there's
> > > > > > > > > interest, I can post the plugin when it's done.
> > > > > > > > >
> > > > > > > > > jehmac
> > > > > > > > >
> > > > > > > > > --- In amibroker@yahoogroups.com 
> > <amibroker%40yahoogroups.com>,
> > > > > "yasuscus" <spirion@> wrote:
> > > > > > > > > >
> > > > > > > > > > Hi
> > > > > > > > > >
> > > > > > > > > > I have a question for the set up of Alerts email feature.
> > > > > > > > > >
> > > > > > > > > > I set up the Alerts email feature.
> > > > > > > > > > but it did not work.
> > > > > > > > > > I always get the error "Failed to connect SMPT server".
> > > > > > > > > >
> > > > > > > > > > Fire wall setting is done.
> > > > > > > > > > I allowed Broker.exe and emailer.exe to pass through
> > > > > > > > > > the firewall
> > > > > > > > > >
> > > > > > > > > > Followings are the setting detail.
> > > > > > > > > > SMPT server name : smtp.gmail.com
> > > > > > > > > > Authentication method : None
> > > > > > > > > > I tried every methods but everything failed.
> > > > > > > > > > Sender Name :AmiBroker(default)
> > > > > > > > > > Sender E-mail :sender@(default)
> > > > > > > > > > Recipient Name: xxxx
> > > > > > > > > > Recipient E-mail : xxxx@
> > > > > > > > > >
> > > > > > > > > > Thanks in advance.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> >
> >
> >
> >
>


Reply via email to