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

JSON decoding error: 4
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=141&t=49628
Page 1 of 1

Author:  yogurt [ Wed 17 Jul, 2013, 01:58 ]
Post subject:  JSON decoding error: 4

Cant build the strategy - gives:
JSON decoding error: 4

Author:  vadim_berezhnoj [ Wed 17 Jul, 2013, 12:00 ]
Post subject:  Re: JSON decoding error: 4

Hello.

Can you post the steps how you received the problem.
And strategy example would be useful.
Thanks in advance.

Author:  yogurt [ Wed 17 Jul, 2013, 18:33 ]
Post subject:  Re: JSON decoding error: 4

vadim_berezhnoj wrote:
Hello.

Can you post the steps how you received the problem.
And strategy example would be useful.
Thanks in advance.


Here us the simple strategy.
Just try to build it and you get this error.

Attachments:
JSON.vfs [28.8 KiB]
Downloaded 546 times

Author:  vadim_berezhnoj [ Thu 18 Jul, 2013, 09:55 ]
Post subject:  Re: JSON decoding error: 4

Now I catch the error. Thank you for contribution.
Working on it. Will be fixed ASAP.

Author:  yogurt [ Mon 22 Jul, 2013, 21:51 ]
Post subject:  Re: JSON decoding error: 4

vadim_berezhnoj wrote:
Now I catch the error. Thank you for contribution.
Working on it. Will be fixed ASAP.


When this problem will be solved?
I can`t build any of my strategies...

Author:  Heruar [ Tue 30 Jul, 2013, 19:32 ]
Post subject:  Re: JSON decoding error: 4

Any news on solving this problem ?
It's been a while and no more news...

Cheers

Author:  vadim_berezhnoj [ Wed 31 Jul, 2013, 11:09 ]
Post subject:  Re: JSON decoding error: 4

Fixed in new version.
Update is coming next week.

Author:  Heruar [ Wed 31 Jul, 2013, 12:20 ]
Post subject:  Re: JSON decoding error: 4

vadim_berezhnoj wrote:
Fixed in new version.
Update is coming next week.


TY for the reply.

Cheers

Author:  Heruar [ Fri 09 Aug, 2013, 21:26 ]
Post subject:  Re: JSON decoding error: 4

vadim_berezhnoj wrote:
Fixed in new version.
Update is coming next week.


"Next week" already over and no news.
What's going on guys ?
Any ETA on the fix ?

Thanks

Author:  HAPPYMAN [ Wed 14 Aug, 2013, 21:13 ]
Post subject:  Re: JSON decoding error: 4

Hi, here is another very simple strategy with just one simple calc. expression that causes the same problem when compiling.
The problem remains even when I divide the calc. expression into two single calculations. Hope it helps.

the strategy should move SL into BE+1pip when P/L of the position reaches 5 pips.
Please help

Attachments:
MoveSLtoBEplusXPips.vfs [27.32 KiB]
Downloaded 548 times

Author:  dirk_r1 [ Thu 15 Aug, 2013, 08:21 ]
Post subject:  Re: JSON decoding error: 4

Hello!

I know that it seems to be annoying but please try to avoid the calculation expression in order to not getting the JSON error. This JSON error seems to be very tricky and the developers are on it.


As I have seen in the strategy please use two calculation blocks instead of one calc.expression block. Then it should work!

I am sorry for the inconvenience!

Author:  atre7 [ Wed 04 Sep, 2013, 15:22 ]
Post subject:  Re: JSON decoding error: 4

first file skuska1 compile ok and after add get historical candle to strategy and json error 4


Image
Image

Attachments:
error 4.png [296.95 KiB]
Downloaded 708 times
Error 2032.png [281.41 KiB]
Downloaded 721 times
skuska1.vfs [26.39 KiB]
Downloaded 429 times
skuska.vfs [22.46 KiB]
Downloaded 411 times

Author:  MobNaga [ Sat 07 Sep, 2013, 06:19 ]
Post subject:  Re: JSON decoding error: 4

I can't use a variable.
Image

But, not use a variable.
Then I can build.
Image
Why??

P.S.
How to I can get a number like "engine.getOrders().getSize()"?
I don't need "engine.getOrders(Instrument instrument).getSize()".

Kind Regards,

Attachments:
Successfully Manager_Default.vfs [44.84 KiB]
Downloaded 389 times
Erro Manager_Default.vfs [44.76 KiB]
Downloaded 376 times
successfully.JPG [50.76 KiB]
Downloaded 679 times
error4.JPG [51.41 KiB]
Downloaded 646 times

  Page 1 of 1