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

RE: [EquisMetaStock Group] Re: Displace indicator backward



PureBytes Links

Trading Reference Links

Jose,

Thanks for the quick and, as usual, accurate reply! Two questions though: it 
seems counterintuitive to use +PREV and -PREV together; don't these values 
just cancel each other out? And should they always be used without a space 
or comma inbetween i.e. as +PREV-PREV and not +PREV -PREV or +PREV, -PREV?

JD
Each day I learn something new
=====================================

From: "Jose Silva" <josesilva22@xxxxxxxxx>
Reply-To: equismetastock@xxxxxxxxxxxxxxx
To: equismetastock@xxxxxxxxxxxxxxx
Subject: [EquisMetaStock Group] Re: Displace indicator backward
Date: Wed, 17 Aug 2005 06:43:34 -0000

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 Links







------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hmnittd/M=362343.6886682.7839641.1493532/D=groups/S=1705375617:TM/Y=YAHOO/EXP=1124298683/A=2894354/R=0/SIG=11qvf79s7/*http://http://www.globalgiving.com/cb/cidi/c_darfur.html";>Help Sudanese refugees rebuild their lives through GlobalGiving</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/