PureBytes Links
Trading Reference Links
|
This is hard to follow...
Does this mean that we can arbitrarily assign
different type for each alert and avoid problems?
Also, does the conflict exist if similar alerts are
used in these situations?
1 - In 2 different indicators (running at same time
on same pane)
2 - Same indicator replicated with different
interval() (running at same time on same pane)
Thanks
Ara
----- Original Message -----
Sent: Monday, October 03, 2005 11:53
AM
Subject: Re: [amibroker] Alertif()
Hello Graham,
Unfortunately i have also noted that there
are some bad things if multiple alerts are used. I have contacted the
amibroker support last week. Below is the reply from Marcin. Basically it
means that NOT every alertif is separate !!! I have suggested them
that they make it separate. This would make it much easier and more
comfortable. My idea was to get only one alert per bar and get this alert
per email and per sound. So i have firstly used only accoustic and than
only email alert and both worked well. But when i used both there are
troubles.
See the description from Marcin.
Marcin
wrote:
Hello,
Indeed - that's possible because it works the
following way:
Once Alert (1) is triggered, any further alert of a
type (1) - 'buy' can be repeated, because 4+8 flags prevent it.
However - then - with the new refresh, the other alertIf() function
detects, that the most recently triggered alert was type (1), so any other
type of alert is allowed - so alert (2) gets initiated, and - once formula is
rereshed once again, that happens once again, now for alert (1) type.
So - you should write your trigger conditions that way, that does not
allow several alerts of a different type on the same bar, because it will
lead to such situation.
On the other hand - if you have two alerts of
(1) type defined in the formula, once the first one is triggered, the
other one cannot, because by using 4+8 flags you do not allow 2 alerts of the
same type.
Best regards
Marcin Gorzynski Amibroker.com
Technical Support
----- Original Message ----- From: "Tradingbasis
- Support" <support@xxxxxxxxxxxxxxxx>
To: "AMIBROKER SUPPORT" <support@xxxxxxxxxxxxx>
Sent: Friday, September 30, 2005 6:04 PM Subject: Re: [#23662] alertif
problem
Hello,
i have made a lot of tests now and indeed
the problem occours when i use the email and accoustic alert at the same time
! When i only use the accoustic or mail alert it works as it should.
Furthermore when i use the same alert type (buy) and both alerts than
i only get the accoustic alert once per bar.
AlertIf(1,"SOUND
C:\\Windows\\Media\\Alert.wav", "Indicator left Low level",1,4+8,1);
AlertIf(1,"EMAIL", "A sample alert on",1,4+8,1);
When i
use the code below (buy for accoustic alert and sell for mail alert) i get
continously mails (every new tick).
AlertIf(1,"SOUND
C:\\Windows\\Media\\Alert.wav", "Indicator left Low level",1,4+8,1);
AlertIf(1,"EMAIL", "A sample alert on",2,4+8,1);
Regards
Thomas www.tradingbasis.com
Graham
wrote:
I noticed this behaviour from an AA window alert with 2 alertif
statements that had signal at same time. At that time I was testing
email alerts and at same time the other alert was for sounds.
Individually both worked, however with both enabled the AFL locked up
and no signals were received.
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm
On 10/3/05, Ara Kaloustian <ara1@xxxxxxxxxx> wrote:
Graham,
Have you noticed if the interference between 2 alerts can happen from 2
different indicators, or is it only when 2 alerts trigger on same bar in one
indicator?
Tahnks
A
----- Original Message -----
From: "Graham" <kavemanperth@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, October 02, 2005 6:44 PM
Subject: Re: [amibroker] Alertif()
I use it every day, just learned not to have conflicting alert signals
On 10/3/05, Ara Kaloustian <ara1@xxxxxxxxxx> wrote:
Graham,
You have made an Interesting obdervation!!!
Seems once two Alertif() statements "collide", something gets corrupted
and
they will not function even individually. I will do more testing with
single statements.
Is anyone using Alertif() succesfully ... or have given up ?
I spent a lot of time trying to make Alertif() work about a year ago ...
and
decided to try it again. It would be a shame to give up such a useful
feature ...
I assume the flags I have coded are correct for keeping trigger active
repeatedly
Hope this gets resolved, because i can REALLY use this feature for real
time trading
Ara
----- Original Message -----
From: "Graham" <kavemanperth@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, October 02, 2005 3:42 PM
Subject: Re: [amibroker] Alertif()
I have found that 2 or more alertif that trigger at same bar stop all
signals. They seem to interfere with each other
On 10/3/05, Ara Kaloustian <ara1@xxxxxxxxxx> wrote:
Having problems with alert if....
The 2nd alertif code below works (most of the time). By most of the
time
I
mean it works at specific points on the chart, and not at others
meeting
the
same criteria.
The 1st alertif code, has less strict criteria, uses the same sound
file,
but never works.
I have coded the flags (or at least I think so) to trigger every
time
Appreciate any help
Ara
AlertIf((SDiv_Code==12 OR SDiv_Code==13 OR SDiv_Code==14),"Sound
D:\\Amibroker\\Wav Files\\Lower High.wav","",5,0,100 );
AlertIf((SDiv_Code==12 OR SDiv_Code==13 OR SDiv_Code==14) AND
Bear_Diverge==1,"Sound D:\\Amibroker\\Wav Files\\Lower
High.wav","",5,0,100
);
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> 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/
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
YAHOO! GROUPS LINKS
|
|