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

[EquisMetaStock Group] Re: Coding Problem



PureBytes Links

Trading Reference Links

Brett, you would first need to determine a % "flatness" range - say, 
1~2% deviation from price.  Follow this with the use of the 
BarsSince() function, to count bars from the last time the EMA has 
crossed into the EMA's flat zone.


jose '-)
http://www.metastocktools.com



--- In equismetastock@xxxxxxxxxxxxxxx, Brett Sinclair 
<brett_j_sinclair@xxx> wrote:
>
> I am having a problem with determining if a moving average is
> "flat" for a period of time.  For example, given an 8-Day
> exponential moving average, how would I determine if it was flat
> for the last 6 days?
>    
>    
>   Thanks, Brett







 
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/