Inputs tab can be missing if no extern are declared in the source mq4
Make sure that your externs are declared on the global scope
Make sure that your externs are declared on the global scope
Hi Slawa,
There are several "extern" defined in the code and still I do not see the Input tab. Thats why it is so strange. I have been working on mq4 for more than four months and I have never seen this problem. Can you think of any thing else? Thanks.
chandra
There are several "extern" defined in the code and still I do not see the Input tab. Thats why it is so strange. I have been working on mq4 for more than four months and I have never seen this problem. Can you think of any thing else? Thanks.
chandra
Hi Slawa,
All the externs are before the init function (outside to all functions and in the first few lines). Now I have tracked it to the following line in the code:
All the externs are before the init function (outside to all functions and in the first few lines). Now I have tracked it to the following line in the code:
#include <stdlib.mq4>
I am surprised how this showed the input tab before with the same line of code. For now I have fixed the problem by copying the needed function from stdlib.mq4 and adding it to the indicator code and removing the include line! Now it is working properly. But still I am puzzled.
Thanks.
chandra
#include "stdlib.mq4"
or
#include <stdlib.mq4>
not
#include stdlib.mq4
or
#include <stdlib.mq4>
not
#include stdlib.mq4
Sorry Slawa,
It was my typing error. The line was correct in the code. I just changed it in my early post also.
It was my typing error. The line was correct in the code. I just changed it in my early post also.
Please remove from the stdlib.mq4 file one line
#property library
#property library
Hi Slawa,
Thank you for your nice work on identifying the problem. Now it works properly.
Regards,
chandra
Thank you for your nice work on identifying the problem. Now it works properly.
Regards,
chandra
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
For one custom Indicator, I lost the Input tab in Properties window!!! There are several "extern" defined and sometime back it was working correctly. Now this tab does not appear and it is very difficult to change settings for different charts. For all other indicators I can see the Input tab. It is so strange. I am wondering if anyone has some suggestion to fix this problem. I have tried saving as a different file and compiling and still it did not work.
Thanks.
chandra