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

[EquisMetaStock Group] HELP - Metastock Coding !!!



PureBytes Links

Trading Reference Links

DD:=8 {ANY VALUE RETURN FROM FORMULA};
ML:=(H+L)/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' H and L ,
but I would like to count backward for summation by keeping present H 
and L as a constant for the rest of calculation.

Does anyone have any idea please?
Thank for any suggestion
Eric

For example

Present
H:=10
L:=8
ML:=9

1 DAY BACKWARD
H:=8
L:=6
ML:=9 {value from present}

2 DAY BACKWARD
H:=7
L:=5
ML:=9 {value from present}

...

8 DAY BACKWARD
H:=8
L:=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/