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

[EquisMetaStock Group] Re: minus prev close from todays



PureBytes Links

Trading Reference Links

--- In equismetastock@xxxxxxxxxxxxxxx, "robcpettit" <robcpettit@xxxx>
wrote:
> Hi, can anybody advise me on how to write an indicator today close
> from prev closes. Starting at period 41 and coming down to yesterdays
> period. Ive tried 'ref(c,-41)-c and ref(c,-41)-c and ref(c,-39)-c down
> to ref(c,-1)'. This plots a straight line. Then Ive tried ROC(C, 40, %
> ) which gets very close but not precice enough. Im comparing results
> to results in excel, dde to metastock. Appriciate any help 
> Regards Robert

Hi,

Misread your post, should be
CloseDiff:= C - LastValue(C);
CloseDiff;

Adrian






------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/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/