What's wrong?
Files:
Screenshot_12.png
6 kb
In mt5 you have to use input instead of extern
IgorFX Trading #: What's wrong? i asked this question in mql4(mt4) section...
- Never use screenshots of code. Place the code here with the "</>" icon or Alt-S
- You are missing a ";" after the double "MyPoint = Point"
However, "Point" is a function, so you are also missing "()".
But to make it worse, you should not be using that function to initialise a Input/extern/global variable because it will be undefined at that time.
In general, global variables and inputs/externs should be initialised to a constant value. - Even though it is MQL4, you should in fact be using modern MQL4+ language practices, which means it is best to use "input" instead of "extern".
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