experimented with it, substituting HMA for EMA in my formula (based on
"sample stdev") and also the one that Paul Ho provided (based on "population
stdev").
HMA is apparently too fast for standard deviation calculations because the
result is sometimes imaginary, due to taking the square root of a negative
number.
I'm not sure why using EMA works out, and maybe it does fail in some
situations. Even DEMA is too fast. I suppose we could always just use Nz()
to constrain it to zero, but who knows what the statistical meaning is
anymore. For that matter, why should we assume that standard deviation means
anything regarding the non-normal misbehaving stock market? Oh well,
whatever works :)
dan
On Sunday 21 May 2006 11:52 pm, NW Trader wrote:
> Hi Dan,
>
> Try using a Hull MA -- it's a lot faster.
>
> Peace and Justice --- Patrick
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
SPONSORED LINKS
| Investment management software | Real estate investment software | Investment property software |
| Software support | Real estate investment analysis software | Investment software |
YAHOO! GROUPS LINKS
- Visit your group "amibroker" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
