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

[EquisMetaStock Group] Re: explanation of code



PureBytes Links

Trading Reference Links

Denis,

The code breaks down to 
Integer or whole number of the 
simple moving average of a 5 day close
divided by the 30 day average true range plus .5
(mov(c,5,s)/atr(30)+.5)
times
30 day average true range  
*atr(30)

Anytime you divide something and then multiply by the same thing you 
should question the benefit. In this case you would get a similar 
value by simply using Mov(C,5,S);
The plot produced by the two is very similar. 

Preston



--- In equismetastock@xxxxxxxxxxxxxxx, denishaines <no_reply@xxx> 
wrote:
>
> Could some one please explane the code below
> 
> Int(mov(c,5,s)/atr(30)+.5)*atr(30)
> 
>                         thanks DENIS
>




 
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/