DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on
this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control
on their content. Anyone accessing this webpage and downloading or otherwise making use of any document,
data or information found on this webpage shall do it on his/her own risks without any recourse against
Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from
the use and/or reliance on any document, data or information found on this webpage.
dirk_r1
Post subject: Re: Problem trying to close a position
Post rating: 1
Posted: Thu 24 Apr, 2014, 11:41
Visual JForex expert at Dukascopy
User rating: 27
Joined: Fri 03 May, 2013, 18:25 Posts: 366 Location: GermanyGermany
Well, I think it does not close at all, right?
Your condition is in the second block: If Open Positions.Position Amount = 0 (Positiones1) then Buy (under certain conditions). In the next flow you have 1 open position but the variable Positiones1 stays at 0... That is why no close of positions is obtained.