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

[amibroker] Re: Alert email setting for GMAIL


  • Date: Mon, 04 Jan 2010 14:14:19 -0000
  • From: "Chaitanya" <kcityg@xxxxxxxxx>
  • Subject: [amibroker] Re: Alert email setting for GMAIL

PureBytes Links

Trading Reference Links

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@xxxxxxxxxxxxxxx, Mark Hike <markhike@xxx> 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 <psharma@xxx>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@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] *On
> > Behalf Of *Chaitanya
> > *Sent:* 30 December 2009 22:49
> > *To:* amibroker@xxxxxxxxxxxxxxx
> > *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@xxxxxxxxxxxxxxx <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@xxxxxxxxxxxxxxx <amibroker%40yahoogroups.com>, "jehmac"
> > <jehmac@> wrote:
> > > >
> > > > The free open-source plugin has been posted to tradercandy.com
> > > >
> > > > jehmac
> > > >
> > > > --- In amibroker@xxxxxxxxxxxxxxx <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@xxxxxxxxxxxxxxx <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@xxxxxxxxxxxxxxx <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.
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >   
> >
>




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

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