afl code using JMA (jurik dll)

#11
I wrote an email to the adress what you gave me, without any result..."Delivery to the following recipient failed permanently" window appeared.The costumer support really pathetic, how you wrote...
So, I did not purchased the softvare yet, I think I am waiting for answer from them!
Thank you your help again!
 

oxusmorouz

Well-Known Member
#12
Dear oxusmorouz!

Thank you your fast answer!
I am vague now.:confused:I am interest the program, but I am worried about the service.Did you ordered it online or in fax?did you regret it that you bought it?
Hello mcsabee,
No, I do not regret my purchase. Infact, JMA is very good indeed. I bought it online.
 
#14
Code:
function JurikMA(src, length, phase, power)
{
src = (High + Low + Close)/3;
phaseRatio = IIf(phase < -100, 0.5, IIf(phase > 100, 2.5, (phase / 100) + 1.5));
beta = 0.45 * (length - 1) / (0.45 * (length - 1) + 2);
alpha = beta ^ power;
jma = 0.0;
e0 = 0.0;
e1 = 0.0;
e2 = 0.0;

    for (i = 1; i < BarCount; i =i+1)
        {
            e0[i] = (1 - alpha[i]) * src[i] + alpha[i] * nz(e0[i-1]);
            e1[i] = (src[i] - e0[i]) * (1 - beta[i]) + beta[i] * nz(e1[i-1]);
            e2[i] = (e0[i] + phaseRatio[i] * e1[i] - nz(jma[i])) * ((1 - alpha[i]) ^ 2) + (alpha[i] ^ 2) * nz(e2[i-1]);
            result[i] = e2[i] + nz(jma[i]);
        }
        
    return result;
}
This is my code for Jurik Moving Average. But it's neither plotting anything nor giving any error. How it can be fixed? Please help. Regards.
 

Similar threads