Looking for this EA for MT4

Jun 19, 2015 at 13:29
1,205 Views
24 Replies
Member Since Apr 09, 2015   20 posts
Jun 19, 2015 at 13:29 (edited Jun 19, 2015 at 08:08)
Hi
I'm looking for an EA (MT4) that can set the take profit 100pips away from the last trade. So if I have multiple trades opened, it must move the TP for all the other trades, too. That means that some of them will have negative TP.

I'm doing this now on the chart, dragging the entry line for all trades, but it does take time. An EA that can do this will help me a lot.
So, let's say (please see the picture) that the price is going down but I open a buy. The TP should be set 100 pips away (more or less, it's just an example, but I must be able to choose this distance from within the EA's settings). The price still goes down, however I open a second trade - the TP of the second trade is set 100pips away AND the TP of the first trade also moves on the same position, 100 pips from the second trade. The price goes down even more, I open the third trade, TP for all positions moves 100pips away from this last trade.

Attachments:

“If 90% of the traders are losing their money, do you really want to follow the same rules they do?!”
Member Since Nov 21, 2011   1718 posts
Jun 19, 2015 at 21:47
You need a little script
Member Since Mar 02, 2010   97 posts
Jun 19, 2015 at 22:08
fetch the last trade from the history and modify existing trades with +100
ixbone@
Member Since Apr 09, 2015   20 posts
Jun 21, 2015 at 10:13
Thanks, but I think you misunderstood me.

CrazyTrader: Can't be a script, it must be an EA. Dragging/dropping the script takes almost the same time as dragging the TO myself with the mouse, on the chart.

Ixbone: I don't know why I should go to history, I need this EA to manage my opened trades. Did you check my picture and understood my request?
“If 90% of the traders are losing their money, do you really want to follow the same rules they do?!”
Member Since Nov 21, 2011   1718 posts
Jun 21, 2015 at 10:44
Yes you are right... a little EA.
Member Since Mar 02, 2010   97 posts
Jun 21, 2015 at 11:31
robotfxea posted:
Hi
I'm looking for an EA (MT4) that can set the take profit 100pips away from the last trade. So if I have multiple trades opened, it must move the TP for all the other trades, too. That means that some of them will have negative TP.

I'm doing this now on the chart, dragging the entry line for all trades, but it does take time. An EA that can do this will help me a lot.
So, let's say (please see the picture) that the price is going down but I open a buy. The TP should be set 100 pips away (more or less, it's just an example, but I must be able to choose this distance from within the EA's settings). The price still goes down, however I open a second trade - the TP of the second trade is set 100pips away AND the TP of the first trade also moves on the same position, 100 pips from the second trade. The price goes down even more, I open the third trade, TP for all positions moves 100pips away from this last trade.
you are not clear! you wrote from last trade, open or closed last trade? also you wrote from negative tp, which indicates from closed trades. if open, you can do this by script too, because sometimes its not useful the modify tp each tick! an ea would normally modify tp each tick
ixbone@
Member Since Apr 09, 2015   20 posts
Jun 22, 2015 at 08:39
Ixbone: all trades are opened. I don't know how else I should explain, I'll try again :)
First pic shows 3 opened trades with 100pips TP each - that's because I set the TP to 100pips.
Second pic is what I want the EA to do. Which is to set the TP for all OPENED trades to 100pips away from the last OPENED trade. That way, only the last trade will make profit, while the first 2 will have negative profit = loss.

The EA shouldn't modify the TP with each tick, it should modify it one time, just after I start the third trade... and the fourth... and the fifth... and so on = each trade I open a new trade, until I will either lose everything or the trend will reverse in my favor.
“If 90% of the traders are losing their money, do you really want to follow the same rules they do?!”
Member Since Nov 21, 2011   1718 posts
Jun 22, 2015 at 08:43
Easy to code... very risky strategy.
forex_trader_25447
Member Since Dec 21, 2010   131 posts
Jun 22, 2015 at 12:25
This is something alike Break Even.
But as you describe it, strategy can finish with big loss.
... make some calculation for N(>=3) orders, and N-1 negative close.
I agree : Writing Expert/Script is easy.
Member Since Apr 09, 2015   20 posts
Jun 23, 2015 at 06:52
Well, then write it and post it here :)
“If 90% of the traders are losing their money, do you really want to follow the same rules they do?!”
Member Since Feb 22, 2011   4862 posts
Jun 23, 2015 at 07:56
Hi,

