This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community
Refreshing all quotesBack to topics list | 1 2 |
|
AndrewSchwartz
2005.06.06 11:06
Do you mean MtGetSecurities?
I tried MtGetSecurities. It returns a ConSecurity*. In the ConSecurity, the "spread" parameter is 0. I would expect it to return 3 or 4 or something larger than 0. Thanks. |
|
Slawa
2005.06.06 11:33
sorry. there is undocumented function. forgotten. sorry. add to mtapi.h
MT_API int MtGetSecurityInfo(const int handle,const char *symbol,ConSecurity *sbi);
typedef int (*MtGetSecurityInfo_t)(const int handle,const char *symbol,ConSecurity *sbi);
MtGetSecurityInfo_t MtGetSecurityInfo; ... int GetSecurityInfo(const char *symbol,ConSecurity *sbi);
|
Back to topics list
| 1 2
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets
