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

Re: [amibroker] Alertif() - Windows???



PureBytes Links

Trading Reference Links

Hi Grover,

i also have problems when i use two alerts  simultaneously.
However i don't see any trick to solve it, because i have for example the level 20 on my indicator for alert.
Now when the indicator crosses this level i want to get an email and accoustic alert only once per bar and i have a 60min interval.
Is there any way to solve this ? If yes, i would search all the messages.

Regards

Thomas
www.tradingbasis.com


Grover Yowell wrote:

Hi Ara,

 

I am pasting from my message 82061 which was a message to a fellow user:

 

“I have had similar experiences, more than one under a variety of conditions.  The common “denominator” which causes the problem is when one alert triggers simultaneously with another.  When that occurs it causes AB  to display the error message which you quoted stating that you need double back slashes (even though you  have double back slashes in your program), and then the program gets into a loop and continues to repeat the alert.  The workaround which I got in a message from Hermann is to prioritize your alerts so that only one can fire at any one time. I have had similar experiences, more than one under a variety of conditions.”

 

The solution with the present system as stated above is to program such that no two alerts can be triggered simultaneously.  I worked on it for a while with some excellent info from Hermann, but turned to other objectives before getting it smoothly working. 

 

I believe that if one has only one alertif statement in his code, then by definition, no two alerts can occur simultaneously.  If you have more than one alertif, then you need to prioritize in some way.

 

You can search the archives for a lot of traffic on this.

 

Hope this helps.

 

Grover

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Ara Kaloustian
Sent: Thursday, October 06, 2005 12:57 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Alertif() - Windows???

 

Spoke too soon ... My multiple alerts are back ... this is frustrating!!!  not sure I'll be able to use the feature if this continues..

 

Ara

 

----- Original Message -----

To: AB-Main

Sent: Thursday, October 06, 2005 9:11 AM

Subject: [amibroker] Alertif() - Windows???

 

I just had a strange behavior ...

 

One of my alerts kept repeating continiously ... the control values are set correctly to ... 0,12,1).

 

I rebooted PC and problem cleared!..  I assume the problem was not with Amibroker ... but I have heard other complain of same issue.

 

I have no idea why or how this problem occured, but I would like to suggest that if anyone finds programs that may cause problems, please share your experience... WINDOWS of course is always my prime suspect ... but would be nice to be aware of other problem programs.

 

Ara

 

 



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