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

Re: [EquisMetaStock Group] Absolute reference



PureBytes Links

Trading Reference Links

Hi MG

There isn't a function such as you describe. The effect can be
achieved with this though.
ValueWhen(1,Cum(1)=1,C);

Sometimes it's useful to plot an entire data array with a value
that occurs at some clearly defined point, and an example of that is..
LastValue(ValueWhen(1,Cum(1)=100,C));

Of course that's forward looking for the first 99 bars, so not appropriate
for every situation.

Kind regards

Roy
www.metastocktips.co.nz



> I am working on your question, just a quick question to the group,
> that relates to our discussion.
> 
> Is it possible to get an absolute reference?  I know
> 
> Ref(C,-1)
> 
> gives the close one bar ago.  Also, something like
> 
> sum(C*(Cum(1)=1))
> 
> gives the close of the first bar.  But is there a function, say 'X',
> so that
> 
> X(C,1)
> 
> gives the close of the first bar?
> 
> Thanks in advance
> MG Ferreira
> TsaTsa EOD Programmer and trading model builder
> http://www.ferra4models.com
> http://fun.ferra4models.com 
> 
> 
> 
> 
> 
> --------------------------------------------------------------------------------
> Yahoo! Groups Links
> 
>  a.. To visit your group on the web, go to:
>  http://groups.yahoo.com/group/equismetastock/
>    
>  b.. To unsubscribe from this group, send an email to:
>  equismetastock-unsubscribe@xxxxxxxxxxxxxxx
>    
>  c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
> 
>


------------------------ 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/