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

[EquisMetaStock Group] Re: Barssince Event



PureBytes Links

Trading Reference Links

Try adapting this MS indicator code:
http://www.metastocktools.com/#metastock
"BarsSince Nth event" link.


jose '-)
http://www.metastocktools.com



--- In equismetastock@xxxxxxxxxxxxxxx, "rsb_44" <ronber@xxxx> wrote:
> Bottom:= ref(L,-1)<L and ref(L,-1)< ref(L,-2);
> 
> P2:=ValueWhen(2, BOTTOM, Ref(L,-1));
> 
> Gives me the low of the 2nd most reent bottom.
> 
> I want to know how many bars passed since the 2nd most recent
> bottom.
> 
> I've tried various flavors of Barssince, but without success.
> 
> Neither below worked.
> Barssince(P2=P2);
> Barssince(ref(L,-1)=P2);
> 
> Any help is appreciated.
> 
> TIA
> Ron




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