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

strategy runs good in local mode but not in remote (it opens more positions)
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=141&t=50364
Page 1 of 1

Author:  faremor [ Tue 12 Nov, 2013, 11:24 ]
Post subject:  strategy runs good in local mode but not in remote (it opens more positions)

Image

Hi all, i got a problem and i post a picture to show what happens with this procedure.
let' s say I need to open a buy and a sell position every day if there are not active positions: i used the code in picture to make this happen. when i use vjforex, or the local tester it correctly opens 1 position short and 1 position long every day. when i run it on remote server it doesn't work the same way, it opens 2 or more positions long and 2 or more short. Is there an error in my code or is it a bug of the system? i just need to open ONE Long and 1 Short position, not more. Can you help me pls?

Attachments:
open.png [248.69 KiB]
Downloaded 263 times

Author:  dirk_r1 [ Tue 12 Nov, 2013, 12:21 ]
Post subject:  Re: strategy runs good in local mode but not in remote (it opens more positions)

Greetings!

Please add this to your code:
Image

Attachments:
Instrument_only.png [9.89 KiB]
Downloaded 275 times

Author:  vadim_berezhnoj [ Mon 18 Nov, 2013, 12:12 ]
Post subject:  Re: strategy runs good in local mode but not in remote (it opens more positions)

We had a little tech problem that day on Demo remote server. It is already fixed.
Keep calm and carry on.

  Page 1 of 1