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

[Metastockusers] Re: last bar in data array



PureBytes Links

Trading Reference Links


...And for a signal 10 bars before the last:

bars:=10;
Cum(1)=LastValue(Cum(1))-bars;


jose '-)


--- In Metastockusers@xxxxxxxxxxxxxxx, "Roy Larsen" <rlarsen@xxxx> 
wrote:
> Tinus
> 
> Try this.
> 
> LastValue(Cum(1))=Cum(1);
> 
> > I would like to place a marker/alert (using the expert advisor)
> > say 10 bars earlier (before the last bar) on a chart.  Now the
> > problem is I can't seem to find a way to get a reference to the
> > last bar in a data array, so that I can use the ref function or
> > prev, etc.
> > 
> > I am sure this must be possible; any help in pointing me in the
> > right direction would be greatly appreciated. 
> > Regards,
> > Tinus Rautenbach
> 
> 
> Kind regards
> 
> Roy Larsen
> www.metastocktips.co.nz
> Free formulas and MS links






------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/zMEolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Metastockusers/

<*> To unsubscribe from this group, send an email to:
    Metastockusers-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/