PureBytes Links
Trading Reference Links
|
Hello,
You should use 1+2+4+8 (THE DEFAULT).
So you can simply write:
AlertIf( True, <FONT color=#ff00ff
size=1>"", <FONT color=#ff00ff
size=1>"test", <FONT color=#ff00ff
size=1>0 );
Best regards,Tomasz
Janeczkoamibroker.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
William
Wong
To: <A title=amibroker@xxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Monday, September 30, 2002 7:41
AM
Subject: Re: [amibroker] Re: Alertif
continuously
Thomasz,
Thomasz,
I have done all that you have said for the test. I, however, tried
turning off QuickAFL for indicator, apparently it worked. I say
"apparently" because it generates output to alert window for every "tick"even
if:
AlertIf( True, <FONT color=#ff00ff
size=1>"", <FONT color=#ff00ff
size=1>"test", <FONT color=#ff00ff
size=1>0, <FONT color=#ff00ff
size=1>1+8, <FONT color=#ff00ff
size=1>1);
According to the manual, 1+8 means do not generate for the
same date/time. The problem is I am at 1-minute time frame, I suspect
you are checking including seconds and that is why it generates an alert for
every tick. I actually wanted an alert for every minute bar, how can I
achieve it?
May be a parameter should be added to allow me to define
whether the alert function is activated at the end of current bar or at the
beginning of current bar.
William
Tomasz Janeczko wrote:
<BLOCKQUOTE
>
William,
There are following requirements for this to
work:
1. you need a RT feed that causes automatic chart
refresh ( eSignal plugin )
2. you need to enable alerts from indicators in
Preferences
3. you have to have this indicator pane
open.
Best regards,Tomasz Janeczkoamibroker.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
<A title=williamwongys@xxxx
href="">William Wong
To: <A
title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Thursday, September 26, 2002
5:55 PM
Subject: [amibroker] Re: Alertif
continuously
I have set the preferences for indicator, but the alertif does notseem
to be running for every new bar. I have to manually click on apply
button before the alert will be displayed. I am using beta
4.14. Even if I use:<FONT
color=#0000ff size=1>
AlertIf( True, <FONT
color=#ff00ff size=1>"", <FONT
color=#ff00ff size=1>"test",
0,
1,
1<FONT
color=#000000>);
according to the manual, it should run for every
bar. I wonder if alertif is re-evaluate for every new
bar?
William
Do you Yahoo!?New <A
href="">DSL Internet
Access from SBC & Yahoo! Post AmiQuote-related
messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Do you Yahoo!?New <A
href="">DSL Internet
Access from SBC & Yahoo! Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
|