PureBytes Links
Trading Reference Links
|
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@xxx> 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/
__,_._,___
|
|