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

[amibroker] Re: Alert email setting for GMAIL


  • Date: Wed, 06 Jan 2010 08:46:42 -0000
  • From: "Chaitanya" <kcityg@xxxxxxxxx>
  • Subject: [amibroker] Re: Alert email setting for GMAIL

PureBytes Links

Trading Reference Links



attaching a picture of multiple alerts to see if someone can help debug the problem:

http://groups.yahoo.com/group/amibroker/photos/album/962308491/pic/1285147242/view?picmode=large&mode=tn&order=ordinal&start=1&dir=asc 


--- In amibroker@xxxxxxxxxxxxxxx, "Chaitanya" <kcityg@xxx> wrote:
>
> Hmm.. i am still having a bit of a trouble using the AlertIf function;
> now i am getting email alright; but not when i want them :).
>
> Whether i use,
> AlertIf( Buy, "EMAIL", "+1 ES- Go long on System-1 5min", 1, 15);
> AlertIf( Sell, "EMAIL", "-1 ES - Close long on System-1 5min", 2, 15);
> or
> AlertIf( Ref(Buy,-1), "EMAIL", "+1 ES- Go long on System-1 5min", 1,
> 15);
> AlertIf( Ref(Sell,-1), "EMAIL", "-1 ES - Close long on System-1 5min",
> 2, 15);
>
> the alerts i get seem to be happening randomly, in the sense sometime
> they do get triggered when the signal arrives; sometimes they dont; in
> addition, if i get a single sell signal say, i seem to be getting
> atleast 6 or 7 repetetions even though the flag to supress multiple
> similar signals is set.
>
> What am i doing wrong?
>
> Exactly how does the AlertIf function work; from trying to play with it,
> it seems that if i click my mouse around the data back and forward;
> focus out of the current amibroker window and back onto it selecting
> bars which should have caused alerts to happen; it seems that the alerts
> are being generated randomly.
>
> Does the alertif function need the amibroker window to be in focus
> always to generate signals? (i actually even tried that; even then it
> doesnt seem to be working as i expect).
>
>
> Thanks
> -Chaitanya
>
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, Tomasz Janeczko groups@ 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@xxxxxxxxxxxxxxx, "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@xxxxxxxxxxxxxxx, 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 psharma@xxxxx:
> > > > >
> > > > > >
> > > > > >
> > > > > > 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/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___