Dukascopy
 
 
Wiki JStore Search Login

JFOREX-1632 MarketInfo always return's 0
 Post subject: JFOREX-1632 MarketInfo always return's 0 Post rating: 0   New post Posted: Mon 05 Apr, 2010, 17:17 

User rating: 0
Joined: Fri 02 Apr, 2010, 19:59
Posts: 20
Location: South West England
This morning I was prompted to upgrade my platform, and I'm now running JForex 2.2.10 instead of 2.1.14

Things seem to have improved, and the MQ4 to Java conversion is working a lot better, though it still requires a bit of hand editing before it will compile.

I don't get the exception on startup any more either, but now I have another problem:

MarketInfo(Instrument(),MODE_POINT) seems always to return 0

Jim


 
 Post subject: Re: JFOREX-1632 MarketInfo always return's 0 Post rating: 0   New post Posted: Mon 12 Apr, 2010, 08:54 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
It is fixed and will be available in a next build version.


 
 Post subject: Re: JFOREX-1632 MarketInfo always return's 0 Post rating: 0   New post Posted: Sat 17 Apr, 2010, 19:42 

User rating: 0
Joined: Fri 02 Apr, 2010, 19:59
Posts: 20
Location: South West England
OK - Thanks.

Don't suppose you can give me an idea when the new version will be released?


 
 Post subject: Re: JFOREX-1632 MarketInfo always return's 0 Post rating: 0   New post Posted: Fri 23 Apr, 2010, 22:09 

User rating: -
MarketInfo is VERY important please provide fast!

Thanks


 
 Post subject: Re: JFOREX-1632 MarketInfo always return's 0 Post rating: 0   New post Posted: Tue 04 May, 2010, 04:00 

User rating: -
The version 2.3.2

MarketInfo always return "0" or "1"

How I can get this values in JForex:

priceBID_EURUSD = MarketInfo("EURUSD",MODE_BID);
priceASK_EURUSD = MarketInfo("EURUSD",MODE_ASK);

priceBID_GBPUSD = MarketInfo("GBPUSD",MODE_BID);
priceASK_GBPUSD = MarketInfo("GBPUSD",MODE_ASK);

priceBID_EURCHF = MarketInfo("EURCHF",MODE_BID);
priceASK_EURCHF = MarketInfo("EURCHF",MODE_ASK);




The iMA return wrong value, how i can convert this:

imahigh_now = iMA(NULL,0,14,0,MODE_SMA,PRICE_HIGH,0);
imalow_now = iMA(NULL,0,14,0,MODE_SMA,PRICE_LOW,0);


Thanks


 
 Post subject: Re: JFOREX-1632 MarketInfo always return's 0 Post rating: 0   New post Posted: Wed 05 May, 2010, 16:28 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Please check the latest build 2.3.5


 

Jump to:  

  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com