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

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



PureBytes Links

Trading Reference Links

Hello Grover,

thanks !
Yes, indeed there are really a lot of messages in this board and no real solution.
Now i hope they will fix it soon.
I would really like to get an email and accoustic alert at the same time and only once per bar.
I hope it will be possible anytime.

Thanks !

Regards

Thomas
www.tradingbasis.com


Grover Yowell wrote:

Hello Thomas,

 

Before leaving this thread, I submitted a suggestion today to the Wish List for an improvement on the alertif function.  I showed it as High priority in view of its potential usefulness, and the many messages on the subject.  The text of my suggestion follows:

 

“The alertif function becomes "locked up" and repeats an error message continuously when two

or more alerts occur simultaneously.  This situation happens if the AFL program has, say, an

alert on price and a separate alert on volume.  Then if the the price and volume alerts

occur at the same time, the alertif begins to "stutter" and repeat an error message.

 

The workaround is to prioritize alerts so that conflicts cannot happen, but this requires

additional care and sophistication in the programming.

 

The alertif should be improved for a more robust implementation.”

 

I hope that covers the problem well enough for now.

 

Regards,

 

Grover

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Thomas Z
Sent: Saturday, October 08, 2005 4:01 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Alertif() - Windows???

 

Hello Grover,

i fully agree with you, the function has to be improved or corrected. I have searched the archive now but found no solution.
Ok, have to prioritize alerts, sounds good, but found no information on how to do that. Other informations i have found are that alerts should be written so that they not occur at the same time. In my opinion this is also no solution. If i would like to buy at any condition than this is my condition and not any other condition. So now i stop trying the alertif function until any update is available. It's a pity that we can not really use it as we all would like to use it.




Regards
 
Thomas
www.tradingbasis.com



Grover Yowell wrote:

Hi Thomas,

 

I think that the solution now is that you have to prioritize alerts so that only one can fire  (and perhaps complete) at any one time.  I received some info from Hermann on this board some time ago, lost the link so I can’t send it.  It was before my message #82061.  His solution involved prioritizing the alerts so that there was no interference. At the time that I looked at it, it looked like more work than I wanted to devote to it.

 

At some time back there TJ described the implementation of the alertif which gave some insight on how it works.  You should be able to find all that discussion, there have been boatloads of messages on the subject.

 

For the solution in the future, my personal view, as a non-programmer, is that the implementation of the function should be improved.  For the time being it provides the basic functionality, but as we look at AB becoming more and more capable, this is one of the items to add to the To Do list.  I have not sent in a request myself since I saw various others commenting on the problem.  TJ will have to assess what priority to assign.

 

Best regards,

 

Grover


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Thomas Z
Sent: Thursday, October 06, 2005 4:30 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Alertif() - Windows???

 

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





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS