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

[amibroker] Re: WMA problem



PureBytes Links

Trading Reference Links

--- In amibroker@xxxxxxxxxxxxxxx, "rkp1" <ralphpatriquin@xxx> wrote:
>
> Hi folks. I'm having a problem with the WMA function in TimeFrames. When I use the following code in the default Price chart:
> 
> TimeFrameSet(inDaily * 5);
> mw = WMA(C, 39);
> TimeFrameRestore();
> mwx = TimeFrameExpand(mw, inDaily * 5);
> Plot(mwx, "WMA", colorRed, styleThick);
> 
> I get 4 {EMPTY} bars followed by almost 200 bars starting at -9,500,000,256.00 to -12,820,173.00 before the WMA settles down. Could others verify this, and is there a way to eliminate it?
> 
> Thanks,
> 
> Ralph
>

About 6 years ago, I had the same experience. My workaround
is an AFL function wrapper for WMA() so that when used with
TF functions, produces what I expect. I am not on my own
computer now - email if you want the wrapper and I will send it
to you.




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/