molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming
http://www.molanis.com/forum/

anything better than "MarketInfo"
http://www.molanis.com/forum/viewtopic.php?f=3&t=477
Page 1 of 1

Author:  trueresource [ Sun Aug 28, 2011 5:26 pm ]
Post subject:  anything better than "MarketInfo"

I use the following MQL code to keep me out of the market when the spread is greater than 1pip (allowing slippage of 3):

"MarketInfo(Symbol(),MODE_ASK)-MarketInfo(Symbol(),MODE_BID)<=1.0"

My Question is: why am I still observing my EA take trades when spreads are higher than 4 pips? :?

I like this "MarketInfo" approach as I feel its a more organic method (than the TIME Icon) to keep me out of markets. Can anyone suggest anything better than "MarketInfo" above?

Author:  molanisfx [ Sun Aug 28, 2011 8:06 pm ]
Post subject:  Re: anything better than "MarketInfo"

Please post your ea to take a look. No way to now why the expert advisor open trades without looking at the ea.
MarketInfo tends to be the best thing for that

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/