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

[EquisMetaStock Group] Re: Missing days clarification explained (formatted in HTML) D'oh!



PureBytes Links

Trading Reference Links

Conrad,

Your formula generated a minus times a minus...yielding a positive.

P



--- In equismetastock@xxxxxxxxxxxxxxx, Conrad Smith 
<conradfsmith3@xxxx> wrote:
> Prestion,
>     Actually, the formula that I wrote (based off your info) give 
the resultsI wanted.  Put the formula in MS and give both versions a 
try.  What mine does is chart a 13 dayEMA and another EMA that is the 
13 day EMA minus a 5 day EMA.
> 
>     In order to get that last part,  I get the difference of 13 
EMA - 5EMA
> 
> A:= Mov(C,13,E);
> B:= Mov(C,5,E);
> X:= A - B;
> 
>     Now I take that difference and minus it from the full 13 EMA to 
get theEMA that is the 13 EMA - 5 EMA.  I don't want to plot the 
difference, I want to plot the deducted13 EMA.
> As for having too many minuses in the formula, you are most 
certainly correct.
> If you plot the formula:
> MAP:= Input("Moving Average Periods", 2, 365, 13); 
> Displacement:= Input("Periods Back", 2, 365, 5);
>  
> A:= Mov(C,MAP,E); 
> B:= Mov(Ref(C, Displacement),MAP,E) 
> 
> A; 
> B; 
> 
> You will see that second EMA stops five days back (assuming a minus 
period of five days), whichyou would expect, because (for example) 
today's minused EMA could not generate until five days inthe future, 
so I have to guess at the plots based off the recent prices.
> 
> I hope this helps to make it clear what I am trying to accomplish.
> 
> Thanks!
> Conrad
> 
> 
> 
> 
> ---------------------------------
> With Yahoo! Mail you can get a bigger mailbox -- choose a size that 
fits your needs


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/