Extern Variables - Variables - Language Basics - MQL4 Reference
drop the extern. Perhaps you should read the manual.
i kinda figured that.
Thanx for the input.
I am no developer. I am only trying to edit my own EA.
Franzel Botha:
or do I use the following?
@whroeder1 already answered your question about extern.
As for int vs. double:
I typically use double for pips and int for points. Depending upon your currency pair, a portion of a pip is meaningful (10 points to 1 pip for 3 and 5 digit prices), ergo double.
@whroeder1 already answered your question about extern.
As for int vs. double:
I typically use double for pips and int for points. Depending upon your currency pair, a portion of a pip is meaningful, ergo double.
thnx. makes sense.
in mql5 extern doesn't work correctly.
extern int XT = 10;
Not displayed in the output window.
pls help.
in mql5 extern doesn't work correctly.
extern int XT = 10;
Not displayed in the output window.
pls help.
Use 'input'. Forget about ' extern'.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I have this EA that has external input following as focusing on the pipcount in the mt4 settings.
If I need the pipcount not to be able to be edited in the mt4 terminal setting I should use the following?
or do I use the following?