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

Close multiple positions by cumulative profit
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=146&t=57659
Page 1 of 1

Author:  alec [ Wed 28 Apr, 2021, 13:20 ]
Post subject:  Close multiple positions by cumulative profit

Dear Experts!
I am trying to create stratagy that simultaneousely closes all open positions. Exit condition will be based on calculation of the summ of all profit loss pips. In the case of positive total profit loss the strategy should close all open positions. Currently I have created position opening for one instrument. But I cant understand how to define exit contitions by reaching for example 5 pips. The strategy open order, but doestn close it. Please give me an advise or modifiy the attached strategy.

Best,
Alexey

Attachments:
exit_by_positive_pips.vfs [33.82 KiB]
Downloaded 415 times

  Page 1 of 1