PureBytes Links
Trading Reference Links
|
<FONT face=Arial
color=#0000ff size=2>good post, duude!
<FONT face=Arial
color=#0000ff size=2>
<FONT face=Arial
color=#0000ff size=2>thanks for sharing.
<FONT face=Arial
color=#0000ff size=2>
<FONT face=Arial
color=#0000ff size=2>d
From: gty182 [mailto:gty182@xxxxxxxxxxxxxx]
Sent: Thursday, April 08, 2004 10:26 AMTo:
amibroker@xxxxxxxxxxxxxxxSubject: Re: [amibroker] Re: How to code
sequential events ?
I solved my problem, here is the solution
:
It checks if events takes place one after other
and happen same day. Works fine for me, thanks again.
Maybe somone will find it usefull
EVENT1=Cross<FONT
size=1>(H,DSu);
EVENT2=Cross<FONT
size=1>(Oo,L);
data_ev1=ValueWhen<FONT
size=1>(EVENT1,DayOfYear<FONT
size=1>(),1);
data_ev2=ValueWhen<FONT
size=1>(EVENT2,DayOfYear<FONT
size=1>(),1);
VAL1=BarsSince<FONT
size=1>(EVENT1)>BarsSince<FONT
size=1>(EVENT2) AND data_ev1==data_ev2;;<FONT color=#008000
size=1>
CondS=VAL1 AND Ref<FONT
size=1>(VAL1,-1<FONT
size=1>)==0;
gtySend BUG REPORTS to
bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
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
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|