[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] cannot buy on open



PureBytes Links

Trading Reference Links

Hi William,

Sunday, February 23, 2003, 4:34:21 PM, you wrote:

WP> Yuki,

WP> 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); 


WP> There is something wrong with this part of your code: Ref(C,-1) < Ref(L,-1)

Ah, you both are right of course.  Typing too fast and eyes too lazy.
Should be ref(C, -1) < ref(L, -2), which appears to work, except for
the scan.  Wonder why the scan is so goofed up.
 
Best,

Yuki

mailto:yukitaga@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/