PureBytes Links
Trading Reference Links
|
Hi Rayhhc
Try changing the B and B1 variables to ...
B:=LastValue(Cum(1))-1=Cum(1);
B1:=LastValue(Cum(1))-10=Cum(1);
Of course you might be trying to do something completely different from what I'm thinking :-(
Regards
Roy
www.metastocktips.co.nz
----- Original Message -----
From: rayhhc
To: equismetastock@xxxxxxxxxxxxxxx
Sent: Monday, July 16, 2007 4:39 PM
Subject: [EquisMetaStock Group] draw ma10 for the last 10 days
a:=Mov(C,10,S);
B:=LastValue(Cum(1)-1)=Cum(1);
r1:=ValueWhen(1,B,a);
r2:=LastValue(r1);
B1:=LastValue(Cum(1)-10)=Cum(1);
r3:=ValueWhen(1,B1,r2);
r3;
What's wrong with the above codes,plse?
__________ NOD32 2399 (20070714) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
[Non-text portions of this message have been removed]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/equismetastock/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:equismetastock-digest@xxxxxxxxxxxxxxx
mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|