Dukascopy
 
 
Wiki JStore Search Login

Закрытые ордера
 Post subject: Закрытые ордера Post rating: 0   New post Posted: Tue 22 Aug, 2017, 19:19 
User avatar

User rating: 0
Joined: Thu 24 Nov, 2016, 20:11
Posts: 9
Location: Russian FederationRussian Federation
Добрый день. как найти убыток всех последних закрытых ордеров до первого закрытого оредера в плюс?


 
 Post subject: Re: Закрытые ордера Post rating: 0   New post Posted: Mon 04 Sep, 2017, 09:20 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 604
Location: UkraineUkraine
Добрый день.

Для этого вам надо суммировать убытки всех закрывающихся позиций в отдельную переменную.
Используйте ветку TradeEvent.

С уважением, Команда Поддержки.


 
 Post subject: Re: Закрытые ордера Post rating: 0   New post Posted: Tue 05 Sep, 2017, 07:34 
User avatar

User rating: 0
Joined: Thu 24 Nov, 2016, 20:11
Posts: 9
Location: Russian FederationRussian Federation
vadim_berezhnoj wrote:
Добрый день.

Для этого вам надо суммировать убытки всех закрывающихся позиций в отдельную переменную.
Используйте ветку TradeEvent.

С уважением, Команда Поддержки.


Добрый день. Использую TradeEvent, информацию получаю только по текущей позиции, а закрытые позиции не видит.
Вот стратегия.


Attachments:
BaryDay.java [16.12 KiB]
Downloaded 843 times
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.
 
 Post subject: Re: Закрытые ордера Post rating: 0   New post Posted: Wed 20 Sep, 2017, 11:21 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 604
Location: UkraineUkraine
Прикрепите файл *.vfs визуальной стратегии.


 

Jump to:  

cron
  © 1998-2024 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