Wiki JStore Search Login

Problems wirh "close and cancel position" block
 Post subject: Problems wirh "close and cancel position" block Post rating: 0   New post Posted: Sun 02 Jun, 2019, 21:00 
User avatar

User rating: 1
Joined: Wed 30 Jul, 2014, 14:33
Posts: 93
Location: Lithuania, Vilnius
kostakis wrote:
I have the problem with "Close and Cancel Position" block. I use STOCH indicator in my strategy. The idea of the strategy is very simple. I need the strategy to open a SELL position if Slow %K < Slow %D, if Slow %K < 80, if Slow %K > 50. This part of strategy works perfectly and I have no problem with it. The problem occures when the open position needs to be closed. The conditions for close the SELL position are as follows: if Slow %K > 82, if Slow %K > Slow %D. I tried to write it like this (please, take a look at the picture below). However, something goes wrong and the strategy does not close the open positions. Could you, please, help me with that?


 Post subject: Re: Problems wirh "close and cancel position" block Post rating: 0   New post Posted: Mon 17 Feb, 2020, 21:10 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 591
Location: UkraineUkraine

Picture is pointless in that case. Please provide the strategy vfs file.

Kind regards, Support Team.
Last bumped by kostakis on Mon 17 Feb, 2020, 21:10.


Jump to:  

  © 1998-2011 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com