Um den Chat zu nutzen, melden Sie sich bitte an.

close all trades upon $X profit

Jan 15, 2018 at 06:41
1,165 Angesehen
4 Replies
Mitglied seit Jun 14, 2014   2 Posts
Jan 15, 2018 at 06:41
trying to find a script that will automatically close all open trades in the account when the overall account profit for all current trades hits a specified threshold. Ideas?
Mitglied seit Jan 05, 2012   27 Posts
Jan 15, 2018 at 19:00
you can use equitysentry ea free you can download online, try google it
No Risk - No Gain
Mitglied seit Dec 11, 2016   2 Posts
May 09, 2018 at 06:55
Hi Friscodad

I did this EA, dont know if is that what you are looking for.

It is a dual trailing, you can set the long trades or short trades, or all togheter with a few options. It is better than a close because you can let the trades run more into profit.

Note it is the very first version, check it in demo first.

Hope this help you


Anhänge:

d.adell.esp@
Mitglied seit Jun 28, 2010   64 Posts
May 17, 2018 at 06:10
MrPorridge posted:

I did this EA, dont know if is that what you are looking for.
It is a dual trailing, you can set the long trades or short trades, or all togheter with a few options. It is better than a close because you can let the trades run more into profit.

Nice share. Thank you. When you have some minutes of your time avalable.Try to explain parameters briefly.
Trail Profit start @ 10$ and lock 1$...when reached 11$ ..lock profit is 2$ ...when reach 12$ ...lock 3$ ...since 1rst parameters are
10/1 ...did I understood well ?? What is the 'group' standing for ?? group of trade on the same pair ? or group of pair in a basket? . I am actually testing an EA which envolves several pairs ..all pairs involved are building their grid ...EA takes profit when overall balance of all grid trades reach 100$. Your EA might be an excellent add-on ...as it can trail profit. But built-in description
is confusing ...






   
Mitglied seit Dec 11, 2016   2 Posts
May 21, 2018 at 06:53
Hi Sdek

Sorry, i did it for a friend and never we never did any instructions. I´ll try to explain for you:

ONE WAY: Trailing the profit in all the pairs but only LONG or SHORT (independently)

Activate_at_profit: Money to activate the trailing
Steps_of: Money to move up the trailing

Example: Activate at 10, steps_of at 1 mean that when you have 10$ in profit, it lock 9$, when you´ll have 11, it will lock 10$...

GROUP TRAILING: All the pairs long and short trades
Volume to activate: Necessary volume between all pairs to activate the Group trailing (the SUM of all your trades)

Cancel trading one way: Just that, if Group is activated, one way trailing will be deactivated. One way will return to the activity when all the trade are closed.

Steps of volume: Every XX volume more (over 'volume to activate') the Group trailing will reduce the 'Activate_at_profit' with the amount indicated in 'Steps_of_reduction'. It will be reduced to the maximum indicated in 'Minimum money trailing'

Example: Following the screenshot. You are trading 0.51 lots. Group trailing will be activated at 10$ profit. If you trade more than 0.55, trailing can be activated at 9$ profit.... If you trade more than 0.6, trailing can be activated at 8$ profit.
And so on until the trailing can be activated -10$.

This was done for a grid EA, sometime (many times) is getting complicated and he wanted to settle for less profit or even lost in exchange for closing all and leaving the mess.

Hope this help.
d.adell.esp@
Anmelden / Registrieren to comment
You must be connected to Myfxbook in order to leave a comment
*Kommerzielle Nutzung und Spam werden nicht toleriert und können zur Kündigung des Kontos führen.
Tipp: Wenn Sie ein Bild/eine Youtube-Url posten, wird diese automatisch in Ihren Beitrag eingebettet!
Tipp: Tippen Sie das @-Zeichen ein, um einen an dieser Diskussion teilnehmenden Benutzernamen automatisch zu vervollständigen.