You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi Mladen.
I see lsma display is not the same as other woodiescci indicators that I have.
For example: 3 images below are LSMA 25. But picture 3 is different from images 1 and 2.
Can you explain?
Hello, I am not a programmer, but seems to me that there is really an issue with the LSMA line. I just added to a chart the originals LSMA and SMA and visually seems that the dots they represents a 25 SMA, instead of a 25 LSMA.
I am wrong in something?
I finally understood the problem, the formula of the LSMA is correct, but the buffers at line 193 are inverted.
Just change:
double lsma=3.0*LsmaMABuffer1[i]-2.0*LsmaMABuffer2[i];
with:
double lsma=3.0*LsmaMABuffer2[i]-2.0*LsmaMABuffer1[i];
and the LSMA will be plotted correctly :)