PureBytes Links
Trading Reference Links
|
You could try using the
Flip to keep Cond1=1 until cond2 occurs
Cond1 =
cross(a,b);
Cond2 =
Cross(c,d);
<FONT
face=Arial>Flip(Cond1,Cond2);
Buy = Cond1 and
cond2;
Cheers,Graham<A
href="">http://e-wire.net.au/~eb_kavan/
<FONT
face=Tahoma size=2>-----Original Message-----From: Greg
[mailto:gregbean@xxxxxxxxxxx] Sent: Friday, 20 February 2004 10:24
AMTo: AmiBroker@xxxxxxxxxxxSubject: [amibroker] Hold
cond1 true then buy when cond2 happens
Hi,
I would like to buy after Cross(a,b) condition has happened and wait
for Cross(c,d) condition to be true to execute the buy.
Can any one tell me how to achieve this?
GregSend 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 Sponsor
ADVERTISEMENT
Click Here
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.
|