PureBytes Links
Trading Reference Links
|
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/
|