Can't call an indicator
-
Hi, im having an issue coding a simple indicator call. Here is the little code :
0_1609005841175_EA1.mq5
However it constantly prints a 10 value for the RSI indicator. Do you know why ? -
@seb-0 Is the problem in your MT4 platform or your fxDreema account?
-
@l-andorrà
The file is edited and executed on my MT5 platform.
There is no error message tho, the RSI indicator gives me a 10 value, the MA 11.
It probably comes from the fact that I am still a nab in coding, I'll see how i can make it differently. -
@seb-0 Maybe there is a problem in the logic of your EA. I can take a look at it if you want.
-
@l-andorrà
There is no FxDreema project, I can't purchase anymore builder plan for some reason..
So I am trying to code it by hand instead.For those who are interested, I found that i had to define an array to hold the indicator value :

-
@seb-0 Impressive. Did it fix the problem?
-
@l-andorrà
Yes it did : ) -
@seb-0 Great! Thank you for sharing.