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

Variable Not Activating
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=146&t=57315
Page 1 of 1

Author:  roger_taum [ Tue 14 Apr, 2020, 15:30 ]
Post subject:  Variable Not Activating

Dear Admin,

I have a technical question:

In Visual JForex I created a boolean variable called TradingShort. When a short trade opens, an Assign block assigns "False" to this variable and until there is an open short position, no new short positions can open. When the short position closes in loss, an Assign block assigns "True" to the variable and new short positions can open.

Until today it was working perfectly fine. Today after the closing of my first short position in loss, no new short positions opened... apparently the variable did not turn to "True".

My question is if you have similar observations and if it occasionally happens a variable to not be activated. Might this be a problem with the remote server?

Thanks.

Author:  vadim_berezhnoj [ Tue 19 May, 2020, 16:23 ]
Post subject:  Re: Variable Not Activating

Greetings.

Strategy is the code that can not work occasionally.
Please attache the strategy vfs file to investigate the issue.

Regards.

  Page 1 of 1