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

RE: [amibroker] Learning



PureBytes Links

Trading Reference Links




<SPAN 
class=572501217-14072003>Dominick,
Count 
your parenthesis. It should be...

day1up=Cum<FONT color=#282828 
size=2>(C<FONT 
color=#282828 size=2>>Ref<FONT 
color=#282828 size=2>(pat,-1<FONT 
color=#282828 face=Arial size=2>)); 

 
Regards, 
Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: dom1_1998 
[mailto:Dom2000@xxxxxxxxxxx]Sent: Monday, July 14, 2003 12:57 
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] 
LearningI'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)ANDRef(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 theday1up 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 onlythe number of closes that are greater than the 
pattern yesterday?TIA,DominickSend 
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 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor


  ADVERTISEMENT 









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 the Yahoo! Terms of Service.