Dukascopy
 
 
Wiki JStore Search Login

equity block
 Post subject: equity block Post rating: 0   New post Posted: Thu 10 Dec, 2015, 11:59 
User avatar

User rating: 0
Joined: Tue 24 Feb, 2015, 11:43
Posts: 2
Location: Pakistan, Multan
hi,
i want to use 50% of equity every time strategy opens a position, will you please help me to do this


 
 Post subject: Re: equity block Post rating: 0   New post Posted: Tue 15 Dec, 2015, 12:45 
User avatar

User rating: 0
Joined: Mon 01 Jun, 2015, 20:23
Posts: 1
Location: Latvia, Riga
I do it like this:
amount = Equity*Leverage*Risk
where risk is 0.50 (50%)
Image
Resulting amount is divided by 1000000 because trade amount needs to be in millions for market orders.


Attachments:
img.png [14.38 KiB]
Downloaded 842 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.
 

Jump to:  

  © 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