Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

I get "Type mismatch: cannot convert from IOrder to double" when trying to compile my strategy in jforex
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=141&t=50491
Page 1 of 1

Author:  HAPPYMAN [ Mon 09 Dec, 2013, 18:52 ]
Post subject:  I get "Type mismatch: cannot convert from IOrder to double" when trying to compile my strategy in jforex

Hello,
due to Bad response from server: 404 Not Found I tried to compile my strategy manually in jforex. But I get an error like this:
Type mismatch: cannot convert from IOrder to double

The strategy should move SL to BE+x pips when the position is in y pips positive.
I reviewed all variables and they are all double. Cannot find what's wrong. Compilation in VJF works.

Thank you for help

Attachments:
File comment: the strategy
temp.vfs [33.14 KiB]
Downloaded 107 times

Author:  vadim_berezhnoj [ Tue 10 Dec, 2013, 17:24 ]
Post subject:  Re: I get "Type mismatch: cannot convert from IOrder to double" when trying to compile my strategy in jforex

Greetings.

That is a Bug. Will be fixed in new version.

  Page 1 of 1