karan / Publications
Forum
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
MQL4 and MQL 2
I wrote a custom indicator in MQL4 and need to write this in MQL2. Why, you might ask... I am using mtapi.dll from C# and I want to see this indicator on the MetaTrader 3 platform (FXDD account). I want to be able to get the last day's close, low and high. On the surface you can do this using