Marketinfo error in Cowboy IBFX Live server

Post Reply
JFonseca
Trader
Posts: 25
Joined: Thu Jul 26, 2012 9:50 am

Marketinfo error in Cowboy IBFX Live server

Post by JFonseca »

Hi,

I have an EA that uses Marketinfo function to get ask, bid, point and digits. I use it in 2 Cowboy IBFX demo accounts, without any issue, since 07-04-2013. I tried today to use it in my live (mini) account and the EA does not work, because the Marketinfo function gets "0" for all values. I tryed to use Live support about this but the person did not know half of what I know about Empty4 and MQL4, and believe me, I do not know much :-)

My live server is Cowboy IBFX-Empty4-03.

Has anyone had this problem? Is there any way of solving this? If I cannot solve it, I will need to move my mini account to other broker, and I use Cowboy IBFX for a long time.

Joaquim Fonseca
Image
User avatar
gaheitman
Trader
Posts: 655
Joined: Tue Nov 15, 2011 10:55 pm
Location: Richmond, VA, US

Re: Marketinfo error in Cowboy Cowboy IBFX Live server

Post by gaheitman »

JFonseca wrote:Hi,

I have an EA that uses Marketinfo function to get ask, bid, point and digits. I use it in 2 Cowboy Cowboy IBFX demo accounts, without any issue, since 07-04-2013. I tried today to use it in my live (mini) account and the EA does not work, because the Marketinfo function gets "0" for all values. I tryed to use Live support about this but the person did not know half of what I know about Empty4 and MQL4, and believe me, I do not know much :-)

My live server is Cowboy IBFX-Empty4-03.

Has anyone had this problem? Is there any way of solving this? If I cannot solve it, I will need to move my mini account to other broker, and I use Cowboy Cowboy IBFX for a long time.

Joaquim Fonseca
Everything seems fine on my live (normal) account. Are you sure it isn't an issue with suffixes or something like that?

George
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Marketinfo error in Cowboy Cowboy IBFX Live server

Post by SteveHopwood »

JFonseca wrote:Hi,

I have an EA that uses Marketinfo function to get ask, bid, point and digits. I use it in 2 Cowboy Cowboy IBFX demo accounts, without any issue, since 07-04-2013. I tried today to use it in my live (mini) account and the EA does not work, because the Marketinfo function gets "0" for all values. I tryed to use Live support about this but the person did not know half of what I know about Empty4 and MQL4, and believe me, I do not know much :-)

My live server is Cowboy IBFX-Empty4-03.

Has anyone had this problem? Is there any way of solving this? If I cannot solve it, I will need to move my mini account to other broker, and I use Cowboy Cowboy IBFX for a long time.

Joaquim Fonseca
It is a common Cowboy IBFX problem with Point - find the solution in my shell EA code developed by the likes of lifesys. You are looking for the variable cactor and how it is calculated in the PipFactor() function. Zero values for everything suggests a major problem such as a missing pair suffix.

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
JFonseca
Trader
Posts: 25
Joined: Thu Jul 26, 2012 9:50 am

Re: Marketinfo error in Cowboy Cowboy Cowboy IBFX Live server

Post by JFonseca »

Found the error!

In DEMO accounts Symbol is mEURUSD and in LIVE accounts Symbol is EURUSDm.
Image
Post Reply

Return to “Coders Hangout”