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

[EquisMetaStock Group] Re: Displace indicator backward



PureBytes Links

Trading Reference Links

Try this MS trick to extend forward-referencing to the edge of your 
chart:

LastValue(Ref(Fml("My indicator"),5)+PREV-PREV)


jose '-)
http://metastocktools.com/#metastock


--- In equismetastock@xxxxxxxxxxxxxxx, "John Doe" 
<ms001122@xxxx> wrote:
> Hi,
> 
> I created a 5 day pivot high indicator, hereafter called "My indicator".
> It identifies a pivot high that is also a 5-day high. Also, and this is 
> important, the pivot is not marked (identified) till 5 days have passed 
> since its occurrence.
> 
> But when I plot "My indicator" on a chart, the line starts 5 days after
> each pivot high (since the pivot is identified only 5 days later) and
> continues till the right edge of the chart. In order to make the line
> coincide with the bar where the pivot high is located, I used
> Ref(My Indicator, +5) but then the line stops 5 bars short of the right
> edge of the chart!
> 
> I want to plot the line so that it coincides with the pivot high (even 
> though the pivot is identified 5 days later), yet continues to the right 
> edge of the chart. I suspect the Cum(1) argument is needed but I
> couldn't code it with success. Can somebody please help? Thanks.
> 
> JD




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hd0p1e7/M=362343.6886682.7839641.1493532/D=groups/S=1705375617:TM/Y=YAHOO/EXP=1124268222/A=2894352/R=0/SIG=11fdoufgv/*http://www.globalgiving.com/cb/cidi/tsun.html";>Help tsunami villages rebuild at GlobalGiving. The real work starts now</a>.</font>
--------------------------------------------------------------------~-> 

 
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/