Dukascopy
 
 
Wiki JStore Search Login

amount
 Post subject: amount Post rating: 0   New post Posted: Wed 21 Dec, 2016, 11:28 
User avatar

User rating: 0
Joined: Wed 01 Apr, 2015, 00:00
Posts: 13
Location: Morocco, agadir
salut
s il vous plait je programme les condition suivant dans mon strategier mais quand je fait le back test il neme donne pas ce que je veux
les condition sont
si la dernier position losse superieur a 10 pips je doit double l amount de dernier trade (last trade*1.5 )
si la dernier position losse infeieur a 10 je doit entre avec le meme amounte de dernier trade
si la dernier position profit plus de 50 pips je doit entrer le next position a 10 lot
voila ce que je fait mes je sais pas ou l erreur
merci beucoup


Attachments:
double.vfs [21.95 KiB]
Downloaded 877 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: amount Post rating: 0   New post Posted: Thu 22 Dec, 2016, 14:31 
Visual JForex expert at Dukascopy
User avatar

User rating: 288
Joined: Thu 18 Apr, 2013, 09:26
Posts: 1496
Location: Switzerland, Geneva
Salut;

La manière de faire est juste je ne vois pas d'erreur. Juste à titre de précision: quand vous utilisez le trade event, vous exploitez les messages issus de la plateforme, et donc l'activation des conditions ne se fait que quand un message est reçu (ex: position filled / opened / order placed ...)
Si votre idée est de vérifier le P&L après clôture de la position et modifier le montant par la suite --> votre implémentation est correcte.
Sinon, il faudrait expliquer votre idée en détail et l'erreur en question

Remarque: Il faut utiliser le P&L en pips et non pas le P&L en USD


 

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