Getting spread in MetaTrader 4
|
|||
|
am using the following to compute the spread in points for the current chart:
string symbol = Symbol(); // Get chart symbol int spread = MarketInfo(symbol,MODE_SPREAD); spread is being set to 0. I have verified that symbol is valid (set to "EURUSD"). What is wrong with the above? |
![]() |
|
|||
|
Quote:
Do you or anyone else on this forum know of a way to pass MQL4 strings by reference to a DLL written in C? I looked at the ExpertSample.dll but it is not of much help. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Upcoming MetaTrader Version 4 | scorpion | MetaTrader and ZeroCode | 13 | 07-18-2009 06:05 PM |
| Metatrader 4 released | Rastarr | MetaTrader and ZeroCode | 18 | 10-07-2008 09:56 AM |
| Oanda's Spread during News | gazuz | Brokers/Platforms | 0 | 09-05-2006 05:42 PM |
| Neurex goes to metatrader 4 !!! | Belzebut | MetaTrader and ZeroCode | 1 | 07-07-2005 10:14 AM |
| Security Issues in MetaTrader 4 | scorpion | MetaTrader and ZeroCode | 3 | 01-27-2005 02:51 PM |
All times are GMT. The time now is 10:15 AM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now









Linear Mode


