Compiling indicator for custom indicator
-
hi, when compiling i keep getting errors saying that enumerator already has been named.. anyone has also encountered this ?
-
@yyaanniicckk Is it for MT4 or MT5?
-
@l-andorrà Hi, it is for MT4, i have found that i have this only when i use certain indicators, especially when they have a lot of moving average variations in them
-
@yyaanniicckk Can you please show a screenshot with the error? Is it an mq4 or an ex4 file?
-

-
it is an mql4 file
note: i think it is because i use a indicator that has the same ema calculation options as the one i am trying to add.., maybe it is because the program gets confused because of the same ema calculations in the code or something and that's why it says already defined.. this is just a guess tho @l-andorrà -
@yyaanniicckk I'm not a programmer but apparently that is what's happening. Try to change the names of the variable listed there (if possible) and try again.
-
hi, @l-andorrà thanks for the answer, i may have found a solution for the problem. It hasn't worked on all of the indicators that had the problem, but some of them work now, some i still have to figure out.. Basicly, after doing some research it is indeed because of the ema calculations. So what I did was delete the indicator, re-import the indicator and delete the enumerations that you see in my screenshot before updating. However i had to wait a couple of hours before the indicator actually worked, i figure because fxdreema site has some cache on a server that they delete/update? every few hours?. so you have to wait till that is done then it will work. (this worked for some indicators, not all)
I hope if someone encounters this problem they can find a solution by trying this out..

-
@yyaanniicckk Thank you for sharing this info. I think this can be very useful.