Build 193 - Bug...

 
Hi,

I think there may be a problem with the MarketInfo function. The following code always returns 0.

Print("Spread: " + MarketInfo(Symbol(), MODE_SPREAD));
 
Hi,

I think there may be a problem with the MarketInfo function. The following code always returns 0.

Print("Spread: " + MarketInfo(Symbol(), MODE_SPREAD));

See "Bug - build 190"
 
Some brokers set spread to 0 (in the symbol info) and get quotes from 2 different sources - for bid and for ask separately
 
Hell - I can't believe I already asked that question! Brain cells must be diminishing with old age.... Anyway, thanks sub and Slawa!

B.t.w Slawa - I also noticed that the command "MarketInfo(Symbol(), MODE_STOPLEVEL)" always returns 5, regardless of the spread of the Symbol. Has this also got to do with the above?
 
stop level and spread are independent values
 
So the number of points required between an order and it's corresponding stop/TP order is always 5 points, regardless of the currency pair?
 
This values are set by manager. Ask question your broker
 
Thanks Slawa!