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

[EquisMetaStock Group] mov(positive integers only)



PureBytes Links

Trading Reference Links

Hello new friends. Perhaps someone can help me with this. I want to 
create an average true range of up days separate from down days. If I 
use the if() function, it returns the values I want [if(c>ref(c,-1),c-
ref(c,-1),0)] but also returns zeros for the down bars. This causes the 
moving average to be miscalculated. How do I return only the positve 
values with no zeros and then devide by the apropriate number? Thanks 
and I hope this will help others also. Terry








------------------------ Yahoo! Groups Sponsor --------------------~--> 
GFT Forex Trading Accounts As low as $250 with up to 400:1 Leverage. Free Demo.
http://us.click.yahoo.com/lpv1TA/jlQNAA/U1CZAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
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/