| / | Forum |
|
karan
2006.05.12 22:39
I 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 s wrong with the above? |
|
Changing the External Parameters of MQL4 Programs without Restarting The article describes a method of changing the external parameters of MQL4 programs on-the-fly, without restarting. |
5198 |
stringo
2006.05.13 23:49
Interbank FX? In such case use substraction Ask - Bid |
|
vixenme
2006.05.15 11:03
|
|
sx_ted
2006.05.15 15:27
The function MarketInfo returns a value of type double. double dDealingSpread=MarketInfo(Symbol(), MODE_SPREAD); Print("dDealingSpread=",dDealingSpread);
it is the samples in the documentation which are in error. |
|
itvndesign
2006.09.12 07:47
![]() How to get current price when you mouse move to the point on moving average. |