Hi Stuart...
That's exactly my issue.... It is as simple as that.... I suddenly cannot '*' multiply anymore... I get the error msg: '*' - illegal operation
Seriously... I'm not trying to be funny here...
I have other sections of my code that multiply and carry on as usual...
...but suddenly.... I can't...?
It's driving me nuts because this should be such a simple procedure.... and I can't work it out.....
Soooo......
Ummm... this is very strange but I'm probably getting it wrong...
If I do this... it works no problem:
double a; double B=BBvalue; a=B*PipMultiplier;
But then... if I try to simply do this:
,"\nBB Value = ",BBvalue*PipMultiplier);
...then I get the error message....
I guess I can live with this but I would really like to know why I had to do this work around....
Anyways....
Thanx
Ummm... this is very strange but I'm probably getting it wrong...
If I do this... it works no problem:
But then... if I try to simply do this:
...then I get the error message....
I guess I can live with this but I would really like to know why I had to do this work around....
Anyways....
Thanx
That snippet of code looks like it's from a Print() or Comment() block. Can you post the whole thing mate? If that line is out there by itself then it makes no sense which is why it won't work....
,"\nBB Value = ",BBvalue*PipMultiplier);
Be sure that BBvalue never equal to zero during EA operation ... also ...
use DoubleToString(xxxx,xxxx) for Comment( ), Alert( ), Print( ), ....
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi Guys....
I suddenly cannot multiply.... '*' - illegal operation use
I initially thought this was just a temperamental phase that my computer was going thru... BUT... it's now becoming serious....
Can anyone help me out here.... I am speechless.... It's driving me nuts....
,"\nBB Value = ",BBvalue*PipMultiplier);