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

equity block
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=21&t=53437
Page 1 of 1

Author:  pinky [ Thu 10 Dec, 2015, 11:59 ]
Post subject:  equity block

hi,
i want to use 50% of equity every time strategy opens a position, will you please help me to do this

Author:  Ton [ Tue 15 Dec, 2015, 12:45 ]
Post subject:  Re: equity block

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 860 times

  Page 1 of 1