MetaTrader 4 Build 600 with Updated MQL4 Language and Market of Applications Released - page 39
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
Hi:
I'm trying to find a way to handle the warning I'm getting for the piece of code provided. This "Lookup Filter" (found it here on this forum and it worked without any problems in the OLD builds), is being used numerous times (all over) in my EA. Are there any of you who may suggest some solution or a way to tackle this?
The warning I'm getting is: "Check operator precedence for possible error; use parentheses to clarify precedence"
If you have "or" groups e.g. if(that and this||this && that); use a set of parenthesis,(), around each so that if(that and this||this && that); becomes
if((that && this)||(this and that));
Thanks. It will be fixed soon.
Hi I have the latest build (604), but array copy still doesn't do what I think it should be doing. Here is the code again. Have I got something wrong?
Kind regards
mfp.
angevoyageur said to me a while back, code in the old mql4 style unless you need the new functionality. I think that is good advice. There are only a few small changes to learn about if you take it that way.
is there anyway to use the new debugging features in the Strategy Tester?? Its of very little practical use debugging in live charts. Surely they asked developers and addressed this?
Since simulating the incoming tick with the PostMessage is now considered as a hack, then your request seems quite legitimate.
angevoyageur said to me a while back, code in the old mql4 style unless you need the new functionality. I think that is good advice. There are only a few small changes to learn about if you take it that way.
I am still waiting, then I hope I will have to only read the doc to find out whether the changes are bugs or features.
is there anyway to use the new debugging features in the Strategy Tester?? Its of very little practical use debugging in live charts. Surely they asked developers and addressed this?
angevoyageur said to me a while back, code in the old mql4 style unless you need the new functionality. I think that is good advice. There are only a few small changes to learn about if you take it that way.
I have to add that there are some changes in behaviour even in "old" mql4 that you have to take into account. See this topic : UnOfficial changes in function Behavior beween mql4_Built 509 vs mql4_Built 600+
The best approach in my opinion the following, I take example of an EA :