Moving Average is bugging?!
-
Hello everyone,
this is my current test project: https://fxdreema.com/shared/sJ4EfSNyb
I tried to overwrite the values of variables ma5 and ma55 with returned moving average values respectively but it seems that the inbuilt moving average indicator is not working properly. Instead of saving the actual value, it keeps saving the value 0 into both variables. I tried to debug with no success.
Debug statements are in blocks 36 and 37.
Thanks in advance.
Roland
-
@rsquared1 not a coder so cant help much. But why do you use "-" infront of candle id?
-
@vonmunchy Agreed. This question is for reals programmers, I'm afraid.
-
@rsquared1 This coding is not correct, where did you find it? You should separate the alert.

-
@alphaomega If is a bug you can report it. https://fxdreema.com/forum/category/3/Bug-reports-and-fixes
-
@andrew-b I am not saying its a bug I know too little about coding.. that is for the big guns..but:
I think the problem is here:
