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

Re: [EquisMetaStock Group] Re: Plotting Indicator for specific time period



PureBytes Links

Trading Reference Links

Hi Nuno


MetaStock will not allow you to plot an indicator value when there is no data for that bar. This means that what you want cannot be done exactly the way you want it. What needs to change is the way you think about the problem.

Consider the Parabolic SAR for a moment. That does what you say you want, but within the limitations of MetaStock. SAR plots tomorrows stop price on today's bar. There is a simple trick you can use to adjust SAR and plot it on the "correct" bar, but this trick won't work at the hard right edge so you have to use your imagination instead. The following formula shows how to plot SAR on the bar that the stop applies to, AND how to plot the value that applies to tomorrow.

Signal:=SAR(.02,.2);
EndFive:=LastValue(Cum(1))-4=Cum(1);
ValueWhen(1,EndFive,LastValue(Signal));
Ref(Signal,-1);


Regards

Roy
www.metastocktips.co.nz

 
----- Original Message ----- 
From: Andre Faustino 
To: equismetastock@xxxxxxxxxxxxxxx 
Sent: Wednesday, April 12, 2006 3:37 AM
Subject: RE: [EquisMetaStock Group] Re: Plotting Indicator for specific time period


Preston,

Imagine that my stop is Mov(c,15,s). The value that I place in my trading 
account as the stop is the value I calculated with yesterday's close (the 
last 15 closes, actually). And at the end of today, I'll be able to 
calculate tomorrow's stop (it will be the average of the last 15 closes). 
What I wanted to do, is plot the mov (c,15,s) one day forward (yesterday's 
in today and today's in tomorrow).

Tks
Nuno

----Original Message Follows----
From: pumrysh <no_reply@xxxxxxxxxxxxxxx>
Reply-To: equismetastock@xxxxxxxxxxxxxxx
To: equismetastock@xxxxxxxxxxxxxxx
Subject: [EquisMetaStock Group] Re: Plotting Indicator for specific time 
period
Date: Tue, 11 Apr 2006 02:08:55 -0000

nuno,

But it will plot yesterday's today. Nothing will plot into the
future.

Preston



--- In equismetastock@xxxxxxxxxxxxxxx, "Andre Faustino"
<andre_faustino@xxx> wrote:
>
> But the Ref function won't plot today's result in tomorrow date
before I
> have any other information about tomorrows day. This is what I
want to know
> how to do (and wasn't clear in the previous message)...
>
> How to plot an indicator into tomorrow's without having any real
information
> (OHLC) on it.
>
> Tks
> Nuno
>
> ----Original Message Follows----
> From: pumrysh <no_reply@xxxxxxxxxxxxxxx>
> Reply-To: equismetastock@xxxxxxxxxxxxxxx
> To: equismetastock@xxxxxxxxxxxxxxx
> Subject: [EquisMetaStock Group] Re: Plotting Indicator for
specific time
> period
> Date: Mon, 10 Apr 2006 21:09:33 -0000
>
> nuno,
>
> The ref function does that.
> For yesterday's value today use ref(your value,-1)
> For the value two days ago it would be ref(your value,-2)
>
> Preston
>
>
> --- In equismetastock@xxxxxxxxxxxxxxx, "Andre Faustino"
> <andre_faustino@> wrote:
>  >
>  > Still about this, is there a way to plot today's result in the
> next
>  > following bar?
>  > This is usefull because the stop value for today is calculated
> using
>  > yesterday's values, so it would be of interest to have it in
> today's bar and
>  > not yesterday's (I hope I made my self clear).
>  >
>  > Tks
>  > nuno
>  >
>  > ----Original Message Follows----
>  > From: pumrysh <no_reply@xxxxxxxxxxxxxxx>
>  > Reply-To: equismetastock@xxxxxxxxxxxxxxx
>  > To: equismetastock@xxxxxxxxxxxxxxx
>  > Subject: [EquisMetaStock Group] Re: Plotting Indicator for
> specific time
>  > period
>  > Date: Mon, 10 Apr 2006 18:09:12 -0000
>  >
>  > Dan,
>  >
>  > You haven't mentioned the specific periods that you are looking
for
>  > but Roy has done quite a bit of work on plots other than EOD.
Take
> a
>  > look at the formulas found at his site:
>  >
>  > http://www.metastocktips.co.nz/
>  >
>  > Preston
>  >
>  >
>  > --- In equismetastock@xxxxxxxxxxxxxxx, "tan ming"
>  > <reminiscenostalgia@> wrote:
>  >  >
>  >  > Hi, most indicators in MS often plot till last bar. is it
> possible
>  > to plot a
>  >  > indicator for a specific period? If possible, how can it be
> done?
>  > Many tks.
>  >  >
>  >  > Regards.
>  >  > Dan
>  >
>







SPONSORED LINKS Business finance course  Business to business finance  Small business finance  
      Business finance consultant  Business finance magazine  Business finance schools  


--------------------------------------------------------------------------------
YAHOO! GROUPS LINKS 

  a..  Visit your group "equismetastock" on the web.
    
  b..  To unsubscribe from this group, send an email to:
   equismetastock-unsubscribe@xxxxxxxxxxxxxxx
    
  c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


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



[Non-text portions of this message have been removed]



 
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/