I am getting a "Specified symbol is not selected" when I try to run my EA. What am I doing wrong?
Also, I am not able to create an demo account using MQL5.
Could you please help...
Thanks
MQL5Engr.
My code is nothing... it's just a Hello World program... I can compile it fine... but when I run it... it gives me an error "Specified Symbol is not selected"
int OnInit()
{
//---
//---
return(0);
}
//+------------------------------------------------------------------+
//| Expert deinitialization function |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
{
//---
}
//+------------------------------------------------------------------+
//| Expert tick function |
//+------------------------------------------------------------------+
void OnTick()
{
//---
Print("Hello World");
}
My code is nothing... it's just a Hello World program... I can compile it fine... but when I run it... it gives me an error "Specified Symbol is not selected"
int OnInit()
{
//---
//---
return(0);
}
//+------------------------------------------------------------------+
//| Expert deinitialization function |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
{
//---
}
//+------------------------------------------------------------------+
//| Expert tick function |
//+------------------------------------------------------------------+
void OnTick()
{
//---
Print("Hello World");
}
Rosh,
Thanks so much for you quick replies!!
I am not able to connect to a trade server... whenever I try to open an account it just fails.
My MQL5 application just displays "Waiting for Update" for all the currency charts...
How can I connect to a Trade Server?
Thanks
MQL5Engr.
Have you tried to open Demo account yet?
It doesn't let me... When I try to open... it's not able to connect to the server, I think.
Which Server do I connect to?
What am I doing wrong?
Rosh:
The client terminal is needed open 443-rd port to connect to trade server. You should check does this port open or not.
I have the client terminal. I am sorry I am asking you really stupid and silly questions... I have very good experience with MQL4 but not MQL5... please bear with me...
What does "open 443-rd port to connect to trade server" mean? How do I check if this port opens or not?

- 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 am getting a "Specified symbol is not selected" when I try to run my EA. What am I doing wrong?
Also, I am not able to create an demo account using MQL5.
Could you please help...
Thanks
MQL5Engr.