close all trades upon $X profit

Jan 15, 2018 at 06:41
1,218 개의 뷰
4 Replies
Jun 14, 2014 부터 멤버   게시물2
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?
Jan 05, 2012 부터 멤버   게시물27
Jan 15, 2018 at 19:00
you can use equitysentry ea free you can download online, try google it
No Risk - No Gain
Dec 11, 2016 부터 멤버   게시물2
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


첨부 파일:

d.adell.esp@
Jun 28, 2010 부터 멤버   게시물64
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 ...






   
Dec 11, 2016 부터 멤버   게시물2
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@
로그인 / 가입하기 to comment
You must be connected to Myfxbook in order to leave a comment
*상업적 사용 및 스팸은 허용되지 않으며 계정이 해지될 수 있습니다.
팁: 이미지/유튜브 URL을 게시하면 게시물에 자동으로 삽입됩니다!
팁: @기호를 입력하여 이 토론에 참여하는 사용자 이름을 자동으로 완성합니다.