The smiley or non smiley face does not indicate if EA is good or bad compilation. The face indicates that an EA is attached to chart. If not smiley face, you need to click "Expert Advisor" in upper MT4 toolbar. And, to assure EA trades, press F7 and then under the "common" tab, check "allow live trading" box.
More info in the MT4 Platform Help section - User Interface/Toolbars/Standard
Hi, thanks for the info...
To clarify my problem, I know the smiley doesn't indicate whether there were compilation errors. I'm not referring to compilation errors.
The smiley indicates that the expert attached to the chart - this implies successfully. I want to be able to prevent the smiley face from showing up if my initialization code detects that there is some reason why it cannot operate. Otherwise, if the smiley remains, it will incorrectly imply that the expert is operating.
Thanks,
Kevin
To clarify my problem, I know the smiley doesn't indicate whether there were compilation errors. I'm not referring to compilation errors.
The smiley indicates that the expert attached to the chart - this implies successfully. I want to be able to prevent the smiley face from showing up if my initialization code detects that there is some reason why it cannot operate. Otherwise, if the smiley remains, it will incorrectly imply that the expert is operating.
Thanks,
Kevin
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Is there any way my init procedure can tell MetaTrader that the initialization failed, such that the smiley face will not appear?
Thanks,
Kevin