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" <[EMAIL PROTECTED]> 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
>


Reply via email to