just download this EA and put on chart.
https://www.ea-coder.com/equity-sentry-free-mt4-ea/

For your situation you can define at what profit it should close all positions.
forex_trader_25447
Member Since Dec 21, 2010   131 posts
Jun 23, 2015 at 09:50
@robotfxea Here is SCRIPT that you want. (GIFT!)
Input TP is in POINTs , beware with 5-digits brokers, for 100 Pips you must enter 1000 POINTs !
I add Time between executions 5 sec, you can change it.
First test on DEMO !
Member Since Apr 09, 2015   20 posts
Jun 25, 2015 at 13:46
togr posted:
Hi,

just download this EA and put on chart.
https://www.ea-coder.com/equity-sentry-free-mt4-ea/

For your situation you can define at what profit it should close all positions.

I'm using that already, but still need the EA to do that trick. Thanks.
“If 90% of the traders are losing their money, do you really want to follow the same rules they do?!”
Member Since Apr 09, 2015   20 posts
Jun 25, 2015 at 13:46
StoneHeart posted:
@robotfxea Here is SCRIPT that you want. (GIFT!)
Input TP is in POINTs , beware with 5-digits brokers, for 100 Pips you must enter 1000 POINTs !
I add Time between executions 5 sec, you can change it.
First test on DEMO !

Thanks, I'll give it a try. But being a script, doesn't it run only once? I haven't used scripts to much.
“If 90% of the traders are losing their money, do you really want to follow the same rules they do?!”
Member Since Apr 09, 2015   20 posts
Jun 25, 2015 at 13:47
@StoneHeart Hi, I've tested it on a demo. Most of the times it doesn't work. When it does, it stops after 2-3 opened trades... meaning that it doesn't set the TP anymore for the newly opened trades. Maximum of trades that worked for was five, after that it didn't do anything anymore.
The journal doesn't say anything :(
“If 90% of the traders are losing their money, do you really want to follow the same rules they do?!”
Member Since Nov 21, 2011   1718 posts
Jun 25, 2015 at 14:50
Check this out:
Trial expires on 4th July 2015

Attachments:

Member Since Mar 02, 2010   97 posts
Jun 25, 2015 at 15:12
CrazyTrader posted:
Check this out:
Trial expires on 4th July 2015
crazy useless 6 day trial :)
minimum 6 month live record!
ixbone@
Member Since Feb 22, 2011   4862 posts
Jun 25, 2015 at 15:35
robotfxea posted:
togr posted:
Hi,

just download this EA and put on chart.
https://www.ea-coder.com/equity-sentry-free-mt4-ea/

For your situation you can define at what profit it should close all positions.

I'm using that already, but still need the EA to do that trick. Thanks.

OK so then you can use swiss knife EA
https://www.forex-tsd.com/metatrader-4/7552-swiss-army-ea-automatic-order-management.html
forex_trader_25447
Member Since Dec 21, 2010   131 posts
Jun 25, 2015 at 16:10 (edited Jun 25, 2015 at 16:15)
robotfxea posted:
@StoneHeart Hi, I've tested it on a demo. Most of the times it doesn't work. When it does, it stops after 2-3 opened trades... meaning that it doesn't set the TP anymore for the newly opened trades. Maximum of trades that worked for was five, after that it didn't do anything anymore.
The journal doesn't say anything :(
1. For normal work, you must enter ( Last ) order without TP ( = 0.0 ).
2. Now Script have to be load after first order, and finish, if there is no orders.
To make it working non-stop , remove line 46 : else { Comment(''); return; }
After this, you could load Script first ( when no orders ),
and it will continue working while stopped ( right click -> Stop Script ).
... by the way at top-left corner is indication when it works.
Member Since Nov 21, 2011   1718 posts
Jun 25, 2015 at 19:33
IXBONE posted:
CrazyTrader posted:
Check this out:
Trial expires on 4th July 2015
crazy useless 6 day trial :)
minimum 6 month live record!

2 minutes would be enough to see that this is exactly what he needs.
Sign In / Sign Up to comment
You must be connected to Myfxbook in order to leave a comment
*Commercial use and spam will not be tolerated, and may result in account termination.
Tip: Posting an image/youtube url will automatically embed it in your post!
Tip: Type the @ sign to auto complete a username participating in this discussion.