[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EquisMetaStock Group] HELP - Function for HHV and SUM
- To: equismetastock@xxxxxxxxxxxxxxx
- Subject: [EquisMetaStock Group] HELP - Function for HHV and SUM
- From: chichungchoi <no_reply@xxxxxxxxxxxxxxx>
- Date: Sat, 31 Dec 2005 08:26:45 -0000
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Delivered-to: mailing list equismetastock@xxxxxxxxxxxxxxx
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=lima; d=yahoogroups.com;b=mHUGh7FAJk2tj7XZboWYC20EzdTP87et2Ina+bCc6/Xe4va0qPY85tQOlF2f5t3mVrz8WKYMEQGg1FkDvZygAB5omoBJi67JEeUHLckdxbTnNRfFWG2w1qGHK3HZyKnB;
- In-reply-to: <dp20sb+ju9q@xxxxxxxxxxx>
- List-id: <equismetastock.yahoogroups.com>
- List-unsubscribe: <mailto:equismetastock-unsubscribe@xxxxxxxxxxxxxxx>
- Mailing-list: list equismetastock@xxxxxxxxxxxxxxx; contact equismetastock-owner@xxxxxxxxxxxxxxx
- Reply-to: equismetastock@xxxxxxxxxxxxxxx
- Sender: equismetastock@xxxxxxxxxxxxxxx
- User-agent: eGroups-EW/0.82
DD:=8 {ANY VALUE RETURN FROM FORMULA};
HL:=ExtFml("Forum.HHV",H,DD);
LL:=ExtFml("Forum.LLV",L,DD);
ML:=(HL+LL)/2;
ExtFml("Forum.Sum",If(C>=ML,1,0),DD) {ML uses present value to be a
constant}
In this case, ML will be based on different periods' HHV and LLV,
which is not what I want, but I would like to count backward for
summation by keeping present ML as a constant for the rest of
calculation.
This is the code to work on
ExtFml("Forum.Sum",If(C>=ML,1,0),DD) {How to uses present value for
ML to be a constant?}
Does anyone know how to do that?
Thank for any suggestion
Eric
For example
Present
HHV:=10
LLV:=8
ML:=9
1 DAY BACKWARD
HHV:=8
LLV:=6
ML:=9 {value from present}
2 DAY BACKWARD
HHV:=7
LLV:=5
ML:=9 {value from present}
....
8 DAY BACKWARD
HHV:=8
LLV:=4
ML:=9 {value from present}
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/BefplB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> 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/

PureLinks - Finance Banners.