/* This MA may have some advantages over other no lag MA's. I don't really have the skill to adapt it
but others may find it useful as an indicator as well. The code is attached here.
Thanks in advance Rich Man
CODE:
Please log in to see this code.
Size:
Color:
Rich, I was curious to see what this indicator looked like, so I gave a shot at porting it to WLP...
CODE:
Please log in to see this code.
I did not try to debug it. I tried to keep this code as close to the original as possible.
Size:
Color:
Thanks to Tim. I am testing ALMA on a variety of strategy. It follows the bars better than any other MA's that I have used in the past. I will post further thoughts about it as I develop strategies based on its use.
Rich
Size:
Color:
Just for the record, "ALMA" stands for Arnaud Legoux Moving Average. Kudos to Tim, the ALMA is on its way to Community.Indicators 2010.12.
Size:
Color:
Thanks!
If it's on it's way to Community.Indicators, I don't know if you want to put in an extra test for the variable sigma. If it is zero, it will cause a divide by zero error.
Size:
Color:
Will do. Thanks.
Size:
Color: