--- In [email protected], "rkp1" <ralphpatriq...@...> 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.
