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

The "Positions" does not count the manually opened ones?
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=141&t=49319
Page 1 of 1

Author:  chxaoao [ Wed 29 May, 2013, 19:59 ]
Post subject:  The "Positions" does not count the manually opened ones?

I want the strategy to open a sell position once the last position is closed (or the "Position amount" equals 0). However when I manually opened one position, before this position is closed the sell position is already automatically opened. Attached is the blocks.

Possible to fix this?
Image

Attachments:
File comment: the blocks for open a sell position once the last position is closed (thus when the position amount equals 0)
untitled.JPG [70.37 KiB]
Downloaded 403 times

Author:  doczero [ Fri 31 May, 2013, 00:31 ]
Post subject:  Re: The "Positions" does not count the manually opened ones?

Hello Chxaoao,

The problem is you are using TRADE EVENT start point, change it to ONTICK or ONBAR and that will work. The only thing is that anytime there is no trades open , it will open a sell order. THis means you are going to have a LOT of trades open!

Cheers,

DoCZero

Author:  vadim_berezhnoj [ Fri 31 May, 2013, 13:43 ]
Post subject:  Re: The "Positions" does not count the manually opened ones?

Hello Everybody.

For rational use of computer resources it is better to use simpler functions.
So TradeEvent is the best here.
Image
Just choose correct Event.

Attachments:
Untitled1.png [108.92 KiB]
Downloaded 460 times

  Page 1 of 1