PureBytes Links
Trading Reference Links
|
------------------------------------------------------------------------
You cannot reply to this message via email because you have chosen not
to disclose your email address to the group.
To reply: http://groups.yahoo.com/group/equismetastock/post?act=reply&messageNum=5078
------------------------------------------------------------------------
> i wonder if anyone can show me how to get the value of an indicator
> at a specific date - not number of periods back.
> e.g. the close at 5/4/2002
ValueWhen(1,DayofMonth()=5 AND Month()=4 AND
Year()=2002, RSI(14) {example only} );
The date must be legitimate for the chart or you will get N/A returned
instead of a legitimate value. To get around that problem you could force
the signal to be zero until the required date with something like this.
ValueWhen(1,Cum(1)=1 OR (DayOfMonth()=5 AND
Month()=4 AND Year()=2002),If(Cum(1)=1,0, RSI(14) {example only} ));
Roy
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Plan to Sell a Home?
http://us.click.yahoo.com/J2SnNA/y.lEAA/MVfIAA/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/
|