myfin90:
You can't redefine a Symbol() function with the same parameters as the standard version.
Dear everyone,
Anyone know what is wrong with the following statement?
Comment(Symbol());
When I compiled, it says "Symbol'-ambiguous call to overloaded function with the same parameters.".
Or is there a way to write code to store the value of Symbol()?
Thanks you in advance.
Alain Verleyen:
You can't redefine a Symbol() function with the same parameters as the standard version.
You can't redefine a Symbol() function with the same parameters as the standard version.
Hi Alain,
Thanks for your quick reply. How then can I write code to store the value of Symbol() for use in subsequent coding to retrieve the value of Symbol()?
Tks once again.
That code should work fine so not sure why you're getting the overload error. You might need to provide more code so we can see what's going wrong. You can also try
Comment(_Symbol);
Stuart Browne:
That code should work fine so not sure why you're getting the overload error. You might need to provide more code so we can see what's going wrong. You can also try
We can only guess without the actual code.
That code should work fine so not sure why you're getting the overload error. You might need to provide more code so we can see what's going wrong. You can also try
Stuart Browne:
That code should work fine so not sure why you're getting the overload error. You might need to provide more code so we can see what's going wrong. You can also try
That code should work fine so not sure why you're getting the overload error. You might need to provide more code so we can see what's going wrong. You can also try
Hi Stuart,
Thanks for your reply. It is working now. There are some error in my coding.
Cheers.
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
Dear everyone,
Anyone know what is wrong with the following statement?
Comment(Symbol());
When I compiled, it says "Symbol'-ambiguous call to overloaded function with the same parameters.".
Or is there a way to write code to store the value of Symbol()?
Thanks you in advance.