| 
 PureBytes Links 
Trading Reference Links 
 | 
Yuki,
Buy = Ref(H,-1) > Ref(H,-2) AND Ref(L,-1) < Ref(L,-2) AND ^^Ref(C,-1) < Ref(L,-1)^^ AND Open < Ref(C,-1); 
There is something wrong with this part of your code: Ref(C,-1) < Ref(L,-1)
You are asking something here that should never happen.
ie. for the close of 1 period ago to be lower than the low of 1 period ago.
One you fix this it should work for you.
Regards,
William
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/ 
 
 |