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

RE: [EquisMetaStock Group] Re: How to remove 3 highest/lowest values in a range



PureBytes Links

Trading Reference Links

Jose, there are 3 issues:
1) When I plot the indicator using your latest formula, its value fluctuates 
between some value and zero; it should never go down to zero.
2) I suspect your calculated average is too low, since it sums the values of 
x over user-specified periods, substituting the 3 highest & lowest values 
with a zero, and then divides the resultant total by "pds", forgetting that 
6 values have been excluded;
3) I don't get what the denominator is for.

JD
====================================
From: "Jose" <josesilva22@xxxxxxxxx>
Reply-To: equismetastock@xxxxxxxxxxxxxxx
To: equismetastock@xxxxxxxxxxxxxxx
Subject: [EquisMetaStock Group] Re: How to remove 3 highest/lowest values in 
a range
Date: Tue, 16 Mar 2004 22:42:44 -0000

Sorry, that should be:

For the average I would simply replace the last line of code by:

---8<----------------------------
xOk:=x=xBoxed;
If(xOK,Sum(If(xOk,x,0),pds)/(xOk*pds+.000001),0)
---8<----------------------------

jose '-)

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfeeŽ 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



 
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/