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
The LastValue() function may help, though I am not sure how you define
the number of lookback periods. E.g.
CloseDiff:= LastValue(C)-C;
CloseDiff;
Will plot the difference between each days close and the most recent
loaded close.
Regards,
Adrian
------------------------ Yahoo! Groups Sponsor --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/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/
|