Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
Calculate P/L from all opened positions http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=146&t=57142 |
Page 1 of 1 |
Author: | funkyman [ Fri 23 Aug, 2019, 15:27 ] | |||
Post subject: | Calculate P/L from all opened positions | |||
Dear traders. I'd like to ask you for help, how to program my strategy , to close all opened positions at once when they reach certain P/L in account currency, (inProfit & inLoss notes in my strategy). my strategy steps description: 1.candle high>PivotPoint & candle low<PivotPoint ----> put 3 buy limit orders at S1,S2,S3 and 3 sell limits at R1,R2,R3 2.If candle high>PivotPoint & candle low<PivotPoint happens again -----> close all opened positions when there is some P/L in account currency. Like in the picture in attachment Strategy included Thank a lot.
|
Author: | vadim_berezhnoj [ Tue 27 Aug, 2019, 10:22 ] |
Post subject: | Re: Calculate P/L from all opened positions |
Hello Please use the manual first to learn Visual JF instruments. https://www.dukascopy.com/vfhelper/down ... _locale=EN To close positions as described, strategy has to calculate the sum P&L of positions, if it is more then needed, then use position viewer bloc and close all positions. Kind regards, Support Team. |
Page 1 of 1 |