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

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



PureBytes Links

Trading Reference Links

I have also experimented with using Alertif() and came to same conclusion. Potentially it is a great feature but IMO it needs some tweaking.
 
John
 
----- Original Message -----
From: Thomas Z
Sent: Saturday, October 08, 2005 9:00 AM
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