TERMINAL_COMMUNITY_ACCOUNT and TERMINAL_COMMUNITY_CONNECTION not working
Hi,
When getting the properties TERMINAL_COMMUNITY_ACCOUNT and TERMINAL_COMMUNITY_CONNECTION using the TerminalInfoInteger() function, the result is always false. I'm connected to the MQL community, my balance shows next to the Cloud under Agents. Can anyone help me with this? Or is there any other way to programmatically detect if I'm connected to the cloud?
Version 5.00 build 975
I confirm these properties are working well with MT5 build 975.
printf("Com.Account=%i Com.Conn=%i",TerminalInfoInteger(TERMINAL_COMMUNITY_ACCOUNT),TerminalInfoInteger(TERMINAL_COMMUNITY_CONNECTION));
Result if connected :
2014.10.08 14:17:13.253 36655 (EURUSD,D1) Com.Account=1 Com.Conn=1
If not connected :
2014.10.08 14:15:45.413 36655 (EURUSD,H1) Com.Account=0 Com.Conn=0
Hi,
When getting the properties TERMINAL_COMMUNITY_ACCOUNT and TERMINAL_COMMUNITY_CONNECTION using the TerminalInfoInteger() function, the result is always false. I'm connected to the MQL community, my balance shows next to the Cloud under Agents. Can anyone help me with this? Or is there any other way to programmatically detect if I'm connected to the cloud?