PureBytes Links
Trading Reference Links
|
<font
size=1 color=green face=Tahoma>//AlertIf (Cross(G0,G1), "EMAIL", Name()+ "<span
> "+ Date ()+"<span
> Average Price "+ WriteVal(Avg,FORMAT=1.2)+ "<span
> Positive Cross Buy > Close: " +
WriteVal(C,FORMAT=1.2), 1 );<span
>
<font
size=1 color=black face=Tahoma>
<font
size=1 color=green face=Tahoma>//AlertIf (Cross(G0,G2), "EMAIL", "Positive
Strength Take Profit Alert, Sell Soon Watch "+ Name()+ "
"+ Date ()+"
Average Price "+
WriteVal(Avg,FORMAT=1.2)+" Close:
"+
WriteVal(C,FORMAT=1.2), 1);<font size=1 color=black
face=Tahoma>
<font
size=1 color=black face=Tahoma>
<font
size=1 color=green face=Tahoma>//AlertIf (Cross(G2,G0), "EMAIL",<span
> Name()+ "<span
> "+ Date ()+"<span
> Average Price "+ WriteVal(Avg,FORMAT=1.2)+ "<span
> Negative Cross Sell"+ "
Close: "+
WriteVal(C,FORMAT=1.2), 2 );<span
>
//AlertIf (Cross(G1,G0),
"EMAIL", Name()+ "
"+ Date ()+"
Average Price "+
WriteVal(Avg,FORMAT=1.2)+ "
Negative Cross Weakness Sell > Close: " +
WriteVal(C,FORMAT=1.2), 2 );
<span
>
<span
>
<font size=2 color=black
face=Tahoma>-----Original
Message-----
From: Adrian Zaremba
[mailto:headcutter@xxxxxxxx]
Sent: Thursday, April 24, 2003
11:48 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] AFL - AlertIf
<span
>
<font size=2 color=black
face="Courier New">Is there anyone that is using AlertIf function? It doesnt seem to <font
size=2 color=black face="Courier New">
work. If you can post ANY code that is working and using AlertIf or
transform this code so it will work that would be terrific. The help
files didint help me at all.Thanks.
Buy = Cross( Close, MA( Close, 10 ) );
Sell = Cross( MA( Close, 10 ), Close );
Short = Cross( MA( Close, 10 ), Close );
Cover = Cross( Close, MA( Close, 10 ) );
AlertIf( Buy,"","Buy alert",1,1+2 );
AlertIf( Sell,"","Sell alert",2,1+2 );
AlertIf( Short,"","Short alert",3,1+2 );
AlertIf( Cover,"","Cover alert",4,1+2 );
<font size=2 color=black
face="Courier New">Send BUG REPORTS to bugs@xxxxxxxxxxxxx<font
size=2 color=black face="Courier New">
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html<font
color=black>
<span
>Your use of
Yahoo! Groups is subject to the Yahoo!
Terms of Service.<span
>
Yahoo! Groups Sponsor
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
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 the Yahoo! Terms of Service.
|