PureBytes Links
Trading Reference Links
|
Hello,
By default AlertIF looks for this and one bar previous and
reports signals when they FIRST appeared.
Since your condition was true also yesterday - AmiBroker
reports that the alert was valid since YESTERDAY
(this is useful because you know that if you will
act today - you will be delayed from the signal)
To switch this off - to look only for current bar you should
set LOOKBACK parameter (the last one) to zero.
AlertIf( Close > (H/L)/2,"", "signal", 0, 15, 0 );
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "Frans Manders" <f.manders@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, October 03, 2002 10:16 AM
Subject: [amibroker] AlertIF behaviour
> Hello group,
>
> The last few (beta) releases I have trouble with the AlertIF function. The
> function is triggered however the signal is dated one day in the past. A
> signal for today is recongnized, but the message in the alert output window
> is dated yesterday. See the attachtment. I checked al the setting multiple
> times, the country settings for my computer and ran already 1000 tests.
> Probable I missing something, or maybe somebody is experiencing the same
> problems.
>
> regards,
>
> Frans.
>
>
>
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
>
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
|