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

[EquisMetaStock Group] Re: Using only the last "x" bars



PureBytes Links

Trading Reference Links

If I get it right, you may want to try this:

LastValue(Ref(L,-2))

Regards,

mc

--- In equismetastock@xxxxxxxxxxxxxxx, "engclin" <engclin@xxx> wrote:
>
> Hi everybody, I´m new on this group, and would like to know if anybody can help me with a question:
> 
> I´m trying to do a very simple indicator (in fact, it´s a trailing stop), and would like to plot an horizontal line with the low of 2 bars ago. However, I don´t want another curve to be plotted with the low of every 2 bars ago, but ONLY THE LAST value like an horizontal line.
> 
> So, how can I restrain the analysis to only the "x" last bars? Is this possible with Metastock?
> 
> Thank you very much.
> 
> Eduardo Scarpini
>




------------------------------------

Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:equismetastock-digest@xxxxxxxxxxxxxxx 
    mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx

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