Faster MAs always cross over slower ones when trend direction changes. The idea of using the JMA (or any ama for that matter) as a proxy for price is to reduce whipsaws. I agree, the "JMA code" posted above is garbage.Quote from ElectricSavant:
so...let me see if I get this right...
One can visualize price action with a slow moving average and then let the faster jurik calculation (which is bad code posted here) signal a trade...but why did it crossover?...I gotta understand that...
ElectricSavant