Hi droskill Sorry - should have made myself clearer. Standard cci period yes - 14. Ema set as 14 period as well. You have me on the 0.4 smoothing - never heard of it before so was hoping that someone might be able to explain. Thanks for the code - will try and play around with it. Cheers, jon
--- In [email protected], "droskill" <[EMAIL PROTECTED]> wrote: > > I think you are going to need to answer more questions: what's the > period of the CCI? What's the period of the EMA? What does smoothing > of 0.4 mean? > > In terms of what I see, the code would, from my point of view, look > like this: > > myCCI = CCI(14); //I'm assuming the standard CCI in terms of days > MACCI = MA(myCCI,2); > SmoothedMACCI = EMA(MACCI,4)://I don't know what 0.4 smoothing means > > Plot(SmoothedMACII,"MACCI",colorRed); > > --- In [email protected], "jon" <jonowm@> wrote: > > > > Hi there > > I'm a total novice when it comes to AB coding but learning slowly. > > Just wondering if anyone has an idea of how to go about coding the > > following. I came across it on a BB and it intrigued me. > > >>>> > > MACCI is a 3 period SMA of the CCI which is then put through an exp MA > > with smoothing 0.4. I.e Auto regressed @ 40%. > > >>>> > > Is this possible to code? > > Thanks in advance > > Cheers, Jon > > >
