PureBytes Links
Trading Reference Links
|
deepfoobar
Using the LastValue() function should do what you want. I'm not quite sure
where you're getting your "constant" from so there may be issues involved
that I'm unaware of. I know there can be problems when a constant has some
N/A bars associated with it, and LastValue() is the solution if that's the
case.
MyConstant:=LastValue("my constant");
There are other tricks that can get around other issues that you may have so
even if the above suggestion doesn't work you shouldn't assume that all is
lost.
Roy
> Thanks so much again for the advice on the prior problem I had. Here
> is a new wrinkle though related to the same problem.
>
> I have a constant that I am reading in from a file that I want to use
> in a formula. Thing is the value is getting ignored over time I
> presume because the constant has no "date" value and is not being
> interpreted by the script as a value to use through the whole history
> of the formula. In this case it could be price going back some time,
> but I want to have that constant applied nonetheless.
>
> Is there some way to make the constant I am reading in apply to the
> whole of the period? Do I need to assign it as some sort of global
> (which is what I would do in any other language) variable?
>
> Somewhat puzzled by MS behavior on this but I guess it explicitly
> wants that date info.
>
>
>
> 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/
>
>
>
>
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/BefplB/TM
---------------------------------------------------------------------~->
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/
|