Is there a way of setting one's TP settings by taking only partial profits and let the rest, let's say 1/3 run free?
Ekvattiekakkie
MT4 Question - Is there a way to access partial close function 7 replies
Partial close StopLoss (Neither trailing nor partial TP) 8 replies
Partial Profit 5 replies
Partial Close on MT4 terminal 2 replies
Taking partial profits? 2 replies
DislikedIf you open multiple orders, you can set different take profit or trailing stop levels. I bet you already figured that out though...
When closing an order, you can partially close it. Adjust lotsize and you can close 1/2, 1/3, etc. That should let you do what you're looking for.
Note: I couldn't tell if you were asking about manually adjusting orders or programmatically adjusting them, thus the generic answer. If I didn't answer your question, please post again and I'll get as specific as needed.Ignored
DislikedThanks Tesla. I think your answer makes it clear that one cannot programmatically set one order to a percentage partial closing (for that 3:00 AM closing). I knew the answer, but was hoping that maybe just maybe there's something that I had missed and someone smarter would relieve me of my ignorance. I guess you can't have it all... I appreciate your time and effort though...Ignored
DislikedAh... but you can.
if (Bid >= FirstTakeProfit)
OrderClose(1234,2,Bid,1);
if (Bid >= SecondTakeProfit)
OrderClose(1234,1,Bid,1);
if (Bid >= ThirdTakeProfit)
OrderClose(1234,1,Bid,1);
This obviously isn't production quality code, but I present it as an example. What does it accomplish? It closes your position incrementally. 50% at TakeProfit1, 25% at TakeProfit2, 25% at TakeProfit3.Ignored
DislikedOk, I'm not a programmer, and I think you're saying I should create my own settings using MQL4. I was hoping for a quick fix, but I guess I will just have to start the learning process. This will be my personal project for the year... just something else to add to the already steep learning curve. Thanks for the help, I will work through those tutorials and see if I can figure it out.Ignored
DislikedI know it doesn't do exactly what you want, but, you should take a look at the ManageTakeProfit thread in this forum. I created an ea that takes a certain number of lots out at various increments. It might get you part of the way of where you want to go with it.
Best,
stockwetIgnored