| 
 PureBytes Links 
Trading Reference Links 
 | 
Do you mean something like this?
BuyCond = your original
SellCond = your original
Buy = ref(buycond,-2) and c<ref(c,-1) and ref(c,-1)<ref(c,-2);
Sell = ref(sellcond,-2) and c>ref(c,-1) and ref(c,-1)>ref(c,-2);
Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia
-----Original Message-----
From: cdickerm [mailto:cdickerm@xxxxxxxxx] 
Sent: Friday, 2 May 2003 1:16 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Adding N-Bars Conditionals
Could anyone explain how in Amibroker language I would add to my Buy 
and Sell statements, using an AND or otherwise that would have the 
effect of delaying the Buy signal by two more bars, closing 
successively lower, and to my sell signal for two bars closing 
successively higher? 
Thank you,
Carey
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 http://docs.yahoo.com/info/terms/ 
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/BVVfoB/hP.FAA/uetFAA/GHeqlB/TM
---------------------------------------------------------------------~->
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 http://docs.yahoo.com/info/terms/ 
 
 |