Dukascopy
 
 
Wiki JStore Search Login

How to automatically change positions size according to account equity
 Post subject: How to automatically change positions size according to account equity Post rating: 0   New post Posted: Thu 25 Jul, 2013, 08:44 
User avatar

User rating: 0
Joined: Fri 17 Feb, 2012, 09:21
Posts: 19
Location: Slovakia,
Hi. I would like strategy to automatically change position size according to actual account equity - including unrealised positions. For example:

0,001 lot per position traded for every 1000 -1500 USD of equity.
0,002 lot per position traded for every 1501 - 3500 USD of equity.

Is there anyone with a solution ?

Help would be welcomed :)

Thank You


 
 Post subject: Re: How to automatically change positions size according to account equity Post rating: 0   New post Posted: Thu 25 Jul, 2013, 09:11 
Visual JForex expert at Dukascopy
User avatar

User rating: 27
Joined: Fri 03 May, 2013, 18:25
Posts: 366
Location: GermanyGermany
Hello once again!

Like i told you in previous post i kindly ask to view some tutorials on youtube. If you go through to all videos in english you will be able to find a solution to your questions. :geek:
https://www.youtube.com/watch?v=wlOVnQmjm98

Anyway, here the needed blocks:


Image

Be aware that the attached file is just an example!


Attachments:
Equity.png [92.69 KiB]
Downloaded 602 times
Client_Equity.vfs [20.04 KiB]
Downloaded 344 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: How to automatically change positions size according to account equity Post rating: 0   New post Posted: Fri 26 Jul, 2013, 08:10 
User avatar

User rating: 0
Joined: Fri 17 Feb, 2012, 09:21
Posts: 19
Location: Slovakia,
Thank You !!!


It works. Iam using calculation expression with formula : equity/1000 * default position size.


I have however encountered the problem that after drawdown strategy starts to leverage down with positions - which is not good.


How can I limit this leveraging down ? For example if strategy once traded 10 microlots per position and during drawdown starts to traid 8 per position. I was thinking about simply replacing equity with balance (only realised position).


Best regards

Marian


 

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