Hello everybody
I'm looking EA or indicator that can move my TP to the negativ position. Or maybe it's posible to edit mq4 code.
For ex. I open buy at 1000.00, TP is 1100.00 and there is NO SL. When price goes against me and reach 990.00 I want to move my TP to 995.00.
When price will back to 995.00 then TP will close my order and I will lose 50pips.
Idea is the same as break even but my EA not working on negative numbers.
Hello everybody
I'm looking EA or indicator that can move my TP to the negativ position. Or maybe it's posible to edit mq4 code.
For ex. I open buy at 1000.00, TP is 1100.00 and there is NO SL. When price goes against me and reach 990.00 I want to move my TP to 995.00.
When price will back to 995.00 then TP will close my order and I will lose 50pips.
Idea is the same as break even but my EA not working on negative numbers.
it is impossible to modify the order TP with that condition. Buy TP is impossible under OrderOpenPrice.
Keith Watford: No it isn't, it is impossible under the current price.
@Roberto Jacobs: I agree with @Keith Watford! Just like a Stop-Loss can be set in the positive (Trailing-Stop), a Take-Profit can also be set in the negative, just as the OP wants. Obviously, this is only possible when the current price is below both the Open Price and the new Take-Profit in the case of a Buy Order (reversed in the case of a Sell order).
When price will back to 995.00 then TP will close my order and I will lose 50pips. Idea is the same as break even but my EA not working on negative numbers.
@Culver: I doubt you will find a ready-made EA to do that! To achieve setting a new T/P price, you have to use the OrderModify() function. This is the same procedure as altering the Stop-Loss to achieve a Trailing-Stop. However, should this be too complicated for you, please contemplate hiring someone in the Freelance Job section to modify your code for you.

- docs.mql4.com
That's not the same Mladen. It could be that this order never reached the "negative breakeven" TP.
However, from a trading point of view I don't understand how such thing is useful ?
That's not the same Mladen. It could be that this order never reached the "negative breakeven" TP.
However, from a trading point of view I don't understand how such thing is useful ?
I have seen the technique being used in Grid Systems, and obviously I agree that it is not such a great idea!
However, Alain has suggested to me that I should not "attack" newbie traders for not listening to more experienced traders, but to rather allow them to learn for themselves and gain the experience. So, I did exactly that and explained how to achieve a Negative TP! ;)
That's not the same Mladen. It could be that this order never reached the "negative breakeven" TP.
However, from a trading point of view I don't understand how such thing is useful ?
It can be useful depending on market conditions and the strategy you are following.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I'm looking EA or indicator that can move my TP to the negativ position. Or maybe it's posible to edit mq4 code.
For ex. I open buy at 1000.00, TP is 1100.00 and there is NO SL. When price goes against me and reach 990.00 I want to move my TP to 995.00.
When price will back to 995.00 then TP will close my order and I will lose 50pips.
Idea is the same as break even but my EA not working on negative numbers.