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

[amibroker] Learning



PureBytes Links

Trading Reference Links

I'm praticing to understand formulas.  I have written this test pattern;

pat=Ref(C,-3) < Ref(C,-4) AND Ref(C,-2) <Ref(C,-3)AND
Ref(C,-2)<Ref(C,-1)AND C>Ref(C,-1);

totpat=Cum(pat);
day1up=Cum(Ref(pat,-1)AND C>Ref(C,-1));

I totaled the patterns with cum(pat).  But when I tried to total the
day1up patterns with day1up=cum(c>ref(pat,-1);  It wouldn't work.
I had to use the formula above (day1up=Cum(Ref(pat,-1)AND C>Ref(C,-1));

Why doesn't the cum(c>ref(pat,-1) work??  Doesn't it say total only
the number of closes that are greater than the pattern yesterday?

TIA,

Dominick


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy 1, Get 1 FREE
Control Cravings & Hunger EZ! Fast Acting Natural Oral Spray - $19.97
http://www.challengerone.com/t/l.asp?cid=2866&lp=ezappetite3.html
http://us.click.yahoo.com/rJIe0D/99VGAA/ySSFAA/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/